body {
    overflow-y: auto;
}

.header {
    opacity: 1;
    transform: translateY(0);
    /*transition: var(--transition);*/
}

#main-content {
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 300px;
}

#main-content h1 {
    font-weight: 400;
    font-size: 6.25rem;
}

#main-content p {
    font-size: 1.5rem;
    margin-top: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    max-width: 670px;
}

.contact-phone-wrapper {
    margin: 0 auto;
    height: 95vh;
    width: 100%;
    max-height: 790px;
    min-height: 780px;
    margin: 0 auto;
    position: relative;
    display: inline-block;
}

.frame {
    height: 100%;
    min-width: 375px;
    max-width: 411px;
    width: 100%;
    background-color: blueviolet;
}

.contacts-wrapper {
    margin-top: 160px;
    position: relative;
    display: inline-block;
}

.contact-map {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.contacts {
    height: 100%;
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px 60px;
}

.creds-title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: #878787;
}

.creds-content {
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 2;
    letter-spacing: 1px;
}

.creds {
    display: flex;
    gap: 60px;
}

@media (max-width: 720px) {

    #main-content h1 {
        font-size: 2.75rem;
        font-weight: 600;
        margin-bottom: 10px;
    }

    #main-content p {
        font-size: 15px;
        font-weight: 400;
        line-height: 1.4;
        margin-top: 0;
        max-width: 300px;
    }

    #main-content {
        width: 100vw;
        height: 100vh;
        padding: 14px;
        align-items: center;
        justify-content: center;
        position: relative;
        background-image: url('/assets/images/contact_map_small.jpg');
        background-size: cover; /* Ensures image covers the footer */
        background-position: center; /* Centers the image */
        background-repeat: no-repeat; /* Prevents image from repeating */
    }

    .contact-bg-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }

    .contact-btn {
        height: 50px;
        padding: 18px 14px;
        color: #000;
        background-color: #FFF;
        border-radius: 16px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 15px;
        font-weight: 600;;
    }


}

