.hero {
    background-color: var(--wc-dark);
    position: relative;
}

.hero>div {
    color: var(--wc-white);
    z-index: 1;
    min-height: 100%;
}

.hero>div::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: var(--url);
    background-size: cover;
    opacity: 0.25;
    z-index: -2;
}

.hero .hero-content picture {
    z-index: -1;
}

#connect,
#contact-form {
    scroll-margin-top: var(--scroll-mt);
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--navbar-height) + 1rem);
}

#connect .links {
    --o: 0.5rem;
    gap: calc(2 * var(--o));
}

#connect .links>* {
    /* flex: 1 0 calc(50% - calc(2 * var(--o))); */
    flex: 1 0 100%;
    background-color: var(--wc-light-white);
    /* margin: var(--o); */
    border-radius: calc(2 * var(--o));
    gap: var(--o);
    padding: 1rem;
    transition: all ease 300ms;
}

#connect .links>*:hover {
    background-color: var(--wc-dark);
    color: var(--wc-white);
}

#connect .links a {
    text-decoration: none;
    color: var(--wc-dark);
    --s: 60px;
}

#connect .links a span {
    font-size: var(--global-size);
}

#connect .links a.address p {
    margin-bottom: 0;
}

#connect .links a div:nth-child(1) {
    flex: 0 0 var(--s);
}

#connect .links a div:nth-child(1) img {
    transition: all ease 500ms;
}

#connect .links a div:nth-child(1) img:nth-child(2) {
    position: absolute;
    top: 100%;
    left: 0;
    height: 100%;
    width: 100%;
}

#connect .links a:hover div:nth-child(1) img:nth-child(2) {
    top: 0%;
}

#connect .links a div:nth-child(2) {
    flex: 1 0 calc(100% - var(--o) - var(--s));
}

#contact-form {
    background: linear-gradient(to right, var(--wc-green-2), var(--wc-green) 30%, var(--wc-green) 70%, var(--wc-green-2));
    background-size: 100%;
    background-position: center;
    border-radius: 1rem;
    padding: 1rem;
    color: var(--wc-white);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    transition: all ease 1s;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
    color: var(--wc-dark);
}

#contact-form:has(form .submit-btn:hover) {
    background-size: 200%;
}

#contact-form ul li small {
    color: white;
    background-color: var(--bs-danger);
    padding: 0.2rem;
}

@media screen and (min-width: 768px) {
    .hero {
        aspect-ratio: 3;
    }

    .hero .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: inherit;
    }

    .hero .hero-content picture {
        position: absolute;
        top: 0;
        left: 0;
    }

    .hero .hero-content .subheading {
        max-width: 70%;
    }

    #contact-form {
        padding: 5%;
    }
}

@media screen and (min-width:992px) {
    #contact-form {
        padding: 5% 10%;
    }
}