footer {
    background: linear-gradient(#E52165, #0D1137);
    background-attachment: fixed;
    background-size: 100%;
    padding: 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.not-here {
    transform: scale(0);
}

.sousfooter {
    background: linear-gradient(#E52165, #0D1137);
    background-size: cover;
    background-attachment: fixed;
    border-top: #fff solid 1px;
    display: flex;
    align-items: center;
}

.contactes {
    font-size: 20px;
}

.bonjour>.contactes {
    margin-bottom: 20px;
}

.droite {
    margin-right: 2%;
}
/* liens du footer */
.liens {
    margin-left: 40px;
    border-left: solid #fff;
    padding-inline: 30px;
    display: flex;
    flex-direction: column;
}

.liens2 {
    margin-left: 40px;
    border-left: solid #fff;
    padding-inline: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10%;
}

.lienfooter {
    color: #fff;
    text-decoration: none;
}

.lienfooter:hover {
    color: #fff;
}

.res {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.rese {
    color: #fff;
}

.rese:hover {
    color: #E52165;
}

.droite {
    padding-inline: 20px;
    border-left: solid 5px #fff;
}

.bonjour {
    text-decoration: none;
    color: #fff;
}

.bonjour:hover {
    color: rgb(228, 228, 228);
}

/* cases projet */

.tp {
    display: flex;
    justify-content: center;
    margin: 40px;
}

.trois {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-inline: 200px;
    gap: 40px;
    min-height: 60vh;
}

.case {
    font-size: 20px;
    color: white;
    text-align: center;
    position: relative;
    align-content: end;
}

.case:nth-child(1) {
    background: url(../img/1.webp);
    background-size: cover;
}

.case:nth-child(2) {
    background: url(../img/2_resultat.webp);
    background-size: cover;
}

.case:nth-child(3) {
    background: url(../img/3_resultat.webp);
    background-size: cover;
}

.projet1 {
    padding: 40px;
    opacity: 0;
    transition: 0.4s;
    text-align: center;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    min-height: 40vh;
    background: linear-gradient(0deg, rgba(229, 33, 101, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.proj {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
}

.case:hover>.projet1 {
    opacity: 1;
}


/* le bandeau */


.bandeau {
    min-height: 40vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/ilya-pavlov-OqtafYT5kTw-unsplash\ \(1\)_resultat.webp);
    margin-top: 100px;
    margin-bottom: 100px;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.text {
    text-align: center;
}

.boutons {
    width: 200px;
    margin: 40px;
    text-align: center;
    padding: 20px;
    border: white solid 1px;
    border-radius: 10px;
    transition: 0.4s;
}

.boutons:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(229, 33, 101, 26);
}

.cellules {
    display: flex;
    gap: 40px;
}

.infos {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.illus {
    width: 500px;
    animation: ram infinite 10s;
}

@keyframes ram {
    50% {
        transform: translate(-1%, -2%);
    }
}

.texte {
    width: 600px;
    color: white;
}

.parent2 {
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.parentcomp {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.titrecomp {
    color: #E52165;
}

.competencesss {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.compet {
    padding: 20px;
    border: 5px solid #E52165;
    border-radius: 20px;
    gap: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flexeee {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.compet>.molière:nth-child(1) {
    grid-row: 2/ span 2;
}

.moliere {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-inline: 60px;
}

.blocs {
    width: 75%;
    margin-bottom: 40px;
}

.pourcent {
    width: 50px;
    margin-left: auto;
}

.texte {
    width: 600px;
}

.projet {
    background: #000107;
    padding-bottom: 100px;
    color: white;
}

.contextee {
    margin-top: 130px;
}

#haut {
    margin-top: 20vh;
}


#premier {
    animation: forwards 1s ease-in-out bouger;
    opacity: 0;
}

@keyframes bouger {
    from {
        transform: translateX(50%);
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#deux {
    animation: forwards 1s ease-in-out débouger;
    opacity: 0;
}

@keyframes débouger {
    from {
        transform: translateX(-50%);
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.souligner {
    text-decoration: underline;
}

.fix {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* page contacts  */

.container_CV {
    display: flex;
    justify-content: center;
}

.CV {
    padding: 20px;
    padding-inline: 180px;
    border: #E52165 solid 1px;
    border-radius: 20px;
    transition: 0.4s;
}

.CV:hover {
    transform: scale(1.1);
}

/* styles de commentaires */

.contour {
    display: flex;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 50px;
}

/* styles du formulaire */
.formulaire {
    color: white;
    border: solid white 1px;
    border-radius: 10px;
    padding: 10px;
    padding-inline: 40px;
    font-size: 16px;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* styles des champs texts */
input {
    margin-left: auto;
    padding: 7px;
    margin: 20px;
    border-radius: 10px;
    border: none;
    padding: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

textarea {
    margin-left: auto;
    resize: none;
    min-width: 300px;
    min-height: 150px;
    margin: 20px;
    border-radius: 10px;
    border: none;
    padding: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

/* réponse et affichage des commentaires */

.commentaires {
    display: flex;
    justify-content: center;
    color: white;
    margin: 50px;

}

th {
    text-align: center;
}

td>div {
    width: 500px;
    word-wrap: break-word;
}

.menutel {
    display: none;
}

.deroutelo {
    display: none;
}

td {
    text-align: center;
    padding: 40px;
    padding-inline: 100px;
    border-top: 1px white solid;
}

.answer {
    margin: 10px;
    text-align: center;
}

/* réponse en cas d'erreur */
.erreur {
    background-color: #410000;
    padding: 10px;
    border-radius: 10px;
}

button {
    padding: 10px;
    margin: 20px;
    border-radius: 10px;
    background-color: #e52165;
    color: white;
    font-size: 16px;
}


@media (max-width: 1300px) {

    .competencesss {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .compet {
        padding: 10px;
        border: 3px solid #E52165;
        border-radius: 20px;
        gap: 30px;
        display: flex;
        flex-direction: column;
        align-items: start;
    }

    .flexeee {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
    }


    .moliere {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-inline: 60px;
    }

    .blocs {
        width: 75%;
        margin-bottom: 40px;
    }

    .pourcent {
        width: 50px;
        margin-left: auto;
    }



    .tel {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .infos {
        display: grid;
        grid-template-rows: 1fr 1fr;
        margin-top: 5%;
        margin-bottom: 5%;
    }

    .illus {
        width: 80%;
        margin: auto;
    }

    .texte {
        width: 100%;
        margin: auto;
        grid-row: 2;
    }



    /* footer du site */

    footer {
        background: linear-gradient(#E52165, #0D1137);
        background-attachment: fixed;
        background-size: 100%;
        padding: 10px;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sousfooter {
        background: linear-gradient(#E52165, #0D1137);
        background-size: cover;
        background-attachment: fixed;
        border-top: #fff solid 1px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .contactes {
        font-size: 16px;
        text-align: center;
    }

    .bonjour>.contactes {
        margin-bottom: 10px;
    }

    .droite {
        margin-right: 0;
        padding-inline: 10px;
        border-left: none;
    }

    .liens,
    .liens2 {
        margin-left: 0;
        border-left: none;
        padding-inline: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .liens2 {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .lienfooter {
        color: #fff;
        text-decoration: none;
        text-align: center;
    }

    .lienfooter:hover {
        color: #fff;
    }

    .res {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    .rese {
        color: #fff;
        text-align: center;
    }

    .rese:hover {
        color: #E52165;
    }

    .bonjour {
        text-decoration: none;
        color: #fff;
        text-align: center;
    }

    .bonjour:hover {
        color: rgb(228, 228, 228);
    }

    /* bandeau du site */

    .bandeau {
        margin-top: 100px;
        margin-bottom: 100px;
        background-size: cover;
        background-attachment: fixed;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
    }

    .text {
        text-align: center;
    }

    .boutons {
        width: 200px;
        margin: 40px;
        text-align: center;
        padding: 20px;
        border: white solid 1px;
        border-radius: 10px;
        transition: 0.4s;
    }

    .boutons:hover {
        transform: scale(1.1);
        box-shadow: 0 0 50px rgba(229, 33, 101, 26);
    }

    .cellules {
        display: block;
    }

    /* changements du bouton CV */

    .container_CV {
        display: flex;
        justify-content: center;
    }

    .CV {
        padding: 10px;
        padding-inline: 70px;
    }


    /* projets */

    .trois {
        display: grid;
        grid-template-columns: 1fr;
        margin-inline: 40px;
        gap: 30px;
    }

    .projet1 {
        position: relative;
        display: flex;
        opacity: 1;
    }

    .proj {
        margin-top: auto;
        position: relative;
        bottom: 0;
        left: 0;
        transform: none;
    }

    /* page projets perso */

    .parent3 {
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .griddessins {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 10px;
    }

    .perso {
        width: 100%;
    }

    .parent4 {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px;
        flex-direction: column;
    }

    .souligner {
        text-decoration: underline;
    }

    .fix {
        min-height: 60vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }

    .tourner {
        border: 5px solid #f3f3f300;
        border-top: 5px solid #e52165;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: spin 1s linear infinite;
    }

    .fixed {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(110deg, #000000, #0d1137);
        z-index: 1001;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: forwards fincharge 0.8s ease-in-out;
        animation-delay: 3s;
    }

    @keyframes fincharge {
        50% {
            transform: translateX(100%);
        }

        100% {
            display: none;
            transform: translateX(100%);
        }
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }


    #premier {
        animation: none;
        opacity: 1;
    }

    #deux {
        animation: none;
        opacity: 1;
    }

    .centrage {
        margin-bottom: 20px;
    }
}

@media (max-width:600px) {

    .cont {
        display: none;
    }

    .menutel {
        display: block;
        margin-left: auto;
        margin-right: 20px;
    }

    .deroutel {
        padding: 10%;
    }

    .deroutelo {
        display: block;
    }


    .competencesss {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .compet {
        padding: 10px;
        border: 3px solid #E52165;
        border-radius: 20px;
        gap: 30px;
        display: flex;
        flex-direction: column;
        align-items: start;
    }

    .flexeee {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .compet>.molière:nth-child(1) {
        grid-row: 2/ span 2;
    }

    .moliere {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-inline: 60px;
    }

    .blocs {
        width: 75%;
        margin-bottom: 40px;
    }

    .pourcent {
        width: 50px;
        margin-left: auto;
    }



    .tel {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #grand {
        display: none;
    }

    #petit {
        display: flex;
    }


    /* top de la page */

    span {
        color: #E52165;
    }

    .prenom {
        margin-top: 25%;
        font-size: 11px;
    }

    .nom {
        font-size: 11px;
    }

    .domaine {
        font-size: 16px;
    }

    /* footer du site */

    footer {
        background: linear-gradient(#E52165, #0D1137);
        background-attachment: fixed;
        background-size: 100%;
        padding: 10px;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sousfooter {
        background: linear-gradient(#E52165, #0D1137);
        background-size: cover;
        background-attachment: fixed;
        border-top: #fff solid 1px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .contactes {
        font-size: 16px;
        text-align: center;
    }

    .bonjour>.contactes {
        margin-bottom: 10px;
    }

    .droite {
        margin-right: 0;
        padding-inline: 10px;
        border-left: none;
    }

    .liens,
    .liens2 {
        margin-left: 0;
        border-left: none;
        padding-inline: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .liens2 {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .lienfooter {
        color: #fff;
        text-decoration: none;
        text-align: center;
    }

    .lienfooter:hover {
        color: #fff;
    }

    .res {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    .rese {
        color: #fff;
        text-align: center;
    }

    .rese:hover {
        color: #E52165;
    }

    .bonjour {
        text-decoration: none;
        color: #fff;
        text-align: center;
    }

    .bonjour:hover {
        color: rgb(228, 228, 228);
    }

    /* bandeau du site */

    .bandeau {
        margin-top: 100px;
        margin-bottom: 100px;
        background-size: cover;
        background-attachment: fixed;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
    }

    .text {
        text-align: center;
    }

    .boutons {
        width: 200px;
        margin: 40px;
        text-align: center;
        padding: 20px;
        border: white solid 1px;
        border-radius: 10px;
        transition: 0.4s;
    }

    .boutons:hover {
        transform: scale(1.1);
        box-shadow: 0 0 50px rgba(229, 33, 101, 26);
    }

    .cellules {
        display: block;
    }

    /* changements du bouton CV */

    .container_CV {
        display: flex;
        justify-content: center;
    }

    .CV {
        padding: 10px;
        padding-inline: 70px;
    }

    h2 {
        font-size: 24px;
    }

    /* projets */

    .trois {
        display: grid;
        grid-template-columns: 1fr;
        margin-inline: 40px;
        gap: 30px;
    }

    .projet1 {
        position: relative;
        display: flex;
        opacity: 1;
    }

    .proj {
        margin-top: auto;
        position: relative;
        bottom: 0;
        left: 0;
        transform: none;
    }

    /* page projets perso */

    .parent3 {
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .griddessins {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 10px;
    }

    .perso {
        width: 100%;
    }

    .parent4 {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px;
        flex-direction: column;
    }

    .souligner {
        text-decoration: underline;
    }

    .fix {
        min-height: 60vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }

    .tourner {
        border: 5px solid #f3f3f300;
        border-top: 5px solid #e52165;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: spin 1s linear infinite;
    }

    .fixed {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(110deg, #000000, #0d1137);
        z-index: 1001;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: forwards fincharge 0.8s ease-in-out;
        animation-delay: 3s;
    }

    @keyframes fincharge {
        50% {
            transform: translateX(100%);
        }

        100% {
            display: none;
            transform: translateX(100%);
        }
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .titrehaut {
        text-align: center;
        font-size: 16px;
        display: flex;
        width: 90%;
        margin: auto;
    }

    /* contacts */
    .lechef {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 20px;
        margin-inline: 20px;
        flex-direction: column;
        align-items: center;
    }

    .letout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .boutontel {
        border: #E52165 solid 3px;
        border-radius: 15px;
        box-shadow: 0 0 5px rgba(229, 33, 101, 1);
        padding: 20px;
        padding-inline: 30px;
        transition: 0.5s;
        color: #E52165;
    }

    /* page projets pro */
    .projet2 {
        padding-bottom: 50px;
        color: white;
    }

    .centreinfo {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .contextee {
        margin-top: 40px;
    }

    .parenta {
        margin-top: 110px;
    }


    .informations {
        margin: 20px;
        margin-bottom: 50px;
        width: 90%;
    }

    .imagesposition {
        display: grid;
        grid-template-columns: 1fr;
    }

    .titrehaut {
        display: flex;
        justify-content: center;
        margin: 10px;
    }

    .imagecentre {
        width: 90%;
        z-index: 1;
        animation: centrepetit 1s ease-in-out forwards;
        margin-bottom: 10px;
    }

    @keyframes centrepetit {
        from {
            opacity: 0;
            transform: translateX(-50%);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }


    .abso1 {
        width: 90%;
        right: auto;
        left: auto;
        bottom: auto;
        top: auto;
        opacity: 0;
        animation: aimé 1s ease-in-out forwards;
        animation-delay: 0.2s;
        position: relative;
        margin-bottom: 10px;
    }

    .abso2 {
        width: 90%;
        right: auto;
        left: auto;
        bottom: auto;
        top: auto;
        opacity: 0;
        animation: aimé2 1s ease-in-out forwards;
        animation-delay: 0.5s;
        position: relative;
        margin-bottom: 10px;
    }

    .choix {
        color: white;
        display: grid;
        padding: 20px;
        width: 80%;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
        margin-top: 40px;
        align-content: center;
        text-align: center;
        border-bottom: 1px white solid;
        animation: pop 0.7s forwards;
    }
    .parentchoi {
        display: flex;
        justify-content: center;
        margin-top: 50px;
    }
    .choixproj:hover {
        color: #E52165;
        cursor: pointer;
    }
    .choixproj2 {
        color: #E52165;
    }
    #premier {
        animation: none;
        opacity: 1;
    }

    #deux {
        animation: none;
        opacity: 1;
    }

    .centrage {
        margin-bottom: 20px;
    }
}