h1 {
    text-align: center;
    font-style: italic;
    font-size: 70px;
    font-family: 'Sacramento', cursive;
}
#menu, #close { /* Bouton Menu caché en V Desktop*/
    display: none;
    font-size: 40px;
    cursor: pointer;
}
/* Cacher le menu déroulant par défaut */
#dropdown-menu {
    display: none;
    flex-direction: column;
    margin: 0 20%;
    background: white;
}

hr {
    margin: 20px 15%;
}

#texteimage {
    position: absolute;
    right: 30%;
    top: 45%;
    color: white;
    font-size: 30px;
}

#texteimage2 {
    margin-top: 5px;
    text-transform: uppercase;
    position: absolute;
    right: 30%;
    top: 55%;
    color: white;
    font-size: 40px;
}

#texteimage3 {
    margin-top: 15px;
    position: absolute;
    right: 30%;
    top: 60%;
    color: white;
    font-size: 20px;
}

.nav-bar {
    margin: 0 20%;
    display: flex;
    justify-content: space-around;
    cursor: pointer;
}

.nav-bar a {
    font-size: 17px;
    color: black;
    background: white;
    margin: 0;
}

.image {
    display: flex;
    justify-content: center; /* Centre image horizontalement */
    align-items: center;     /* Centre image verticalement */
    width: 100%;
    margin: 0 auto;          /* Centre le conteneur  */
    padding: 20px 0;         /* Ajoute espace vertical autour de l'image */
}

.image img {
    max-width: 100%;         /* Empêche l'image de dépasser le conteneur */
    height: auto;          
    display: block;          /* Supprime les espaces blancs en dessous de l'image */
}


.fieldset {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-left: 20%;
    width: 70%;
}

.aside {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.aside img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.aside-img {
    width: 40px;
    height: 40px;
}

fieldset {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

#last-aside {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
#last-aside img {
    margin-left: 20px;
}

.nothing, .featured {
    margin: 15px 0;
    margin-left: 20%;
    border: 1px solid black;
    width: 950px;
    height: auto;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

button {
    background: black;
    color: white;
    margin-top: 5px;
    cursor: pointer;
}

button:hover {
    background: rgb(109, 101, 101);
}

#building, #featured-img, #image4, #image5 {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

h2, legend {
    text-align: center;
}

p {
    text-align: center;
}

a {
    font-size: 25px;
    background: black;
    color: white;
    text-align: center;
    text-decoration: none;
    margin: 0 auto;
    width: fit-content;
    display: block;
}

.link {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.link button {
    margin: 0 10px;
    border: 1px solid black;
    background: white;
    width: 40px;
    height: 35px;
    color: black;
    cursor: pointer;
    font-weight: bold;
}

.link button:hover {
    background-color: #000;
    color: #fff;
}

.blackfooter {
    margin: 5px 5%;
    display: table-cell;
    justify-content: space-between;
    padding: 20px;
    background-color: #000;
    color: #fff;
    width: 10%;
}

.blackfooter div {
    flex: 1;
    margin: 0 10%;
}

#imagefooter1, #imagefooter2, #imagefooter3 {
    width: 45px;
    height: 45px;
}

.form-container {
    display: flex;
    align-items: center;
}

.form-container input[type="email"] {
    padding: 10px;
    font-size: 16px;
    margin-right: 10px;
    flex: 1;
}

.form-container button {
    border: 1px solid white;
    color: white;
    background: black;
    font-size: 16px;
    width: auto;
    cursor: pointer;
}

.social-media {
    width: 40px;
    height: auto;
}

.social-images {
    display: flex;
     justify-content: space-around;
     width: 100%;
    align-items: center;
    cursor: pointer;
     box-sizing: border-box;
}

.follow {
    width: 50px;
    margin: 5px;
}
/* Styles pour les tablettes */
@media (max-width: 1024px) {
    .nav-bar {
        margin: 0 10%;
    }

    .image {
        margin-left: 10%;
    }

    .fieldset {
        flex-direction: column;
        margin-left: 10%;
        width: 80%;
    }

    .nothing, .featured {
        width: 80%;
        margin-left: 10%;
    }

    .aside {
        width: 100%;
        margin: 0;
    }

    #last-aside {
        width: 100%;
        margin: 0;
    }

    .blackfooter {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .blackfooter div {
        margin: 10px 0;
    }
}

/* Styles pour les mobiles */
@media (max-width: 600px) {
    #menu {
        display: block;
        cursor: pointer;
    }
    #dropdown-menu {
        display: none;
        flex-direction: column;
        position: relative;
        width: 200px;
        background: white;
        border: 1px solid black;
        border-bottom-right-radius: 25px;
        z-index: 1;
        }
    }
    #dropdown-menu a {
        background: #fff;
        color: black;
    }
    
    .nav-bar {
        display: none;
    }

    .image {
        margin-left: 20px;
    }
    
    .image img {
        max-width: 80%;
        height: auto;
        display: block;
        margin-right: 25px;
    }

    .fieldset {
        margin-left: 5%;
        width: 90%;
    }

    .nothing, .featured {
        width: 90%;
        margin-left: 5%;
    }

    .aside {
        width: 100%;
        margin: 0;
    }

    #last-aside {
        width: 100%;
        margin: 0;
    }

    .blackfooter {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .blackfooter div {
        margin: 10px 0;
    }

    h1 {
        font-size: 50px;
    }

    #texteimage {
        font-size: 20px;
        right: 15%;
        font-style: italic;
    }
    #texteimage2 {
        text-transform: lowercase;
        font-size: 20px;
        right: 15%;
        font-style: italic;
    }

    #texteimage3 {
        display: none;
    }

    a {
        font-size: 20px;
    }
    /* Règles pour les écrans plus larges que 600px */
@media (min-width: 601px) {
    #close {
        display: none;
    }
    .nav-bar {
        display: flex; /* Affiche la nav-bar en flex pour les écrans plus grands que 600px */
    }
}

