:root {
    --main-black : #111;
    --black-bis : #171615;
    --main-white : #FFF;
    --white-bis : #F8F5F4;
    --pink : #EB4760;
    --gold : #F9BF7D;
    --gray : #DDD;
    --dark-gray : #747274;

    --legend-size : 12px;
    --smaller-size : 14px;
    --main-size : 16px;
    --subtitle-size : 18px;
    --title-size : 24px;
    --h1-size : 45px;

}

html {
    height: fit-content;
}

body {
    position: relative;

    box-sizing: border-box;
    margin: unset;

    font-size: var(--main-size);
    font-family: Montserrat, Helvetica, Arial;
    line-height: 24px;

    overflow-x: hidden;
}

h1, h2, h3, h4 {
    margin: unset;

    font-family: Roboto-bold, Helvetica, Arial;
    font-weight: unset;
}

h1 {
    margin-bottom: 32px;
    font-size: var(--h1-size);
    line-height: 32px;
    text-align: center;

    text-shadow: 0 1px 2px var(--main-black);
}

h2 {
    margin-bottom: 20px;

    font-size: var(--title-size);
}

h3, h4 {
    margin-bottom: 8px;
    font-size: var(--subtitle-size);
}

img {
    display: block;
}

p,
.no-margin {
    margin: unset;
}

button {
    margin: unset;
    padding: unset;
}

nav {
    height: 55px;

    background-color: var(--main-black);

    font-size: var(--title-size);
    color: var(--main-white);
}

.nav-color {
    width: 100%;
    height: 5px;

    background-color: var(--pink);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: 0 auto;
    padding: 0 24px;
    height: calc(100% - 5px);
}

.menu {
    display: none;
}

.mobile-nav {
    position: absolute;
    top: 55px;
    right: 0;
    left: 0;
    z-index: 100;

    height: calc(100vh - 55px);

    background-color: var(--main-black);
}

.mobile-menu {
    position: absolute;
    top: calc(50% - 55px);
    transform: translateY(-50%);

    width: 100%;
    margin: unset;
    padding: unset;

    text-align: center;
    list-style: none;
}

.mobile-menu a {
    font-family: Roboto-bold;
    font-size: var(--title-size);
    color: var(--main-white);
    line-height: 48px;
    text-transform: uppercase;
    text-decoration: none;
}

.mobile-nav > .media-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 72px;
}

.fa-bars,
.fa-xmark {
    color: var(--gold);
}

.mobile-nav,
.fa-xmark {
    display: none!important;
}

.mobile-logo,
.logo {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}




header {
    display: flex;
    align-items: center;

    min-height: 226px;
    height: calc(33vh - 55px);
    background-color: var(--black-bis);

    color: var(--main-white);
}

.header-accueil {
    background-image: url(images/screens/2023-03-03_19.01.29.png);
    background-size: 150%;
    background-position: center bottom;
}

.header-almyriacraft {
    background-image: url(images/screens/2023-03-03_19.01.29.png);
    background-size: 150%;
    background-position: center bottom;
}

.header-container {
    position: absolute;

    width: 100%;
    height: fit-content;
}

.header-txt,
.join-content {
    background-color: #1116;
    box-shadow: 0 0 2px var(--main-black);
    backdrop-filter: blur(1px);
}

.header-txt > p {
    padding: 8px 24px;
    text-align: center;
    line-height: 20px;
}

.banner {
    position: relative;
    
    height: fit-content;
    padding: 20px 24px;

    background-color: var(--pink);

    font-family: Roboto-bold;
    font-size: var(--subtitle-size);
    text-transform: uppercase;
    color: var(--main-white);
}

.banner > p {
    width: max-content;
    animation: banner 10s linear infinite;
}

.fa-gamepad {
    margin: 0 24px;
}

.banner > div {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    background: rgb(235,71,96);
    background: radial-gradient(circle, rgba(235,71,96,0) 67%, rgba(235,71,96,1) 96%);
}








section:not(section > div > section):not(article > section):not(.join) {
    padding: 28px 24px;
}

.section-black {
    background-color: var(--main-black);

    color: var(--main-white);
}

article {
    margin-bottom: 28px;
}

.section-black p:not(:last-child) {
    margin-bottom: 16px;
}

.mascotte {
    display: block;

    width: calc(((100vw - 48px) / 5) * 3 + 48px);
    margin: 0 auto 24px auto;
}

.media-container {
    display: flex;
    justify-content: space-between;

    width: calc(((100vw - 48px) / 5) * 3 + 48px);
    margin: 0 auto;

    font-size: var(--title-size);
}

.fa-facebook {
    color: var(--pink);
}
.fa-twitter {
    color: var(--gray);
}
.fa-discord {
    color: var(--gold);
}



.season-container {
    display: flex;
}

.season-card {
    position: relative;
    display: flex;
    gap: 12px;

    width: 100%;
    padding: 6px 0;

    aspect-ratio: 21 / 9;
}

.season-small-card {
    width: calc(100% - 24px);
    max-width: calc(450px - 24px);
    margin: 0 24px 0 0;
}


.season-img {
    width: calc(((100vw - 96px) / 5) * 2 + 12px);

    object-fit: cover;
    object-position: 45%;
}

.season-content {
    align-self: center;

    width: calc(((100vw - 96px) / 5) * 3 + 12px);
    height: fit-content;
    padding: 6px 0;
}

.season-small-content {
    width: calc(((100vw - 96px) / 5) * 3 - 6px);
    padding-right: 12px;
}

.season-content:not(.season-small-content) h3 {
    text-transform: uppercase;
}

.season-content p {
    font-size: var(--smaller-size);
    line-height: 20px;
}

.outline {
    position: absolute;
    top: -1px;
    left: 6px;

    width: calc(100% - 7px);
    height: 100%;
    border: 1px solid var(--dark-gray);

    pointer-events: none; 
}

.button-plus {
    display: block;

    width: fit-content;
    margin: 16px auto 24px auto;
    padding: 12px 24px;
    border: unset;
    border-radius: 8px 0 8px 0;

    background-color: #EB4760;

    color: var(--main-white);
    font-family: Roboto-bold, Helvetica, Arial;
    font-size: var(--subtitle-size);
    text-transform: uppercase;
    text-decoration: none;
}







.h3-title {
    margin-bottom: 20px;
}



.staff-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: calc(24px + 12px);

    margin-top: 28px;
}

.staff-card {
    position: relative;

    width: calc(((100vw - 96px) / 5) * 2 + 12px);
    padding: 6px 0;

    background-color: var(--white-bis);
}

.outline-tb {
    position: absolute;
    top: -7px;
    left: 6px;

    width: calc(100% - 13px);
    height: calc(100% + 12px);
    border: 1px solid var(--dark-gray);

    pointer-events: none; 
}

.staff-card > img {
    display: block;

    border-radius: 50%;

    width: calc(100% - 48px);
    margin: 0 auto;
}

.staff-card > h3 {
    margin: 12px 0 0 0;

    text-align: center;
}

.staff-card > h4 {
    font-family: Roboto-regular;
    font-size: var(--smaller-size);
    color: var(--dark-gray);
    line-height: 100%;
    text-align: center;
}





.join {
    padding: 28px 0 4px 0;
    background-image: url('images/screens/2023-03-03_18.59.12.png');
    background-size: 250%;
    background-position: center;
}

.join-content {
    padding: 12px 24px;

    color: var(--main-white);
    text-align: center;
}

.join-content > p:not(.ps) {
    margin-bottom: 6px;

    line-height: 20px;
}

.ps {
    font-family: Montserrat-Italic;
    font-size: var(--smaller-size);
    color: var(--dark-gray);
    line-height: 18px;
}

.join-content > .ps {
    color: var(--main-white);
}




.slide {
    margin-bottom: 24px;
}

.slide > .ps {
    text-align: center;
}

.slide-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.slide-container > div {
    position: relative;

    margin-bottom: 6px;
}

.slide-container img {
    display: block;
    width: 100%;
}

.slide-container i {
    font-size: var(--title-size);
    color: var(--dark-gray);
}




.border-dashed {
    padding: 12px 24px;
    border: 2px dashed #EB4760;
    border-radius: 8px 0 8px 0;
}

.montserrat-bold {
    font-family: Montserrat-medium;
}

.pink-link {
    color: var(--pink);
    text-decoration: none;
}

.dates > p:last-child{
    margin-top: 12px;
}



.spe {
    position: relative;

    padding: 12px;

    background-color: var(--white-bis);
}

.spe ul {
    margin: unset;
    padding: unset;

    list-style: none;
}

.spe li:not(.no-margin),
.spe .ps,
.para-list > li {
    margin-bottom: 12px;
}

.pink-txt {
    color: var(--pink);
}

.spe > div:not(.outline-tb) {
    margin: 24px 0;
}





.para-list {
    margin: 28px 0 28px 24px;
    padding: unset;
}

.fa-up-right-from-square {
    font-size: var(--title-size);
    color: var(--pink);
}



.form-article {
    margin: 24px 0 48px 0;

    text-align: center;
}

.form-article > p:first-of-type {
    margin-bottom: 12px;
}

.form-container > p {
    margin-bottom: 12px;
}

.contact-form > div {
    margin-bottom: 24px;
}

.contact-form > div > div{
    margin-bottom: 12px;
}

.identity {
    display: flex;
    gap: 24px;
}

label {
    margin-bottom: 6px;
}

input:not([type="submit"]),
textarea {
    box-sizing: border-box;
    
    width: 100%;
    margin: unset;
    padding: 12px;
    border: 2px dashed #EB4760;
    border-radius: 8px 0 8px 0;

    font-family: Montserrat-italic;
    font-size: var(--main-size);
}

textarea {
    height: calc(47px * 3);
}

input::placeholder {
    color: var(--dark-gray);
    letter-spacing: 0.5px;
}

.message > .ps {
    text-align: center;
}

input[type='submit'] {
    font-family: Roboto-bold;
    font-family: Roboto-bold, Helvetica, Arial;
    font-size: var(--subtitle-size);
    color: var(--main-white);
    text-transform: uppercase;
}




footer {
    display: grid;
    row-gap: 24px;

    padding: 24px;

    background-color: var(--main-black);

    color: var(--main-white);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 0 auto;
}

.footer-logo > img {
    height: 55px;
}

.footer-logo > h2 {
    margin: unset;

    color: var(--gray);
}

footer > p {
    /* margin: 24px 0; */

    color: var(--gray);
    text-align: center;
}

.footer-menu {
    margin: unset;
    padding: unset;
}

.footer-menu > li {
    width: fit-content;
    margin: 0 auto;

    list-style: none;
}

.footer-menu a {
    font-family: Roboto-bold;
    color: var(--gold);
    line-height: 32px;
    text-transform: uppercase;
    text-decoration: none;
}






.summary a {
    color: var(--pink);
    text-decoration: none;
}

.summary ul > ul {
    margin-bottom: 24px;
}

.summary > ul > li > a {
    font-family: Montserrat-medium;
}












@keyframes banner {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-575px);
    }
}



@media screen and (min-width: 1000px) {
    :root {
        --main-size: 18px;
        --title-size: 32px;
        --subtitle-size: 22px;
        --smaller-size: 16px;
        --h1-size : 64px;
    }

    body {
        font-size: var(--main-size);
        line-height: 28px;
    }

    h1 {
        line-height: 100%;
        margin-bottom: 48px;
    }

    h2 {
        margin-bottom: 32px;
    
        font-size: var(--title-size);
    }

    nav {
        height: 65px;
    }

    .fa-bars,
    .fa-xmark,
    .fa-user {
        display: none!important;
    }

    .menu {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        
        width: 60%;
        min-width: 900px;
        max-width: 1200px;
        height: 50px;
        margin: 0 auto;
        padding: unset;

        list-style: none;
    }

    .menu li {
        flex-basis: 100%;
        text-align: center;
    }

    .menu a {
        font-family: Roboto-bold;
        font-size: var(--main-size);
        line-height: 50px;
        text-decoration: none;
        text-transform: uppercase;
    }

    .menu a:not(.insc) {
        color: var(--main-white);
    }

    .insc {
        padding: 12px 24px;
        border: 2px solid var(--gold);
        border-radius: 12px 0 12px 0;

        color: var(--gold);
    }

    .logo {
        position: relative;
        top: unset;
        left: unset;
        transform: unset;

        margin: 0 auto;
    }

    .mobile-logo {
        display: none;
    }

    .header-accueil,
    .header-almyriacraft {
        background-size: cover;
        background-position: center 45%;
    }

    .header-txt > p {
        padding: 12px 24px;
    }

    .banner {
        font-size: var(--subtitle-size);
    }
    
    .banner > p {
        animation: banner 9s linear infinite;
    }


    section:not(section > section):not(article > section):not(.join):not(.season-section):not(.rules-section) {
        padding: 64px 0!important;
    }

    article {
        margin-bottom: 48px;
    }

    .section-container {
        width: 60%;
        min-width: 900px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .section-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        column-gap: 128px;
    }

    #rules .section-grid {
        grid-template-columns: 1fr 3fr;
    }

    .season-section {
        margin-top: 72px;
    }

    .svg-container {
        justify-self: center;
        width: 100%;
        max-width: 100%;
    }

    .mascotte {
        width: 90%;
        max-width: 536px;
    }

    .media-container {
        width: 80%;
        max-width: 464px;
    }

    .season-container {
        flex-wrap: wrap;
        row-gap: 36px;
        justify-content: space-between;
    }
    
    .season-card {
        gap: 24px;
    
        min-width: 350px;
        padding: 12px 0;
    }

    .season-small-card {
        padding: 6px 0;
    }

    .season-small-card,
    .fantom {
        width: calc(33.3333% - 24px);
        max-width: calc(500px - 48px);
        margin: unset;
    }

    .season-img {
        min-width: 100px;
        width: 33%;
    }

    .season-content,
    .season-small-content {
        width: 66%;
        padding: 12px 12px 12px 0;
    }
    
    .season-content p {
        line-height: 24px;
    }

    .outline {
        left: 12px;
    
        width: calc(100% - 13px);
    }

    .season-small-card .outline {
        left: 6px;

        width: calc(100% - 7px);
    }

    .button-plus {
        grid-column: 2;
        margin: 24px auto;
    }




    .staff-container {
        flex-wrap: wrap;
        justify-content: space-between;
        column-gap: 18px;

        margin-top: 44px;
    }
    
    .staff-card {
        width: calc(20% - 64px);
        min-width: 150px;
        padding: 6px 0;
    }


    .staff-card h4 {
        line-height: 18px;
    }

    footer {   
        padding: 48px;
    }
    

    .footer-menu {
        display: flex;
        gap: 64px;
        justify-content: unset;

        width: fit-content;
        margin: 0 auto;
    }





    .outline-tbb {
        top: -13px;
        left: 12px;

        width: calc(100% - 26px);
        height: calc(100% + 24px);

        pointer-events: none; 
    }

    .para-list {
        margin: 48px 0 96px 24px;
    }



    .slide {
        margin-bottom: 96px;
    }

    .slide-container > div {
        margin-bottom: 18px;
    }
    

    .border-dashed {
        padding: 24px;
        border-radius: 12px 0 12px 0;
    }

    .spe {
        margin-top: 28px;
        padding: 12px 24px;
    }
    




    .join {
        padding: 48px 0 24px 0;
        background-size: cover;
    }

    .join-content {
        padding: 18px 0;
    }

    .identity > div {
        width: 100%;
    }



    .contact-form > div > div{
        margin-bottom: 28px;
    }




    label {
        margin-bottom: 12px;
    }


    #rules > section {
        padding-top: unset;
    }

    #rules p {
        margin-bottom: 12px;
    }

    #rules h3 {
        margin-top: 48px;
        margin-bottom: 12px;
    }

    #rules h4 {
        font-size: var(--main-size);
        padding-top: 12px;
    }

    .rules-container > section {
        padding-bottom: 48px;
    }

    .rules-container > section:first-child {
        margin-top: 24px;
    }


    .rules-container > section > article:last-child {
        margin-bottom: 0;
    }

    .summary {
        height: 100%;
        margin-top: 88px;

        color: var(--main-black);
    }
    
    
    
    @keyframes banner {
        0% {
            transform: translateX(0%);
        }
        100% {
            transform: translateX(-598px);
        }
    }
    
}













@font-face {
    font-family: 'Montserrat';
    src: url(fonts/Montserrat-Regular.ttf);
}

@font-face {
    font-family: 'Montserrat-italic';
    src: url(fonts/Montserrat-Italic.ttf);
}

@font-face {
    font-family: 'Montserrat-medium';
    src: url(fonts/Montserrat-Medium.ttf);
}

@font-face {
    font-family: 'Roboto-bold';
    src: url(fonts/Roboto-Bold.ttf);
}

@font-face {
    font-family: 'Roboto-regular';
    src: url(fonts/Roboto-Regular.ttf);
}