@media screen and (max-width: 1400px) {

    h2 {
        font-size: 24px !important;
        text-align: center;
        margin: 40px 0 !important;
    }
    

    .headerdiv {
        a {
            img {
                width: 25% !important;
            }
        }
    }

    .headerdiv2 {
        a {
            display: none;
        }
        }
    
        .scroll-down {
            justify-content: center;
            rotate: 90deg;
            
            .arrow {
                margin-left: 400%;
            }
        }
    
        
    
        .button {
            display: flex;
            justify-content: center;
        }
        
        button.projet {
            width: 75%;
        }
    
        .tanguysourain {
            font-size: 40px !important;
            margin-top: 70px !important;
        }
    
        h2 {
            font-size: 20px !important;
        }
        
        .mobile-menu {
            width: 250px;
    
            .mobile-menu-social {
            
                img {
                    object-fit: contain;
                    width: 50px !important;
                }
            }
        }
    
        .hamburger {
            position: relative;
            width: 40px;
            height: 40px;
            cursor: pointer;
            padding: 5px;
            z-index: 1001;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    
        .hamburger .menu-icon, .hamburger .close-icon {
            width: 30px;
            height: 30px;
            transition: all 0.3s ease-in-out;
            position: absolute;
            top: 50%;
            transform: translate(-50%, -50%);
        }
    
        /* Icône de menu visible par défaut */
        .hamburger .menu-icon {
            opacity: 1;
            visibility: visible;
        }
    
        /* Icône de fermeture cachée par défaut */
        .hamburger .close-icon {
            opacity: 0;
            visibility: hidden;
        }
    
        /* Quand le menu est actif */
        .hamburger.active .menu-icon {
            opacity: 0;
            visibility: hidden;
            transform: translate(-50%, -50%) rotate(180deg);
        }
    
        .hamburger.active .close-icon {
            opacity: 1;
            visibility: visible;
            transform: translate(-50%, -50%) rotate(0deg);
        }
    

        .logicielutilisé {
            display: none !important;
        }
        
        /* Garder seulement la div video et iframe visible */
        .video {
            width: 100% !important;
            padding: 0 !important;
            margin: 0 !important;
        }
        
        .iframe {
            width: 100% !important;
            padding: 0 !important;
            margin: 0 auto !important;
            display: flex !important;
            justify-content: center !important;
        }
        
        /* Rendre l'iframe responsive */
        .iframe iframe {
            width: 70% !important;
            height: auto !important;
            aspect-ratio: 16/9; /* Maintient le ratio vidéo */
            max-width: 100% !important;
        }

        .vitrine {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px; /* Espace entre les colonnes */
            row-gap: 10px; /* Espace entre les lignes */
            width: fit-content; 
            margin: 0 auto 0 auto; /* top auto bottom auto = centré horizontalement */
            padding: 0 20px; /* Remplace margin-left par du padding */
           
        
            a {
                width: 100%;
            }
        }
        
        footer {
            display: flex;
            flex-direction: column;
            justify-content: center;
            margin-top: 10%;

            div {
                text-align: center; /* Centre les éléments inline comme les liens */
            }
            p {
                font-size: 15px;
                text-align: center;
            }
        }
    }
