/*-- -------------------------- -->
<---          Landing           -->
<--- -------------------------- -*/

#hero-contact {
    background-color: var(--backgroundYellow);
    color: var(--primaryGray);
    padding: 64px;
    text-align: center;
}

/*-- -------------------------- -->
<---        CONTACT             -->
<--- -------------------------- -*/


#contact {
    background-color: #F5F5F5;
}

.contact-cs-title {
    margin-bottom: 16px;
    font-size: clamp(2rem, 6vw, 3rem);
    color: var(--headingText);
}

.contact-cs-h3 {
    padding-bottom: 25px;
    opacity: 0.8;
    font-size: clamp(1.5rem, 3vw, 2rem);

}

.cs-text a {
    color: var(--cs-text);
    text-decoration: none;
}

.contact-form-wrapper, 
.details {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribute the space evenly in the container */
    min-height: 100%; /* Force the container to at least full height */
}

.details .button-solid {
    margin-right: auto;
}

.contact-form-wrapper {
    background-color: #fff;
    box-shadow: 0 0 29px 0 rgb(0 0 0 / 9%);
    border-radius: 5px;
    padding: 25px;
    max-width: 475px;
}

#contact .cs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.contact-input {
    color: var(--bodyText);
    font-size: 16px;
    margin-bottom: 16px;
    opacity: 0.6;
    width: 100%;
    border: 1px solid #ccc;
    margin: 0 0 15px;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 5px;
}

textarea {
    height: 100px;
    font: 400 12px/16px "Open Sans",Helvetica,Arial,sans-serif;
    resize: none;
    margin-bottom: 30px;
    max-width: 100%;
}

.form-submit {
    display: flex;
    justify-content: end;
}

/*details */

.details {
    margin-top: 40px;
    padding: 25px;
    background-color: #fff;
    box-shadow: 0 0 29px 0 rgb(0 0 0 / 9%);
    width: 100%;
    max-width: 475px;
    border-radius: 5px;
}

#imagina {
    font-style: italic;
}
.contact-button-solid {
    margin: 10px 0px 30px 0px;
    padding: 15px 30px;
    display: inline-block;
    border-radius: 5px;
}

@media only screen and (min-width: 1024px) {

    #contact .cs-container {
        display: grid;
        grid-template-columns: 1fr 1fr; /* This will create two equal-width columns */
        gap: 20px; /* This is the space between the grid items */
        max-width: 970px; /* Adjust this value according to your needs */
        margin: 0 auto; /* This will center the .cs-container */
    }

    .details {
        margin-top: 0px;
        margin-left: 40px;
    }

    .details {
        height: 508px;
    }

}

