/*Schedule Page CSS*/
:root{
    --text-div-margin: 5px;
    --event-animation-duration: 0.5s;
}
.inter-default{
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
html{
    margin: none;
    padding: none;
    max-width: 100%;
}
body{
    background-color: black;
    max-width: 100%;
    margin: none;
    padding: none;
    display: flex;
    flex-direction: column;
    color: white;
}.navbar{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5%;
    width: 100%;
}
.nav-image{
    max-height: 60px;
}
.schedule-container{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 95%;
}
.selector{
    display: flex;
    height: 10%;
    width: 100%;
    flex-direction: column;
}
.year-selector{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30%;
}
.year-button{
    background-color: black;
    color: white;
    outline: none;
    margin: 5px;
    text-align: center;
    width: 4%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.month-selector{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70%;
}
.month-button{
    background-color: black;
    color: white;
    outline: none;
    margin: 5px;
    font-size: 28px;
    width: 10%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.icon-wrapper{
    padding: 6px;
}
.icon-wrapper:hover{
    border-radius: 50%;
    background-color: #83878f;
    cursor: pointer;
}
.larger-pls{
    font-size: 36px !important;
}
#active{
    font-size: 36px;
}
.calendar{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 90%;
}
#calendar-table{
    display: flex;
    flex-direction: column;
    width: 80%;
    height: 100%;
    color: white;
}
.header-row{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 6%;
    text-align: center;
}
.header-day{
    width: 14%;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.calendar-row{
    display: flex;
    height: 15.5%;
    width: 100%;
    align-items: center;
    justify-content: center;
}
.calendar-day{
    width: 14%;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: flex-start;  
    align-items: center;
    flex-direction: column;
    /* This needs just tweaked a wee bit looks wierd if implemented
    animation-name: day-dehover;
    animation-duration: 0.5s;
    animation-direction: reverse;
    background-color: #000000;
    */
}
/*
.calendar-day:hover{
    background-color: #242424;
    border-radius: 8px;
    animation-name: day-hover;
    animation-duration: 0.5s;
}
*/
.current-day{
    border-radius: 20px;
    border-color: #83878f;
    border-style: solid;
    box-sizing: border-box;
    border-width: 4px;
}
.date-label{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 10%;
    margin: 2%;
}
.event{
    display: flex;
    justify-content: center;
    align-items: left;
    flex-direction: column;
    width: 96%;
    height: 50%;
    border-radius: 10px;
    margin: 2%;
    font-size: 16px;
    font-size: 1.2vh;
    text-overflow: clip;
}
.description{
    display: none;
}
.event-time{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;

}
.event:hover{
    cursor: pointer;
}
#event-window{
    display: none;
    width: 0px;
    height: 0px;
    z-index: 2;
    flex-direction: column;
    border-radius: 15px;
    position: absolute;
    padding: 12px;
    top: 30%;
    left: 30%;
    width: 40%;
    height: 40%;
}
.window-title{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 10%;
    border-radius: 15px;
    font-size: 36px;
    animation-name: scale-title;
    animation-duration: 0.5s;
    font-weight: 500;
}
.window-content{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    height: 90%;
}
.window-game{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 30%;
    height: 100%;
    border-radius: 15px;
}
.window-info{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    width: 70%;
    height: 100%;
    border-radius: 15px;
    padding-left: 3%;
    font-size: 24px;
}
.window-description{
    margin-bottom: 10px;
}
.window-time{
    margin-bottom: 10px;
}
.game-title{
    height: 10%;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.game-img-container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90%;
}
.game-img{
    max-height: 100%;
    max-width: 100%;
    border-radius: 3%;
}
.window-link{
    width: 100%;
}
.twitch-link{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: 50px;
    width: 45%;
    background-color: #9146FF;
    border-radius: 6px;
    text-decoration: none;
    font-size: 30px;
    margin-top: 10px;
}
.twitch-link:hover{
    background-color: #6f2fbb;
}   
.twitch-text{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 3%;
    max-height: 80%;
    text-align: center;
    color: white;
}
.twitch-icon{
    max-height: 35px;
    margin-left: 3%;
}

.close-button{
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 1.5em;
    padding: 0.5em;
    width: 5%;
    height: 5%;
}

@keyframes select-event{
    0%{
        width: 96%;
        height: 50%;
    }
    100%{
        width: 160%;
        height: 160%;
    }
}
@keyframes scale-text{
    0%{
        font-size: 20px;
    }
    100%{
        font-size: 24px;
    }
}
@keyframes scale-title{
    0%{
        font-size: 20px;
    }
    100%{
        font-size: 26px;
    }
}
@keyframes day-hover{
    0%{
        background-color: #000000;
    }
    100%{
        background-color: #242424;
    }
}
@keyframes day-dehover{
    0%{
        background-color: #242424;
    }
    100%{
        background-color: #000000;
    }
}

@media only screen and (orientation: portrait){
    .selector{
        height: 5%;
    }
    .year-selector{
        height: 50%;
    }
    .calendar{
        height: 95%;
    }
    #calendar-table{
        width: 100%;
    }
    .year-button{
        width: 15%;
    }
    .month-selector{
        height: 50%;
    }
    .month-button{
        width: 20%;
    }
    .header-row{
        height: 3%;
    }
    .event{
        font-size: 20px;
    }
    .calendar-row{
        height: 16.1666%;
    }
    .header-day{
        font-size: 20px;
    }
    .date-label{
        font-size: 24px;
    }
    #event-window{
        width: 80%;
        height: 60%;
        top: 20%;
        left: 10%;
    }
    .window-link{
        width: 100%;
    }
    .twitch-link{
        width: 100%;
        font-size: 28px;
    }

}