body {
    margin: 0;
    padding: 0;

}

section {
    padding-top: 5%;
}

.flex {
    width: 100%;
    height: 100%;
    display: flex;
}

.left {
    width: 35%;
    padding: 0 5%;
}

.right {
    width: 65%;
    padding: 0 5%;
}

.terms_under {
    width: 100%;
    padding: 0 20%;
}

.title {
    font-size: 26px;
    display: flex;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 3%;
}

.pricing__card {
    margin-top: 5%;
    width: 100%;
    height: 120px;
    border: 2px solid #335075;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

.back__btn {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 26px;
    color: #335075;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #335075;
    border-radius: 14px;
    padding: 10px;
}

#home__span {
    margin-left: 10px;
    font-weight: bold;
}

.pricing__card__left {
    height: 100%;
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
}

.pricing__card__center {
    height: 100%;
    width: 60%;
    text-align: center;
    display: grid;
    justify-content: center;
    align-content: center;
}

.pricing__card__right {
    height: 100%;
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
}

.description__area {
    font-size: 28px;
    padding: 0 4%;
}

#submitApplication {
    background-color: #335075;
    color: #f9f9f9;
    padding: 10px 15px;
    width: fit-content;
    border: none;
    border-radius: 18px;
    font-size: 26px;
    cursor: pointer;
    font-family: var(--body-font);
    font-weight: bold;
    margin: 30px 70px;
}

#zip_from {
    height: 52px;
}

#zip_to {
    height: 52px;
}

#checklist {
    --text: #414856;
    --check: #335075;
    --disabled: #335075;
    --width: 100%;
    --border-radius: 5px;
    border-radius: var(--border-radius);
    position: relative;
    padding: 0 20px;
    display: grid;
    border: 1px solid #aaa;
    grid-template-columns: 30px auto;
    align-items: center;
    margin: 12px 0;
    height: 52px;
    width: 100%;
}

#checklist label {
    color: var(--text);
    position: relative;
    cursor: pointer;
    display: grid;
    align-items: center;
    width: fit-content;
    transition: color 0.3s ease;
    font-size: 18px;
}

#checklist label::before, #checklist label::after {
    content: "";
    position: absolute;
}

#checklist label::before {
    height: 2px;
    width: 8px;
    left: -27px;
    background: var(--check);
    border-radius: 2px;
    transition: background 0.3s ease;
}

#checklist label:after {
    height: 4px;
    width: 4px;
    top: 8px;
    left: -20px;
    border-radius: 50%;
}

#checklist input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    height: 15px;
    width: 15px;
    outline: none;
    border: 0;
    margin: 0 15px 0 0;
    cursor: pointer;
    display: grid;
    align-items: center;
}

#checklist input[type="radio"]::before, #checklist input[type="radio"]::after {
    content: "";
    position: absolute;
    height: 2px;
    top: auto;
    background: var(--check);
    border-radius: 2px;
}

#checklist input[type="radio"]::before {
    width: 0;
    right: 60%;
    transform-origin: right bottom;
}

#checklist input[type="radio"]::after {
    width: 0;
    left: 40%;
    transform-origin: left bottom;
}

#checklist input[type="radio"]:checked::before {
    animation: check-01 0.4s ease forwards;
}

#checklist input[type="radio"]:checked::after {
    animation: check-02 0.4s ease forwards;
}

#checklist input[type="radio"]:checked + label {
    color: var(--disabled);
    animation: move 0.3s ease 0.1s forwards;
    font-weight: bold;
}

#checklist input[type="radio"]:checked + label::before {
    background: var(--disabled);
    animation: slice 0.4s ease forwards;

}

#checklist input[type="radio"]:checked + label::after {
    animation: firework 0.5s ease forwards 0.1s;
}

@keyframes move {
    50% {
        padding-left: 8px;
        padding-right: 0;
    }
    100% {
        padding-right: 4px;
    }
}

@keyframes slice {
    60% {
        width: 100%;
        left: 4px;
    }
    100% {
        width: 0;
        left: -2px;
        padding-left: 0;
    }
}

@keyframes check-01 {
    0% {
        width: 4px;
        top: auto;
        transform: rotate(0);
    }
    50% {
        width: 0;
        top: auto;
        transform: rotate(0);
    }
    51% {
        width: 0;
        top: 8px;
        transform: rotate(45deg);
    }
    100% {
        width: 5px;
        top: 8px;
        transform: rotate(45deg);
    }
}

@keyframes check-02 {
    0% {
        width: 4px;
        top: auto;
        transform: rotate(0);
    }
    50% {
        width: 0;
        top: auto;
        transform: rotate(0);
    }
    51% {
        width: 0;
        top: 8px;
        transform: rotate(-45deg);
    }
    100% {
        width: 10px;
        top: 8px;
        transform: rotate(-45deg);
    }
}

@keyframes firework {
    0% {
        opacity: 1;
        box-shadow: 0 0 0 -2px #4f29f0, 0 0 0 -2px #4f29f0, 0 0 0 -2px #4f29f0, 0 0 0 -2px #4f29f0, 0 0 0 -2px #4f29f0, 0 0 0 -2px #4f29f0;
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        box-shadow: 0 -15px 0 0 #4f29f0, 14px -8px 0 0 #4f29f0, 14px 8px 0 0 #4f29f0, 0 15px 0 0 #4f29f0, -14px 8px 0 0 #4f29f0, -14px -8px 0 0 #4f29f0;
    }
}


@media screen and (min-width: 767px) {
    body {
        margin: 0;
    }

    .section {
        padding: 7rem 0 2rem;
    }
}

@media (max-width: 821px) {

    section {
        height: fit-content;
        margin-bottom: 10%;
    }

    .flex {
        display: grid;
        margin-top: 10%;
    }

    .left {
        width: 100%;
    }

    .right {
        margin-top: 8%;
        width: 100%;
    }

    .description__area {
        font-size: 24px;
        padding: 0 4%;
    }

    .terms_under {
        width: 100%;
        padding: 0 5%;
    }
}

@media screen and (min-width: 1921px) and (max-width: 2561px) {
    .back__btn {
        font-size: 36px;
    }

    .title {
        font-size: 30px;
    }

    .per_hour {
        font-size: 24px;
    }

    .pricing__card {
        font-size: 30px;
    }

    .pricing__card__left {
        font-size: 40px;
    }

    .pricing__card__right {
        font-size: 30px;
    }

    .description__area {
        font-size: 37px;
    }

    .form__container {
        max-width: 100%;
    }

    .title {
        font-size: 34px;
    }

    .input-field label {
        font-size: 26px;
    }

    .input-field input, select {
        font-size: 24px;
        height: 72px;
    }

    .input-field option {
        font-size: 12px;
    }

    .form_p {
        font-size: 28px;
    }

    #checklist {
        height: 72px;
    }

    #checklist label {
        font-size: 24px;
    }

    #zip_from {
        height: 72px;
    }

    #zip_to {
        height: 72px;
    }

    #submitApplication {
    font-size: 34px;
}
    .terms_under {
    font-size: 30px;
}
}