html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

body{
 background-image: url("_img/snow.png");
    background-attachment: fixed;
}

.container{
    margin: 80px auto 200px auto;
    width: 600px;
    max-width: 90%;
    color: white;
    background-color: rgba(85, 125, 134, 0.65);
    padding: 40px;
    border: 1px solid white;
    border-radius: 30px;
    box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.5);
    position: relative;
    font-family: 'Josefin Sans', sans-serif;
    line-height: 140%;
    font-size: 18px;
    text-align: center;
}

.container i{
    display: block;
    padding: 8px;
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.17);
    margin: 10px;
    border-radius: 5px;
}

#santa{
    background-color: #636468;
    background-image: url("_img/santa.png");
    background-size: 80% 80%;
    width: 100px;
    height: 100px;
    position: absolute;
    margin: -80px 0 0 -80px;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 50px;
    border: 1px solid white;
    box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.5);
}

#access{
    display: none;
}

#noaccess{
    display: none;
}

h1{
    font-family: 'Mountains of Christmas',Satisfy, sans-serif;
    font-size: 45px;
    line-height: 140%;
    margin: 0;
    padding: 0;
}


.button{
    background-color: rgba(0, 0, 0, 0.21);
    border-radius: 5px;
    border: 1px solid white;
    font-size: 28px;
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0 0 0;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease-in-out;
}

.button:hover{
    cursor: pointer;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.4);
    background-color: rgba(52,155,194,0.45);
}

#intro{
    margin-bottom: 40px;
}

#loader{
    width: 80px;
    height: 80px;
    border-radius: 40px;
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-left: 6px solid white;
    margin: 60px auto;
    animation: spin linear 1s infinite;
}

#village{
    position: fixed;
    height: 37px;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
}

#village:after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 340px;
    background-image: url("_img/house.png");
    background-repeat: no-repeat;
    background-position: bottom center;
}

#output b{
    display: block;
    font-family: 'Mountains of Christmas',Satisfy, sans-serif;
    font-size: 80px;
    line-height: 140%;
    margin: 30px;
    padding: 0;
    text-shadow: 0 0 9px #2e3d40;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


@media all and (max-width: 800px) {
   h1{
       font-size: 40px;
       line-height: 120%;
   }

    .container i{
        font-size: 13px;
        line-height: 120%;
    }

    #intro{
        margin-bottom: 20px;
    }
}

