@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Quicksand:wght@300..700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/* PAGE LIGHT NOVEL */

.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}


header h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

header p {
    font-size: 1.1rem;
}

/* Main Section */
.content {
    padding: 20px 0;
}

.main-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.image-container3 {
    flex: 1;
    max-width: 50%;
    margin-right: 15px;
}

.image-container3 img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.details {
    flex: 2;
    max-width: 60%;
}

.details h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.synopsis {
    font-size: 1.1rem;
    color: #555;
}

/* Chapters Section */
.chapters h3 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.chapter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.chapter {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: calc(50% - 10px);
    text-align: center;
}

.chapter-img img {
    width: 200px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chapter h4 {
    font-size: 1.3rem;
    color: #000033;
    margin-top: 10px;
    margin-bottom: 10px;
}

.chapter p {
    font-size: 1rem;
    color: #777;
}

.download-link {
    display: inline-block;
    background-color: #4a90e2;
    color: white;
    padding: 8px 15px;
    margin-top: 10px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.download-link:hover {
    background-color: #357ab7;
}

.coming-soon {
    background-color: #e74c3c;
    color: white;
    font-size: 0.9rem;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: not-allowed;
    margin-top: 10px;
    display: inline-block;
    width: auto;
}

.coming-soon:disabled {
    background-color: #e74c3c;
    opacity: 0.7;
}



@media (max-width: 768px) {
    .main-section {
        flex-direction: column;
        align-items: center;
    }

    .image-container {
        max-width: 80%;
        margin-bottom: 20px;
    }

    .details {
        max-width: 80%;
        text-align: center;
    }

    .chapter {
        width: 100%;
        margin-bottom: 20px;
    }

    .chapter-img img {
        width: 150px;
        height: 225px;
    }

    header h1 {
        font-size: 1.6rem;
    }

    header p {
        font-size: 1rem;
    }

    .chapters h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .main-section {
        padding: 20px;
    }

    header h1 {
        font-size: 1.4rem;
    }

    .chapter-img img {
        width: 120px;
        height: 180px;
    }

    .chapter h4 {
        font-size: 1.2rem;
    }

    .chapter p {
        font-size: 0.9rem;
    }

    .download-link {
        font-size: 0.9rem;
    }


    .details {
        max-width: 90%;
        text-align: justify;
    }

    .synopsis {
        font-size: 1.2rem;
        color: #444;
    }
}



/* footer */

footer {
    font-family: "Bebas Neue";
}


.footer-body{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 4rem 2rem;
    background-color: hsl(0, 0%, 10%);
}
.footer-body ul{
    list-style: none;
    display: flex;
    gap: 10px;
    align-items: center;
}
.footer-body li{
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.125rem;
    background-color: hsl(0, 0%, 20%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.footer-body p{
    color: hsl(0, 0%, 65%);
    font-weight: 500;
    text-align: center;
}

.navbar {
    display: flex;
    justify-content: center; /* Centre les éléments de la navbar */
    align-items: center;
    padding: 20px 40px;
    background-color: #1a1a1a;
    width: 100%;
    top: 0;
    left: 0;
    font-family: Quicksand;
    position: relative; /* Nécessaire pour positionner le logo en haut à gauche */
}

.logo {
    position: absolute; /* Positionner le logo en haut à gauche */
    left: 40px; /* Espacement depuis le bord gauche */
    top: 50%; /* Centrer verticalement */
    transform: translateY(-50%); /* Ajuster pour un véritable centrage vertical */
}

.logo-img {
    width: 68px; /* Ajuste la taille du logo si nécessaire */
    height: auto; /* Garder la proportion du logo */
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center; /* Centre les liens de navigation */
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #74c8ff; /* Bleu clair */
    left: 0;
    bottom: 0;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Styles du bouton hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.hamburger .bar {
    height: 4px;
    width: 100%;
    background-color: white;
}

/* Version mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        width: 100%;
        text-align: center;
        flex-direction: column;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar {
        background-color: #f76200; /* Couleur du hamburger au survol */
    }
}

/* FAQ */

.timeline h1 {
    text-align: center;
    font-size: 2.5rem;
    margin: 20px 0;
    color: #0f1923;
}

.timeline p {
    text-align: center;
    margin: 10px auto 30px;
    line-height: 1.6;
    max-width: 800px;
    font-size: 1.2rem;
}


.timeline {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.timeline-container {
    position: relative;
    margin: 20px 0;
}

.timeline-item {
    position: relative;
    margin: 20px 0;
    padding-left: 40px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15px;
    width: 10px;
    height: 10px;
    background-color: #0f1923;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.timeline-item::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 19px;
    width: 2px;
    height: 100%;
    background-color: #ccc;
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-content {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-content h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.timeline-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline {
        padding: 15px;
    }

    .timeline h1 {
        font-size: 2rem;
    }

    .timeline p {
        font-size: 1rem;
    }

    .timeline-item {
        padding-left: 30px;
    }

    .timeline-item::before {
        left: 10px;
    }

    .timeline-item::after {
        left: 14px;
    }
}



.container {
    width: 80%;
    max-width: 1200px;
    text-align: center;
}

/* PAGE D'ACCUEIL */

.welcome-image {
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('../imgs/main.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.welcome-text {
    font-size: 1.8rem;
    text-align: center;
    color: white;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    max-width: 80%;
    font-size: 20px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .welcome-text {
        font-size: 1.4rem;
        padding: 15px;
    }
}

/* PAGE CHAPITRES */
@media (max-width: 768px) {
    .chapter-selection2 h2 {
        font-size: 1.5rem;
    }

    .dropdown2 {
        font-size: 1rem;
        width: 180px;
    }

    .download-button2 {
        font-size: 1rem;
        padding: 8px 16px;
        width: 90%; /* Adaptation pour petits écrans */
    }
}

.page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Conteneur central pour l'image et les boutons */
.content-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Espacement entre l'image et les boutons */
    background-color: #f9f9f9;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}

/* Conteneur de l'image */
.image-container2 {
    width: 300px;  /* Largeur fixe */
    height: 300px; /* Hauteur fixe */
    flex: 0 0 auto; /* La taille de l'image est naturelle */
}

/* Style de l'image */
.center-image {
    width: 200px; /* Largeur de l'image */
    height: auto;
    object-fit: cover;
}

/* Conteneur des boutons */
.button-container {
    display: flex;
    flex-direction: column; /* Les boutons sont empilés verticalement */
    gap: 10px; /* Espacement entre les boutons */
}

/* Style des boutons */
.download-button2 {
    display: inline-block;
    padding: 3px 6px;
    background-color: #007BFF;

    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

/* Effet au survol des boutons */
.download-button2:hover {
    background-color: #0056b3;
}

/* lecture */

/* Conteneur principal */
.container5 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Boutons */
.buttons5 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.buttons5 button {
    padding: 10px 20px;
    background-color: #555;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.buttons5 button:hover {
    background-color: #777;
}

/* Zone de texte */
.text-content5 {
    white-space: pre-wrap; /* Permet de conserver les retours à la ligne et les espaces */
    font-size: 16px;
    line-height: 1.5;
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}


/* Styles responsive */
@media screen and (max-width: 768px) {
    .buttons5 {
        flex-direction: column;
        align-items: flex-start;
    }

    .buttons5 button {
        margin-bottom: 10px;
    }
}

/* Style des boutons */
.download-button5 {
    display: inline-block;
    padding: 3px 6px;
    background-color: #D21D84;

    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

/* Effet au survol des boutons */
.download-button5:hover {
    background-color: #E860AD;
}

/* Style des boutons */
.download-button6 {
    display: inline-block;
    padding: 3px 6px;
    background-color: #D82E2E;

    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

/* Effet au survol des boutons */
.download-button6:hover {
    background-color: #F16262;
}

.download-button11 {
    display: inline-block;
    padding: 3px 6px;
    background-color: #34D376;

    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

/* Effet au survol des boutons */
.download-button11:hover {
    background-color: #70E4A0;
}
