@media screen and ((max-width: 1560px) or (max-height: 850px)) {

    body {
        background: #5E4E86;
        margin: 0;
        padding: 0;
        color: white;
        font-family: "Alata", sans-serif;
    }
    
    .global {
        width: 100vw;
        height: 100vh;
        position: relative;
        max-height: 100vh;
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
    }
    
    .box-present {
        display: flex;
        flex-direction: column;
        background-color: #2F3678 ;
        width: 100%;
        gap: 50px;
        padding-bottom: 50px;
        justify-content: space-between;
        
    }

    .box-project-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 50px;
        height: 100%;
        position: relative;
    }
    
    .box-project-list {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 40px;
    
    
    }
    
}
    

@media screen and ((max-width: 500px) or (max-height: 500px)) {

    body {
        background: #5E4E86;
        margin: 0;
        padding: 0;
        color: white;
        font-family: "Alata", sans-serif;
    }
    
    .global {
        width: 100vw;
        height: 100vh;
        position: relative;
        max-height: 100vh;
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
    }
    
    .box-present {
        display: flex;
        flex-direction: column;
        background-color: #2F3678 ;
        width: 100%;
        gap: 50px;
        padding-bottom: 50px;
        justify-content: space-between;
        
    }

    .box-project-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 50px;
        height: 100%;
        position: relative;
    }
    
    .box-project-list {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 40px;
    
    
    }

    .exBox {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 40px;
    }

    .projet-image-ex {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .activities {
        display: grid;
        justify-content: center;
        align-items: center;
        align-content: center;
        width: 150px;
        gap: 25px;
        grid-template-columns: 1fr 1fr;
        margin-left: auto;
        margin-right: auto;
    
    }


    .services {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .name {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        justify-content: center;
        text-align: center;
    }
    
  
}
    
@media screen and ((max-width: 365px) or (max-height: 500px)) {  
    .activities {
        display: grid;
        justify-content: center;
        align-items: center;
        align-content: center;
        width: 150px;
        gap: 20px;
        grid-template-columns: 1fr 1fr;
        margin-left: auto;
        margin-right: auto;
    
    }

    .activity {
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.26);
        width: 140px;
        height: 120px;
        flex-shrink: 0;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        padding-top: 20px;
        transition: 0.2s;
       
    }

    a {
        word-break: break-all;
    }

    .services {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-bottom: 20px;
    }

    .exBox {
        padding: 10px;
    }

    .subbox {
        word-break: break-all;
    }
}
  
  