.da_aka_tout {
    padding: 100px 160px;
}

.presentation {
    display: flex;
    flex-direction: column;
}

.div_img{
    height: 600px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.img_prez{
    max-width: 100%;
    height: auto;
}

.outils{
    padding: 20px 0px;
}

.galerie_projet{
    display: flex;
    gap: 20px;
    padding: 50px 0px;
}

.colonne-1{
    flex: 5;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.colonne-2{
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0px;
}

.colonne-3{
    flex: 4;
}

.ligne{
    flex: 1;
}

.ligne.ligne-2{
    flex: 1;
    display: flex;
    gap: 20px;
}

.ligne-3{
    flex:1;
}

.ligne-4{
    flex:1;
}

.ligne-box-1{  
    flex: 2;
    background-color: var(--akae);
}


.ligne-box-2{  
    flex: 1;
    background-color: var(--blck);
}

.ligne-box-3{  
    flex: 1;
    background-color: var(--vi); 
}

.ligne-box-4{  
    flex: 1;
    background-color: var(--wi);
}

.galerie_projet_tel{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    padding: 20px 0px;
}

.galerie_projet_tel img{
    width: 90%;
}

@media (min-width: 768px){
    .galerie_projet_tel{
        content-visibility: hidden;
    }
}

@media (max-width: 768px){
    .da_aka_tout {
        padding: 100px 0px;
    }
    
    .presentation {
        display: flex;
        flex-direction: column;
    }

    .img_prez{
        height: 400px;
    }

    .txt_prez{
        text-align: center;
    }
    
    .div_img{
        height: 400px;
        display: flex;
        justify-content: center;
        text-align: center;
    }
    
    .galerie_projet{
        content-visibility: hidden;
        display: flex;
        gap: 20px;
        padding: 0px 0px;
    }

    .carre_tel {
        width: 100%; /* Taille du carré */
        aspect-ratio: 1 / 1;
        overflow: hidden; /* Cache tout ce qui dépasse */
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .carre_tel img {
        width: 100%; /* Pour que l’image remplisse le carré */
        height: 100%;
        object-fit: cover; /* Coupe l'image pour qu'elle remplisse sans déformation */
    }

    .color_tel {
        display: flex;
        gap: 20px;
        width: 100%;
        justify-content: space-between;
    }
    
    .color_tel div {
        display: flex;
        gap: 20px;
        width: calc((100% - 40px) / 4); /* Ajuste la taille selon le nombre d'éléments */
        aspect-ratio: 1 / 1; /* Force un carré */
    }
    
    .ligne-box-1{  
        flex: 1;
        background-color: var(--akae);
    }
    
    
    .ligne-box-2{  
        flex: 1;
        background-color: var(--blck);
    }
    
    .ligne-box-3{  
        flex: 1;
        background-color: var(--vi); 
    }
    
    .ligne-box-4{  
        flex: 1;
        background-color: var(--wi);
    }
}