@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=UnifrakturMaguntia&family=Faster+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fruktur:ital@0;1&display=swap');


.main-container {
    width: 1080px;
    text-align: center;
    margin: 0 auto;
    box-sizing: border-box;
    justify-content: center;
}

h1, h2, p, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Amatic SC', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    margin: 15px 75px;
    min-height: 100vh;
    justify-content: center;
}


/*Logo*/
#cuisine_logo{
    margin: -9px 90px;
    width: 40px;
}


/* Style du header */
header {
    background-color: #ffffff;
    padding: 20px 0;
    text-align: center;
    border-radius: 30px;
    display: flex;
    width: 100%;
}
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}
nav ul li a {
    font-family: "Fruktur", serif;    
    color: #000000;
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s;
}
nav ul li a:hover {
    color: rgb(255, 0, 0);
    text-decoration: underline;
}
nav ul li a.active {
    color: rgb(255, 0, 0);
    text-decoration: underline;
}

/*le premier h1*/
.welcome{
    text-align: center;
    font-size:40px;
    color: rgb(255, 0, 0);
}

.leRainDrop span { animation-name: leRainDrop; animation-iteration-count: infinite; }
/*video background*/
.video-background {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    box-shadow: 0 0 15px rgb(0, 0, 0), 0 0 30px rgb(0, 0, 0), 0 0 45px rgb(0, 0, 0);
}
.video-background video {
    position: absolute;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
    width: 100%;
    height: auto;
}
/*h1 avec transition*/
.changeable .slide {    
    position: absolute;
    top: -40px;
    left: 45%;
    margin: 75px;
    transform: translateX(-50%);
    opacity: 0;
    font-size: 2rem;
    font-weight: bold;
    transition: opacity 1s ease-in-out;
}
.changeable .slide:nth-child(1) {
    animation: slideFade 12s infinite;
    color: chartreuse;
    font-family:  "Dancing Script", serif;
}
.changeable .slide:nth-child(2) {
    animation: slideFade 12s infinite 3s;
    color: rgb(255, 0, 144);
    font-family:  "Dancing Script", serif;
}
.changeable .slide:nth-child(3) {
    animation: slideFade 12s infinite 6s;
    color: aqua;
    font-family:  "Dancing Script", serif;
}
.changeable .slide:nth-child(4) {
    animation: slideFade 12s infinite 9s;
    color: rgb(38, 0, 255);
    font-family:  "Dancing Script", serif;
}
@keyframes slideFade {
    0%, 25% {
        opacity: 1;
    }
    30%, 100% {
        opacity: 0;
    }
}



/*les cartes*/
.cards {
    height: 500px;
    display: flex;
    gap: 1.25rem;
    transition: all 400ms;
    margin: 50px;
  }
  
  .card {
    flex: 1;
    height: 100%;
    transition: all 400ms;
    cursor: pointer;
    box-shadow: 0 0 7px aqua, 0 0 7px aqua;
  }
  .card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .card:nth-child(odd) {
    translate: 0 -20px;
  }
  .card:nth-child(even) {
    translate: 0 20px;
  }
  .cards:hover .card:not(:hover) {
    filter: grayscale(100%);
  }
  .card:hover {
    flex: 3;
  }


/* flags*/
.phrase-flag{
    font-family: math;
    text-align: center;
    color: rgb(255, 255, 255);
    margin: 15px;
}
.flag-slider {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 0 15px rgb(0, 0, 0);
}
.flag-images {
    display: flex;
    animation: slideLeft 20s linear infinite;
    gap: 20px;
    height: 200px;
}
.flag-image {
    flex: 0 0 200px;
    height: 200px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
    cursor: pointer;
    box-shadow: 0 0 7px aqua, 0 0 7px aqua;
}
.flag-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}
.flag-images:hover .flag-image:not(:hover) {
    filter: grayscale(100%);
  }

  .flag-images:hover {
    animation-play-state: paused;
}

.flag-image:hover img {
    transform: scale(1.2);
    z-index: 1;
}


@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}


/* Repas  / style flags inversé*/
.repas-slider {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 0 10px rgb(0, 0, 0);
    margin-top: 20px;
}
.repas-images {
    display: flex;
    animation: slideright 20s linear infinite;
    gap: 20px;
    height: 200px;
}
.repas-image {
    flex: 0 0 200px;
    height: 200px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
    cursor: pointer;
    box-shadow: 0 0 7px aqua, 0 0 7px aqua;
}
.repas-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}
.repas-images:hover .repas-image:not(:hover) {
    filter: grayscale(100%);
  }

  .repas-images:hover {
    animation-play-state: paused;
    transform: scale(1.2);

}

.repas-image:hover img {
    transform: scale(1.2);
    z-index: 1;
}

@keyframes slideright {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0%);
    }
}


/* sections + section */
.sections {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px;
    margin: 40px auto;
}
.section {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    padding: 20px;
    transition: transform 0.3s ease-out, box-shadow 1s ease-out;
}

.section:hover {
    transform: scale(1.05);
    box-shadow: 0 0 1px aqua, 0 0 20px aqua, 0 0 30px aqua;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 1s ease;
}
.section img {
    width: 20%;
    height: auto;
    object-fit: cover;
}
.section img:hover {
    height: auto;
    border-radius: 50px;
    object-fit: cover;
}
.description {
    width: 80%;
    font-family: "Dancing Script", serif;
    color: #000;
}
.description h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: red; 
    text-align: center;
    animation: pulse 2s infinite ease-in-out;
}
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        color: red;
    }
    50% {
        transform: scale(1.1);
        color: #ff8c00;
    }
}
.description p {
    line-height: 1.6;
    font-size: 22px;
}

/* Parallax */
.parallax {
    background-image: url('../images/parallax.jpeg');
    height: 80vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 2s ease-in-out;
}

.parallax-content .voyage{
    font-size: 64px;
    font-family: "Dancing Script", cursive;
    text-shadow: 0 0 20px #00ffff, 0 0 40px #ff1493;
    margin-bottom: 20px;
    animation: glow 1s infinite alternate;
}

.parallax-content .voyage-description {
    font-size: 24px;
    font-family: "Fruktur", serif;
    line-height: 1.6;
    color: #ff8c00;
    margin: 0 20px;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #00ffff;
    }
    to {
        text-shadow: 0 0 30px #ff1493, 0 0 50px #00ffff;
    }
}


/*commentaires*/
.commentaires {
    background-color: #1a1a1a;
    padding: 40px;
    margin: 40px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 1px #eaff00af, 0 0 1px #eaff00af, 0 0 45px #eaff00af;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-in-out;
}
.commentaires.visible {
    opacity: 1;
    transform: translateY(0);
}
.commentaires h2 {
    font-family: "Fruktur", serif;
    color: chartreuse;
    font-size: 36px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}
.commentaire {
    margin: 20px auto;
    max-width: 800px;
    color: #ffffff;
    font-size: 22px;
    position: relative;
    border-radius: 15px;
    background: linear-gradient(45deg, rgb(124, 0, 185),  rgb(0, 168, 157), rgb(124, 0, 185));
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease-in-out;
}
.commentaire.visible {
    opacity: 1;
    transform: translateY(0);
}
.commentaire:hover {
    background: linear-gradient(45deg, rgb(0, 168, 157),rgb(124, 0, 185), rgb(0, 168, 157));
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    transform: translateY(-10px);
    transition: all 0.3s ease;
}
.commentaire p {
    margin: 10px 0;
}
.commentaire p:last-child {
    font-style: italic;
    color: #ccc;
}


/*Footer*/
footer {
    background-color: #fff;
    padding: 20px 0;
    text-align: center;
    border-radius: 30px;
    bottom: 0%;
    width: 100%;
}
footer .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
footer .footer-content p {
    font-family: "Fruktur", serif;
    color: #000;
    font-size: 18px;
    margin: 0;
    transition: color 0.3s;
}
footer .footer-content p:hover {
    color: red;
}
footer .footer-content .credit-link {
    font-family: "Fruktur", serif;
    color: red;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}
footer .footer-content .credit-link:hover {
    color: rgb(39, 193, 0);
}


/*----------------------------------------------------------------------------------------------------------------*/


/*Données (Tableau)*/
#tableau{
    color: rgb(255, 255, 255);
    border: 2px solid #ff0000;
    box-shadow: 4px 4px 8px aqua;
    font-size: 20px;
    font-weight: bold;
}
th {
    background-color: #ff0000;
    color: white;
    font-weight: bold;
}
.dataTables_wrapper {
    position: relative;
    clear: both;
    margin: 35px 0px;
}
.dataTables_wrapper .dataTables_length select {
    border: 1px solid #aaa;
    border-radius: 15px;
    padding: 5px;
    background-color: transparent;
    color: red;
    padding: 4px;
}
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #aaa;
    border-radius: 15px;
    padding: 5px;
    background-color: transparent;
    color: inherit;
    margin-left: 3px;
}
.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {
    color: rgb(249, 249, 249) ;
    font-family: 'Fruktur';
    position: relative;
    margin: 10px;
}

/*----------------------------------------------------------------------------------------------------------------*/

/*contact*/
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    gap: 20px;
    margin: 30px auto;
    box-sizing: border-box;
    position: relative;
    width: 1000px;
}
.contact-form {
    background-color: #333;
    padding: 30px;
    border-radius: 10px;
    width: 640px;
    box-shadow: 0 0 1px aqua, 0 0 20px aqua, 0 0 30px aqua;
    z-index: 2;
    position: relative;
}
h2 {
    font-size: 24px;
    text-align: center;
    color: #ff0000;
    margin-bottom: 20px;
}
form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.en-tete {
    display: flex;
    justify-content: space-between;
}
.form-group {
    display: flex;
}
.form-group label {
    font-size: 20px;
    color: #fff;
    width: 86px;
}
.required {
    color: #ff0000;
    font-weight: bold;
    margin-left: 3px;
}
.contact-form input, .contact-form textarea {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #444;
    color: #fff;
    font-size: 16px;
    box-sizing: border-box;
}
.envoyer {
    background-color: #555;
    color: #ff0000;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
}
.envoyer:hover {
    background-color: #ff8c00;
    box-shadow: 0 0 25px #ff8c00;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border: 2px solid #ff8c00;
    box-shadow: 0 0 10px #ff8c00;
    background-color: #555;
}

.image-left, .image-right {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: -1;
    max-width: 370px;
    border-radius: 15px;
    margin: 30px;
}
.image-left {
    left: 1px;
    animation: floatLeft 5s infinite ease-in-out;
    box-shadow: 0 0 1px red, 0 0 20px red, 0 0 30px red;

}
.image-right {
    right: 1px;
    animation: floatRight 5s infinite ease-in-out;
    box-shadow: 0 0 1px red, 0 0 20px red, 0 0 30px red;

}
@keyframes floatLeft {
    0%, 100% { transform: translate(-10px, -50%); }
    50% { transform: translate(10px, -50%); }
}
@keyframes floatRight {
    0%, 100% { transform: translate(10px, -50%); }
    50% { transform: translate(-10px, -50%); }
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #fff;
    font-size: 18px;
    margin: 10px 0;
}

.radio-title {
    color: #ff0000;
    margin-bottom: 5px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-option input[type="radio"] {
    accent-color: #ff8c00; /* Change la couleur du bouton radio */
    width: 16px;
    height: 16px;
    cursor: pointer;
    left: 250px;
    position: absolute;
}

.radio-option label {
    cursor: pointer;
    transition: color 0.3s ease;
    left: 50px;
    position: relative;
    left: 255px;
}

.radio-option input[type="radio"]:checked + label {
    color: #ff8c00;
    font-weight: bold;
}



/*----------------------------------------------------------------------------------------------------------------*/

/*Galerie*/
.photos-plats {
    column-count: 4;
    column-gap: 20px;
    padding: 20px;
}
.photos-plats img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 7px aqua, 0 0 7px aqua;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    filter: grayscale(100%);
    margin-bottom: 20px; /* Espace vertical entre les images */
    break-inside: avoid; /* Empêche les images d'être coupées entre les colonnes */
}
.photos-plats img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 7px aqua, 0 0 7px aqua;
    filter: none;
}
input:not([type="image" i], [type="range" i], [type="checkbox" i], [type="radio" i]) {
    overflow-clip-margin: 0px !important;
    overflow: clip !important;
    margin: 0 auto;
}
form {
    display: flex;
    flex-direction: column;
    gap: 23px;
    color: red;
    font-family: math;
    margin: 15px;
    font-size: 25px;
}
input[type="submit"] {
    background-color: rgb(19, 169, 169);
    color: rgb(0, 0, 0);
    padding: 10px 15px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    width: 40%;
}
input[type="submit"]:hover {
    background-color: aqua;
    color: rgb(0, 0, 0);
    padding: 10px 15px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 0 1px aqua, 0 0 10px aqua, 0 0 15px aqua;
}

/*----------------------------------------------------------------------------------------------------------------*/

/*Partenaires*/

.text-intro {
    color: white;
    text-align: center;
    margin: 70px;
}

.cards-p {
    display: grid;
    grid-gap: 30px;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    color: white;
    position: relative;
    margin-bottom: 15px;
    margin-top: 30px;

    
    a {
        text-decoration: none;
    }

    .card-p {
        border: solid 2px white;
        border-radius: 30px;
        flex-basis: calc(50% - 15px);
        position: relative;
        height: 310px;
        transform: scale(1);
        transition: all 0.6s ease-in-out;
        box-shadow: 0 0 1px rgb(255, 0, 0), 0 0 10px rgb(255, 0, 0), 0 0 15px rgb(255, 0, 0);



        .banner {
            border-radius: 27px 27px 0 0;
            width: 100%;
            height: 150px;
        }

        p {
            text-align: center;
            font-size: 13px;
            font-style: normal;
            font-weight: normal;
            line-height: normal;
            letter-spacing: 3px;
            text-transform: capitalize;
            padding-top: 0!important;
            padding: 15px;
            color: white;
        }

        h2 {
            padding-left: 10px;
            text-align: center;
            color: white;
        }
    }

    .card-p:hover {
        transform: scale(1.1);
        box-shadow: 0 0 1px aqua, 0 0 10px aqua, 0 0 15px aqua;

    }
}

.profile-image {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid red;
    background-color: white;
    top: 20px;
    left: -25px;
}


.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container-pdf {
    padding: 0;
    margin: 20px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.label {
    background-color: transparent;
    border: 2px solid rgb(91, 91, 240);
    display: flex;
    align-items: center;
    border-radius: 50px;
    width: 160px;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 5px;
    position: relative;
}

.label::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    width: 8px;
    height: 8px;
    transition: all 0.4s ease;
    border-radius: 100%;
    margin: auto;
    opacity: 0;
    visibility: hidden;
}

.label .input {
    display: none;
}

.label .title-btn {
    font-size: 12px;
    color: #fff;
    transition: all 0.4s ease;
    position: absolute;
    right: 25px;
    bottom: 20px;
    text-align: center;
}

.label .title-btn:last-child {
    opacity: 0;
    visibility: hidden;
}

.label .circle {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    background-color: rgb(91, 91, 240);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 0 0 0 rgb(255, 255, 255);
    overflow: hidden;
}

.label .circle .icon {
    color: #fff;
    width: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.label .circle .square {
    aspect-ratio: 1;
    width: 15px;
    border-radius: 2px;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.label .circle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background-color: #3333a8;
    width: 100%;
    height: 0;
    transition: all 0.4s ease;
}

.label:has(.input:checked) {
    width: 57px;
    animation: installed 0.4s ease 3.5s forwards;
}

.label:has(.input:checked)::before {
    animation: rotate 3s ease-in-out 0.4s forwards;
}

.label .input:checked + .circle {
    animation:
            pulse 1s forwards,
            circleDelete 0.2s ease 3.5s forwards;
    rotate: 180deg;
}

.label .input:checked + .circle::before {
    animation: installing 3s ease-in-out forwards;
}

.label .input:checked + .circle .icon {
    opacity: 0;
    visibility: hidden;
}

.label .input:checked ~ .circle .square {
    opacity: 1;
    visibility: visible;
}

.label .input:checked ~ .title-btn {
    opacity: 0;
    visibility: hidden;
}

.label .input:checked ~ .title-btn:last-child {
    animation: showInstalledMessage 0.4s ease 3.5s forwards;
}

@keyframes pulse {
    0% {
        scale: 0.95;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        scale: 1;
        box-shadow: 0 0 0 16px rgba(255, 255, 255, 0);
    }
    100% {
        scale: 0.95;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes installing {
    from {
        height: 0;
    }
    to {
        height: 100%;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(-90deg) translate(27px) rotate(0);
        opacity: 1;
        visibility: visible;
    }
    99% {
        transform: rotate(270deg) translate(27px) rotate(270deg);
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes installed {
    100% {
        width: 150px;
        border-color: rgb(35, 174, 35);
    }
}

@keyframes circleDelete {
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes showInstalledMessage {
    100% {
        opacity: 1;
        visibility: visible;
        right: 56px;
    }
}


/*----------------------------------------------------------------------------------------------------------------*/

/* Style de la page Crédits */
.credits-title {
    text-align: center;
    font-size: 36px;
    color: #ff0000;
    margin-top: 15px;
    font-family: "Amatic SC", sans-serif;
}

.credits-description {
    text-align: center;
    font-size: 22px;
    margin: 20px;
    color: #fff;
    max-width: 800px;
    margin: 20px auto;
}

.credits-section {

    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 15px;
    margin: 20px 20px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}

.credits-list {
    font-family: "Dancing Script", serif;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.credit {
    background-color: #2c2c2c;
    padding: 20px;
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}

.credit h3 {
    font-size: 27px;
    margin-bottom: 10px;
    color: #ff8c00;
}

.credit p {
    font-size: 30px;
    line-height: 1.6;
}

.credit a {
    color: #ff0000;
    text-decoration: none;
    font-weight: bold;
    font-size: 30px;
}

.credit a:hover {
    text-decoration: underline;
    color: rgb(39, 193, 0);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .credits-title {
        font-size: 28px;
    }
    
    .credits-description {
        font-size: 18px;
    }

    .credit h3 {
        font-size: 20px;
    }

    .credit p {
        font-size: 16px;
    }
}



.message-env {
    padding: 10px;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d; 
    border-radius: 10px;
    margin: 15px auto;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-align: center;
    width: 50%;
    box-shadow: 0 0 15px rgba(0, 255, 38, 0.799);
}
.message-err {
    width: 50%; 
    margin: 15px auto; 
    padding: 10px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}



/* reload */ 
/* reload */ 
/* reload */ 
/* reload */ 
/* reload */ 


  .loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex; /* Affiché par défaut */
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }

  .panWrapper {
    width: 200px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-direction: column;
    gap: 20px;
  }

  .pan {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    animation: cooking 1.7s infinite;
  }

  @keyframes cooking {
    0% { transform: rotate(0deg); transform-origin: top right; }
    10% { transform: rotate(-4deg); transform-origin: top right; }
    50% { transform: rotate(20deg); }
    100% { transform: rotate(0deg); }
  }

  .food {
    position: absolute;
    width: 40%;
    height: 6px;
    background: linear-gradient(to bottom, rgb(82, 33, 33), rgb(200, 106, 106));
    left: 10px;
    border-radius: 50%;
    animation: flip 1.7s infinite;
    z-index: 2;
  }

  @keyframes flip {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-100px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
  }

  .panBase {
    z-index: 3;
    width: 50%;
    height: 22px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    background: linear-gradient(to top, rgb(3, 156, 156), rgb(10, 191, 191));
  }

  .panHandle {
    width: 40%;
    background: linear-gradient(to bottom, rgb(18, 18, 18), rgb(74, 74, 74));
    height: 10px;
    border-radius: 10px;
  }

  .panShadow {
    width: 70px;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.21);
    margin-left: 15px;
    border-radius: 10px;
    animation: shadow 1.7s infinite;
    filter: blur(5px);
  }

  @keyframes shadow {
    0% { transform: scaleX(0.7); }
    50% { transform: scaleX(1); }
    100% { transform: scaleX(0.7); }
  }


/*challenge*/

/* Style pour la page Le Défi Culinaire */
.intro-text {
    text-align: center;
    font-size: 24px;
    color: #ff0000;
    margin: 20px 0;
}

.challenge-section {
    text-align: center;
    margin: 40px auto;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 15px;
    box-shadow: 0 0 7px aqua, 0 0 7px aqua;
}

.challenge-card {
    max-width: 600px;
    margin: 0 auto;
}

#country-name {
    font-size: 36px;
    color: #ff8c00;
    margin-bottom: 10px;
}

#country-clue {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 20px;
}

#user-guess {
    padding: 10px;
    font-size: 18px;
    width: 80%;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 2px solid #ff8c00;
    background-color: #333;
    color: #fff;
}

#submit-guess {
    padding: 10px 20px;
    font-size: 18px;
    background-color: #ff8c00;
    color: #000;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#submit-guess:hover {
    background-color: aqua;
}

#feedback-message {
    font-size: 20px;
    color: #ff0000;
    margin-top: 20px;
}

.results-section {
    text-align: center;
    margin: 40px auto;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}

#correct-answer {
    font-size: 24px;
    color: #ff8c00;
    margin-bottom: 10px;
}

#explanation {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 20px;
}

#next-challenge {
    padding: 10px 20px;
    font-size: 18px;
    background-color: #ff8c00;
    color: #000;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#next-challenge:hover {
    background-color: aqua;
}

/* Mode clair et mode sombre */ 

.switch {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 3.5em;
    height: 2em;
  }
  
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: white;
    border-radius: 50px;
    border: 1px solid #00000045;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.215, 0.610, 0.355, 1);
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 1.4em;
    width: 1.4em;
    right: 0.3em;
    bottom: 0.3em;
    transform: translateX(150%);
    background-color: #FBA518;
    border-radius: inherit;
    transition: all 0.4s cubic-bezier(0.215, 0.610, 0.355, 1);
  }
  
  .slider:after {
    position: absolute;
    content: "";
    height: 1.4em;
    width: 1.4em;
    left: 0.3em;
    bottom: 0.3em;
    background-color: #000000;
    border-radius: inherit;
    transition: all 0.4s cubic-bezier(0.215, 0.610, 0.355, 1);
  }
  
  .switch input:focus + .slider {
    box-shadow: 0 0 5px #59d102;
  }
  
  .switch input:checked + .slider:before {
    transform: translateY(0);
  }
  
  .switch input:checked + .slider::after {
    transform: translateX(-150%);
  }
  