@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
}

img {
    width: 100%;
}

nav  a, nav li {
    color: beige;
    font-size: 15px;
}

h1 {
    font-size: 40px;
    font-family: "arial", cursive;
    margin: 40px 0 10px;
    text-align: center;
}

h2{
    margin: 0.83em 0 0 0;
}

body {
    font-family: "Roboto", serif;
    margin: 0;
}

ul {
    margin: 5px 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    gap: 15px;
}

header {
    font-size: 50px;
    font-family:'Pacifico', cursive;
    color: white;
    text-shadow: 0 0 30px black;
}

footer {
    /* background-color: #226D68; */
    /* background-image: url("https://img.freepik.com/premium-photo/green-leaf-pattern-with-leaves-dark-background_529521-890.jpg?w=996"); */
    /* background-size: 300px; */
    background: left/300px url("../images/footer.avif");
    font-size: 15px;
    margin-top: 40px;
    padding: 15px;
    color: white;
}

a {
    text-decoration: none;
}

#bienvenue {
    background-image: url("../images/paysage.webp");
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    display: flex;
    /* justify-content: left; */
    align-items: center;
    /* flex-direction: row;*/
}

#slogan {
    display: block;
    font-size: 25px;
    font-family:"Roboto", arial, sans-serif;
}

#top {
    font-size: 19px;
    text-align: center;
    margin-bottom: 40px;
}

#montagne {
    background-image: url("../images/montagnes.jpg");
    grid-row: 1 / 3;
}

#plage {
    background-image: url("../images/plages.jpeg");
    grid-column: 2 / 4;
}

#bresil {
    background-image: url("../images/bresil.jpeg");
}

#desert {
    background-image: url("../images/desert.jpg");
}

#flexbox-ville {
    /* display: flex; */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

#voir {
    display: inline-flex;
    align-items: center;
    color: #226D68;
    transition: all 0.4s;
    gap: 0;
}

#voir:hover {
    gap: 10px;
}

#flexbox-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ville {
    background-size: cover;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 5px solid white;
    transition: all 0.3s;
    border-radius: 20px;
    font-size: 30px;
    color: white;
    text-shadow: 0 0 30px black;
    display: flex;
    justify-content: center; 
    align-items: center;
}

.ville:hover {
    border: 5px solid #226D68;
}

.mot{
    text-decoration: underline;
    font-size: 50px;
}

.italic {
    font-style: italic;
}

.underline {
    text-decoration: underline; 
}

.bold {
    font-weight: bold;
}

.contenu {
    padding: 15px;
}

.conteneur {
    width: 1300px;
    margin: 0 auto;
}

/* LE RESPONSIVE DESIGN */

/* 1300 : notebook */
@media all and (max-width: 1350px) {
    .conteneur {
        width: 800px;
    }
    #flexbox-ville {
        grid-template-columns: repeat(2, 1fr);
    }
    #plage {
        grid-column: auto;
    }
    #desert {
        grid-column: 1 / 3;
    }
}

/* 768 : tablette */
@media all and (max-width: 800px) {
    .conteneur {
        width: 500px;
    }
    #flexbox-ville {
        grid-template-columns: 1fr;
    }
    #montagne {
        grid-row: auto;
    }
    #desert {
        grid-column: auto;
    }
    #flexbox-foot {
        flex-direction: column;
    }
    #logo-foot {
        display: flex;
        flex-direction: column;
        align-items: center
    }
}

/* 480 : telephone */
@media all and (max-width: 570px) {
    .conteneur {
        width: 100%;
    }
    #bienvenue {
        padding: 15px;
    }
}