body {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0; /* Couleur de fond de l'application */
    overflow: hidden; /* Cache les barres de défilement */
}

header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f0f0f0; /* Couleur de fond de l'en-tête */
    color: black;
    padding: 0px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

header h1 {
    background-color: #f0f0f0; /* Couleur de fond du titre */
    width: 100%;
    text-align: center;
    margin: 0; /* Supprime l'espace entre le titre et le sous-titre */
    padding: 5px 0;
    color: #76a592; /* Couleur du titre */
}

header h2 {
    background-color: #f0f0f0; /* Couleur de fond du sous-titre */
    width: 100%;
    text-align: center;
    margin: 0; /* Supprime l'espace entre le titre et le sous-titre */
    padding: 5px 0;
    color: #5db5d0; /* Couleur du sous-titre */
}

#vote-button {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 20px;
    /* background-color: #ff6600; */
	background-color: #76a592;
    color: white;
	
	font-size: 1rem; /* Increase font size */
    border: none;
    cursor: pointer;
}

#vote-button:hover {
    /* background-color: #ff4500; */
    background-color: #5db5d0;

}

nav {
    margin-top: 10px;
}

.book-button {
    padding: 10px 20px;
    margin: 5px;
    background-color: #f0f0f0; /* Couleur de fond des boutons des livres */
    border: 1px solid #ccc;
    cursor: pointer;
    color: black; /* Couleur du texte des boutons des livres */
    font-weight: bold; /* Texte en gras */
}

.book-button:hover {
    background-color: #e0e0e0;
}

.swiper-container {
    width: 80%;
    height: 80%;
    margin-top: 20px;
    background-color: #f0f0f0; /* Couleur de fond derrière la photo */
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #f0f0f0; /* Même couleur de fond que le titre */
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Adjust the image to fit the container */
}

.swiper-button-next, .swiper-button-prev {
    color: #5db5d0; /* Couleur des flèches */
    font-size: 3rem; /* Increase font size */
    padding: 20px; /* Increase padding */
}
