* {
    margin: 0;
    padding: 0;
}

nav {
    width: 100%;
    margin: 0 auto;
    background-color: white;
    position: sticky;
    top: 0px;
    /* display: flex; */
    justify-content: space-around;
    background-color: #41C9E2;
}

nav ul {
    width: 1600px;
    list-style-type: none;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0px;
    padding: 0px;
    font-weight: bold;
    font-family: 'Pangolin', sans-serif;
    font-size: large;
}

nav ul li {
    float: left;
    width: 25%;
    text-align: center;
    position: relative;
}

nav ul::after {
    content: "";
    display: table;
    clear: both;
}

nav a {
    display: block;
    text-decoration: none;
    color: black;
    border-bottom: 2px solid transparent;
    padding: 10px 0px;
    /* display: flex; */
    justify-content: space-evenly;
}

nav a:hover {
    color: orange;
    border-bottom: 2px solid gold;
}

.sous {
    display: none;
    box-shadow: 0px 1px 2px #CCC;
    background-color: white;
    position: absolute;
    width: 100%;
    z-index: 1000;
}

nav>ul li:hover .sous {
    display: block;
}

.sous li {
    float: none;
    width: auto;
    text-align: left;
}

.sous a {
    padding: 10px;
    border-bottom: none;
}

.sous a:hover {
    border-bottom: none;
    background-color: RGBa(200, 200, 200, 0.1);
}


.deroulant>a::after {
    content: "▼";
    font-size: 12px;
}

.conteneur {
    margin: 50px 20px;
    height: 1500px;
}

.taz {
    border-radius: 50%;
    object-fit: cover;
    width: 40px;
    height: 40px;
    overflow: hidden;
}

.picto {
    display: flex;
    justify-content: space-evenly;
    padding-top: 20px;
}


/* Debut de la main page */

@import url('https://fonts.googleapis.com/css2?family=Pangolin&display=swap');

body {
    background: linear-gradient(#41C9E2, #ACE2E1, #f7eedd);
}

h1 {
    font-size: 50px;
    margin-bottom: 10px;
}

h1,
h2 {
    text-align: center;
    font-family: 'Pangolin', sans-serif;
}

.destination {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.deuxpays,
.troispays {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.image-container {
    position: relative;
    width: 250px;
    height: 350px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.destination img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.overlay-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    font-family: 'Pangolin', sans-serif;
    font-size: 24px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 8px;
}

.image-container:hover .overlay-effect {
    opacity: 1;
}

.image-container:hover img {
    transform: scale(1.05);
}