/*
Theme Name: vision
Template: twentytwentyone
Author: YANIS
Version: 1.0
*/

/*Feuille de style petite fille appelée quand la largeur 
du viewport est inférieure à 600px (Mobile)/*

/*------------------------------*/
/* ----------- ROOT ----------- */
/*------------------------------*/

:root h2 {
    font-size: 2rem;
    line-height: 110%;
    letter-spacing: -2.5%;
    font-family: "cc-regeneration-variable", sans-serif;
    font-variation-settings: "ital" 0, "wght" 200;
    font-variation-settings: "ital" 100, "wght" 400;
    display: flex;
    justify-content: center;
    transform: rotate(-2.73deg);
}

:root h1 {
    font-size: 2rem;
    line-height: 100%;
    letter-spacing: -3%;
    font-family: "cc-regeneration-variable", sans-serif;
    font-variation-settings: "ital" 100, "wght" 400;
    display: flex;
    justify-content: center;
    transform: rotate(-2.73deg);
    color: var(--blanc-fixe);
}

/*--------------------------------------*/
/* ----------- LANDING PAGE ----------- */
/*--------------------------------------*/

.baseline {
    bottom: 40%;
}

/*-------------------------------------*/
/* ----------- DESCRIPTION ----------- */
/*-------------------------------------*/

/*----------------------------------*/
/* ----------- SERVICES ----------- */
/*----------------------------------*/

/*--------------------------------------*/
/* ----------- RÉALISATIONS ----------- */
/*--------------------------------------*/

#real {
    margin-bottom: -200px;
}

.container {
    max-height: 200px;
}

.titre {
    left: 50%;
    bottom: 30%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 1;
}

.cards {
    width: 80%;
}

.titre {
    font-size: 20px !important;
}

#item-1:checked~.cards #song-1,
#item-2:checked~.cards #song-2,
#item-3:checked~.cards #song-3 {
    transform: translatex(0) scale(1.2);
    opacity: 1;
    z-index: 1;


    img {
        box-shadow: 0px 0px 5px 0px rgba(81, 81, 81, 0.47);
    }
}

@media (max-width: 365px) {
    .titre {
        font-size: 16px !important;
    }
}

/*--------------------------------*/
/* ----------- ÉQUIPE ----------- */
/*--------------------------------*/

/* Rendre la div scrollable horizontalement */
.team-container {
    padding-inline: 5%;
    width: 95vw;
}


/* Réglage de la hauteur du titre pour les petits écrans */
@media (max-width: 545px) {
    #team {
        margin-top: 64px;
    }
}

@media (max-width: 400px) {
    #team {
        margin-top: 100px;
    }
}

/*------------------------------*/
/* ----------- AVIS ----------- */
/*------------------------------*/

.avis {
    max-width: 300px;
}

/*-----------------------------------------*/
/* ----------- SECTION CONTACT ----------- */
/*-----------------------------------------*/

.h2-contact {
    font-size: 50px;
}

/*--------------------------------*/
/* ----------- FOOTER ----------- */
/*--------------------------------*/

.credits {
    font-size: 12px !important;
}

/*--------------------------------------*/
/* ----------- PAGE CONTACT ----------- */
/*--------------------------------------*/

.inside-left-side {
    height: 100vh;
    padding-top: 10%;
    position: relative;
    padding-inline: 32px;
}

.envoyer {
    left: 32px;
    right: 32px;
}

.left,
.right {
    padding-top: 5%;
}

.flexsb {
    flex-direction: column-reverse;
    gap: 16px;
    margin-bottom: 8px;
}

.flex {
    justify-content: space-between;
}

.right>.inside-left-side>.flex {
    gap: 0;
}

textarea {
    height: 100px;
}

/*------------------------------------------*/
/* ----------- PAGE RÉALISATION ----------- */
/*------------------------------------------*/

/*------------------------------------------*/
/* ----------- MENTIONS LÉGALES ----------- */
/*------------------------------------------*/

.mentions-legales {
    padding-top: 10%;
    padding-inline: 5%;
    text-align: left;
}