html{
    scroll-behavior: smooth;
}
#scroll{
    scroll-margin-top: 150px;
}


.bg-filter{
    position: relative;
}
.bg-filter::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}
.left-bot{
    position: absolute;
    bottom: 0;
    left: -30px;
    height: 50%;
    width: 30px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.left-bot rect{
    height: 100%;
    width: 30px;
}
.left-top{
    position: absolute;
    top: 0;
    left: -30px;
    height: 50%;
    width: 30px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.left-top rect{
    height: 100%;
    width: 30px;
}
.right-top{
    position: absolute;
    top: 0;
    right: -29px;
    height: 50%;
    width: 30px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.right-top rect{
    height: 100%;
    width: 30px;
}

.bottom{
    position: absolute;
    bottom: 0;
    right: 0;
    width: calc(100% + 50px);
    height: 30px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bottom rect{
    width: 100%;
    height: 30px;
}
.top{
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% + 50px);
    height: 30px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.top rect, .top-l rect{
    width: 100%;
    height: 30px;
}
.top-l{
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% + 50px);
    height: 30px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.anchor-hover{
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}
.anchor-hover:hover{
    transform: translateY(20px);
}

  .svg-arrow {
    width: 7px;
    height: 50px;
    transition: 0.3s;
  }
.contact-links div p a, .contact-links div  a{
    transition: opacity 0.3s ease-in-out;
}
.contact-links div:hover p a, .contact-links div:hover a{
    opacity: 0.5;
}

.degrade-accueil{
    position: relative;
}
.degrade-accueil::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--wp--preset--color--background)17%, transparent 39%);
    z-index: 5;
}

@media not all and (min-width: 1536px) {
    :root{
        --wp--custom--px: 140px;
        --wp--custom--gap: 100px;
        --wp--custom--block-gap: 170px;
        --wp--custom--padding-hero: 110px;
    }
}

@media not all and (min-width: 1280px) {
    :root{
        --wp--custom--px: 120px;
        --wp--custom--gap: 100px;
        --wp--custom--block-gap: 150px;
        --wp--custom--padding-hero: 100px;
    }
}
@media not all and (min-width: 1024px) {
    :root{
        --wp--custom--px: 40px;
        --wp--custom--gap: 100px;
        --wp--custom--block-gap: 60px;
        --wp--custom--padding-hero: 90px;
    }
    .slider-contact{
        font-size: 72px;
        letter-spacing: 3.6px;
    }
}
@media not all and (min-width: 768px) {
    :root{
        --wp--custom--px: 40px;
        --wp--custom--gap: 85px;
        --wp--custom--block-gap: 40px;
        --wp--custom--padding-hero: 80px;
    }
    .slider-contact{
        font-size: 48px;
        letter-spacing: 2.4px;
    }
    .left-bot rect, .left-bot, .left-top rect, .left-top{
        width: 20px;
        left: -20px;
    }
    .right-top rect, .right-top{
        width: 20px;
        right: -19px;
    }
    .bottom rect, .bottom, .top rect, .top, .top-l, .top-l rect{
        height: 20px;
    }
    h1{
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media not all and (min-width: 640px) {
    :root{
        --wp--custom--px: 20px;
        --wp--custom--gap: 100px;
        --wp--custom--block-gap: 40px;
        --wp--custom--padding-hero: 10px;
    }
    .slider-contact{
        font-size: 36px;
        letter-spacing: 1.8px;
    }
}