/* Alert */

:root {
    --c-1: #ffcc00 !important;
    --c-2: #0b2817 !important;
    --c-3: #5fd38d !important;
    --c-4: #d7f4e3 !important;
    --c-5: #c8c4b7 !important;
    --c-6: #e3e2db !important;
    --c-6-a: rgb(241, 241, 233) !important;
    --c-7: #ffffff !important;
    --c-8: #b3b3b3 !important;
    --c-9: #4d4d4d !important;
    --c-10: #000000 !important;

    /* Main Header */
    --main-header-text-color: var(--c-2);

    /* Main Background Color */
    --form-div-bg-color: var(--c-7);

    /* Labels */
    --label-text-color: var(--c-10);
    --label-bg-color: var(--c-7);

    /* Sections */
    --form-sections-bg-color: var(--c-6-a);

    /* Section Headers */
    --section-header-text-color: var(--c-7);
    --section-header-bg-color: var(--c-1);

    /* Buttons */
    --submit-button-bg-color: var(--c-1);
    --submit-button-text-color: var(--c-10);
    --reset-button-bg-color: var(--c-8);
    --reset-button-text-color: var(--c-7);
}

.alert-success {
    font-size: x-large;
    font-weight: bold;
}

/* Headers */

.main-header-div {
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 160px;
    text-align: center;
}

.main-header {
    color: var(--main-header-text-color);
    font-size: 35px;
    font-weight: bold;
    margin-top: 80px;
}

.section-header {
    opacity: 0;
    background-color: var(--section-header-bg-color);
    color: var(--section-header-text-color);
    margin-top: 10px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    animation: fade-in 1s ease-out forwards, slide-in 1s ease-out;
}

#section-header-contact {
    margin-top: 10px;
}

.section-header h1 {
    font-size: 20px;
    font-weight: bold;
    padding: 10px 0 10px 0;
    margin: 0 0 0 20px;
}

/* Form */

.form {
    width: 50%;
    padding: 5px 5px 10px 5px;
    animation: slide-up .5s ease-out;
}

#section-header-contact {
    margin: 0;
}

/* Form Divs */

.form-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--form-div-bg-color);
    width: 100vw;
    padding-bottom: 40px;
}

.form-div-contact,
.form-div-house,
.form-div-bill,
.form-div-ship,
.form-div-file {
    opacity: 0;
    display: flex;
    flex-direction: column;
    background-color: var(--form-sections-bg-color);
    padding: 20px 20px;
    animation: fade-in 1s ease-out forwards .3s;
    border-top: none;
}

@keyframes slide-up {
    0% {
        transform: translateY(100px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Form Lumped Sections */

.house .bill-ship-sections-div {
    display: flex;
    flex-direction: row;
}

.full-name-bill,
.full-name-ship {
    display: flex;
    gap: 20px;
}

/* Form Fields (Labels + Inputs) */

.field {
    display: flex;
    flex-direction: column;
}

/* Labels */

.label {
    margin: 10px 0 3px 0;
    color: var(--label-text-color);
    font-weight: bold;
}

/* Form Inputs */

.form-input {
    border: none;
    padding: 5px 5px;
    background-color: rgba(255, 255, 255, 1);
    font-weight: bold;
}

/* Form Buttons */

.form-buttons-section {
    display: flex;
    justify-content: center;
}

.form-buttons-div {
    display: flex;
    margin: 20px 10px 0 0;
    justify-self: right;
}

.form-buttons button {
    padding: 10px 5px;
}

#button-submit,
#button-reset {
    border: none;
    min-width: 80px;
    padding: 5px 0;
    font-weight: bold;
}

#button-submit:hover,
#button-reset:hover {
    opacity: .8;
}

#button-submit:active,
#button-reset:active {
    transform: scale(0.9, 0.9);
}

#button-submit {
    background-color: var(--submit-button-bg-color);
    color: var(--submit-button-text-color);
    margin-left: 10px;
}

#button-reset {
    background-color: var(--reset-button-bg-color);
    color: var(--reset-button-text-color);
}

@media (max-width: 900px) {

    .form {
        width: 100%;
        max-width: 500px;
    }

    .full-name-bill,
    .full-name-ship {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 517px) {
    .form {
        border-radius: 0;
    }

    .main-header-div {
        padding: 60px 0;
    }
}