body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
    background-color: #E8F5FF;
}

header {
    height: 160px;
    color: rgb(0, 0, 0);
    background-color: #0D47A1;
    border-bottom: 3px solid black;
    display: flex;
    justify-content: space-between;
}

header > h2 {
    position: absolute;
    margin-top: 100px;
    margin-left: 60px;
}

header > img {
    position: absolute;
    margin-top: 20px;
    margin-left: 100px;
}

.navdiv {
    height: 124px;
    width: 70%;
    display: flex;
    justify-content: center; 
    background-color:  #0D47A1;
    border-radius: 10px;
    position: absolute; 
    right: 0; 
    top: 10px; 
}

.navdiv > nav {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-top: auto;
    margin-bottom: auto;
}

a {
    color: white;
    text-decoration: none;
    font-size: 30px;
}

.carousel {
    position: absolute;
    width: 50vw;
    margin-top: 250px;  
    overflow: hidden;
    border: 2px solid #000000;
    border-radius: 10px;
    margin-left: 130px;
}

.carousel-container {
    transition: transform 0.5s ease-in-out;
    height: 100%;
    display: flex;
}

.carousel-slide {
    position: relative;
    min-width: 100%;
    height: 100%; 
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.hovertexte, .hovertexte2, .hovertexte3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(255, 255, 255);
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s;
    background-color: #000000;
    border-radius: 10px;
    padding:10px;
    width: 500px;
}
 
 
.carousel-slide:hover .hovertexte,
.carousel-slide:hover .hovertexte2,
.carousel-slide:hover .hovertexte3 {
    opacity: 1;
}

button {
    position: absolute;
    top: 50%;
    background-color: rgb(0, 0, 0);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    transform: translateY(-50%);
}

button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

footer {
    text-align: center;
    width: 100%; 
    background-color:  #0D47A1;
    color: rgb(253, 253, 253);
    padding: 10px;
    border-top: solid 3px;
    border-top-color: black;
    margin-top: 800px;
}

body > h1 {
    color: rgb(0, 0, 0);
    font-size: 45px;
    margin-left: 65vw;
    margin-right: 20px;
    font-style: italic;
    position: absolute;
    margin-top: 200px;
    font-family: 'Bai Jamjuree', sans-serif;
}

body > h4 {
    color: rgb(92, 92, 92);
    font-size: 20px;
    margin-left: 85vw;
    margin-right: 20px;
    position: absolute;
    margin-top: 400px;
}

body > p {
    color: rgb(0, 0, 0);
    position: absolute;
    margin-left: 65vw;
    margin-top: 450px;
    font-size: 18px;
    padding: 5px;
    font-family: 'Afacad', sans-serif;
    
}

.logo {
    height: 80px;
}
