@font-face {
    font-family: lemonmilk;
    src: url(../Fonts/LEMONMILK-Regular.otf);
}
@font-face {
    font-family: saira;
    src: url(../Fonts/Saira-Regular.ttf);
}

html, body {
    background-color: #666;
    color: #ffffff;
    font-family: lemonmilk;
    margin: 0;
    padding: 0;	
    /* Hide scrollbar for IE, Edge and Firefox */
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

h1,h2,h3 {
    font-family: lemonmilk;
    margin: 10px 0;
}

#menu, #menu-container {
    height: 60px;
    position: fixed;
    top: 0;
    width: 100%;
}

#menu-container {
    background-color: rgba(0,0,0,0.7);
}

#menu #menu-container a {
    height: 60px;
    color: #ffffff;
    text-decoration: none;
    line-height: 60px;
    margin: 0 20px;
    padding: 0 10px;
    display: inline-block;
    transition-duration: 0.4s;
}

#menu #menu-container a.hoverable:hover {
    background-color: #e2a223;
}

#menu #menu-container img {
    margin: 5px;
	width: 50px;
    height: 50px;
}

#menu #menu-container ul {
    list-style: none;
    float: right;
    height: 60px;
    margin: 0 20px 0 0;
}

#menu #menu-container ul li {
    display: inline-block;
    float: left;
    height: 60px;
}

#menu #menu-container ul li a {
    margin: 0 5px;
}

.fullsize {
	display: block;
	width: 100vw;
	min-height: 100vh;
	overflow: hidden;
	/*background-attachment: fixed;*/
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

span.yellow {
    color:#e2a223;
}

span.blue {
    color:#24426d;
}

span.purple {
    color:#b1165a;
}

#header {
    background-image: url("../Images/headerBG.jpg");
}

#header .container {
    width: 1100px;
    height: 400px;
    margin: 150px auto;
}

#header h1 {
    float: left;
    width: 400px;
    height: 400px;
}

#header h1 img {
    width: 400px;
    height: 400px;
}

#header h2 {
    float: left;
    width: 700px;
    height: 170px;
    font-size: 60px;
    font-weight: bold;
    text-shadow: 5px 5px 10px rgba(0,0,0,0.8);
    margin-top: 50px;
}

#header h2 span {
    width: 700px;
    height: 100px;
    font-size: 50px;
    font-weight: normal;
    text-shadow: 4px 4px 8px rgba(0,0,0,0.8);
}

#header a {
    float: left;
    width: 250px;
    height: 50px;
    font-size: 30px;
    font-weight: lighter;
    color: white;
    text-decoration: none;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
}   

#header a:hover {
    cursor: pointer;
    /*color: #24426d;*/
    color: #e2a223;
}

#mec {
    background-image: url("../Images/mecBG-1.png"), url("../Images/mecBG-2.png"), url("../Images/mecBG.jpg");
    background-position: left bottom, right bottom, center bottom;
    text-align: center;
    font-family: saira;
    font-size: 25px;
    transition-duration: 1s;
}

#mec.pendingAnim {
    background-position: -1000px bottom, 1000px bottom, center bottom;
}

#mec img {
    display: none;
    margin: 30px auto;
    margin-bottom: 20px;
    width: 250px;
    height: 250px;
}

#mec p {
    display: none;
    margin-top: 0;
}

#join {
    background-image: url("../Images/joinBG.jpg");
    text-align: center;
    font-family: saira;
    font-size: 25px;
    transition-duration: 1s;
}

#join .container {
    display: none;
    width: 600px;
    height: 350px;
    margin: 50px;
}

#join h2 {
    text-align: left;
    font-size: 80px;
    font-weight: bold;
    margin: 0;
    width: 600px;
    float: left;
}

#join img {
    width: 250px;
    height: 250px;
    margin-left: -250px;
    margin-top: 110px;
    float: left;
}

#join p {
    margin: 10px 50px;
    text-align: left;
    display: none;
    float: left;
}

#join p img {
    display: inline;
    position: inherit;
    width: 40px;
    height: 30px;
}

#join a.button {
    color: #ffffff;
    background-color: #ecbb57;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    margin: 10px 15px;
    transition: .5s;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    float: left;
}

#join a.button i.fa-discord {
    color: #ffffff;
}

#join a.button:hover {
    background-color:#24426d;
}

#join iframe {
    margin: -250px 200px 0 0;
    display: block;
    float: right;
    transition-duration: 1s;
}

#join.pendingAnim2 iframe {
    margin: -250px -200px 0 0;
}

#activities {
    background: #555 url("../Images/MEC-BigLogo.png") no-repeat center -150px;
    color: white;
    font-family: saira;
}

#activities #games {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    height: 70vh;
}

#activities #games .box {
    flex: 1;
    overflow: hidden;
    transition: .4s;
    line-height: 0;
    background: #333 url("../Images/bg-jeux.jpg") no-repeat center ;
}

#activities #games .box > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
    -webkit-filter: grayscale(0);
	filter: grayscale(0);
}

#activities #games:hover .box > img {
    -webkit-filter: grayscale(80%);
	filter: grayscale(80%);
}

#activities #games .box > p {
    font-size: 3.4vh;
    float: right;
    text-align: center;
    height: calc(100% - 40px);
    width: calc(50% - 40px);
    line-height: 1.8;
    transition: 1s;
    color: rgba(255, 255, 255, 0);
    padding: 20px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

#activities #games .box:hover { flex: 1 1 50%; }
#activities #games .box:hover > img {
    width: 50%;
    height: 100%;
    -webkit-filter: grayscale(0);
	filter: grayscale(0);
}
#activities #games .box:hover > p {
    color: rgb(255, 255, 255, 1);
}

#activities #resume {
    width: 100%;
    box-sizing: border-box;
    height: 30vh;
    color: white;
    background-color: rgba(0,0,0,0.8);
    font-weight: bold;
    text-align: center;
    font-size: 20px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

#activities #resume p {
    margin: 0 0 15px 0;
}

#contact {
    background-image: url("../Images/contactBG.jpg");
    text-align: center;
}

#contact img {
    margin: 30px auto;
    display: block;
}

#contact #form-container {
    width: 500px;
    margin: 0 auto;
}

#contact #form-container form{
    text-align: left;
}

#contact #form-container .form-line{
    margin-bottom: 15px;
}

#contact #form-container h3{
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 30px;
}

#contact input[type=text], select, textarea {
    width: 478px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

#contact input[type=text].small-input {
    width: 225px;
}

#contact input[type=button] {
    background-color: #ecbb57;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
    transition-duration: 0.3s;
}

#contact input[type=button]:hover {
    background-color: #24426d;
}

#footer {
    background-color: #111927;
    font-family: saira;
    text-align: center;
    padding: 30px 0 10px 0;
    font-size: 30px;
}

#footer a {
    color: #ffffff;
    transition: 0.3s;
}

#footer a i {
    transition: 0.3s;
}

#footer #copyright {
    font-size: 15px;
    margin-top: 15px;
}

#backToTop {
    width: 40px;
    height: 50px;
    position: fixed;
    bottom: 30px;
    right: 100px;
    z-index: 10000;
    display: none;
}

#backToTop:hover {
    cursor: pointer;
}

#backToTop img {
    width: 40px;
    height: 50px;
}

span.yellow {
    color:#ecbb57;
}

span.blue {
    color:#24426d;
}

span.purple {
    color:#b8386f;
}

a:hover i.fa-discord {
    color:#4b35aa;
}

a:hover i.fa-facebook {
    color:#19347e;
}

a:hover i.fa-twitter {
    color:#2a95be;
}

a:hover i.fa-twitch {
    color:#9523b8;
}

a:hover i.fa-youtube {
    color:#9e1818;
}

@media only screen and (max-width: 1100px) {
    #mec.pendingAnim {
        background-position: left bottom, right bottom, center bottom;
    }
    
    #mec img {
        display: block;
    }
    
    #mec p {
        display: block;
    }

    #join .container {
        display: block;
    }

    #join p {
        display: block;
    }

    #activities #games {
        display: block;
        height: auto;
    }
    
    #activities #games .box > img {
        height: 100vh;
        object-fit: cover;
    }
    
    #activities #games .box > p {
        height: 60vh;
        width: calc(100% - 40px);
        color: rgba(255, 255, 255, 1);
    }
    
    #activities #games .box:hover { flex: none; }
    #activities #games .box:hover > img {
        width: 100%;
        height: 100vh;
    }

    #activities #resume {
        width: 100%;
        height: 60vh;
    }
}

@media only screen and (max-width: 800px) {
    #header .container {
        width: 100%;
        height: 800px;
    }

    #header h1 {
        float: none;
        margin: 0 auto;
    }
    
    #header h1 img {
        width: 400px;
        height: 400px;
    }
    
    #header h2 {
        float: none;
        text-align: center;
        width: 100%;
    }
    
    #header a {
        float: none;
        text-align: center;
        display: inline-block;
        width: 100%;
    }

    #join iframe, #join.pendingAnim2 iframe {
        margin: 10px auto;
        display: inline-block;
        float: none;
    }

    #activities #games .box {
        background-image: none;
    }
}	

@media only screen and (max-width: 600px) {
    #menu #menu-container a.scrollto {
        display: none;
    }

    #header h2 {
        font-size: 30px;
    }

    #header h2 span {
        font-size: 25px;
    }

    #header a {
        font-size: 20px;
    }   

    #join h2 {
        font-size: 40px;
        width: 400px;
    }
}		