 /* Corps */
body {
    background-color: #53256E;
    user-select: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/* Apparition du corps */
.texte-scroll {
    animation: fadeIn 0.5s ease forwards;
}
.bloc1, .bloc2-cadre, .bloc3, .bloc4-cadre {
    animation: fadeIn 1s ease forwards;
}
@keyframes fadeIn {
    from {opacity: 0;} to {opacity: 1;}
}
.bloc1 img, .bloc4-1 img {
    animation: zoomIn 1s ease;
}
@keyframes zoomIn {
    from {transform: scale(0.6);} to {transform: scale(1);}
}


 /* Textes */
h1, h2, h3, h4, p {
    font-optical-sizing: auto;
    font-style: normal;
    color: #FFFFFF;
}
h1, h2, h3 {
    font-family: "Orbitron", sans-serif;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-shadow: 0px 4px #00000040;
}
h1 {
    font-size: 48px;
}
h2 {
    font-size: 32px;
}
h3 {
    font-size: 20px;
}
h4, p {
    font-family: "Unbounded", serif;
    font-weight: 300;
}
h4 {
    font-size: 20px;
    text-shadow: 0px 4px #00000040;
}  
p {
    font-size: 12px;
}
.bloc1 h1, .bloc1 h4, .bloc2 h2, .bloc2 h4, .bloc4 h1, .bloc4 h4 {
    margin: 26.6px;
}


 /* Couleurs des textes */
 .texte-bleu {
    color: #00C8FF;
}
.texte-rose {
    color: #D23ADA;
}
 .texte-rouge {
    color: #FF0000
}


 /* Boutons */
 button {
    font-family: "Unbounded", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    color: #FFFFFF;
    display: inline-block;
    text-align: center;
    padding: 20px 50px;
    margin: 20px;
    border: none;
    border-radius: 40px;
    text-transform: uppercase;
    text-shadow: 0px 4px #00000040;
    box-shadow: 0px 4px #00000040;
}
.bouton-bleu {
    background-color: #00C8FF;
}
.bouton-rose {
    background-color: #D23ADA;
}


 /* Bouton de retour en haut */
 .fleche-haut {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #00C8FF;
    border-radius: 50%;
    padding: 12.5px;
    z-index: 9999;
    box-shadow: 0px 4px #00000040;
}
.fleche-haut img {
    width: 40px;
    height: 40px;
}


 /* Survol des boutons */
.bouton-bleu:hover, .fleche-haut:hover {
    background-color: #4D99FA;
}
.bouton-rose:hover {
    background-color: #9946C9;
}


 /* Activation des boutons */
.fleche-haut:active, button:active, a:active {
    transform: scale(0.95);
}


 /* Liens */
 a {
    text-decoration: none;
}


 /* Sélection */
::selection {
    background-color: #00C8FF80;
}


 /* Header */
 header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #53256ECC;
    margin-bottom: 60px;
}
.navigation {
    background-color: #1A0E21;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 40px;
    border-radius: 60px 0px 60px 0px;
    flex-wrap: wrap;
    box-sizing: border-box;
}
.navigation .logo {
    color: #FFFFFF;
    padding: 0;
    border: none;
}
.navigation a {
    color: #FFFFFF;
    padding: 12px 27px;
    border: 1px solid #FFFFFF;
    border-radius: 27px;
}
.header-centre, .header-droite {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.header-centre {
    flex-grow: 1;
}
.header-centre a {
    border: none;
    margin: 0 10px;
}
.discord {
    font-family: "Unbounded", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 20px;
    color: #FFFFFF;
    text-shadow: 0px 4px #00000040;
}
.discord img {
    height: 20px;
    margin-right: 10px;
}
.discord, button a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #FFFFFF;
}
.header-separateur {
    border-left: 1px solid #FFFFFF80;
    height: 50px;
    margin: 0 10px;
}
.header-droite a {
    display: flex;
    align-items: center;
    margin-left: 27px;
    font-family: "Unbounded", serif;
    font-weight: 300;
    font-size: 20px;
    text-shadow: 0px 4px #00000040;
}
.recherche {
    display: flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 27px;
    border: 1px solid #ffffff80;
    margin-left: 20px;
}
.recherche input {
    background-color: transparent;
    border: none;
    color: #FFFFFF;
    font-family: "Unbounded", serif;
    font-weight: 300;
    font-size: 20px;
    text-align: left;
    width: 150px;
    padding: 8px;
    outline: none;
    z-index: 1;
    height: 100%;
}
.recherche input::placeholder {
    color: #ffffff80;
}
.recherche input:focus {
    color: #FFFFFF;
}
.header-droite .loupe {
    padding: 0 10px;
    border: none;
}
.loupe img {
    height: 20px;
}
.connexion img {
    height: 20px;
    margin-right: 10px;
}


 /* Survol du header */
 .navigation a:hover, .logo:hover h2, .header-centre a:hover h4, .discord:hover {  /* VERIFIER PK CA MARCHE PAS quand je desactive color ffffff du truc des textes en general ca marche */
    color: #00C8FF !important;
    border-color: #00C8FF !important;
}
.loupe:hover img, .discord:hover img, .connexion:hover img {
    filter: invert(45%) sepia(100%) saturate(600%) hue-rotate(170deg);
}

 /* Espacements */
header, .bloc1, .bloc2, .bloc3, .bloc4 {
    padding: 20px;
}
.espace {
    height: 60px;
}


 /* Texte défilant */
 .texte-scroll {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    width: 100%;
}
#scroll1, #scroll2 {
    font-family: "Orbitron", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 32px;
    letter-spacing: 0.10em;
    color: #9946C9;
    text-shadow: none;
    display: inline-block;
    padding-right: 50px;
}
#scroll1 {
    animation: scroll1 300s linear infinite;
}
@keyframes scroll1 {
    from {transform: translateX(-50%);} to {transform: translateX(0%);}
}
#scroll2 {
    animation: scroll2 300s linear infinite;
}
@keyframes scroll2 {
    from {transform: translateX(0%);} to {transform: translateX(-50%);}
}


 /* Footer */
 footer {
    padding: 60px;
    background-color: #1A0E21;
    border-top: #351D43 solid 20px;
    text-align: left;
    position: relative;
    margin-top: auto;
}
footer a:hover{
    font-weight: 500;
}


 /* Bloc 1 */
 .bloc1 {
    position: relative;
    width: 80%;
    margin: 0 auto;
    height: 550px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.bloc1-gauche {
    position: absolute;
    top: 50%;
    left: -50px;
    transform: translateY(-50%);
    width: 550px;
    height: 550px;
    z-index: 2;
}
.bloc1-gauche img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}
.bloc1-droite {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    background-color: #9946C9;
    padding: 20px 0px 20px 0px;
    display: flex;
    justify-content: flex-end;
    z-index: 1;
    border-radius: 60px 0px 60px 0px;
    height: 400px;
}
.bloc1-droite-contenu {
    width: 68%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;  /* C'était aligné à droite sur ma maquette mais c'est plus lisible à gauche */
    z-index: 3;
    /* padding-right: 20px; */
}
.bloc1-droite-contenu button {
    align-self: center;
    margin-top: 20px;
    z-index: 3;
    position: relative;
}


 /* Bloc 2 */
.bloc2-cadre {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #351D43;
}
.bloc2 {
    display: flex;
    align-items: center;
    height: 500px;
    padding: 20px;
    border-radius: 20px;
    box-sizing: border-box;
    gap: 20px;
    width: 80%;
    position: relative;
}
.bloc2 button {
    margin-top: 20px;
}
.bloc2-gauche {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-right: 20px;
}
.bloc2-separateur {
    width: 20px;
    background-color: #53256E;
    height: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.bloc2-droite {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
}
.bloc2-droite img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
}


 /* Bloc 3 */
 .bloc3 {
    text-align: center;
}


/* Bloc 4 */
.bloc4-cadre {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 75px 0;
}
.bloc4 {
    width: 77.5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #9946C9;
    border-radius: 60px 0 60px 0;
    padding: 40px;
}
.bloc4-1 {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.bloc4-1 img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
}
.bloc4-2 {
    width: 95%;
    background-color: #351D43;
    padding: 40px;
    margin-top: 20px;
    border-radius: 60px 0 60px 0;
}
.bloc4-2-separateur {
    height: 20px;
    background-color: #53256E;
    margin: 20px 0;
}
.bloc4-2-contenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 20px 0;
}
.bloc4-2 h2 {
    text-align: center;
    margin-bottom: 60px;
}
.bloc4-2 br {
    margin-bottom: 10px;
}
.bloc4-2-gauche {
    flex: 0 0 68%;
    padding-right: 20px;
    color: #FFF;
}
.bloc4-2-gauche h2 {
    margin-top: 0;
}
.bloc4-2-gauche-texte {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: 0 auto;
}
.bloc4-2-gauche-texte h4 {
    flex: 1;
    text-align: left;
    margin: 0;
}
.bloc4-2-gauche-texte button {
    align-self: center;
    position: relative;
    margin: 0;
}
.bloc4-2-droite {
    flex: 0 0 32%;
    display: flex;
    justify-content: flex-end;
}
.bloc4-2-droite img {
    width: 100%;
    height: auto;
    object-fit: cover;
    padding: 20px;
}


/* Media Queries */
@media screen and (max-width: 1540px) {
    .navigation {
        flex-direction: column;
        align-items: center;
    }
    .logo h2 {
        margin-bottom: 10px;
    }
    .header-droite {
        margin-bottom: 20px;
    }
    .header-droite {
        justify-content: center;
    }
    .connexion {
        justify-content: center;
    }
    .bloc1-gauche {
        position: left;
        width: 40%;
        height: auto;
    }
    .bloc1-droite {
        width: 100%;
        padding: 40px 0px 40px 0px;
    }
    .bloc1-droite-contenu {
        text-align: center;
        max-width: 100%
    }
    .bloc1-droite-contenu button {
        margin-bottom: 40px;
    }
}
@media screen and (max-width: 970px) {
    .bloc1-gauche {
        position: left;
        width: 0%;
        height: 0%;
    }
    .bloc1-droite {
        width: 100%;
        justify-content: center;
        padding: 80px 0px 80px 0px;
    }
}
@media screen and (max-width: 775px) {
    .header-separateur {
        border-left: none;
        height: 0px;
        margin: 0px;
    }
    .header-centre a {
        padding: 0px 12px;
    }
    .header-centre {
        margin-bottom: 20px;
    }
    .header-droite {
        margin-bottom: 0px;
    }
    .recherche, .connexion {
        margin-bottom: 20px;
    }
}