@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Light.ttf')  format('truetype');
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Regular.ttf')  format('truetype');
}

html, body {
    height: 100%;
    width: 100%;
    padding: 0px;
    margin: 0px;
    background-color: #E6E6E6;
    color: white;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none;
    overflow: hidden;
}

main {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.advent-card {
    z-index: 100;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30vw;
    height: 30vw;
    margin: 25px;
    margin-top: 0px;
    margin-bottom: 0px;
    border-radius: 7px;
    font-size: 75px;
}

.container {
    background: linear-gradient(0deg,rgb(70, 38, 78),  rgb(57, 21, 73) 60%, rgb(10,10,25) 100%);
    position: relative;
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    align-items: center;
}

.filler {
    height: 25%;
    min-height: 200px;
    width: 150px;
    margin: 25px;
    margin-bottom: 0px;
    border-radius: 7px;
    border: solid transparent 2px;
}

.nav-arrow {
    position: relative;
    height: 25vw;
    width: 85%;
    z-index: 2;
}

.img-group {
    height: 100%;
    margin: 0px;
    width: 100%;
    margin: 0px;
    position: absolute;
    z-index: 1;
    padding: 0px;
    overflow: hidden;
}

#bg {
    width: 100%;
    margin: 0px;
}

#schneemann {
    max-height: 50vh;
    position: absolute; 
    bottom: 2%;
    left: 15%;
}

#snow_ground {
    position: absolute;
    bottom: -125px;
    max-height: 200px;
}

.arrow-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 3;
    height: 100%;
    width: 10%;
    background-color: rgba(75,75,75,.25);
}

.arrow-display-portrait  {
    display: none;
}

.star {
    position: absolute;
    margin-left: 10%;
    width: 5vw;
    height: 5vw;
}

.tree {
    max-height: 65vh;
    position: absolute; 
}

.sled {
    max-height: 15vh;
    position: absolute; 
}

.overlay {
    position: absolute;
    height: 100vh;
    background: linear-gradient(0deg,rgb(70, 38, 78),  rgb(57, 21, 73) 60%, rgb(10,10,25) 100%);
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.overlay-cen-elems {
    width: 100%;
    display: flex; 
    flex-direction: column;
    align-items: center;
}

input[type="password"] {
    border-radius: 5px;
    border: none;
    padding: 5px 0%;
}

button {
    border-radius: 5px;
    border: none;
    padding: 5px 5px;
    outline: none;
}

.subt {
    text-align: center;
    width: 100%;
    font-size: 20px;
    margin: 5px 5px;
    font-family: 'Roboto', sans-serif;
}

.desc {
    text-align: justify;
    text-align-last: start;
    font-size: 15px;
    margin: 5px 2px;
    max-width: 95%;
    font-family: 'Montserrat', serif;
}

.overlay-content {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: auto;
  }

.horizontal-container {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}

.expanding-overlay {
    position: absolute;
    min-height: 100%;
    background: rgb(10,10,25);
    width: 0%;
    top: 0;
    left: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.rotate-landscape {
    transform: rotate(-90deg);
    align-self: center;
    justify-self: center;
    margin: 0px;
}

.vertical-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    overflow: auto; 
}

@media screen and (orientation:portrait) {
    main {
        flex-direction: column;
        align-content: center;
        align-items: center;
        justify-content: space-around;
    }

    .desc {
        text-align: left;
    }

    .rotate-landscape {
        transform: rotate(0deg);
    }

    .portrait-hidden {
        display: none;        
    }

    .img-group {
        margin-left: 0%;
        width: 100%;
    }

    .arrow-display-portrait {
        display: flex;
        flex-direction: row;
        position: absolute;
        bottom: 0px;
        background-color: #E6E6E6;
        width: 100%;
        height: 10%;
        overflow: hidden;
        justify-content: space-between;
    }

    .container {
        height: 90%;
    }

    .advent-card {
        height: 35vh;
        width: 35vh;
        margin-top: -20%;
    }
    
    .nav-arrow {
        height: 100vh;
        max-width: 12%;
    }

    .number {
        float: none;    
    }

    .arrow-container {
        display: none;
    }
    
    #schneemann {
        max-width: 50vw;
        position: absolute; 
        bottom: 2vh;
        left: -8vh;
    }

    .star {
        width: 5vh;
        height: 5vh;
    }

    .tree {
        max-height: 50vh;
    }

    .sled {
        max-height: 12vh;
        display: none;
    }

    #tree-1 {
        margin-right: -30vw;
    }
    
    #tree-2 {
        margin-left: -50vw;
        display: none;
    }
}