

@media (min-width: 200px) { 
    
    
body {
    margin: 20px;
    background-color: #FFECD4;
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Jomhuria', sans-serif !important;
    font-display: swap;
    font-weight: 400;
    font-style: normal;
    color: #F7413F;
    
}

/* ----- HEADER ------ */



#header-block {
    text-align: left;
    display: flex;
    justify-content: space-between;

}

#first-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligne le contenu à gauche */
    
}

#first-block div:nth-child(1) {
    order: 2; /* Place le logo après */
}

#first-block div:nth-child(2) {
    order: 1;
}

#first-block div:nth-child(3) {
    order: 3;
}

h2 {
  font-size: 25px;
  margin: 0;
  font-weight: 100;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

#logo img  
{
    max-width: 70%;
    height: auto;
}


#second-block {
    display: flex;
    justify-content: flex-end;
}

#second-block img {
    max-width: 70%;
    height: auto;
    object-fit: contain;
}

#text-block {
    font-size: 20px;
}

h3 {
    font-weight: 100 !important;
    font-display: swap !important;
}


/* ----- MAIN ------ */

main {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.first-content {
    display: flex;
    flex-direction: column;
}

.second-content {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.second-content img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}


/* ----- FOOTER ------ */


footer {
    
    text-align: center;
    padding: 1rem;
    bottom: 0;
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

footer img {
    width: 30%
}

}


@media (min-width: 768px) { 

    /* ----- HEADER ------ */
    
    
    
    h2 {
      font-size: 50px;
    }
    
    
    #logo img  
    {
        max-width: 65%;
    }
    
    
    
    #second-block img {
        max-width: 55%;
    }
    
    #text-block {
        font-size: 25px;
        margin: 0;
    }
    
    /* ----- MAIN ------ */
    
    main {
        padding: 20px;
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .first-content {
        flex-direction: row;
    }
    
    .second-content {
        padding: 0;
    }
    
    .second-content a {
       padding: 7%;
    }
    
    
    a img {
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    }
    
    a:hover img {
        transform: scale(1.1);
        box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
        background-color: transparent;
    }
    
    
    /* ----- FOOTER ------ */
    
    
    footer {
        margin-top: 40px;
    }
    
    footer img {
        width: 20%
    }
    
    }



/* ------------- DESKTOP ------------- */

@media (min-width: 1024px) { 

/* ----- HEADER ------ */

body {
    margin: 50px;
    padding: 20px;

}

h2 {
  font-size: 50px;
}


#text-block {
    font-size: 35px;
    margin: 0;
}

/* ----- FOOTER ------ */


footer {
    margin-top: 80px;
}

footer img {
    width: 10%
}

}

@media (min-width: 2000px) { 

    /* ----- HEADER ------ */
    
    
    h2 {
      font-size: 80px;
    }
    
    
    #text-block {
        font-size: 60px;
        margin: 0;
    }
    
    
    }