









main {
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color:#0D4251 ;
    color: #ffff;
    padding: 4rem;
    height: 70vh;
    width: 60%;
    border-radius: 120px;


    box-shadow: 5px 5px 150px rgba(0, 0, 0, 0.5);
}

.contact_title {
    font-size: 5rem;
}

.contacts {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: center;
}

.contacts a {
    color: #ffff;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 8px;
    margin: 6rem 10rem;   
    font-size: 2rem;
}


.social_media {
    margin: 4rem 0;
}

.social_media a{
    font-size: 4rem;
    bottom: 0;
    padding: 0 1rem;
}

.social_media a i {
    transition: 0.2s ease-in-out;
}

.social_media a i:hover {
    transform: scale(1.2);
}


main {
    display: flex;
    min-height: 100vh;  /* Changed from height to min-height */
    justify-content: center;
    align-items: center;
    padding: 2rem;  /* Added padding for mobile */
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #0D4251;
    color: #ffff;
    padding: 2rem;  /* Reduced padding for mobile */
    width: 90%;  /* Changed from 60% to be more responsive */
    max-width: 800px;  /* Added max-width */
    border-radius: 40px;  /* Reduced border radius for mobile */
    box-shadow: 5px 5px 150px rgba(0, 0, 0, 0.5);
}

.contact_title {
    font-size: clamp(2.5rem, 8vw, 5rem);  /* Responsive font size */
    text-align: center;  /* Center align for mobile */
}

.contacts {
    display: flex;
    width: 100%;
    flex-direction: column;  /* Stack vertically on mobile */
    align-items: center;
    gap: 2rem;  /* Add gap between items */
}

.contacts a {
    color: #ffff;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 8px;
    margin: 1rem 0;  /* Reduced margins */
    font-size: clamp(1.2rem, 4vw, 2rem);  /* Responsive font size */
}

.social_media {
    margin: 2rem 0;  /* Reduced margin */
}

.social_media a {
    font-size: clamp(2rem, 6vw, 4rem);  /* Responsive font size */
    padding: 0 0.5rem;  /* Reduced padding */
}

/* Add media query for larger screens */
@media screen and (min-width: 768px) {
    .contact {
        padding: 4rem;
        border-radius: 120px;
    }

    .contacts {
        flex-direction: row;  /* Horizontal layout on larger screens */
        justify-content: center;
    }

    .contacts a {
        margin: 6rem 10rem;
    }

    .social_media {
        margin: 4rem 0;
    }

    .social_media a {
        padding: 0 1rem;
    }
}