﻿.contact {
    background-color: #eeeeee;
    padding-top: 16rem;
    padding-bottom: 8rem;
}
.contact .inner {
    background-color: #ffffff90;
    padding-top: 9rem;
    padding-bottom: 3rem;
}
.page-title {
    text-align: center;
    font-size: 3rem;
    margin: 0 auto;
    margin-bottom: 3rem;
    border: none;
    width: fit-content;
    padding: 0 3rem;
}

form {
    width: 90rem;
    max-width: calc(100% - 0.8rem);
    background-image: url('../img/background/form-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 6rem 7.3rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
form .input-row {
    display: flex;
    gap: 2rem;
}
form .input-row > div {
    width: 100%;
}
form .input-row.double-col > div {
    width: calc((100% - 2rem) / 2);
}
form .input-row label {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 1rem;
    text-align: center;
}
form .input-row label span {
    color: #ff780a;
}
form .input-row input,
form .input-row textarea {
    font-size: 1.8rem;
    width: 100%;
    height: 3.5rem;
    padding: 0 0.5rem;
    outline: none;
}
form .input-row input.submit-btn,
form .input-row textarea.submit-btn {
    display: block;
    width: 30rem;
    height: 4rem;
    margin: 6.5rem auto 0;
    background-color: #ec709a;
    border: none;
    font-weight: bold;
    cursor: pointer;
    color: white;
    font-weight: bold;
}
form .input-row textarea {
    resize: none;
    height: 14rem;
}
form .input-row.checkbox > div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}
form .input-row.checkbox input {
    width: 2.2rem;
    height: 2.2rem;
    background-color: transparent;
}
form .input-row.checkbox label {
    font-size: 1.5rem;
    margin-bottom: 0;
}
form .input-row.checkbox label a {
    color: white;
}

.contact-div {
    padding-bottom: 10rem;
}

form .error {
    font-size: 1.6rem;
    font-weight: 400;
    color: #ff780a;
}

@media screen and (max-width: 767px) {
    .contact {
        background-color: #eeeeee;
        padding-top: 10rem;
        padding-bottom: 4rem;
    }
    .contact .inner {
        background-color: #ffffff90;
        margin: 4rem auto;
        margin-bottom: 0;
        padding-top: 5rem;
        padding-bottom: 4rem;
    }
    form {
        gap: 4rem;
        padding: 5rem 3.5rem;
    }
    .page-title {
        text-align: center;
        font-size: 3rem;
        margin: 0 auto;
        margin-bottom: 1.5rem;
        border: none;
        width: fit-content;
        padding: 0 1.5rem;
    }
    form .input-row label {
        font-size: 2rem;
    }
    form .input-row input,
    form .input-row textarea {
        font-size: 2rem;
        height: 4rem;
        padding: 0 0.5rem;
    }

    form .input-row textarea {
        height: 12rem;
    }
    form .input-row.checkbox > div {
        gap: 1rem;
    }
    form .input-row.checkbox input {
        width: 2rem;
        height: 2rem;
        background-color: transparent;
    }
    form .input-row.checkbox label {
        font-size: 2rem;
        margin-bottom: 0;
    }
    form .input-row input.submit-btn,
    form .input-row textarea.submit-btn {
        display: block;
        width: 35rem;
        height: 5rem;
        margin: 1.5rem auto 0;
        background-color: #ec709a;
        border: none;
        font-weight: bold;
        cursor: pointer;
        border-radius: 10rem;
    }
    .contact-div {
        padding-bottom: 20rem;
    }
}
