html {
    font-size: 16px;
    overflow-x: hidden;
}
body {
    max-width: 100vw;
    font-family: "Barlow";
    font-weight: 400 !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    background-color: var(--wp--preset--color--beige-clair) !important;
    color: var(--wp--preset--color--color-1) !important;
}

#loader {
    display: none !important;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}
iframe {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}


a {
    text-decoration: none;
}

h2 {
    color: var(--wp--preset--color--color-1);
    font-family: "new-spirit", serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 3vh;
    margin-bottom: 2vh;
}
@media screen and (min-width: 991px) {
    h2 {
        font-size: 1.75rem;
    }
}


/**** Block contact *****/
.block-contact {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 550px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.block-contact:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(42,43,69,0.2);
}
.block-contact .content {
    position: relative;
    z-index: 1;
    background-color: var(--wp--preset--color--beige-clair);
    border: 1px solid var(--wp--preset--color--color-1);
    box-shadow: 2px 2px 0 var(--wp--preset--color--color-1);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 90%;
    gap: 20px;
}
.block-contact .content h2 {
    margin-top: 0;
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {
    .block-contact .content {
        max-width: 80%;
        padding: 30px;
    }
}
@media screen and (min-width: 991px) {
    .block-contact {
        background-attachment: fixed;
    }
    .block-contact .content {
        max-width: 50%;
    }
}