
/******************************************
/* Email Section
/*******************************************/

.email-section {
    width: 100%;
    margin-top: 50px;
}

.email-container {
    width: 100%;
    max-width: var(--max-width);
    height: 75vh;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2%;
}

.email-form {
    width: 39%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
    padding: 50px;
    margin: 50px;
    border: 1px solid var(--pink);
    border-radius: 8px;
}

.email-form h2 {
    font-size: var(--heading);
    color: var(--black);
    margin-bottom: 20px;
}

.email-form small {
    font-size: var(--paragraph);
    font-weight: 200;
    color: var(--black);
}

.email-form-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-top: 50px;
}

.email-form-box label {
    color: var(--black);
    width: 100%;
}

.email-form-box label input {
    background: none;
    outline: none;
    border: none;
    border-bottom: 1px solid var(--black);
    width: 100%;
}

.email-text-area  {
    background: none;
    outline: none;
    border: none;
    border-bottom: 1px solid var(--black);
    width: 100%;
}

.btn-submit {
    background: var(--green);
    color: var(--ghostwhite);
    outline: none;
    border: 1px solid var(--ghostwhite);
    border-radius: 8px;
    padding: 12px 20px;
    width: 100%;
}

.btn-submit:hover {
    background: var(--pink);
}

.email-image-section {
    width: 59%;
    height: 100%;
    background-image: url(../images/1967-ford-mustang.webp);
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 50px;
}

.email-image-section p {
    font-size: 1.4rem;
    color: var(--whitesmoke);
    font-weight: 200;
    text-align: justify;
    width: 80%;
    background: rgba(0,0,0,0.1);
    padding: 15px 40px;
}

/******************************************
/* Media Queries
/*******************************************/

@media screen and (max-width:1700px) {
    .nav-menu {
        width: 100%;
    }
    .email-section {
        padding: 50px;
    }
    .email-form h2 {
        font-size: 2.4rem;
    }
   
    .email-form small {
        font-size: 1.2rem;
    }
}
@media screen and (max-width:1200px) {
    .nav-menu {
        width: 100%;
    }
    .email-container {
        height: fit-content;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .email-form {
        width: 100%;
        height: 700px;
    }

    .email-section {
        padding: 50px;
    }
    .email-form h2 {
        font-size: 2.4rem;
        margin-bottom: 10px;
    }
    
    .email-form small {
        font-size: 1.6rem;

    }
    .email-image-section p {
        display: none;
    }
    .email-image-section {
        width: 100%;
        height: 500px;
        justify-content: flex-start;
        background-position: center;
    }
}

@media screen and (max-width:960px) {

    .hamburger {
        display: flex;
        align-items: center;
    }

    .closeham {
        display: none;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: var(--green);
        padding: 20px;
        border-radius: 0 0 0 8px;
    }

}
@media screen and (max-width:768px) {
    .email-section {
        margin: 0;
    }
    .email-form h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .email-form small {
        font-size: 1.2rem;

    }
}

@media screen and (max-width:635px) {
    .email-image-section {
        height: 300px;
    }
}

@media screen and (max-width:480px) {
    .email-image-section {
        height: 200px;
    }
    .email-form h2 {
        font-size: 1.2rem;
    }
    .email-section {
        padding: 0 16px;
    }
    .email-form small {
        font-size: 1rem;

    }
    .footer-contacts a{
        font-size: 1.2rem;
    }
    .bottom-footer-container p {
        font-size: 1rem;
        width: 100px;
    }
    .bottom-footer-container ion-icon {
        font-size: 1.2rem;
        padding: 5px;
    }
}
