@import url('https://fonts.googleapis.com/css2?family=Balsamiq+Sans&family=Jost&display=swap');
@import url('https://fonts.googleapis.com/css?family=Kalam:400,700|Comfortaa|Raleway|Special+Elite|Yeon+Sung|Roboto:300,400,900|Shadows+Into+Light|Amatic+SC:700|Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Harmattan&display=swap');

html, body { margin: 0; height: 100%; overflow:hidden; overflow-x: hidden;}
canvas { display: block; width: 100%; height: 100%;}

a:link {
    text-decoration: none;
}
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    animation: bounce; /* referring directly to the animation's @keyframe declaration */
    animation-duration: 2s; 
}

a:active {
    text-decoration: none;
}

.overlay{
    z-index: 10;
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    align-content: center;
    text-align: center;
}

#control_overlay{
    z-index: 9;
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 80%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    align-content: center;
    text-align: center;
}

#project_dis_ovrl{
    z-index: 11;
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.65);
    align-content: center;
    text-align: center;
}

#vid_box{
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    border: none;
    box-shadow: 8px 10px 20px 8px #464646;
}

#poster_box{
    max-height: 85%;
    max-width: 45%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    border: none;
}
img#poster_img {
    box-shadow: 8px 10px 20px 8px #464646;
}

#close_pdo{
    position: absolute;
    left: 24px;
    top: 14px;
}
#cross_sign{
    font-size: 46px;
}

#links{
    position: absolute;
    width: 100%;
    bottom: 17px;
}
.l1{
    font-family: 'Harmattan', sans-serif;
    color: rgba(20,20,20,0.9);
    font-size: 26px;
    margin-right: 40px;
    margin-left: 40px;
}
.l1:hover{
    color: rgba(100,100,100,0.9);
}


.switch_btn {
    font-family: 'Harmattan', sans-serif;
    border: 3px solid #1a1a1a;
    display: inline-block;
    padding: 2px;
    position: relative;
    text-align: center;
    transition: background 600ms ease, color 600ms ease;
    margin-top: 2vh;
    font-size: 2vh;
}

input[type="radio"].toggle {
    display: none;
}
input[type="radio"].toggle + label {
    cursor: pointer;
    min-width: 100px;
}
input[type="radio"].toggle + label:hover {
    background: none;
    color: #1a1a1a;
}
input[type="radio"].toggle + label:after {
    background: #1a1a1a;
    content: "";
    height: 100%;
    position: absolute;
    top: 0;
    transition: left 200ms cubic-bezier(0.77, 0, 0.175, 1);
    width: 100%;
    z-index: -1;
}
input[type="radio"].toggle.toggle-left + label {
    border-right: 0;
}
input[type="radio"].toggle.toggle-left + label:after {
    left: 100%;
}
input[type="radio"].toggle.toggle-right + label {
    margin-left: -5px;
}
input[type="radio"].toggle.toggle-right + label:after {
    left: -100%;
}
input[type="radio"].toggle:checked + label {
    cursor: default;
    color: #fff;
    transition: color 200ms;
}
input[type="radio"].toggle:checked + label:after {
    left: 0;
}

.rtl{
    direction: rtl;
}


.mov_btn{
    overflow: hidden;
    border: none;
    text-align: center;
    text-decoration: none;
    background-color: rgba(0,0,0,0);
    padding: 0;
    z-index: 8;
    color: black;
}

.t1{
    font-size: 30px;
    font-family: 'Harmattan', sans-serif;
    align-content: center;
    text-align: center;
    color: black;
    margin-left: auto;
    margin-right: auto;
    max-width: 85%;
}

.t1_m{
    font-size: 20px;
    font-family: 'Harmattan', sans-serif;
    align-content: center;
    text-align: center;
    color: black;
    margin-left: auto;
    margin-right: auto;
    max-width: 95%;
}

.t2_m{
    font-size: 23px;
    font-family: 'Harmattan', sans-serif;
    align-content: center;
    text-align: center;
    color: black;
    margin-left: auto;
    margin-right: auto;
    max-width: 95%;
}

.t5{
    font-size: 2.5em;
    font-family: 'Harmattan', sans-serif;
    align-content: center;
    text-align: center;
    color: black;
    margin-top: 10px;
}

.s_btn{
    overflow: hidden;
    border: none;
    text-align: center;
    text-decoration: none;
    background-color: rgba(0,0,0,0);
    padding: 0;
}

.btn1{
    font-family: 'Harmattan', sans-serif;
    font-size: 30px;
    background-color: rgb(34, 34, 46);
    color: white;
    padding: 1% 1% 1% 1%;
    margin-top: 30px;
    border-radius: 1vh;
    box-shadow: 0px 7px 7px 0px rgba(0, 0, 0, 0.5);
}


.form_input{
    font-family: "Raleway";
    font-size: 1.7em;
    margin-top: 15px;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    padding: 6px;
    box-shadow: 0px 6px 7px 0px rgba(0, 0, 0, 0.5);
}
.form_input:focus {
    box-shadow: 0px 0px 13px 4px rgba(255, 255, 255, 0.5);
}


#progress_view{
    z-index: 100;
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: whitesmoke;
}

#progress_bar{
    -webkit-appearance: none;
    appearance: none;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    left: 0;
    right: 0;
    width: 85%;
    height: 50px;
    margin-top: 20px;
}
#progress_bar::-webkit-progress-bar{
    -webkit-appearance: none;
    appearance: none;
    margin-left: auto;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
}
#progress_bar::-webkit-progress-value {
    background-color: darkgreen;
}



@media only screen and (max-width: 1000px) {
    #vid_box{
        max-width: 95%;
        max-height: 80%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 5vh;
        border: none;
    }
    
    #poster_box{
        max-width: 97%;
        max-height: 68%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 6vh;
        border: none;
    }

    #close_pdo{
        left: 4px;
        top: 4px;
    }

    #cross_sign{
        font-size: 40px;
    }

    .l1{
        font-size: 17px;
    }
}

@media only screen and (max-width: 1000px) and (orientation: landscape) {
    .t1_m{
        font-size: 12px;
    }
    #vid_box{
        max-width: 57%;
        margin-top: 2vh;
    }
    #poster_box{
        max-width: 97%;
        height: 68%;
        margin-top: 2vh;
    }
    .switch_btn {
        font-size: 3.3vh;
    }
    #close_pdo{
        left: 10px;
        top: 3px;
    }

    #links{
        bottom: 12px;
    }
    
}