@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Birthstone&display=swap');
html,
body {
    height: 100%;
}

html, body, a, button, input, textarea, select {
  cursor: url("./fairy.png"), auto !important;
}

body {
    font-family: 'Alex Brush', cursive;
    background: url('fond_video.png') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: white; /* Texte en blanc par défaut */
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto; /* Allow main content to grow and shrink */
}

footer {
    margin-top: auto; /* Push footer to the bottom */
}

#savethedate-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1000;
}

h1, h2, h3, .navbar-brand {
    font-family: 'Alex Brush', cursive;
    color: white !important; /* Force la couleur blanche pour les titres */
}

#details h2 {
    font-size: 2.5rem; /* Make the "Détails de la journée" text bigger */
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: #8B4513 !important;
    border-color: #8B4513 !important;
}

.lead, p {
    color: white;
}

/* Styles for the pop-up */
.popup-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: rgba(255, 255, 255, 0.6);
    color: #333; /* Dark text for readability on light background */
    padding: 20px;
    border-radius: 5px;
    width: 50vw;
    height: 100vh;
    position: relative;
    overflow-y: auto;
}

.popup-content h1 {
    text-align: center;
    font-size: 40px;
}

.popup-content h2, .popup-content h3, .popup-content p {
    text-align: start;
    font-size: 25px;
}

.popup-close {
    color: #aaa;
    position: absolute;
    top: 5px;
    right: 25px;
    font-size: 100px;
    font-weight: bold;
    cursor: pointer;
}

.popup-close:hover,
.popup-close:focus {
    color: black;
    text-decoration: none;
}

#info-trigger, #info-trigger:visited,
#hospitality-trigger, #hospitality-trigger:visited,
#fairy-core-trigger, #fairy-core-trigger:visited {
    color: white;
    text-decoration: none;
}

#info-trigger:hover,
#hospitality-trigger:hover,
#fairy-core-trigger:hover {
    text-decoration: underline; /* Underline menu texts */
}

/* Video container and Play Button */
#video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

#savethedate-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#play-button-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;
    cursor: pointer;
}

.play-button {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 30px 0 30px 50px;
    border-color: transparent transparent transparent white;
}

@media (max-width: 768px) {
    .popup-content {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
    }

    #details .row .col-md-6:first-child {
        margin-bottom: 6rem;
    }
}

.separator-hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
    margin: 3rem auto 0.5rem;
    width: 50%;
}

section#details.my-5 {
    margin: 1rem auto;
    margin-bottom: 1rem !important; /* Override Bootstrap's margin */
    position: relative;
}

section#details h3{
    margin-bottom: 1rem auto;
    font-size: 2.1rem;

}

section#menu.my-5 {
    margin: 0.5rem auto;
    margin-bottom: 1.5rem !important;
}

#menu h2 {
    font-size: 1rem;
}

#details .col-md-6 p {
    font-family: 'Alex Brush', cursive;
    font-size: 1.3rem;
    margin: 0.3rem auto;
}


#decoration-image-left {
    position: absolute; /* Permet de la positionner librement */
    z-index: -1;      /* La place en arrière-plan, sous le texte */
    /* Pour la TAILLE */
    width: 35%;  /* Modifiez ce pourcentage pour la largeur */
    /* Pour la POSITION */
    top: 25px ;     /* Distance depuis le haut de la section */
    left: 100px;     /* Distance depuis la gauche de la section */
    /* Pour la TRANSPARENCE */
    opacity: 0.9; /* Optionnel : la rend plus ou moins transparente (0 à 1) */
}

#decoration-image-right {
    position: absolute; /* Permet de la positionner librement */
    z-index: -1;      /* La place en arrière-plan, sous le texte */
    /* Pour la TAILLE */
    width: 35%;  /* Modifiez ce pourcentage pour la largeur */
    /* Pour la POSITION */
    top: 25px;     /* Distance depuis le haut de la section */
    left: 750px;     /* Distance depuis la gauche de la section */
    /* Pour la TRANSPARENCE */
    opacity: 0.9; /* Optionnel : la rend plus ou moins transparente (0 à 1) */
}

.mobile-break {
  display: none;
}

.desktop-break {
  display: inline;
}

.layout-word {
        margin-right: 20px;
        width: 150px;
}


@media (max-width: 768px) {
    #decoration-image-left {
        width: 100%; /* smaller width for mobile */
        height: 270px;
        left: 0%; /* adjust position for mobile */
        top: 30px; /* adjust position for mobile */
    }

    #decoration-image-right {
        width: 100%; /* smaller width for mobile */
        height: 270px;
        left: 0px; /* adjust position for mobile */
        top: 300px; /* adjust position for mobile */
    }

    .mobile-break {
        display: inline;
        }

    .desktop-break {
      display: none;
    }
}