*{
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;

}


nav{
    display: none;
}

.big2{
    font-size: 220%;
}

.top{
    font-style: italic;
    font-size: larger;
    text-decoration: none;
    transition: 0.3s ease;
}


.top:hover{
    transform: translateY(10px);
}

body{
    background-color: black;
    color: white;
    margin: 0 5%;
}

header{
    display: flex;
    justify-content: space-around;
    margin: 2rem;
}

button{
    animation: 5s ease;
}

.italic{
    font-style: italic;
    font-size: 40%;
}

.first{
    display: block;
    text-align: center;
    position: relative;
    border-bottom: solid;
    font-size: 5rem;
    margin-top: 15vw;
    height: 30rem;
    transition: 2s ease;
}



.code{
    display: flex;
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
}

.inside{
    font-size: x-large;
}

.box{
    border-radius: 20px;
    border: solid;
    padding: 7rem;
    margin: 1rem;
    background-color: white;
    transition: background-color 0.8s ease, transform 0.7s ease;
    color: black;
}

.box_other{
    border-radius: 20px;
    border: solid;
    padding: 7rem;
    margin: 1rem;
    background-color: white;
    transition: background-color 0.8s ease, transform 0.7s ease;
    color: black;
}

.box_other:hover{
    transform: scale(1.1);
    background-color: rgb(0, 0, 0);
    color: white;
}

.box:hover{
    transform: scale(1.1);
    background-color: rgb(0, 0, 0);
    color: white;
}




.inside_img{
    width: 4rem;
    height: 4rem;
    position: relative;
    bottom: 4rem;
}

#inside_php{
    width: 5rem;
    height: 5rem;
}




a:visited{
    color: white;
}

a{
    color: white;
}


/* PROJET GSAP */

.text-proj{
    font-size: large;
    text-align: left;
    position: relative;
    bottom: 30vh;
    text-decoration: none;
}


#projet_gsap{
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 80%;
    margin: auto;
    margin-top: 3rem;
    padding: 1.5rem;
}


.test-22{
    border-radius: 50px;
    opacity: 0;
    width: 35rem;
    height: 24rem;
}

.icone-style{
    background-color: #000;
    border: none;
    height: 2rem;
    
}

.projet:nth-child(odd) {
    flex-direction: row-reverse; /* Inverse l'image et le texte pour les projets impairs */
}

/* FIN PROJET */


.spawn{
    position: relative;
    bottom: 12rem;
    background: none;
    font-size: 140%;
    color: white;
    opacity: 0;
    text-align: center;
}



label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    text-align: left;
}


select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.formulaire{
    position: relative;
    left: 30%;
    margin-top: 2rem;
}

#contact{
    margin-top: 2rem;
    font-size: xx-large;
}

#display{
    display: none;
}

.go_pass{
    position: relative;
    top: 8rem;
}


/*
*/

footer {
    background-color: #000;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

article {
    background-color: #111;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    text-align: center;
    width: 300px;
}

input {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #444;
    background-color: #222;
    color: #fff;
    border-radius: 5px;
}

.submit-button {
    background-color: #fff;
    color: #000;
    font-weight: bold;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background-color: #ccc;
}

.code-tel{
    display: none;
}




@media (max-width: 768px) {
    footer {
        flex-direction: column;
        gap: 20px;
    }
}




@media (max-width: 768px) {

    *{
        margin: 0;
        padding: 0;
    }

.code{
    display: none;
}

#projet_gsap{
    display: none;
}

.code-tel{
    display: inline;
    text-align: center;
    color: white;
}

.img-slider{
    width: 9%;
    height: 9%;
}

.accordion {
    background: black;
    display: inline;

}

.accordion-item {
    border-bottom: 1px solid black;
    flex-wrap: wrap;
}

.accordion-header {
    background: black;
    padding: 2%;
    cursor: pointer;
    font-weight: bold;
}

.accordion-content {
    display: none;
    padding: 2%;
    background: black;
}





    h1{
        padding: 1rem;
    }

    h2{
        padding: 1rem;
    }

    header{
        margin-left: 0;
        gap: 0.5rem;
    }

    .first{
        font-size: 200%;
        height: 10rem;
    }

    .img_proj{
        width: 90%;
    }

    .spawn{
        width: 90%;
    }
    
    .but1{
        width: 90%;
        left: 0;
    }


    .formulaire{
        top: 10rem;
        margin: 0;
        padding-bottom: 2rem;
        left: 0;
    }

    .img_proj{
        width: 20.5rem;
    }

    #project{
        margin-left: 1.2rem;
    }

    .inside_img{
        left: 1.5rem;
    }
    
    .inside{
        position: relative;
        left: 1.5rem;
    }

    header{
        display: none;
    }
nav{
    display: flex;
    margin-left: 87%;
    margin-top: 1rem;
}
#burger{
    font-size: xx-large;
    background-color: black;
    color: white;
    border: none;
}

.burgouz{
    margin: 2rem;
}

#display{
    flex-wrap: wrap;
    flex-direction: column;
    text-align: center;
    font-size: x-large;
    padding: 3rem;
    margin: 3rem;
}

}

