@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    background-color: #F1F1F1;
    /* background-color: red; */
    height: 500vh;
}

nav{
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 1000;
    width: max-content;
}

nav > div{
    background: rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

nav .other_projects{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #005AD8;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    margin-left: 0;
    width: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transform: scale(0);
    transform-origin: center;
    white-space: nowrap;
}

nav .other_projects span{
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.25s ease 0.45s, transform 0.25s ease 0.45s;
}

/* Animation goutte d'eau sur la nav */
@keyframes navWaterDrop {
    0% { transform: scaleX(1); }
    20% { transform: scaleX(1.06); }
    40% { transform: scaleX(0.98); }
    60% { transform: scaleX(1.02); }
    80% { transform: scaleX(0.99); }
    100% { transform: scaleX(1); }
}

/* Animation zoom du bouton - part d'un petit point au centre */
@keyframes buttonZoomIn {
    0% {
        width: 8px;
        height: 8px;
        margin-left: 12px;
        padding: 0;
        opacity: 0.5;
        transform: scale(0);
        border-radius: 50%;
    }
    25% {
        width: 16px;
        height: 16px;
        margin-left: 14px;
        padding: 0;
        opacity: 1;
        transform: scale(1);
        border-radius: 50%;
    }
    50% {
        width: 40px;
        height: 40px;
        margin-left: 16px;
        padding: 0;
        opacity: 1;
        transform: scale(1);
        border-radius: 50%;
    }
    75% {
        width: 160px;
        height: 46px;
        margin-left: 20px;
        padding: 5px 25px;
        transform: scale(1.05);
        border-radius: 30px;
    }
    100% {
        width: 160px;
        height: 46px;
        margin-left: 20px;
        padding: 5px 25px;
        opacity: 1;
        transform: scale(1);
        border-radius: 30px;
    }
}

/* Animation inverse - retour au petit point */
@keyframes buttonZoomOut {
    0% {
        width: 160px;
        height: 46px;
        margin-left: 20px;
        padding: 5px 25px;
        opacity: 1;
        transform: scale(1);
        border-radius: 30px;
    }
    40% {
        width: 40px;
        height: 40px;
        margin-left: 16px;
        padding: 0;
        opacity: 1;
        transform: scale(1);
        border-radius: 50%;
    }
    70% {
        width: 16px;
        height: 16px;
        margin-left: 14px;
        padding: 0;
        opacity: 1;
        transform: scale(1);
        border-radius: 50%;
    }
    100% {
        width: 8px;
        height: 8px;
        margin-left: 0;
        padding: 0;
        opacity: 0;
        transform: scale(0);
        border-radius: 50%;
    }
}

/* État actif quand on est sur la section projet */
nav.show-other-projects > div{
    animation: navWaterDrop 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

nav.show-other-projects .other_projects{
    animation: buttonZoomIn 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

nav.show-other-projects .other_projects span{
    opacity: 1;
    transform: scale(1);
}

/* État de sortie */
nav.hide-other-projects .other_projects{
    animation: buttonZoomOut 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

nav.hide-other-projects .other_projects span{
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.1s ease, transform 0.1s ease;
}

nav ul{
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 0;
    padding: 5px 5px;
    box-sizing: border-box;
}

nav ul li{
    list-style-type: none;
    margin: 0 4px;
    padding: 10px 20px;
    border: 1px solid transparent;
    transition: 0.5s;
    border-radius: 20px;

}

nav ul li:hover{
    background: rgba(232, 232, 232, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(232, 232, 232, 0.3);
}

nav ul li a{
    text-decoration: none;
    color: #1e1e1e;
}

/* header */
header{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header h1{
    font-size: 9vw;
    font-weight: 700;
    margin: 0;
    line-height: 1.05;
    position: relative;
    white-space: nowrap;
    color: #005AD8;
    letter-spacing: -0.5px;
}

header h1.web2{
    -webkit-text-stroke: 2px #005AD8;
    color: transparent;
}


/* LOGO */
.logo{
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 2000;
    width: 60px;
    height: 60px;
}

.logo img{
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    border-radius: 10px;
    transition: opacity 0.3s ease;
}

.logo .logo-inverted{
    opacity: 0;
}

header .overlay-video .text-mid{
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

header .overlay-video .text-mid h1{
    font-size: 70px;
    font-weight: 200;
    margin: 0;
}

header .overlay-video .text-mid h2{
    font-size: 20px;
    margin: 0;
    line-height: 0;
    padding-left: 4px;
    color: #005AD8;
}

header .overlay-video .content-right{
    position: absolute;
    top: 50%;
    right: 2%;
    display: flex;
    flex-direction: column;
    transform: translateY(-50%);
    align-items: center;
}

header .overlay-video .content-right .trait{
    height: 250px;
    width: 2px;
    background-color: black;
    margin-bottom: 10px;
}

header .overlay-video .content-right .trait::before{
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background-color: #F1F1F1;
    border: 2px solid black;
}

header .overlay-video .content-right .trait::after{
    content: "";
    position: absolute;
    top: 245px;
    left: 50%;
    transform: translateX(-50%);
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background-color: #F1F1F1;
    border: 2px solid black;
}



/* MAIN */

main{
    position: relative;
    margin-top: 100vh;
    height: 100%;
    z-index: 999;
    background-color: #F1F1F1;
}

/* PRESENTATION */
.presentation{
    display: flex;
    width: 100%;
    background-color: #005AD8;
    padding: 8% 8% 8% 8%;
    box-sizing: border-box;
    color: #F1F1F1;
    position: relative;
    border-top-left-radius: 20%;
    border-top-right-radius: 20%;
    transition: 0.5s;
    z-index: 1000;
    gap: 60px;
}

.presentation .content-presentation{
    width: 55%;
    display: flex;
    flex-direction: column;
}

.presentation .section-title{
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #F1F1F1;
    font-weight: 400;
    margin: 0 0 30px 0;
}

.presentation .intro-text{
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    margin: 0 0 40px 0;
}

.presentation .parcours-blocks{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.presentation .parcours-block{
    flex: 1;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.5s;
}

.presentation .parcours-block h3{
    font-size: 18px;
    font-weight: 500;
    color: #F1F1F1;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.presentation .parcours-block:hover{
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.presentation .parcours-block h3 i{
    font-size: 14px;
    color: #F1F1F1;
}

.presentation .parcours-item{
    margin-bottom: 20px;
}

.presentation .parcours-item:last-child{
    margin-bottom: 0;
}

.presentation .parcours-item h4{
    color: #F1F1F1;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 2px 0;
}

.presentation .lieux-formation{
    font-size: 14px;
    color: rgba(241, 241, 241, 0.7);
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.presentation .lieux-formation i{
    font-size: 12px;
}

.presentation .lieux-formation span{
    opacity: 0.4;
}

.presentation .desc-formation{
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
    margin: 0;
    color: rgba(241, 241, 241, 0.8);
}

.presentation .btn-cv{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 12px 28px;
    background: #F1F1F1;
    color: #005AD8;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    align-self: flex-start;
    transition: 0.3s;
}

.presentation .btn-cv:hover{
    background: #005AD8;
    color: #F1F1F1;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    outline: 1px solid #F1F1F1;
}

.presentation .contain-img-about{
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.presentation .contain-img-about img{
    width: 80%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* PROJET TITLE */

.projectTitle{
    padding: 2% 4%;
    width: 100%;
    box-sizing: border-box;
    background-color: #F1F1F1;
}

.projectTitle .containProjectTile{
    height: 94vh;
    width: 100%;
    background: rgba(232, 232, 232, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(232, 232, 232, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}


.projectTitle .containProjectTile h3{
    font-size: 50px;
    color: #005AD8;
}

/* CONTAIN PROJET */

.contain_projet{
    margin-top: 100vh;
    display: flex;
    width: 80%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;

}

.contain_projet .container_card{
    width: 33%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    will-change: opacity;
}

.contain_projet .container_card .card{
    margin: 5px 10px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    will-change: opacity, transform;
}

.contain_projet .container_card_1 .card{
    display: flex;
    justify-content: end;
}

.contain_projet .container_card img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.5s;
    transform-origin: center;
    display: block;
}

.contain_projet .container_card .card:hover img{
    transform: scale(1.1);
}

.contain_projet .container_card_1{
    padding-bottom: 220px;
}


.contain_projet .container_card_1 .card{
    margin: 5px 10px;
}

.contain_projet .container_card_1 .t-50{
    align-self: end;
}

.contain_projet .container_card_2{
    padding-bottom: 10px;
}

.contain_projet .container_card_2 .card{
    margin: 5px 0;
    transition: 0.5s;
}

/* .contain_projet .container_card_2 .card:hover{
    margin: 0;
} */

.contain_projet .container_card_2 img{
    height: 620px;
    object-fit: cover;
}

.contain_projet .container_card_3{
    padding-top: 210px;
    padding-bottom: 10px;
}

.contain_projet .container_card .t-50{
    width: 70%;
}

.contain_projet .container_card_3 .t-50{
    display: flex;
}

.contain_projet .container_card .card:hover img{
    filter: brightness(0.5);
    cursor: pointer;
    /* border-radius: 0px; */
}

.open_card{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    color: white;
    transition: 0.5s;
}

.card:hover .open_card{
    opacity: 1;
}

.open_card i{
    font-size: 30px;
    cursor: pointer;
}

/* SECTION COMPETENCE */
.competence{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    display: flex;
    z-index: 1700;
    background-color: #F1F1F1;
    opacity: 0;
    pointer-events: none;
}

.competence.visible{
    opacity: 1;
    pointer-events: auto;
}

.competence .VSCODE_VIEWER{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.competence .VSCODE_VIEWER iframe{
    width: 80%;
    height: 90%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* FOOTER */
footer{
    position: relative;
    z-index: 999;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #005AD8;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding-bottom: 150px;
    box-sizing: border-box;
}

footer .contain_footer{
    display: flex;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

/* Navigation footer */
footer .footer_left{
    display: flex;
    flex-direction: column;
    color: #F1F1F1;
    width: 20%;
    flex-shrink: 0;
}

footer .footer_left h3{
    font-size: 18px;
    letter-spacing: -0.3px;
    color: #F1F1F1;
    font-weight: 500;
    margin: 0 0 25px 0;
}

footer .footer_left a{
    color: #F1F1F1;
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
    padding: 8px 0;
    transition: 0.3s;
    position: relative;
    width: fit-content;
}

footer .footer_left a::after{
    content: "";
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #F1F1F1;
    transition: 0.3s;
}

footer .footer_left a:hover::after{
    width: 100%;
}

/* Formulaire de contact */
footer form{
    display: flex;
    flex-direction: column;
    flex: 1;
}

footer form h3{
    font-size: 18px;
    letter-spacing: -0.3px;
    color: #F1F1F1;
    font-weight: 500;
    margin: 0 0 25px 0;
}

footer form .footer_t-50{
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-bottom: 15px;
}

footer form .footer_t-50 div{
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

footer form label{
    color: rgba(241, 241, 241, 0.6);
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 8px;
}

footer form input[type="text"],
footer form input[type="email"]{
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    outline: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #F1F1F1;
    transition: 0.3s;
}

footer form input[type="text"]:focus,
footer form input[type="email"]:focus{
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
}

footer form input[type="text"]::placeholder,
footer form input[type="email"]::placeholder,
footer form textarea::placeholder{
    color: rgba(241, 241, 241, 0.3);
}

footer form > label{
    margin-top: 5px;
}

footer form textarea{
    padding: 14px 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    outline: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #F1F1F1;
    transition: 0.3s;
    resize: vertical;
    min-height: 120px;
}

footer form textarea:focus{
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
}

/* footer form input[type="submit"]{
    margin-top: 20px;
    padding: 14px 45px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none;
    outline: none;
    border-radius: 30px;
    background-color: #F1F1F1;
    color: #005AD8;
    cursor: pointer;
    transition: 0.3s;
    align-self: flex-end;
} */

footer form input[type="submit"]{
    margin-top: 20px;
    padding: 10px 45px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.4px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    outline: none;
    color: #F1F1F1;
    cursor: pointer;
    transition: 0.3s;
    align-self: flex-end;
}

footer form input[type="submit"]:hover{
    background-color: white;
    color: #005AD8;
    /* transform: translateY(-2px); */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Réseaux sociaux footer */
footer .footer_reseau{
    display: flex;
    align-items: center;
    gap: 20px;
    width: 90%;
    margin: 30px auto 0 auto;
}

footer .footer_reseau a{
    display: flex;
    align-items: center;
    gap: 8px;
    color: #F1F1F1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: 0.3s;
}

footer .footer_reseau a:hover{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

footer .footer_reseau a i{
    font-size: 16px;
}

footer .footer_reseau a p{
    margin: 0;
}

footer .footer_reseau a.footer-cv{
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

footer .footer_reseau a.footer-cv:hover{
    background: #F1F1F1;
    color: #005AD8;
    border-color: #F1F1F1;
}

footer .marquee-footer{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    line-height: 0.8;
    height: 130px;
}

footer .marquee-track{
    display: flex;
    width: max-content;
    transition: 0.1s;
    animation: marquee 30s linear infinite;
}

footer .marquee-track span{
    font-size: 200px;
    font-weight: 700;
    color: #F1F1F1;
    white-space: nowrap;
    padding-right: 40px;
}

@keyframes marquee{
    0%{ transform: translateX(0); }
    100%{ transform: translateX(-50%); }
}

/* RESPONSIVE */

/* Tablette */
@media (max-width: 1024px){
    header h1{
        font-size: 7vw;
    }

    nav ul li{
        padding: 8px 14px;
    }

    .presentation{
        padding: 10% 6%;
        gap: 40px;
        border-top-left-radius: 10%;
        border-top-right-radius: 10%;
    }

    .presentation .content-presentation{
        width: 55%;
    }

    .presentation .contain-img-about{
        width: 45%;
    }

    .presentation .contain-img-about img{
        width: 90%;
    }

    .presentation .intro-text{
        font-size: 16px;
    }

    /* Projets tablette */
    .projectTitle .containProjectTile h3{
        font-size: 36px;
    }

    .contain_projet .container_card img{
        height: 150px;
    }

    .contain_projet .container_card_2 img{
        height: 420px;
    }

    .contain_projet .container_card_1{
        padding-bottom: 150px;
    }

    .contain_projet .container_card_3{
        padding-top: 140px;
    }

    /* VS Code iframe tablette */
    .competence .VSCODE_VIEWER iframe{
        width: 92%;
        height: 88%;
        border-radius: 10px;
    }

    /* Footer tablette */
    footer{
        height: auto;
        min-height: 100vh;
        padding: 60px 0 120px 0;
    }

    footer .contain_footer{
        flex-direction: column;
        width: 85%;
        gap: 35px;
    }

    footer .footer_left{
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0 25px;
    }

    footer .footer_left h3,
    footer form h3{
        font-size: 20px;
        margin-bottom: 15px;
    }

    footer .footer_left h3{
        width: 100%;
    }

    footer form{
        width: 100%;
    }

    footer form .footer_t-50{
        flex-direction: row;
    }

    footer .footer_reseau{
        flex-wrap: wrap;
        width: 85%;
    }

    footer .marquee-track span{
        font-size: 120px;
    }

    footer .marquee-footer{
        height: 80px;
    }
}

/* Mobile */
@media (max-width: 768px){
    header h1{
        font-size: 20vw;
    }

    nav{
        flex-direction: column;
        align-items: stretch;
        left: 10px;
        right: 10px;
        bottom: 10px;
        transform: none;
        width: auto;
        max-width: none;
        gap: 8px;
    }

    nav > div{
        width: 100%;
    }

    nav ul{
        justify-content: space-around;
    }

    nav ul li{
        padding: 7px 10px;
    }

    nav ul li a{
        font-size: 13px;
    }

    /* Bouton + de projets au-dessus, pleine largeur */
    nav .other_projects{
        order: -1;
        animation: none !important;
        width: 0;
        height: 0;
        border-radius: 30px;
        margin-left: 0;
        transition: all 0.3s ease;
    }

    nav.show-other-projects .other_projects{
        animation: none !important;
        width: 100% !important;
        height: 46px !important;
        padding: 5px 20px !important;
        opacity: 1 !important;
        transform: scale(1) !important;
        box-sizing: border-box;
    }

    nav.show-other-projects .other_projects span{
        opacity: 1;
        transform: scale(1);
    }

    nav.hide-other-projects .other_projects{
        animation: none !important;
        width: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        opacity: 0 !important;
        transform: scale(0) !important;
    }

    .presentation{
        flex-direction: column;
        padding: 30% 6% 10% 6%;
        gap: 30px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .presentation .content-presentation{
        width: 100%;
    }

    .presentation .contain-img-about{
        width: 100%;
    }

    .presentation .contain-img-about img{
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .presentation .section-title{
        font-size: 16px;
    }

    .presentation .intro-text{
        font-size: 15px;
        margin: 0 0 30px 0;
    }

    .presentation .parcours-block{
        padding: 20px;
    }

    .presentation .parcours-block h3{
        font-size: 16px;
    }

    .presentation .parcours-item h4{
        font-size: 14px;
    }

    /* Projets mobile */
    .projectTitle .containProjectTile h3{
        font-size: 24px;
    }

    .contain_projet{
        flex-direction: column;
        width: 90%;
    }

    .contain_projet .container_card{
        width: 100%;
    }

    .contain_projet .container_card .card{
        width: 100%;
        margin: 5px 0;
    }

    .contain_projet .container_card img,
    .contain_projet .container_card_2 img{
        height: 160px !important;
    }

    .contain_projet .container_card_1{
        padding-bottom: 0;
    }

    .contain_projet .container_card_1 .t-50{
        align-self: stretch;
    }

    .contain_projet .container_card_2{
        padding-bottom: 0;
    }

    .contain_projet .container_card_3{
        padding-top: 0;
        padding-bottom: 0;
    }

    .contain_projet .container_card .t-50{
        width: 100%;
    }

    /* VS Code iframe mobile */
    .competence .VSCODE_VIEWER iframe{
        width: 96%;
        height: 85%;
        border-radius: 8px;
    }

    /* Footer mobile */
    footer{
        padding: 40px 0 80px 0;
    }

    footer .contain_footer{
        width: 90%;
    }

    footer .footer_left h3,
    footer form h3{
        font-size: 18px;
    }

    footer form .footer_t-50{
        flex-direction: column;
    }

    footer form input[type="text"],
    footer form input[type="email"]{
        padding: 12px 15px;
    }

    footer form textarea{
        min-height: 100px;
    }

    footer .footer_reseau{
        width: 90%;
        gap: 10px;
    }

    footer .footer_reseau a{
        font-size: 13px;
        padding: 6px 12px;
    }

    footer .marquee-track span{
        font-size: 80px;
    }

    footer .marquee-footer{
        height: 55px;
    }
}