#contact-section {
    min-height: 100dvh;
    row-gap: var(--size-l);
    overflow-y: auto;
    z-index: 220;
}
#contact-section[data-status="hide"] {
    opacity: 0;
    visibility: hidden;
}

#contact_s-close {
    top: var(--size);
    right: var(--size);
    width: var(--size-m);
    height: var(--size-m);
    rotate: 45deg;
    z-index: 100;
}

#contact_s-close svg {
    fill: white;
    width: 100%;
    height: 100%;
}

.contact_s-section {
    position: relative;
    z-index: 10;
}
.contact_s-section:not(#contact_s-footer) {
    max-width: 40rem;
    margin: 0 auto;
}

#contact_s-top {padding: 0 2rem;}

#contact_s-email {margin-top: var(--size);}

#contact_s-contacts {row-gap: var(--size-m);}

.contact_s-contact > div {
    width: fit-content;
    margin: .75rem 0;
}

.contact_s-contact .--marker {
    top: 50%;
    left: -1.7rem;
    transform: translateY(calc(-50% - 1px));
    width: .7rem;
    height: .7rem;
    background: var(--c-red);
    opacity: 0;
    transition: opacity 500ms;
}

#contact-section footer {
    margin-top: 0;
    padding: 0;
}

@media only screen and (min-width: 768px) {
    #contact_s-contacts {
        height: 100%;
        justify-content: center;
        row-gap: var(--size-l);
    }

    #contact_s-top {
        position: fixed !important;
        top: 1rem;
        left: 0;
        right: 0;
    }

    #contact_s-footer {
        position: fixed !important;
        bottom: 1rem;
        left: 0;
        right: 0;
    }
}

@media (hover: hover) {
    .contact_s-contact {transition: opacity 500ms;}

    #contact_s-contacts:hover .contact_s-contact {opacity: .4;}

    #contact_s-contacts .contact_s-contact:hover,
    .contact_s-contact:hover .--marker {opacity: 1 !important;}
}