/* Variables pour personnalisation */

    :root {
        --primary-color: #fffaf7;
        --secondary-color: #2c1e1e;
        --accent-color: #07927C;
        --text-color: #131b1a;
        --secondary-text-color: #07927C;
        /* --font-family: 'Edith', sans-serif; */
        --font-family: 'Montserrat', sans-serif; 
        --h-font-family: 'Antic Didone', serif;
        --font-size: 1.3rem;
        --mobile-font-size: 1.1rem;
    }

/* Déclaration des polices */

    /* @font-face {
        font-family: 'Edith';
        src: url('/assets/fonts/Edith-Regular.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
    } */
    /* @font-face {
        font-family: 'MsClaudy';
        src: url('/assets/fonts/MsClaudy-Regular.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
    } */
    
/* Styles globaux */

    body {
        font-family: var(--font-family);
        color: var(--text-color);
        line-height: 1.6;
        background: var(--primary-color);
        font-weight: 400;
        font-style: normal;
    }
    html {
        scroll-behavior: smooth;
    }
    html, body {
        height: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
    }
    h1, h2, h3 {
        font-family: var(--h-font-family);
        font-weight: 200;
        color: var(--text-color);
        margin: 0;
    }
    h1 {
        font-size: 5rem;
        margin: 40px 0;
        line-height: 0.7;
        transform: translateY(10%);
    }
    h2 {
        font-size: 3rem;
        line-height: 50px;
    }
    h3 {
        font-size: 2rem;
    }
    a {
        color: var(--text-color);
    }
    a:hover,
    a h3:hover {
        color: var(--secondary-text-color); 
    }
    main {
        text-align: center;
        padding: 0 20px;
        background-color: var(--primary-color);
        color: var(--text-color);
        font-size: var(--font-size);
        flex: 1; /* Prend tout l'espace disponible */
    }
    .highlight {
        font-size: 2.6rem;
        margin: auto;
    }
    .color {
        color: var(--secondary-text-color);
    }
    p {
        margin: 0 auto;
        max-width: 900px;
    }
    .inline-elements p,
    .inline-elements h2 {
        display: inline-block;
        margin: 0 10px;
        vertical-align: middle;
    }
    .inline-elements {
        margin: 50px auto;
    }
    .inline {
        display: flex;
    }
    .maj {
        text-transform: uppercase;
    }
    .desktop {
        display: block;
    }
    .mobile {
        display: none;
    }
    button {
        outline: none;
    }
    button:focus, a:focus {
        outline: none;
        box-shadow: none;
    }  
    .navbar .active {
        color: var(--accent-color);
        font-weight: bold;
    }    
    @media (max-width: 520px) {
        .desktop {
            display: none;
        }
        .mobile {
            display: block;
        }
        h3 {
            font-size: 1.8rem;
            line-height: 43px;
        }
        .inline-elements {
            margin: 30px auto;
        }
    }
    /* Scrollbar */
    body::-webkit-scrollbar {
        width: 12px;
    }
    body::-webkit-scrollbar-track {
        background: var(--primary-color);
    }
    body::-webkit-scrollbar-thumb {
        background-color: var(--accent-color);
        border-radius: 10px;
        border: 3px solid var(--primary-color);
    }
    body::-webkit-scrollbar-thumb:hover {
        background-color: darken(var(--accent-color), 10%);
    }

/* Menu */

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 30px;
        background-color: var(--primary-color);
        color: var(--text-color);
        line-height: 100px;
        position: relative;
    }
    .navbar-logo img {
        height: 35px;
        width: auto;
        cursor: pointer;
    }
    .navbar-menu {
        list-style: none;
        display: flex;
        gap: 15px;
        margin: 0;
        padding: 0;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 100;
        background: var(--primary-color);
    }
    .navbar-menu li a {
        padding: 5px 10px;
        transition: background-color 0.3s;
    }
    header {
        background-color: var(--primary-color);
        color: var(--text-color);
        text-align: center;
    }
    .navbar-menu a,
    .navbar a {
        text-decoration: none;
        color: var(--text-color);
    }
    .navbar-menu a:hover {
        color: var(--secondary-text-color);
    }
    .navbar-menu.open {
        transform: translateY(0);
    }
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 24px;
        width: 30px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 110;
        padding: 0;
    }
    .hamburger span {
        display: block;
        height: 2px;
        width: 100%;
        background: var(--text-color);
        border-radius: 2px;
        transition: transform 0.3s ease, background 0.3s ease, opacity 0.3s ease;
    }
    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(10px, -10px);
    }
    .hamburger span {
        transform-origin: center; 
    }
    #login-form {
        max-width: 275px;
    }
    .login {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100vh;
    }
    @media (min-width: 930px) {
        .navbar-menu {
          position: static;
          transform: none;
          flex-direction: row;
          height: auto;
          width: auto;
          justify-content: flex-end;
        }
        .hamburger {
          display: none;
        }
    }
    @media (max-width: 930px) {
        main {
            font-size: var(--mobile-font-size);
        }
        .boda-details {
            gap: 30px;
        }
        .img6-2 {
            left: 12vw!important;
        }
        .img6-1 {
            right: 12vw!important;
        }
        .navbar-menu.open {
            background: var(--accent-color);
        }
        .navbar .active {
            color: var(--primary-color);
        } 
        .lang-option.selected {
            color: var(--primary-color)!important;
        }
    }

/* Lang selector */

    .language-selector {
        display: inline-flex;
        align-items: center;
        font-family: Arial, sans-serif;
        color: black;
        cursor: pointer;
    }
    .lang-option {
        padding: 0 10px;
        text-transform: uppercase;
        transition: color 0.3s ease;
        font-family: var(--font-family);
    }
    .lang-option.selected {
        color: var(--accent-color);
        font-weight: bold;
    }

  
/* Boutons */

    .button {
        cursor: pointer;
        text-decoration: none;
        font-size: inherit;
        border: 2px solid;
        border-radius: 4px;
        padding: 10px 30px;
        margin: 30px auto;
        display: flex;
        justify-content: center;
        width: max-content;
        font-family: var(--font-family);
        background: var(--secondary-text-color);
        color: var(--primary-color);
    }
    .button:hover {
        color: var(--secondary-text-color);
        background: var(--primary-color);
    }

/* Effects on images */

    .hover-effect {
        transition: transform 0.5s ease;
        transform-style: preserve-3d;
    }
    .hover-effect:hover {
        transform: rotateY(15deg) rotateX(10deg);
    }

    .hover-effect1 {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .hover-effect1:hover {
        transform: scale(1.1) rotate(25deg);
    }

    .lovers-container {
        position: relative;
        display: inline-block;
        width: 100%;
    }
    .lovers-container .heart {
        position: absolute;
        width: 30px; 
        height: auto;
        opacity: 0; 
        animation: fly 2s ease-in-out forwards; 
        pointer-events: none; 
    }
    @keyframes fly {
        0% {
            transform: translate(0, 0) scale(1); 
            opacity: 1;
        }
        50% {
            transform: translate(-20px, -80px) scale(1.2);
        }
        100% {
            transform: translate(20px, -150px) scale(0.8);
            opacity: 0;
        }
    }  

    .spin {
        transition: transform 0.3s ease;
        animation: spin 25s linear infinite;
    }
    @keyframes spin {
        from {
            transform: rotate(0deg);
        }
        to {
            transform: rotate(360deg);
        }
    }

    .sparkle-container {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .sparkles {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 2; /* Place les étincelles au-dessus de l'image */
    }
    .sparkle {
        position: absolute;
        background: radial-gradient(circle, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 80%);
        clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
        opacity: 0;
        animation: sparkleAnimation 3s ease-in-out infinite;
    }   
    /* Animation des étoiles */
    @keyframes sparkleAnimation {
        0% {
            transform: scale(0.5);
            opacity: 0;
        }
        50% {
            transform: scale(1.5);
            opacity: 1;
        }
        100% {
            transform: scale(0);
            opacity: 0;
        }
    }

    .flower-container {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 30px 0;
    }
    @keyframes pulse {
        0% {
            transform: scale(0.9);
        }
        50% {
            transform: scale(1.3);
        }
        100% {
            transform: scale(0.9);
        }
    }

    .food-container {
        position: relative;
        width: 400px;
        height: 245px;
        margin: 0 auto 50px auto;   
        padding-top: 20px; 
        scale: 1.1;
        overflow: hidden;
    }
    .bounce-animation {
        display: inline-block; 
        animation: bounce 9s ease-in-out infinite; 
        animation-delay: 2s;
    }
    .bounce-animation1 {
        display: inline-block; 
        animation: bounce1 10s ease-in-out infinite; 
        animation-delay: 3s;
    }

    @keyframes bounce {
        0% {
            transform: translateY(0) rotate(0deg); /* Position initiale */
        }
        10% {
            transform: translateY(-20px) rotate(6deg); /* Monter avec rotation vers la droite */
        }
        20% {
            transform: translateY(0) rotate(0deg); /* Retour à la position initiale */
        }
        50% {
            transform: translateY(0) rotate(0deg); /* Pause avant le saut suivant */
        }
        60% {
            transform: translateY(-20px) rotate(-4deg); /* Monter avec rotation vers la gauche */
        }
        70% {
            transform: translateY(0) rotate(0deg); /* Retour à la position initiale */
        }
        100% {
            transform: translateY(0) rotate(0deg); /* Pause avant le saut suivant */
        }
    }
    @keyframes bounce1 {
        0% {
            transform: translateY(0) rotate(0deg); /* Position initiale */
        }
        10% {
            transform: translateY(-20px) rotate(-7deg); /* Monter avec rotation vers la droite */
        }
        20% {
            transform: translateY(0) rotate(0deg); /* Retour à la position initiale */
        }
        50% {
            transform: translateY(0) rotate(0deg); /* Pause avant le saut suivant */
        }
        60% {
            transform: translateY(-20px) rotate(5deg); /* Monter avec rotation vers la gauche */
        }
        70% {
            transform: translateY(0) rotate(0deg); /* Retour à la position initiale */
        }
        100% {
            transform: translateY(0) rotate(0deg); /* Pause avant le saut suivant */
        }
    }

    @keyframes swingLeftRight {
        0% {
            transform: rotate(-5deg); /* Inclinaison à gauche */
        }
        50% {
            transform: rotate(10deg); /* Inclinaison à droite */
        }
        100% {
            transform: rotate(-5deg); /* Retour à gauche */
        }
    }
    @keyframes swingRightLeft {
        0% {
            transform: rotate(5deg); /* Inclinaison à droite */
        }
        50% {
            transform: rotate(-10deg); /* Inclinaison à gauche */
        }
        100% {
            transform: rotate(5deg); /* Retour à droite */
        }
    }
    @keyframes swingCircle {
        0% {
            transform: rotate(0deg); 
        }
        100% {
            transform: rotate(360deg); 
        }
    }

    @keyframes moveBus {
        0% {
            left: -30%; 
        }
        100% {
            left: 110%; 
        }
    }

    .scene {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        perspective: 1000px;
        margin-top: 50px;
    }
    @keyframes driveAway {
        0% {
            transform: scale(1) translateZ(0); /* Taille initiale, pas de translation */
            opacity: 0; /* Complètement invisible */
        }
        10% {
            opacity: 1; /* Apparition progressive */
        }
        30% {
            transform: scale(1) translateZ(0); /* Reste à sa taille initiale */
            opacity: 1; /* Complètement visible */
        }
        100% {
            transform: scale(0) translateZ(-1000px); /* Rétrécit et recule dans le plan Z */
            opacity: 0; /* Disparaît doucement */
        }
    }


/* Page d'accueil */
  
    .date {
        display: flex;
        justify-content: center;
    }
    .lined-heading {
        position: relative;
        display: inline-block;
        padding: 0 16vw;
    }
    .lined-heading::before,
    .lined-heading::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 16vw;
        height: 1px;
        background-color: var(--text-color);
    }
    .lined-heading::before {
        left: -5%;
    }
    .lined-heading::after {
        right: -5%;
    }
    .link {
        text-decoration: underline;
        text-decoration-thickness: 1px;
    }
    .hero img {
        margin: auto;
        display: block;
    }
    .img1 {
        width: 3vw; 
        max-width: 65px;
        min-width: 45px;
    }
    .pulse {
        animation: pulse 10s ease-in-out infinite;
    }
    .img2 {
        width: 20%;
        max-width: 250px;
        min-width: 190px;
        margin: 30px auto !important;
    }
    .img3 {
        width: 55px;
        z-index: 1;
    }
    .envelope-container {
        position: relative;
        width: 320px;
        height: 155px;
        margin: 0 auto 0px auto;    
    }
    .img4-1 {
        width: 40px;
        position: absolute;
        left: 53%;
        top: 27%;
        z-index: 10;
        pointer-events: none;
    }
    .img4-2 {
        width: 130px;
        position: absolute;
        left: 79%;
        top: -13%;
        z-index: 20;
        animation: swingRightLeft 8s ease-in-out infinite;
        animation-delay: 0.5s;
        pointer-events: none;
    }
    .img4-3 {
        width: 145px;
        position: absolute;
        left: 33%;
        z-index: 1;
    }
    .img5-1 {
        width: 70px;
        position: absolute;
        top: 54%;
        left: 58%;
    }
    .img5-2 {
        width: 70px;
        position: absolute;
        top: 70%;
        left: 64%;
        animation: swingCircle 15s ease-in-out infinite;
    }
    .img5-3 {
        width: 50px;
        position: absolute;
        top: 84%;
        left: 15%;
        animation: swingRightLeft 5s ease-in-out infinite;
    }
    .img5-4 {
        height: 165px;
        position: absolute;
        left: 40%;
        top: 37%;
    }
    .img5-5 {
        width: 65px;
        position: absolute;
        left: 28%;
        top: 11%;
    }
    .img5-6 {
        width: 55px;
        position: absolute;
        top: 79%;
        animation: swingLeftRight 4s ease-in-out infinite;
        left: 17%;
    }
    .img5-9 {
        width: 55px;
        position: absolute;
        top: 82%;
        left: 25%;
    }
    .drinks-container {
        position: relative;
        height: 150px;
        margin: 50px auto 0px auto;   
    }
    .img6-1 {
        width: 113px;
        position: absolute;
        right: 35vw;
        top: -3%;
        z-index: 20;
        transform-origin: center;
        animation: swingLeftRight 5s ease-in-out infinite;
    }
    .img6-2 {
        width: 100px;
        position: absolute;
        left: 35vw;
        z-index: 10;
        animation: swingRightLeft 4.5s ease-in-out infinite;
        animation-delay: 0.5s;
    }
    .img6-4 {
        width: 360px;
        position: absolute;
        top: 66%;
        z-index: 1;
        left: 0%;
    }
    .img7 {
        width: 30%;
        max-width: 410px;
        min-width: 250px; 
        margin: 50px auto 30px auto!important;
    }
    .img8 {
        width: 213px;
        z-index: 20;
        transform: translateX(-30%);
        position: absolute;
        bottom: 3vh;  
        left: -200px;
        animation: moveBus 25s linear infinite;  
    }
    .img8-1 {
        width: 180px;
        z-index: 10;
        left: 60%;
        bottom: 25px;
    }
    .img8-2 {
        width: 400px;
        z-index: 30;
        left: 45%;
        transform: translateX(-50%);
        top: 25px;
    }
    .img11 {
        width: 200px;
    }
    .img12 {
        width: 355px;
        transform: translateX(-10%);
    }    
    .scroll-image-container {
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        height: 130px; 
    }
    .scroll-image {
        position: relative;
        transform: translateX(50vw);
        transition: transform 2s ease-in-out;
        opacity: 0;
    }
    .scroll-image.visible {
        transform: translateX(0);
        opacity: 1;
    }
    .img13 {
        width: 145px;
    }
    .bus-container {
        position: relative;
        width: 100%;
        height: 135px;
        backface-visibility: hidden;
        margin: 50px auto;    
        overflow: hidden;
    }
    .food-container img {
        transition: opacity 3s ease-in-out; 
    }
    .fade-out {
        opacity: 0; 
    }
    .bus-container img {
        position: absolute; 
        object-fit: contain;
    }
    .img9 {
        width: 5%;
        min-width: 90px;
    }
    .margin {
        margin: 50px;
    }
    .margin1 {
        margin: 30px auto;
    }
    .img10 {
        width: 30vw;
        min-width: 270px;
        max-width: 420px;
        animation: driveAway 10s ease-in-out infinite;
        animation-timing-function: ease-in-out;
    }
    .delayed-image {
        opacity: 0; /* Initialement invisible */
        transition: opacity 1s ease-in-out; /* Transition pour l'apparition */
        transition-delay: 0.5s; /* Délai avant l'apparition */
    }
    .delayed-image.visible {
        opacity: 1; /* Rendre l'image visible */
    }
    .scrolling-wave {
        width: 100%;
        height: 150px;
        overflow: hidden;
    }
    .boda-details {
        display: flex;
        justify-content: center;
        gap: 100px;
    }
    .practical-info > .inline-elements {
        margin: 30px auto 10px auto;
    }
    .faq {
        max-width: 600px;
        margin: 20px auto 70px auto;
    } 
    .faq-item {
        border-bottom: 1px solid var(--text-color);
        margin-bottom: 10px;
    }   
    .faq-question {
        font-family: var(--font-family);
        color: var(--text-color);
        background: inherit;
        width: 100%;
        border: none;
        padding: 15px 20px;
        text-align: left;
        font-size: var(--font-size);
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }   
    .faq-question:hover {
        color: var(--secondary-text-color);
    }   
    button:hover {
        background: none;
    }
    .faq-icon {
        font-size: 30px;
        color: var(--text-color);
        transition: transform 0.3s ease;
        display: inline-block;
        transform-origin: center center; 
        width: 50px;
        height: 50px;
        cursor: pointer;
    }
    .faq-icon.active {
        transform: rotate(135deg);
    }
    .faq-answer {
        font-family: var(--font-family);
        text-align: left;
        max-height: 0; 
        overflow: hidden; 
        opacity: 0;
        transition: max-height 0.5s ease, opacity 0.5s ease; 
        margin-bottom: 20px;
    }
    .map-section {
        text-align: center;
        padding: 20px;
    }
    .map-section h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    .map-section p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .map-container iframe {
        border: none;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    textPath {
        text-transform: uppercase;
    }
    @media (max-width: 520px) {
        .envelope-container,
        .food-container,
        .drinks-container,
        .img8,
        .img8-1, .img8-2 {
            scale: 0.8;
        }
        .img8-2 {
            left: 34%;
        }
        .img8 {
            animation: moveBus 17s linear infinite;
        }
        .food-container {
            margin: 0 auto;
            width: auto;
        }
        .boda-details {
            display: block;
        }
        .sparkle {
            scale: 0.5;
        }
    }
    @media screen and (max-width: 1340px) {
        text {
            transform: scale(1.1);
        }
    }
    @media (max-width: 800px) {
        .food-container {
            margin: 0 auto;
        }
        .img12 {
            width: 255px;
        }
        .img11 {
            width: 130px;
        }
    }
    @media screen and (max-width: 1340px) {
        text {
            transform: scale(1.1); 
        }
    }
    @media screen and (max-width: 1150px) {
        text {
            transform: scale(1.3);
        }
    }
    @media screen and (max-width: 950px) {
        text {
            transform: scale(1.6);
        }
    }
    @media screen and (max-width: 800px) {
        text {
            transform: scale(1.8); 
        }
    }
    @media screen and (max-width: 650px) {
        text {
            transform: scale(2); 
        }
    }
    @media screen and (max-width: 520px) {
        text {
            transform: scale(2.5); 
        }
        header {
            padding: 20px 0;
        }
    }
    @media screen and (max-width: 450px) {
        text {
            transform: scale(2.9); 
        }
    }

    

/* Formulaire */

    .form-container {
        width: 650px;
        margin: 0 auto;
        z-index: 1;
        /* position: absolute;
        left: 50%;
        transform: translateX(-50%); */
    }
    textarea {
        resize: vertical;
    }
    form {
        margin: 50px auto;
        padding: 50px 50px 20px 50px;
        border: 1px solid var(--text-color);
        border-radius: 20px;
        background: var(--primary-color);
    }
    form input, form select, form button, textarea {
        width: 100%;
        padding: 15px;
        margin-bottom: 15px;
        background: #f7f7f7;
        border: none;
        border-radius: 20px;
        font-family: var(--font-family);
        box-sizing: border-box;
    }
    fieldset {
        border: 1px solid var(--text-color);
        border-radius: 20px;
        margin-bottom: 15px;
    }
    fieldset legend {
        font-weight: bold;
        text-align: left;
        font-size: 1.1rem;
    }
    .radio-group {
        display: flex;
        flex-direction: column; 
        align-items: flex-start; 
    }
    .radio-group label {
        display: flex;
        align-items: center;
        gap: 10px; 
        font-size: 16px;
    }  
    input[type="radio"] {
        margin: 0;
    }
    form label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
        text-align: left;
        font-size: 1.1rem;
    }
    form input:focus, form select:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 5px var(--primary-color);
    }
    #message {
        display: none;
        padding: 10px;
        margin-top: 15px;
        border-radius: 5px;
        font-weight: 600;
    }
    #message.success {
        background-color: var(--primary-color);
        color: #fff;
    }
    #message.error {
        background-color: #ff6f61;
        color: #fff;
    }
    #background-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }
    .background-element {
        position: absolute;
        background-image: url('../images/img5-4.png');
        background-size: contain; 
        background-repeat: no-repeat;
        animation: float 20s linear infinite; 
        scale: 2;
    }
    @keyframes float {
        0% {
            transform: translateY(0) rotate(0deg);
        }
        50% {
            transform: translateY(-50px) rotate(180deg);
        }
        100% {
            transform: translateY(0) rotate(360deg); 
        }
    }
    #confirmation-message {
        text-align: center;
        margin-top: 20px;
        background: var(--primary-color);
        border: 1px solid var(--text-color);
        border-radius: 20px;
        padding: 20px
    }
    #confirmation-message>h2 {
        margin: 50px 0;
    }
    @media screen and (max-width: 800px) {
        .form-container {
            width: 550px;
        }
        form {
            padding: 35px;
        }
    }
    @media screen and (max-width: 650px) {
        .form-container {
            width: 450px;
        }
        h1 {
            font-size: 3rem;
        }
        h2 {
            font-size: 2rem;
            line-height: 35px;
        }
    }
    @media screen and (max-width: 520px) {
        .form-container {
            width: 100%;
            margin-top: 30px;
        }
        form, #blog-form {
            padding: 25px;
        }
    }
 

/* Admin */

    .responses-container {
        text-align: center;
        width: 100%;
    }
    .table-container {
        overflow-x: auto;
        white-space: nowrap;
        margin: 20px auto;
        display: flex;
        justify-content: center;
    }
    table {
        table-layout: auto; 
        border-collapse: collapse;
    }
    th, td {
        padding: 5px;
        border: 1px solid #ddd;
        text-align: left;
        box-sizing: border-box;
        line-height: 20px;
        font-size: 1rem;
        max-width: 300px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    td > .button {
        padding : 1px 10px;
        border: none;
    }
    th {
        background-color: var(--accent-color);
        font-weight: bold;
    } 
    tbody tr:nth-child(even) {
        background-color: #f9f9f9;
    }
    .table-container::-webkit-scrollbar {
        height: 8px; 
    }
    .table-container::-webkit-scrollbar-thumb {
        background: var(--accent-color);
        border-radius: 4px;
    }  
    .table-container::-webkit-scrollbar-thumb:hover {
        background: var(--text-color);
    }
    .total-invites-container {
        margin: 50px 0;
    }
    td .button {
        margin: 0;
    }
    #char-count {
        text-align: end;
        font-size: 1.1rem;
        transform: translateY(-22px);
    }
    #spinner {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1000;
    }
    #spinner1 {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 50px;
        z-index: 1000;
    }
    .loader {
        border: 5px solid #f3f3f3; 
        border-top: 5px solid var(--secondary-text-color);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        animation: spin 2s linear infinite;
    }
    .loader1 {
        border: 5px solid #f3f3f3; 
        border-top: 5px solid var(--secondary-text-color);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        animation: spin 2s linear infinite;
        position: absolute;
        left: 50%;
        top: 35vh;
        z-index: 1000;
    }
    @keyframes spin {
        0% {
        transform: rotate(0deg);
        }
        100% {
        transform: rotate(360deg);
        }
    }
        

/* 404 */
    .error {
        text-align: center;
    }
    .marginauto {
        margin: 50px auto;
    }
  
/* Footer */

    .footer {
        background-color: var(--primary-color);
        color: var(--text-color);
        text-align: center;
        padding: 20px 0;
        font-size: 0.9rem; 
        margin-top: 20px;
    }
    .footer a {
        font-size: 0.8rem; 
    }
    .footer a:hover {
        color: var(--secondary-text-color); 
    }
      