@import url('https://fonts.googleapis.com/css2?family=Playwrite+AU+SA:wght@100..400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.cdnfonts.com/css/amsterdam-2');

:root {
    --primary-color: #f96e2d;
    /* Couleur principale */
    --secondary-color: #f7d70f;
    /* Couleur secondaire */
    --font-size: 4.5vw;
    --font-family: "Segoe UI", Arial, sans-serif;
    /* Taille de la police par défaut */
    --title-family: "Calibri", Sans-serif;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background-color: #f3f3f3;
}

b{
    font-size: calc(var(--font-size) + 1vw); 
}
p{

}
html {
    scroll-behavior: smooth;
}

.btn-container1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15%;
}

#container1 {
    background-image: url('media/fond-acceuil.jpeg');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    font-family: var(--font-family);
    font-style: normal;
}

#PhotosRabbi {
    width: 80%;
    height: auto;
    margin-top: 50%;
}

/* #container1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

#container1>* {
    position: relative;
    z-index: 2;
} */

#container2 {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Assurer une hauteur minimale de la fenêtre */
    position: relative;
}

.main-section {
    background-image: url('media/Premier-fond.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fff;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 20px 0;
    justify-content: flex-start;
    padding-top: 20%;
}




.main-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.main-section>* {
    position: relative;
    z-index: 2;
}

.wedding-title,
.names,
.arrow-down {
    margin: 10px 0;
    font-size: var(--font-size);
    font-family: var(--title-family) !important;
    font-weight: bold;
    text-transform: uppercase;
    font-style: normal;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-section .btn#language-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

html a {
    text-decoration: none;
}

.arrow-down {
    margin-top: 20px;

}


#music-control {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    opacity: 1 !important;
    /* Assurez-vous que l'opacité est toujours à 100% */
    transition: none !important;
    /* Désactive toute transition ou animation */
    width: 60px;
    height: 60px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    z-index: 99999;
}

#play-pause-btn {
    background: none;
    border: none;
    font-size: 10vw;
    color: white;
    cursor: pointer;
}

#play-pause-btn:focus {
    outline: none;
}

.main-section {
    text-align: center;
    color: #1F75FE;
    margin-bottom: 0;
}

.wedding-title {
    font-size: 2.5em;
    margin: 0;
}

.names {
    font-size: 3em;
    margin: 0;
}

.arrow-down {
    font-size: 3em;
    color: var(--primary-color);
}

.text-section {
    background-color: #fff;
    background-image: url('media/fond-carte.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-bottom: 40px;
    font-family: var(--font-family);
    font-weight: 700;
    font-style: normal;

}

#nanahman img {
    width: 90%;
    height: auto;
    margin: 0 5%;
}

.text-section h3 {
    text-align: center;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-family: var(--title-family);
}

.text-section h2 span {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    font-size: calc(var(--font-size) + 1.2vw);
}

#houpaetsoire span ,.fa-champagne-glasses {
    font-size: calc(var(--font-size) + 2vw);
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    text-transform: uppercase;

}
.deux-images img{
    width: 90%;
    height: auto;
    margin-top: 5%;

}
.soire-video-fond {
    position: relative;
    overflow: hidden;
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#Nomdubarmitsva {
    font-size: calc(var(--font-size) + 3vw);
    font-weight: 900;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-section h2 {
    font-size: var(--font-size);
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    margin-left: 5%;
    margin-right: 5%;

}

.text-sdv {
    color: var(--primary-color);
    margin: -2% -25% 0% 50%;
}

.findusite {
    background-color: #fff;
    background-image: url(media/fond-marbre.jpeg);
    background-size: cover;
    background-position: center;
    padding-top: 40px;
    font-family: Arial, Helvetica, sans-serif;
    width: 100vw;
}


.color-or {
    color: var(--primary-color);
}




.immage-text {
    width: 85%;
    height: auto;
}

.image-du-haut img,
.image-du-bas img {
    width: 250px;
    height: 60%;
}

.invitation-container {
    display: flex;
    justify-content: space-between;
    color: #000;
    font-size: var(--font-size);
    font-weight: 500;
    font-style: normal;
    padding-top: 5%;
}

.invitation-column {
    text-align: left;
    padding: 0 20px;
}

.invitation-column p {
    padding: 0;
    margin: 1px 0;
}

.pas-cole {
    padding: 0;
    margin: -8px 0;
}

.invitee-name {
    margin: 10px 0;
}

.waze-button-container {
    text-align: center;
    margin-bottom: 40px;
    text-decoration: none;
}


.btn {
    text-decoration: none;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: var(--font-size);
    margin: 10px;
    cursor: pointer;

    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

#language-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#language-icon {
    display: flex;
    align-items: center;
}

#language-text {
    display: flex;
    align-items: center;
    vertical-align: middle;
}

.btn:hover {
    background: linear-gradient(190deg, var(--primary-color), var(--secondary-color));
}


.countdown-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
    /* Espacement entre les cases */
    margin-bottom: 10%;
    margin-right: 5%;
    margin-left: 5%;
}

.countdown-element {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #FAFAFADE;
    border: 1.5px solid var(--primary-color);
    border-radius: 25%;
    width: 140px;
    height: 140px;
    color: var(--primary-color);
    font-size: 2em;
    position: relative;
    text-align: center;
}



.countdown-element span {
    font-size: 0.5em;
    color: var(--primary-color);
    margin-top: 5px;
    font-family: var(--font-family);
    font-weight: 400;
    font-style: normal;
}

.ltr {
    direction: ltr;
    text-align: left;
}

.rtl {
    direction: rtl;
    text-align: right;
}





form {
    /* font-family: "Cormorant Garamond", serif;; */
    max-width: 600px;
    margin: 2em auto;
    background: white;
    padding: 2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    background-image: url(media/fond-marbre.jpeg);
    background-size: cover;
    background-position: center;
    position: sticky;
    /* border: 3px solid var(--primary-color); */
    border: 5px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color)) 1;
    animation: borderAnimation 3s infinite;
}


@keyframes borderAnimation {
    0% {
        border-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color)) 1;
    }

    50% {
        border-image: linear-gradient(90deg, var(--secondary-color), var(--primary-color)) 1;
    }

    100% {
        border-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color)) 1;
    }

}


/* Style pour la modale */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Transparence */
    justify-content: center;
    align-items: center;
}

/* Contenu de la modale */
.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 80%;
    max-width: 400px;
    position: relative;
    font-size: 1.3em;
}

/* Bouton de fermeture */
.close {
    position: absolute;
    top: -5px;
    right: 20px;
    font-size: 40px;
    cursor: pointer;
}

button {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.75em 1.5em;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
    margin: 0.5em;
}

button:hover {
    background-color: #27ae60;
}

button.prev {
    background: #6c757d !important;
}

button.prev:hover {
    background: #5a6268 !important;
}

input[type="text"],
input[type="tel"] {
    width: calc(100% - 22px);
    padding: 10px;
    margin-top: 0.5em;
    border: 1px solid #ddd;

    box-sizing: border-box;
}

input[type="radio"] {
    margin-right: 10px;
}

label {
    font-size: 5vw;
}

.step {
    display: none;
    width: 100%;
}

.step.active {
    display: block;
}

#error-message {
    color: red;
    font-size: 0.875em;
    text-align: center;
}

#guest-count {
    font-size: 1.2em;
    margin: 0 1em;
}

#guest-names input {
    margin-bottom: 1em;
    padding: 10px;
    border: 1px solid #ddd;

    width: calc(100% - 22px);
}

.step-content {
    width: 100%;
    text-align: center;
}

.step-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-top: 1em;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    z-index: 9999;
}

.hidden {
    display: none;
}

video {
    width: 100%;
    object-fit: cover;
}

.interesserparlebus {
    text-align: center;
    background-color: #ffffff;
    font-family: var(--font-family);
    margin-bottom: 5%;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);

}

.footer {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-style: normal;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer h2 {
    color: #fff;
    text-align: center;
    margin: 5%;
}