.visual_section{
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
    padding-top: 150px;
    padding-bottom: 150px;
    padding-left: 18%;
    padding-right: 18%;
}

.visual_section.background{
    background: var(--component);
}

/* --- Visual section decoration --- */

.visual_section_decoration{
    width: 100%;
    height: 420px;
    margin-top: 60px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transform-origin: bottom;
    will-change: transform;
    transition: 1s;
}

.visual_section_decoration.visible{
    opacity: 1;
    transform: none;
}

/* image */

.visual_section_decoration img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* --- MEDIA --- */

@media screen and (max-width: 820px) {
    
    .visual_section{
        padding-top: 90px;
        padding-bottom: 90px;
        padding-left: 8%;
        padding-right: 8%;
    }

    /* --- Leak section decoration --- */

    .visual_section_decoration{
        height: 400px;
        margin-top: 0;
    }
}