@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&display=swap');

:root {
    --noir-pur: rgb(5, 5, 5);
    --noir: rgb(15, 15, 15);
    --gris-fonce: rgb(30, 30, 30); 
    --gris-moyen: rgb(50, 50, 50); 
    --gris-clair: rgb(70, 70, 70);
    --blanc-attenue: rgb(200, 200, 200);
    --bleu-sombre: rgb(10, 20, 40);
    --rouge: rgb(60, 2, 2, 0.804);
    --shadow: rgba(168, 220, 239, 0.824);
    --blanc-creme: rgb(255, 251, 232);
    --marron: rgb(139 94 60);
    --marron2: rgb(90 56 39);
}


body {

    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--blanc-creme );    
    display: flex;  
    flex-direction: column;
    min-height: 100vh;
    text-decoration: none;
    flex-wrap : wrap;
}

header {
    background-color: var(--noir-pur);
    padding: 16px;
    color: var(--blanc-attenue);
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.top-box1 { 
    position: relative;
    top: 50%; 
    width: 30%;
    height: 55px;
    background-color: var(--noir);
    border-radius: 30px;
    z-index: 1;
    display: flex; 
    justify-content: center;
    align-items: center;
    left: 10%;
}

.navbar {
    display: flex;
    justify-content: center; 
    width: 100%;
}

.navbar .links li a {
    text-decoration: none;
    z-index: 2; 
    display: flex;
    justify-content: center;
}

.links {
    list-style: none;
    display: flex;
    gap: 32px;
    justify-content: center;
    padding: 0;
    width: 100%;
}

.links li {
    position: relative;
    z-index: 2;
    display: flex;
}

.links a {
    text-decoration: none;
    color: var(--blanc-attenue);
    font-weight: bold;
    transition: color 0.3s;
    display: flex;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}


.logo {
    align-items: center;
    justify-content: center;
    display: flex;   
}

.logo img {
    width: 10%;
    display: flex;

}

.container {
    display: flex; 
}


.slider {
    position: relative;
    width: 150%;
    margin: auto;
    margin-left: 30px;
    overflow: hidden;
    margin-top: 10%;
}

.slider img { 
    width: 85%;
    height: 600px;
    object-fit: contain;
    display: none;
    margin-top: 0%;
    margin-left: -7%;
}

img.displaySlide {
    display:block;
    animation-name: fade;
    animation-duration: 1.5s;
    border-color: var(--noir);
}

.slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background-color: var(--noir);
    color: var(--blanc-attenue);
    border: none;
    cursor: pointer;

}

.prev {
    left: 1%;
    border-radius: 25%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.next{
    right: 30%;
    border-radius: 25%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;  
}

.next:hover {
    transform: translateY(-20px);
    box-shadow: var(--shadow) 0px 10px 20px; 
}

.prev:hover {
    transform: translateY(-20px);
    box-shadow: var(--shadow) 0px 10px 20px; 
}

@keyframes fade {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

aside {
    background: var(--noir); 
    color: var(--blanc-attenue);
    padding: 20px;
    border-radius: 10px;
    max-width: 350px;
    backdrop-filter: blur(10px);
    position: absolute;
    top: 180px; 
    right: 20px; 
    margin-top: 0%;
}

h1 {
    font-family: 'Cinzel', sans-serif;
    color: var(--marron);
    font-size: 30px;
    margin: 0;
}

.aside h2 {
    font-family: 'Playfair Display', serif;
    color : var(--gris-fonce);
    border-bottom: 2px solid var(--marron); 
    padding-bottom: 5px;
    letter-spacing: 1px;
    font-size: 20px;
    margin: 0;
}

aside li {
    font-family: 'Lora', serif;
    color: var(--blanc-creme);
    margin: 0;
    list-style: none;
    size: 100%; 
}

.presentation {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1000px;
    margin-top: 100px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 5%;
    margin: 50px auto;
}


.titre {
    font-size: 40px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin-top: -30px; 
    color: #5A3827; 
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px; 
    padding-top: 3%;
}


.sous-titre {
    font-size: 22px;
    color: var(--marron);
    margin-top: -10px; 
    font-size: 22px;
}


.presentation p {
    font-family: "Merriweather", serif;
    font-size: 18px;
    line-height: 1.8; 
    color: var(--gris-fonce);
    text-align: justify; 
    margin-bottom: 20px;
    padding: 0 20px;  
}


.presentation p strong {
    color: #D4AF37; 
    font-weight: bold;
    text-transform: uppercase;
}

.container2 {
    background-color: var(--noir);
    height: auto; 
    display: grid;
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: auto auto; 
    gap: 20px; 
    width: 100%;
    max-width: auto;
    margin: auto;
    padding-bottom: 1%;
    padding-top: 1%;
    margin-bottom: 0.2%;
}

.image-haut-droite {
    grid-column: 2; 
    grid-row: 1; 
    width: 100%;
    border-radius: 2%;
    box-shadow: 5px 5px 15px var(--noir);
    margin-right: 2%;
}

.image-bas-gauche {
    grid-column: 1; 
    grid-row: 2; 
    width: 100%;
    border-radius: 2%;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    margin-left: 2%;
}

.texte p {
    grid-column: 1/ span 1 ; 
    grid-row: 1; 
    font-family: "Luxurious Roman", serif;
    padding: 20px;
    font-size: 1.4rem;
    color: var(--blanc-creme);
    line-height: 1.8;
    border-radius: 10px;
    text-align: justify;
    margin-left: 2%;
}

.texte2 p {
    grid-column: 2/ span 2;  
    grid-row: 2;  
    font-family: "Luxurious Roman", serif;
    padding: 20px;
    font-size: 1.4rem;
    color: var(--blanc-creme);
    line-height: 1.8;
    border-radius: 10px;
    margin-left: 5%;
    text-align: justify;
    margin-right: 2%;
}

.texte h3 {
    grid-column: 1/ span 1; 
    grid-row: 1; 
    padding: 20px;
    font-family: "Playwrite IT Moderna", serif;
    font-size: 200%;
    color: var(--marron);
    line-height: 1.8;
    font-weight: 500;
    border-radius: 10px;
}

.texte2 h3 {
    grid-column: 2/ span 2;  
    grid-row: 2;  
    font-family: "Playwrite IT Moderna", serif;
    padding: 20px;
    margin-left: 13%;
    color: var(--marron);
    font-size: 200%;
    line-height: 1.8;
    font-weight: 500;
    border-radius: 10px;
}

footer {
    background-color: var(--noir-pur);
    color: var(--blanc-attenue);
    text-align: center;
    padding: 20px 40px;
    margin-top: auto;
    display: flex;
    justify-content: center; 
    align-items: center;
}

footer .box2 {
    width: 100%;
    max-width: 500px;
    background-color: var(--noir);
    color: var(--blanc-attenue);
    border-radius: 30px;
    position: relative;
    display: flex;
    justify-content: center; 
    align-items: center;
    padding: 20px;
}