body {
    margin: 0px;
    background-color: #FFD8AD;
    font-weight: 400;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
}

footer {
    background-color: #FFECD7;
    margin: 15px;
    height: 25px;
    margin: 0%;
    padding: 10px;
    padding-bottom: 25px;
}

p {
    font-size: 15px;
}

/* nav */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,500;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 55%;
    font-family: 'Roboto', sans-serif;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.navbar {
    display: flex;
    background-color: #FFECD7;
    min-height: 60px;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #101010;
}

.nav-menu { display: flex; justify-content: space-between; align-items: center; }
.nav-item {
margin-left: 5rem;
}

.nav-link{
    text-align: center;
    vertical-align: middle;   
    font-size: 1.6rem;
    font-weight: 400;
    color: #000000;
}

.nav-link:hover{
color: #dd8a2c;
}

.nav-logo {
font-size: 25px;
font-weight: 700;
font-family: 'Times New Roman', Times, serif;;
color: #dd8a2c;
}


/* Media  query pour créer l'hamburger*/
@media (max-width: 600px) {


    .nav-menu {
        position: fixed;
        left: -100%;
        top: 5rem;
        flex-direction: column;
        background-color: #FFECD7;
        width: 100%;
        border-radius: 10px;
        text-align: center;
        transition: 0.3s;
        box-shadow:
        0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 2;
        }
    
        .nav-menu.active {
            left: 0;
        }
        
        .nav-item {
            margin: 2.5rem 0;
        }
        
        .hamburger {
            display: block;
            cursor: pointer;
        }
        
        /* Quand l'hamburger est cliqué il change à un "X" */
        .hamburger.active .bar:nth-child(2) {
            opacity: 0;
        }
        
        .hamburger.active .bar:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }
        
        .hamburger.active .bar:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }
    }


/* styles page d'accueil */

.cont-barcelone {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
}

.barcelone {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-family: 'Times New Roman', Times, serif;
    color: white;
    flex-wrap: wrap;
}

.barcelone img {
    max-width: 100%;
    height: auto;
    flex: 1 1 auto;
    object-fit: cover;
}

/* Ceci c'est le texte "Barcelone" qui est au-dessus de l'image*/
.overlay-barcelone {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-barcelone p{
    font-size: 100px;
}

.bienvenue {
    padding: 30px;
    text-align: left;
}

.a-propos {
    padding: 30px;
    text-align: right;
}


/* styles media queries page d'accueil */

@media (max-width: 600px) {

    .overlay-barcelone p{
        font-size: 40px;
    }
}

/* styles page "histoire" */

.histoire-barcelone {
    padding: 40px;
}

.image img {
    padding: 20px;
    width: 300px;
}

.image-histoire img{
    padding: 20px;
    width: 300px;
}
.sections {
    padding: 20px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-evenly;
}

/* styles media queries page "histoire" */

@media (max-width: 600px) {
    
    .sections {
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
    }

    .image-histoire {
        display: none;
      }

}

/* styles page monuments */

.monuments {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.monuments img {
    padding: 20px;
}

.monuments img {
    width: 600px;
}

.monuments-droite {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.monuments-droite img {
    padding: 20px;
}

.monuments-droite img {
    width: 600px;
}

.texte-monuments {
    padding: 20px;
}

.texte-monuments-droite {
    padding: 20px;
    text-align: right;  
}

/* styles media queries page "monuments" */

@media (max-width: 600px) {
    
    .monuments img {
        padding: 10px;
        width: 300px;
    }

    .monuments-droite img  {
        padding: 10px;
        width: 300px;
    }
}


/* styles page "culture" */

/* section culture */

.culture {
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* section "La cuisine catalane" */

.cuisine-catalane {
    padding: 40px;
    background-color: #FFECD7;
}

.plats {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.paella {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tapas {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.crema {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.plats img {
    width: 300px;
}

/* section "Les fêtes et traditions " */

.texte-fetes {
    padding: 20px;
    text-align: right;
}

.fetes {
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-evenly;
}

.castells {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.santJoan {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fetes img {
    width: 300px;
}

/* section foot */

.overlayCenter {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 15px;
}

/* sectoin musées */

.musées {
    padding: 20px;
    background-color: #FFECD7;
}

.musées img {
    padding: 10px;
    width: 300px;

}


.informations-musées {
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.picasso {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.MACBA {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.joanMiro {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* styles media queries page "culture" */

@media (max-width: 600px) {

    .cuisine-catalane {

        text-align: center;
    }

    .plats {
        flex-direction: column;
        padding: 20px;
    }    

    .texte-fetes {
        text-align: center;
    }

    .fetes {
        padding: 10px;
        flex-direction: column;
        align-items: center;
    }

    .overlay {
        font-size: 15px;
    }

    .informations-musées {
        flex-direction: column;
    }

}

/* Styles page "Tourisme à Barcelone" */

.tourisme {
    padding: 65px;
    display: flex;
    flex-direction: column;
    text-align: center;
    vertical-align: middle;
}

/* Section "Sites incontournables" */

.sites {
    background-color: #ffecd7;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.sitesImages {
    display: flex;
    flex-direction: row;
}

.sites img {
    width: 350px;
    padding: 20px;
}

/* Section "Activités à faire" */

.activites {
    display: flex;
    flex-direction: row;
    padding: 20px;
}

.activitesImage {
    display: flex;
    align-items: center;

}

.activites img {
    padding: 20px;
    width: 400px;
}

/* Section "Meilleure période pour visiter" */

.periode {
    background-color: #FFECD7;
    padding: 20px;    
}

.periodeTableau {
    display: flex;
    flex-direction: row; 
    flex-wrap: wrap; 
    justify-content: space-between;
    text-align: center;
}

.periodeRow {
    display: flex;
    width: 100%;
}

.periodeCol {
    flex: 1 1 22%; 
    padding: 10px; 
}

.periodeCol p {
    font-size: 1rem;
}
/* styles media queries page "tourisme" */

@media (max-width: 600px) {

    .sitesImages img {
        width: 117px;
        padding: 5px;
    }

    .activites {
        flex-direction: column;
        align-items: center;
    }

    .activitesImage img {
        width: 300px;
    }

    .periode {
        padding: 20px;
    }

    .periode img {
        width: 200px;
    }

    .periodeTableau {
        flex-direction: column;
    }

    .periodeRow {
        display: block; 
    }

    .periodeCol {
        width: 100%; 
        margin-bottom: 10px; 
    }


}