*{
    text-decoration: none;
    margin-left: 20px ;
    margin-right: 20px ;
}

body {
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('ressources/Logo_background_Light.png'); 
    background-size: 1450px; 
    background-position: center center; 
    background-attachment: fixed
}

.logo{
    display: flex;
}

.logo-img {
    width: 80px;  
    height: 80px;  
    margin-right: 10px;  
}

.logo-text {
    margin-top: 20px;
    font-size: 28px; 
    font-weight: bold;  
    color: white;  
}

.navbar{
    background-color: rgba(220, 20, 60, 1);
    font-family: "calibri";
    position : sticky;
    top : 0;
}   

.navdiv{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a{
    font-size: 35px;
    color: white;
}

li{
    display: inline-block
}

li a{
    color: white;
    font-size : 18px; 
    margin-right: 30px;
    position : sticky;
    top : 0;
}

.darkmode{
    background-color: rgb(30, 30, 30);
    color:white;
}

h1{
    font-family: 'Playfair Display', serif;
    line-height: 4;
    text-align: center;
    font-size: 50px;
    text-shadow: 2px 2px 2px rgb(0, 0, 0);
}

h2{
    font-family: 'Roboto', sans-serif;
    line-height: 2;
    text-align: left ;
    font-size: 35px;
}


p{
    font-family: 'Playfair-Display', serif;
    line-height: 1.5;
    text-align: center;
    font-size : 20px;
}


.lightmode{
    background-color: white;
    color:black;
}

button.darkmode {   
    background-color: rgb(30, 30, 30);
    border-radius: 10px;
    border-color: white;
    float:right;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 8px ;
    font-size: 12px;
}

button.lightmode {   
    background-color: white;
    border-radius: 10px;
    border-color: rgb(30, 30, 30);
    float:right;
    box-shadow: 0 4px 6px rgb(0, 0, 0);
    padding: 8px ;
    font-size: 12px;
}

.image-container{
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-content: center;
}

.image-container img{
    width: 50%;
    height: 50%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgb(0, 0, 0);
}

.image-container2{
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-content: center;
}


.image-container2 img{
    width: 30%;
    height: 30%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgb(0, 0, 0); 
}

.image-container img, .image-container2 img {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.image-container img:hover, .image-container2 img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.buttons{
    margin-left: auto;
    margin-right: auto;
    width: 25%;
}

.buttons2{
    margin-left: auto;
    margin-right: auto;
    width: 25%;
}

.buttons button{
    transform: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.buttons button:hover{
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.buttons2 button{
    transform: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.buttons2 button:hover{
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

button.previous {
    background-color: white;
    border-radius: 10px;
    border-color: rgb(30, 30, 30);
    box-shadow: 0 4px 6px rgb(0, 0, 0);
    padding: 7px;
    font-size: 12px;
    float: left;  
}

button.next {
    background-color: white;
    border-radius: 10px;
    border-color: rgb(30, 30, 30);
    box-shadow: 0 4px 6px rgb(0, 0, 0);
    padding: 7px;
    font-size: 12px;
    float: right; 
}


.img1 {
    box-shadow: 0 4px 6px rgb(0, 0, 0);
}

.img2 {
    box-shadow: 0 4px 6px rgb(0, 0, 0);
}

.navbar ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2); 
    border-radius: 5px;
    padding: 5px ; 
}

.imgs2 {
    display: flex;
    justify-content: center; 
    gap: 20px;
}

.imgs2 img{
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.imgs2 img:hover{
    transform: scale(1.03) ;   
    background-color: rgba(255, 255, 255, 0.2);    
}

h1, h2, p {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.footer {
    background-color: #808080; 
    color: white; 
    text-align: center; 
    padding: 20px 0; 
    bottom: 0;
    width: 100%;
    font-family: Arial, sans-serif;
    margin-top: 50px; 
}