@font-face {
    font-family: 'Futura';
    src: url('../fonts/Futura/FuturaCyrillicDemi.ttf') format('truetype');
}

@font-face {
    font-family: 'FuturaBold';
    src: url('../fonts/Futura/FuturaCyrillicBold.ttf') format('truetype');
}

@font-face {
    font-family: 'FuturaExtraBold';
    src: url('../fonts/Futura/FuturaCyrillicExtraBold.ttf') format('truetype');
}

@font-face {
    font-family: 'MontserratBold';
    src: url('../fonts/MontserratBold.ttf') format('truetype');
}
@font-face {
    font-family: 'MontserratRegular';
    src: url('../fonts/MontserratRegular-BWBEl.ttf') format('truetype');
}
@font-face {
    font-family: 'MontserratSemiBold';
    src: url('../fonts/MontserratSemibold-Yz368.ttf') format('truetype');
}

head {
    background: #ffffff;
    font-family: 'MontserratBold', sans-serif;
    padding: 0.375rem;
    position: sticky;
    top: 0;
    width: 100%;
}

h1 {
    color: #e4a985;
    text-align: center;
    background: white;
    font-family: 'MontserratBold', sans-serif;
    font-size: 1.5rem;
}

h2 {
    color: #e4a985;
    text-align: center;
    font-family: 'MontserratBold', sans-serif;
    font-size: 1.125rem;
}

h3 {
    color: #e4a985;
    text-align: justify;
    font-family: 'MontserratBold', sans-serif;
    padding-left: 0.75rem;
    font-size: 0.875rem; /* arrondi à 0.875rem */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem; /* arrondi à 0.5rem */
}

nav div {
    display: flex;
    gap: 0.875rem; /* arrondi à 0.875rem */
    margin: 0 auto;
    font-family: 'MontserratBold', Arial, sans-serif;
    font-size: 0.75rem;
}

nav a {
    text-decoration: none;
    color: #e4a985;
}

nav a:visited {
    color: #e4a985;
}

nav a:hover {
    color: #ff6600;
}

header {
    background: #ffffff;
    font-family: 'MontserratBold', sans-serif;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0.188rem; /* déjà à 0.188rem, aucune modification nécessaire */
    background: linear-gradient(to right, #f6d7b8, #ff6600);
}

body {
    background-color: #faf2ed;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 28' width='128' height='64'%3E%3Cpath fill='%23e4a985' fill-opacity='0.4' d='M56 26v2h-7.75c2.3-1.27 4.94-2 7.75-2zm-26 2a2 2 0 1 0-4 0h-4.09A25.98 25.98 0 0 0 0 16v-2c.67 0 1.34.02 2 .07V14a2 2 0 0 0-2-2v-2a4 4 0 0 1 3.98 3.6 28.09 28.09 0 0 1 2.8-3.86A8 8 0 0 0 0 6V4a9.99 9.99 0 0 1 8.17 4.23c.94-.95 1.96-1.83 3.03-2.63A13.98 13.98 0 0 0 0 0h7.75c2 1.1 3.73 2.63 5.1 4.45 1.12-.72 2.3-1.37 3.53-1.93A20.1 20.1 0 0 0 14.28 0h2.7c.45.56.88 1.14 1.29 1.74 1.3-.48 2.63-.87 4-1.15-.11-.2-.23-.4-.36-.59H26v.07a28.4 28.4 0 0 1 4 0V0h4.09l-.37.59c1.38.28 2.72.67 4.01 1.15.4-.6.84-1.18 1.3-1.74h2.69a20.1 20.1 0 0 0-2.1 2.52c1.23.56 2.41 1.2 3.54 1.93A16.08 16.08 0 0 1 48.25 0H56c-4.58 0-8.65 2.2-11.2 5.6 1.07.8 2.09 1.68 3.03 2.63A9.99 9.99 0 0 1 56 4v2a8 8 0 0 0-6.77 3.74c1.03 1.2 1.97 2.5 2.79 3.86A4 4 0 0 1 56 10v2a2 2 0 0 0-2 2.07 28.4 28.4 0 0 1 2-.07v2c-9.2 0-17.3 4.78-21.91 12H30zM7.75 28H0v-2c2.81 0 5.46.73 7.75 2zM56 20v2c-5.6 0-10.65 2.3-14.28 6h-2.7c4.04-4.89 10.15-8 16.98-8zm-39.03 8h-2.69C10.65 24.3 5.6 22 0 22v-2c6.83 0 12.94 3.11 16.97 8zm15.01-.4a28.09 28.09 0 0 1 2.8-3.86 8 8 0 0 0-13.55 0c1.03 1.2 1.97 2.5 2.79 3.86a4 4 0 0 1 7.96 0zm14.29-11.86c1.3-.48 2.63-.87 4-1.15a25.99 25.99 0 0 0-44.55 0c1.38.28 2.72.67 4.01 1.15a21.98 21.98 0 0 1 36.54 0zm-5.43 2.71c1.13-.72 2.3-1.37 3.54-1.93a19.98 19.98 0 0 0-32.76 0c1.23.56 2.41 1.2 3.54 1.93a15.98 15.98 0 0 1 25.68 0zm-4.67 3.78c.94-.95 1.96-1.83 3.03-2.63a13.98 13.98 0 0 0-22.4 0c1.07.8 2.09 1.68 3.03 2.63a9.99 9.99 0 0 1 16.34 0z'%3E%3C/path%3E%3C/svg%3E");
    font-family: 'MontserratBold', sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

p {
    font-family: 'MontserratSemiBold', sans-serif;
    font-size: 0.75rem;
    text-align: justify;
    padding: 0.625rem; /* arrondi à 0.625rem */
    color: #3e6b89;
    background-color: white;
    margin: 1.5rem;
    border-radius: 0.75rem;
}

br {
    font-family: 'MontserratBold', sans-serif;
    color: #3e6b89;
    padding: 0.625rem; /* arrondi à 0.625rem */
    text-align: justify;
}

img {
    max-width: 100%;
    display: flex;
    margin: auto;
}

#gameCanvas {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50%; /* La hauteur sera 75% de la hauteur de l'écran */
    width: 100%;  /* La largeur du canevas sera 100% de la largeur de l'écran */
    max-width: 100%; /* Assure que le canevas ne dépasse pas la largeur de l'écran */
    box-sizing: border-box;
}

.logo {
    height: 4.75rem; /* arrondi à 4.75rem */
    width: 4.75rem; /* arrondi à 4.75rem */
    max-width: 9.5rem; /* arrondi à 9.5rem */
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#stats-container {
    position: absolute;
    top: 0.563rem; /* arrondi à 0.563rem */
    left: 0.563rem; /* arrondi à 0.563rem */
    color: white;
    font-size: 0.75rem;
}

.contact-container {
    height: 75vh;
    display: flex;
	padding-left: 10%;
    background-color: #ffd2b5;
    border-radius: 1.75rem; /* arrondi à 1.75rem */
}

.contact-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 1rem; /* arrondi à 1rem */
    width: 50%;
}

.contact-left-title h2 {
    font-size: 1.5rem;
    color: #e4a985;
    margin-bottom: 0.25rem; /* arrondi à 0.25rem */
}

.contact-left-title hr {
    border: none;
    width: 5.625rem; /* arrondi à 5.625rem */
    height: 0.188rem;
    background-color: #ff6600;
    border-radius: 0.625rem; /* arrondi à 0.625rem */
    margin-bottom: 1rem; /* arrondi à 1rem */
}

.contact-inputs {
    width: 90%;
    height: 2.5rem; /* arrondi à 2.5rem */
    border: none;
    outline: none;
    padding-left: 0.75rem;
    font-weight: 500;
    color: #3e6b89;
    border-radius: 3rem;
}

.contact-left textarea {
    height: 6.5rem; /* arrondi à 6.5rem */
    padding-top: 0.75rem;
    border-radius: 1.125rem; /* arrondi à 1.125rem */
}

.contact-inputs:focus {
    border: 0.063rem solid #ff6600;
}

.contact-inputs::placeholder {
    color: #3e6b89;
    font-weight: 500;
}

.contact-left button {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    color: #fff;
    gap: 0.375rem; /* arrondi à 0.375rem */
    border: none;
    border-radius: 4.5rem; /* arrondi à 4.5rem */
    background: linear-gradient(270deg, #e4a985, #ff6600);
    cursor: pointer;
}

.ListeImage {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    width: 80%;
}

.ImageRecetteimg {
    width: 30%;
    float: right;
    border-radius: 14rem; /* arrondi à 14rem */
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 2rem;
    margin-top: 5rem;
    margin-bottom: 4rem;
    border: #ffebde solid 1.25rem; /* arrondi à 1.25rem */
}

ul {
    list-style-type: none;
    padding: 2rem; /* arrondi à 2rem */
    margin: 2rem; /* arrondi à 2rem */
    margin-left: 2rem; /* arrondi à 2rem */
    background-color: #ffebde;
    border-radius: 1rem;
    width: 30%;
}

li {
    font-family: 'MontserratRegular', sans-serif;
    font-size: 1rem;
    text-align: justify;
    padding: 1rem;
    color: #3e6b89;
    background-color: #faf2ed;
    margin: 1rem;
    border-radius: 1rem;
}

.ImageCV {
    display: flex;
    align-items: center;
    justify-content: center;
    size: 56.25%;
}

.transition-fade {
    opacity: 1;
    transition: 300ms;
    transform: translateX(0);
    transform-origin: left;
}

html.is-animating .transition-fade {
    opacity: 1;
    transform: translateX(75%);
}

html.is-leaving .transition-fade {
    opacity: 0;
    transform: translateX(0);
}

.cadre {
    width: 90%;
    max-width: 67.5rem; /* arrondi à 67.5rem */
    height: 100%;
    margin: 2.25rem auto; /* arrondi à 2.25rem */
    background-color: white;
    padding: 1.5rem;
    border-radius: 2.5rem; /* arrondi à 2.5rem */
    box-shadow: 0rem 0.188rem 0.375rem rgba(0, 0, 0, 0.1);
}


@media screen and (max-width: 768px) {
    /* Image Recette */
    .ImageRecetteimg {
        width: 80%;
        max-width: 250px;
        float: none;
        display: block;
        margin: 2rem auto;
    }

    /* Liste (ul) */
    ul {
        width: 70%;
        max-width: 400px;
        margin: 1rem auto;
    }

    /* Canevas du jeu (gameCanvas) */
    #gameCanvas {
        width: 60%;  /* Utilise 60% de la largeur de l'écran */
        height: 60vh; /* Réduit la hauteur à 60% de la hauteur de la fenêtre */
    }
}

/* Pour les écrans très petits (smartphones en portrait) */
@media screen and (max-width: 480px) {
    /* Canevas du jeu (gameCanvas) */
    #gameCanvas {
        width: 100%;  /*  100% de la largeur de l'écran */
        height: 50vh; /*  50% de la hauteur de la fenêtre */
    }

    /* Image Recette (adaptation pour petits écrans) */
    .ImageRecetteimg {
        width: 90%;  /* la taille de l'image */
        max-width: 220px; /*taille maximale de l'image */
        margin: 1rem auto; /*  marge */
    }

    /* Liste (ul) */
    ul {
        width: 70%;
        max-width: 350px;
        margin: 1rem auto;
	
    }
}
.h-captha {
  width : 90% 
}
	