#searchResults1 {
    position: absolute; /* Positionné absolument par rapport à #bloc-recherche */
    max-height: 40vh;
    width: 50%;
    background-color: var(--blanc); /* Corrigé l'espace dans var() */
    overflow-y: auto;
    z-index: 1000;
    padding: 10px;
    display: none; /* Cache initialement la boîte */
    margin-top: 50px; /* Corrigé le décalage pour s'aligner sous l'input */
    border: 1px solid #ccc;
    box-sizing: border-box; 
    border-radius: 15px;
    color: white;
}

#searchResults1.active {
    display: block; /* Affiche la boîte lorsque la classe 'active' est ajoutée */
}

#searchResults1 a {
    color: white;
    text-decoration: none;
}

#searchForm1 {
    width: 1px;
    height: 1px;
    text-align: center;
}

#bloc-recherche {
    width: 100%;
    height: 50px;
    display: flex;
    margin: 0px;
    position: relative;
}

#searchInput1 {
    width: 35vw;
    height: 40px;
    padding: 10px;
    transition: .2s linear;
    border: 2.5px solid black;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 4px 4px;
    margin-left: 15vw;
}
  
#searchInput1:focus {
    outline: none;
    border: 2.5px solid black;
    box-shadow: -5px -5px 0px black;
}
  
.input-container:hover > .icon {
    animation: anim 1s linear infinite;
}
  
.description {
    font-size: small;
    color: grey;
}
  
body {
    --bleu-fonce: #23243C;
    --bleu: #4B516B;
    --nature: #9D8F9C;
    --beige: #CCB1AB;
    --blanc: #BEBAB3;
    --ombre: black;
    font-family: "Days One", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0px;
    min-width: 250px;
}

p {
    font-family: "Days One", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 5px;
}

header {
    width: 100%;
    display: flex;
    justify-content: center;
}

main {
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 100;
}

footer {
    width: 100%;
    display: flex;
    justify-content: center;
    height: 150px;
    background-color: white;
    z-index: 100;
}

#left {
    background-color: var(--bleu);
    flex-basis: 35%;
}

#right {
    display: flex;
    flex-direction: column;
    flex-basis: 65%;
    background-color: var(--beige);
    justify-content: center;
    align-content: center;
    align-items: center;
}

#top-right {
    height: 70%;
    display: flex;
    flex-direction: row; 
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    background-color: var(--beige);
}

#bottom-right {
    background-color: white;
    justify-content: space-around;
    height: 20%;
    width: 95%;
    border-radius: 25px;
    box-shadow: 6px 6px grey;
    margin-top: 3%;
}

#left-foot {
    background-color: rgb(255, 255, 255);
    width: 60%;
}

#right-foot {
    background-color: rgb(255, 255, 255);
    width: 40%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-right: 15px;
}

.head-video {
    width: 100%;
}

#left img {
    width: 40%;
    margin-left: 30%;
}

main p {
    margin-left: 10%;
    margin-right: 10%;
    text-align: center;
    color: white;
}

h3 {
    text-align: center;
    margin: 0px;
    text-decoration: underline;
    color: white;
}

h2 {
    text-align: center;
    text-decoration: underline;
    margin-top: 5px;
    color: rgb(0, 0, 0);
    font-size: 25px;
}

.contact {
    width: 60%;
    margin: 5px;
}

.bloc-contact {
    width: 20%;
}

#bloc-autre {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
}

#bloc0 {
    background-color: var(--beige);
    width: 100%;
    height: 10%;
}

#bloc1 {
    background-color: var(--bleu-fonce);
    width: 45%;
    height: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    margin-left: 2%;
    box-shadow: 4px 4px var(--ombre);
    transition: transform 0.1s ease;
}

#bloc1:hover, #bloc2:hover, #bloc3:hover, #bloc4:hover, #bloc5:hover, #bloc6:hover {
    transform: translateY(-0.30em);
    box-shadow: 7px 7px var(--ombre);
}

#bloc1:active, #bloc2:active, #bloc3:active, #bloc4:active, #bloc5:active, #bloc6:active {
    transform: translateY(0);
    box-shadow: 3px 3px var(--ombre);
}

#bloc2 {
    background-color: var(--bleu);
    width: 46%;
    height: 45%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    box-shadow: 4px 4px var(--ombre);
}

#bloc3 {
    background-color: var(--nature);
    width: 46%;
    height: 45%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    box-shadow: 4px 4px var(--ombre);
}

#bloc4 {
    background-color: var(--nature);
    width: 28%;
    height: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    box-shadow: 4px 4px var(--ombre);
}

#bloc5 {
    background-color: var(--blanc); /* Corrigé l'espace dans var() */
    width: 28%;
    height: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    box-shadow: 4px 4px var(--ombre);
}

#bloc6 {
    background-color: var(--bleu);
    width: 29%;
    height: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    box-shadow: 4px 4px var(--ombre);
}

#bloc-contenant-123 {
    background-color: var(--beige);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 99%;
    height: 55%;
    justify-content: space-around;
}

.lambda-bas {
    width: 45%;
}

.lambda-droite {
    width: 20%;
}

.lambda {
    width: 50%;
    max-height: 100%;
}

#lang-btn {
    --font-color: #fff;
    --bg-color: var(--blanc);
    --main-color: var(--bleu-fonce);
    --border-color: var(--beige); /* Corrigé l'erreur de nommage --border-color-- */
    height: 30%;
    width: 20%;
    border-radius: 5px;
    border: 2px solid var(--border-color);
    background-color: var(--bg-color);
    box-shadow: 4px 4px grey;
    font-size: 17px;
    font-weight: 600;
    color: var(--font-color);
    cursor: pointer;
    margin: 5%;
    text-align: center;
    margin-left: 30%;
}

#top-right p {
    color: white;
}

#lang-btn:hover {
    box-shadow: 0px 0px var(--main-color);
    transform: translate(3px, 3px);
}

.hidden {
    display: none !important; /* Ajout de !important pour assurer que l'élément soit bien caché */
}

main button {
    background-color: rgba(0, 0, 0, 0);
    width: 100%;
    height: 100%;
    cursor: pointer;
    border-style: none;
    max-height: 100%;
}

#right p {
    font-family: 'RabbidHighwaySignIVRegular';
    font-weight: normal;
    font-style: normal;
}
 
.mention {
    font-size: 10px;
    text-align: end;
    margin-right: 10px;
    margin-bottom: 0px;
}

#Licence {
    height: 25px;
    margin-top: 90px;
}

/* réseaux sociaux */
.button {
    cursor: pointer;
    width: 70px;
    height: 70px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(120deg, #833ab4, #fd1d1d, #fcb045);
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    transition: 0.1s;
}

.button svg {
    color: white;
    width: 35px;
    height: 35px;
    z-index: 9;
}
  
.button:nth-child(2) {
    background: linear-gradient(120deg, #02ff2c, #008a12);
}
  
.button:nth-child(3) {
    background: rgb(14, 118, 168);
}
  
.button:nth-child(4) {
    background: rgb(255, 33, 33);
}
  
.button:nth-child(5) {
    background: #9DC4BC;
}
  
.button:active {
    transform: scale(0.85);
}
  
.button::before {
    content: "";
    position: absolute;
    width: 70px;
    height: 70px;
    background-color: #212121;
    border-radius: 50px;
    z-index: -1;
    border: 0px solid rgba(255, 255, 255, 0.411);
    transition: 0.4s;
}
  
.button:hover::before {
    width: 0px;
    height: 0px;
}
  
/* bouton CV contact */
#boutton-contact {
    --font-color: #323232;
    --bg-color: #fff;
    --main-color: #323232;
    width: 30%;
    height: 35%;
    border-radius: 5px;
    border: 2px solid var(--main-color);
    background-color: var(--bg-color);
    box-shadow: 4px 4px var(--main-color);
    font-size: 17px;
    font-weight: 600;
    color: var(--font-color);
    cursor: pointer;
    margin: 5%;
    margin-bottom: 0px;
}
  
#boutton-contact:hover {
    box-shadow: 0px 0px var(--main-color);
    transform: translate(3px, 3px);
}

@media (max-width: 768px) {
    h3 {
        font-size: small;
    }

    p {
        font-size: x-small;
        margin: 5px;
        overflow-wrap: break-word;
    }
    
    header {
        background-color: black;
        height: 100vh;
    }

    .logo {
        width: 150px;
        height: auto;
    }

    #bloc0 {
        background-color: var(--beige);
    }

    #bloc1 {
        height: 55%;
        width: 90%;
        background-color: var(--bleu-fonce);
    }

    #bloc2 {
        height: 35%;
        width: 45%;
        background-color: var(--blanc);
    }

    #bloc3 {
        height: 35%;
        width: 45%;
        background-color: var(--bleu);  
    }

    #bloc-contenant-123 {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        background-color: var(--beige); /* Corrigé l'erreur var--(beige) */
        width: 100%;
        height: 60%;
    }

    #bloc4 {
        width: 27%;
        height: 25%;
        background-color: var(--bleu-fonce); 
    }
    
    #bloc5 {
        width: 27%;
        height: 25%;
        background-color: var(--nature); 
    }
    
    #bloc6 {
        width: 28%;
        height: 25%;
        background-color: var(--blanc); 
    }

    footer {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        height: 400px;
    }

    #left-foot {
        width: 90%;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        height: 60%;
    }

    #boutton-contact {
        width: 40%;
        height: 35%;
    }

    #lang-btn {
        width: 50%;
        height: 30%;
        margin-bottom: 10%;
        margin-left: 25%;
    }

    #right-foot {
        display: flex;
        flex-direction: row;
        width: 90%;
        height: 40%;
        align-items: center;
        align-content: center;
        justify-content: center;
    }
    
    #top-right p {
        color: white;
    }
    
    #bottom-right {
        margin-top: 50px;
    }
}