
/******************************************
/* Appointment Section
/*******************************************/

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

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

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

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

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

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

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

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

.appointment-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);
}

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

.appointment-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%;
    }
    .appointment-section {
        padding: 50px;
    }
    .appointment-form h2 {
        font-size: 2.4rem;
    }
   
    .appointment-form small {
        font-size: 1.2rem;
    }
    .appointment-image-section {
        height: 500px;
        justify-content: flex-start;
    }
}

@media screen and (max-width:1300px) {
    .appointment-image-section {
        height: 400px;
    }
}

@media screen and (max-width:1200px) {
    .nav-menu {
        width: 100%;
    }
    .appointment-container {
        height: fit-content;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .appointment-form {
        width: 100%;
        height: fit-content;
        padding: 40px 16px;
    }

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

    }
    .appointment-image-section p {
        font-size: 1.6rem;
    }
    .appointment-image-section {
        width: 100%;
        height: 500px;
        justify-content: flex-start;
        background-position: center;
    }
}

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

    }
    .appointment-image-section p {
        font-size: 1.2rem;
    }
}

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

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

    }
    .appointment-section {
        margin: 0;
        padding: 0 16px;
    }

}