* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    height: 100vh;
    color: #fff;
    background-color: #202020;
    padding: 50px;
    line-height: 1.6;
}

/* Keyframes pour l'animation de fade-in */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animation de base pour tous les éléments */
.fade-in-animation {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

/* Définir des délais différents pour chaque élément */
.fade-in-animation.delay-1 {
    animation-delay: 0.5s;
}

.fade-in-animation.delay-2 {
    animation-delay: 1s;
}

.fade-in-animation.delay-3 {
    animation-delay: 1.5s;
}

.container {
    max-width: 1000px;
}

header, .winact-content, .additional-content, .details {
    margin-bottom: 40px; /* Espacement entre les sections */
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px; /* Espacement après le titre */
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

p, ul, li {
    margin-bottom: 10px; /* Espacement entre les paragraphes et éléments de liste */
}

ul {
    padding-left: 20px; /* Espacement pour les listes à puces */
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: black;
}


body{
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    height: 100vh;
    color: #fff;
    background-color: #245a77;
    padding: 50px;
}

body .container{
    max-width: 1000px;
}

.copyright {
    font-size: 14px;
    color: #ffffff; /* Texte blanc */
    margin-top: 10px; /* Espacement vers le haut */
    text-align: center; /* Centrer le texte */
    font-style: italic; /* Texte en italique */
    font-family: 'Arial', sans-serif; /* Police de caractères */
}

.btn-container{
    padding: 25px 35px;
}

.loc-button{
    outline: none;
    width: 100%;
    border: none;
    font-weight: 700;
    border-radius: 25px;
    padding: 10px;
    background: #303f9f;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.loc-button:hover{
    background: #1a237e;
}

body .container header{
    background: url(bg.jpg) center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
    padding: 20px 50px 60px;
    border-radius: 16px;
}

body .container header .category{
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
}

body .container header .info{
    text-align: center;
}

body .container header .info .tags i{
    font-size: 18px;
    margin-right: 4px;
}

body .container header .info .tags span{
    font-size: 0.8rem;
}

body .container header .info .title{
    margin: 20px 0;
    font-size: 3rem;
    font-weight: bold;
}

/* Styles de base pour la popup */
.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s; /* Animation d'apparition */
    z-index: 1000; /* S'assurer que la popup est au-dessus des autres éléments */
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px; /* Bords arrondis */
    text-align: center;
    color: black;
    width: 500px; /* Largeur élargie */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Ombre portée */
}

/* Animation d'apparition */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Style pour la croix de fermeture */
.close-popup {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #303f9f; /* Couleur de la croix */
    margin-bottom: 10px;
}

/* Styles pour les boutons */
.popup-button {
    display: block;
    width: 80%; /* Largeur relative au conteneur */
    margin: 10px auto; /* Centrage et espacement */
    padding: 10px 0; /* Padding vertical */
    border-radius: 5px; /* Bords arrondis */
    background-color: #303f9f; /* Couleur de fond */
    color: white; /* Couleur du texte */
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.popup-button:hover {
    background-color: #1a237e; /* Changement de couleur au survol */
}

/* Responsive design pour petits écrans */
@media screen and (max-width: 600px) {
    .popup-content {
        width: 90%; /* Largeur ajustée pour petits écrans */
        padding: 15px;
    }
}



body .container header .info .subtitle{
    min-width: 70%;
    margin: 0 auto 20px;
    font-size: 1rem;
}

body .details{
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.14);
    margin-top: 50px;
    padding: 20px 50px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.68);
}

body .details .item .item-title{
    color: #ccc;
}

body .details .item .item-text{
    margin-top: 12px;
    font-size: 1.5rem;
}

body article{
    margin-top: 50px;
    padding-bottom: 20px;
    line-height: 1.70;
}

body article h4{
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

body article p{
    margin-bottom: 20px;
    color: #999;
    font-size: 1.1rem;
}

body article blockquote{
    margin: 40px 0;
    background-color: #181818;
    padding: 30px;
    border-radius: 16px;
}

@media screen and (max-width: 768px) {

    body .container header{
        padding: 10px 20px 30px;
        min-height: 300px;
    }

    body .container header .category{
        font-size: 0.9rem;
    }

    body .container header .info .title{
        font-size: 2.2rem;
    }

    body .container header .info .subtitle{
        font-size: 0.8rem;
    }

    body .container .details {
        flex-direction: column;
    }

    body .container .details .item:not(:last-child){
        margin-bottom: 30px;
    }

}

.container {
    max-width: 1000px;
}

header {
    background: url(bg.jpg) center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
    padding: 20px 50px 60px;
    border-radius: 16px;
}

.category {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
}

.info {
    text-align: center;
}

.info .tags i {
    font-size: 18px;
    margin-right: 4px;
}

.info .tags span {
    font-size: 0.8rem;
}

.info .title {
    margin: 20px 0;
    font-size: 3rem;
    font-weight: bold;
}

.info .subtitle {
    min-width: 70%;
    margin: 0 auto 20px;
    font-size: 1rem;
}

.loc-button {
    outline: none;
    width: 100%;
    border: none;
    font-weight: 700;
    border-radius: 25px;
    padding: 10px;
    background: #303f9f;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.loc-button:hover {
    background: #1a237e;
}