@font-face {
    font-family: "yoinks";
    src: url("/assets/fonts/yoinks.ttf");
}
/**
******************************** GENERAL RULE
**/
html {
    scroll-behavior: smooth;
  }
body{
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

/**
******************************** HEADER & MENU
**/
.video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%; 
    min-height: 100%;
    z-index: -5;
  }
header{
    display: flex;
    position: relative;
}
header img{
    margin: 2em 2em 0em;
}
header .nav-container .navbar {
    margin-top: 3em;
    position: fixed;
    left:25%;
    width:50%;
    text-align:center;
}
header .nav-container .navbar a {
    font-family: "yoinks", sans-serif;
    text-align: center;
    background-color: rgba(110, 110, 110, 0.5);
    margin: 0 .2em;
    padding: .5em;
    font-size: 2em;
    text-decoration: none;
    color: black;
}
nav.sideNav a{
    font-family: "yoinks", "Trebuchet MS", sans-serif;
    text-align: center;
    color: rgb(211, 211, 211);
}
/*MOBILE MENU*/
#sideNav-btn {
    display: none;
}
.sideNav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
} 
.sideNav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
} 
.sideNav a:hover {
    letter-spacing: .2em;
}
.sideNav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
} 

/**
*********************************** A PROPOS
**/
div#apropos {
    height: 107px;
}
.apropos {
    background-color: rgba(202, 202, 202, 0.7);
    text-align: center;
    margin-bottom: 5em;
    padding: 2em 0;
    border-radius: 5px;
}
.apropos h1 {
    font-size: 3em;
    font-family: "yoinks", "Trebuchet MS", sans-serif;
    margin-top: 0;
}
.apropos p {
    font-size: 1.3em;
    font-family: "Trebuchet MS";
    font-weight: bold;
    width: 60%;
    margin: 0 auto;
}

/**
*********************************** TEAM
**/
main {
    padding: 0 1em;
}
main .team{
    display: flex;
    justify-content: space-evenly;
    text-align: center;
    flex-wrap: wrap;
    margin-bottom: 5em;
    background-color: rgba(202, 202, 202, 0.7);
    border-radius: 5px;
    padding: 3em 0;
}
main .team div {
    max-width: 25%; 
}
main .team h2,
main .team h3 {
    font-family: "yoinks", "Trebuchet MS", sans-serif;
}
main .team h3 {
    font-size: 1.5em;
}
main .team h2 {
    font-size: 2em;
}
main .team img {
    max-width: 80%;
}
main .team .team-member-description {
    max-width: 65%;
    margin: 0 auto;
    font-family: "Trebuchet MS";
    font-weight: bold;
    padding: 1em;
    -webkit-transition: background-color .6s ease-out;
    -moz-transition: background-color .6s ease-out;
    -o-transition: background-color .6s ease-out;
    transition: background-color .6s ease-out;
   
}
main .team .team-member-description:hover {
    background-color: rgb(29, 29, 29);
    color: rgba(202, 202, 202);
    border-radius: 5px;
}

/**
*********************************** FOOTER
**/
footer .webgl-content div#unityContainer {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}
.game-not-supported {
    display: none;
}
/*download*/
.download-game{
    display: flex;
    justify-content: center;
    padding: 2em;
    text-decoration: none;
    font-family: Trebuchet MS;
    font-size: 1.5em;
    color: black;
    text-align: center;
    background-color: rgba(210,210,210,.5);
    border-radius: 5px;
    margin-bottom: 3em;
}
.download-game:hover{
    letter-spacing: .1em;
    font-weight: bold;
}

/**
****************************** MOBILE
**/
@media only screen and (max-width: 1441px) {
    footer .webgl-content div#unityContainer canvas {
        height: 720px !important;
        width: 1280px !important;
    }
}
@media only screen and (max-width: 1281px) {
    #sideNav-btn {
        display: initial;
    }
    header .header-logo {
        padding-top: 9em;
        margin: 0 auto;
        padding-top: 1em;
    }
    header .navbar {
        right: 1%;
    }
    header .navbar a:not(:last-child) {
        display: none;
    }
    header .nav-container .navbar {
        margin-top: 1.7em;
        position: fixed;
        left: auto;
        width: auto;
        height: auto;
    }
    footer .webgl-content div#unityContainer canvas {
        height: 576px !important;
        width: 1024px !important;
    }
}
@media only screen and (max-width: 1024px) {
    main .team {
        flex-direction: column;
        align-items: center;
    }
    main .team div{
        max-width: 100%;
        margin: 1em 0;
    }
    footer .webgl-content{
        display: none;
    }
    .game-not-supported {
        font-family: "Trebuchet MS";
        font-size: 2em;
        text-align: center;
        display: initial;
    }
    .game-not-supported p{
        background-color: rgba(202, 202, 202, 0.7);
        border-radius: 5px;
        padding: 3em 1em;
        margin: 0 .5em;
    }
}
