body{
    color: #ffffff;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
}

.container{
    width: 90%;
    height: auto;
    margin: auto;
}

p{
    font-size: 1.6rem;
    text-align: justify;
}

/*HAUT DE PAGE : HEADER*/
.header{
    background-color: #170217;
    padding: 1rem 0 4rem 0;
    position: relative;
}

.header nav input {
    display: none;
}

.div_header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.menu-item {
    text-decoration: none;
    padding: 1rem 2rem;
    font-size: 1.7rem;
    color: #ffffff;
    font-weight: 600;
    transition: 0.3s ease-in-out;
}

.menu-item:active {
    color: #2AC9FF;
}

.menu-item:hover {
    color: #2AC9FF;
}

.menu-item[href="#"]{
    padding: 1rem 2rem;
    color: #2AC9FF;

    transition: 0.3s ease-in-out;
}

.menu-item[href="#"]:hover , .menu-item[href="#"]:focus , .menu-item[href="#"]:active  {
    color: #ffffff;
}


.menu-item[href="##"]{
    padding: 1rem 2rem;
    color: #FF00EA;

    transition: 0.3s ease-in-out;
}

.menu-item[href="##"]:hover , .menu-item[href="##"]:focus , .menu-item[href="##"]:active {
    color: #ffffff;
}

#grid+label{
    margin:3rem auto;	
    width:50px;
    display:grid;
    grid-template-rows: repeat(3,10px);
    row-gap: 10px;    
}
        
#grid+label span{
    background-color: #FF00EA;   
    transition: 0.3s ease-in-out;         
}
    
#grid:checked+label span{
    background-color: #2AC9FF;  
    grid-area: 2/1;
}

#grid:checked+label span:nth-child(2){
    opacity: 0;
}

#grid:checked+label span:first-of-type{
    transform:rotate(45deg)
}
            
#grid:checked+label span:last-of-type{
    transform:rotate(-45deg);
}

.header nav ul {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    width: 100%;
    height: auto;
    background-color: #170217;

    position: absolute;
    top :14rem;
    left: 0;
    right: 0;

    margin: 0;
    padding: 0;
    z-index: 1000;

    visibility: hidden;
    opacity: 0;

    list-style-type: none;
    transition: 0.3s ease-in-out;
}

.header nav ul li {
    padding: 2rem 0;
}

.header nav ul li :after {
    content:"";
    display: block;
    width: 100%;
    height: 0.2rem;
    margin-top: 1rem;
    background: linear-gradient(45deg, #FF00EA 0%, #2AC9FF 100%);
}

.menuburger:checked+label ~ ul {
    visibility: visible;
    opacity: 1;
}

/* HERO : 1ERE ZONE DE CONTACT */
.hero{
    background-color: #170217;
    padding-top: 4rem;
    
    /* background-image: url("../img/img-hero-midnight.png");
    background-position: bottom;
    background-size: contain;
    background-repeat: no-repeat; */
}

h1{
    font-size: 4.5rem;
    font-weight: 700;
    padding: 2rem 0;
    text-align: center;
}

h1 span {
    text-transform: uppercase;
    background: linear-gradient(-45deg, #FF00EA 0%, #2AC9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.div_btn{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 3rem 0;
}

.btn_degrade{
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #FF00EA 0%, #2AC9FF 100%);
    transition: 0.3s ease-in-out;
}

.btn_degrade:hover{
    background: #FF00EA;
}

.btn_degrade:after{
    content: url("../img/after-boutons.svg");
    margin-left: 1rem;
}

.btn_souligne{
    color: #ffffff;
    font-weight: 600;
    text-underline-offset:1.2rem ;
    text-decoration-thickness: 0.2rem;
    text-decoration-color: #FF00EA;
    transition: 0.3s ease-in-out;
}

.btn_souligne:hover{
    color: #2AC9FF;
    text-decoration: none;
}

.img_hero{
    width: 50rem;
    height: auto;
    margin: auto;
}

/* SECTION DE PRESENTATION */
.presentation{
    background-color: #ffffff;
    padding: 5rem 0;
    color: #170217;
}

h2{
    font-size: 3.5rem;
    text-align: center;
    font-weight: 700;
}

h3{
    font-size: 3rem;
    text-align: center;
    font-weight: 600;
}

.ligne_couleur{
    width: 100%;
    border: 1.5px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(45deg, #FF00EA 0%, #2AC9FF 100%);
    margin-bottom: 2rem;
}

.div_cards{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 5rem;
    padding: 3rem 0;
}

.card{
    border: 2px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(45deg, #FF00EA 0%, #2AC9FF 100%);
    
    padding: 3rem;
    width: 30rem;
    height: 30rem;
    margin: auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.presentation .div_btn .btn_souligne{
    color: #170217;
}

.presentation .div_btn .btn_souligne:hover{
    color: #2AC9FF;
}

/* SECTION DES TARIFS */
.tarifs{
    background-color: rgb(23, 2, 23, 80%);
    padding: 5rem 0;
    color: #ffffff;
}

.div_cards2{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 5rem;
    padding: 3rem 0;
}

.card_tarif{
    width: 32rem;
    height: auto;
    margin: auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
    padding: 2rem;

    background-color: #170217;
}

.card_tarif p{
    background: -webkit-linear-gradient(-45deg, #FF00EA 0%, #2AC9FF 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 4rem;
        font-weight: 700;
}

.populaire_tarif{
    background: linear-gradient(45deg, #FF00EA 0%, #2AC9FF 100%);
    width: 32rem;
    margin: auto;
    text-align: center;
    font-size: 2rem;
    padding: 1rem 2rem;
    margin-bottom: -5rem;
}

/* FORMULAIRE DE CONTACT */
.formulaire{
    background-color: #ffffff;
    padding: 5rem 0;
    color: #170217;
}

.form{
    padding: 3rem 0;
}

.form span{
    color: #FF00EA;
    font-weight: 700;
}

.form_nom, .form_mail{
    display: flex;
    flex-direction: column;
    align-items: start;
}

.form_nom input, .form_mail input, textarea{
    width: 100%;
    padding: 1rem;
    margin-bottom: 2rem;
    border:1px solid #FF00EA;
}

.form_rgpd label{
    font-size: 1.2rem;
}

button[type="submit"]{
    background: linear-gradient(45deg, #FF00EA 0%, #2AC9FF 100%);
    padding: 1rem 2rem;
    border: none;
    color: #ffffff;
    font-weight: 600;
    margin-top: 3rem;
}

button[type="submit"]:hover{
    background: #FF00EA;   
}

/* BAS DE PAGE : FOOTER */
.footer{
    background-color: #170217;
    padding: 5rem 0;
    color: #ffffff;
    position: relative;
}

.social{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.nav_footer ul{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    padding: 0;
}

.nav_footer a{
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.nav_footer a:hover{
    color: #2AC9FF;
}

.footer_fleche{
    position: absolute;
    right: 2rem;
    top: -2rem;
}

/* 2E PAGE : PRESENTATION */
.hero2{
    background-color: #170217;
    padding: 6rem 0;
}

.div_presentation img{
    padding: 3rem 0;
    margin: auto;
    width: 40rem;
    height: auto;
}

.div_presentation h3{
    padding-bottom: 2rem;
}

.div_cards_equipe{
    padding: 5rem 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap:5rem;
}

.div_cards_equipe h3{
   text-align: start;
   font-size: 2.5rem;
}

.card_equipe{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bloc_texte span{
    font-weight: 600;
    color: #FF00EA;
}


/* MEDIAS QUERIES */
@media only screen and (min-width: 992px) {
    .header nav ul{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        visibility: visible;
        opacity: 1;
        position: initial;
    }

    #grid+label, .header nav ul li :after{
        display: none;    
    } 

    .div_btn{
        flex-direction: row;
    }

    .img_hero{
        width: 50rem;
        height: auto;
    }

    .div_cards{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 5rem;
        padding: 3rem 0;
    }

    .div_cards2{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 10rem;
        padding-top: 10rem;
    }

    .card_tarif:nth-of-type(3):before{
        content: "Populaire";
        background: linear-gradient(45deg, #FF00EA 0%, #2AC9FF 100%);
        width: 100%;
        padding: 2rem 2rem;
        margin-top: -8rem;
        box-sizing: initial;
    }

    .card_tarif:nth-of-type(1){
        margin-bottom: rem;
    }
    

    .populaire_tarif{
        display: none;
    }

    .div_form{
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .form{
        width: 80%;
    }

    .div_titre_form .ligne_couleur{
        width: 90%;
        margin-left: 0;
    }

    .nav_footer{
        margin-top: 3rem;
    }

    .nav_footer ul{
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 3rem;
    }

    .div_cards_equipe{
        grid-template-columns: 1fr 1fr 1fr;
    }

    .bloc_deux{
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
    }

    .bloc_deux2{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .bloc_texte{
        width:50% ;
    }

    .div_presentation img{
        width: 55rem;
        margin: 0;
    }
}

@media only screen and (min-width: 1200px) {
    .div_titre{
        display: flex;
        flex-direction: column;
        width: 55%;
        float: right;
    }

    h1, h2, p{
        text-align: left;
    }

    .div_cards{
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
    }

    .div_cards2{
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
        gap: 5rem;
    }

    .card_tarif{
        width: auto;
    }
}