/* contact btn */
form a {
    background-color: #ffffff;
    color: black;
    cursor: pointer;
    text-align: center;
}

form a:hover {
    background-color: #555;
}

/* Contact ------------------------------------*/
#contact {
    background-color: var(--color-black);
    padding: 1rem;
}

#contact h2 {
    font-size: clamp(1.9rem, 10vw, 15rem);
    margin-bottom: 7px;
}

.u-shape-top {
    scroll-behavior: smooth;
    background: url('../images/marble.avif') no-repeat fixed center;
    background-size: cover;
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
    height: 101px;
}

.u-shape-top svg {
    display: block;
    width: 100%;
    /* height: 112px; */
    height: 114px;
    /* adjust as needed */
    transform: rotate(180deg);
}

#contact p {
    padding-bottom: 10px;
    font-size: .8rem;
    line-height: 13px;
}

form {
    max-width: 600px;
    margin: auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

form input,
form textarea {
    width: 100%;
    background: #fff;
    color: #000;
}

.form-message {
    color: whitesmoke;
    padding: 1rem;
    background-color: red;
    width: 100%;
    display: none;
    border-radius: 10px;
}

input,
textarea {
    padding: 0.75rem;
    margin: 0.5rem 0;
    border: none;
    border-radius: 5px;
    font-family: 'Helvetica Neue', sans-serif !important;
}

.submit-button-container {
    text-align: left;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    font-size: 0.5rem;

}

footer p {
    line-height: 11px;
}


/* Remove button styling from social links */
.socials a {
    all: unset;
    display: inline-block;
    cursor: pointer;
}

.socials a img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform .2s ease, opacity .2s ease;
}

.socials a img:hover {
    transform: scale(1.15);
    opacity: .8;

    filter: brightness(0) saturate(100%) invert(70%) sepia(12%) saturate(800%) hue-rotate(165deg) brightness(90%) contrast(92%);
}

.socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 40px 0;
}


@media screen and (min-width:300px) {
    #contact h2 {
        font-size: clamp(2.9rem, 10vw, 15rem);
    }

    form {
        padding: 2rem;
    }

    #contact p {
        font-size: .8rem;
        line-height: 13px;
    }

    footer {
        font-size: 0.9rem;
    }
}

@media screen and (min-width:1024px) {
    form {
        max-width: 1200px;
    }

    #contact h2 {
        font-size: 88px !important;
        line-height: 88px;
    }

    .socials a img {
        width: 40px;
        height: 40px;
    }

    .submit-button-container button {
        font-size: 15px;
        width: 150%;
    }

    #contact-form {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}