.place-order {
    display: inline-block;
    box-sizing: border-box;
    background-color: #FFF;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 0;
    outline: none;
    text-align: center;
    position: fixed;
    bottom: 0;
    background-color: #172c50;
    color: white;
    border: none;
    height: 7%;
    padding-top: 4%;
}

.checkout-heading {
    margin-top: 2%;
    margin-bottom: 2%;
    text-align: center;
    font-size: 14px;
    font-weight: 300;
}

.checkout-subheading {
    text-align: center;
    font-weight: 100;
    font-size: 11px;
    color: rgb(99, 98, 98);
    margin-bottom: 16px;
}

.checkout-form {
    margin-left: 3%;
    margin-right: 3%;
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin-bottom: 20%;
}


.checkout-form label {
    font-weight: 600;
    font-size: 12px;
    font-family: sans-serif;
    margin-bottom: 2px;
}

.checkout-form input {
    width: 100%;
    margin-bottom: 20px;
    margin-top: 20px;
    font-size: 12px;
    border: none;
    outline: none;
    border-bottom: 1px solid rgb(182, 179, 179);
    font-size: 16px;
    padding: 8px
}

.checkout-form select {
    border: none;
    outline: none;
    border-bottom: 1px solid rgb(182, 179, 179);
    background-color: white;
    font-size: 16px;
    color: rgb(36, 35, 35);
    margin-bottom: 20px;
    padding-bottom: 8px;

}

#zip-state {
    width: 48%;
}

.country {
    font-size: 12px;
    font-weight: 100;
    margin-bottom: 10px;
}

#checkbox-class {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #172c50;
    align-self: flex-start;
}

.checkbox-text {
    display: contents;
    color: rgb(39, 38, 38);
    font-size: 12px;
    text-align: center;
}

#expiry-date {
    width: 32%;
}

.order-summary {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 8fr 1fr;
}

.order-summary p {
    margin-top: 10px;
    width: fit-content;
    color: rgb(48, 47, 47);
    font-size: 12px;
}

.different-address {
    display: none;
}

#checkbox-class:checked~.different-address {
    display: block;
}

.screen-view {
    display: none;
}

@media (min-width: 1500px) {
    .checkout-form {
        margin-top: 5%;
        width: 50%;
        margin-left: 25%;
        margin-right: 25%;
        margin-bottom: 10px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        column-gap: 40px;
    }

    .checkout-form>*:not(.payment-column) {
        grid-column: 1;
    }

    .payment-column {
        grid-row: 1;
        grid-column: 2;
    }

    .checkout-form input,
    .checkout-form select {
        width: 100%;
    }

    .left-section {
        grid-row: 1;
    }

    #zip-state,
    #expiry-date {
        width: 32%;
    }

    .screen-view {
        position: relative;
        box-sizing: border-box;
        border: 2px solid #000;
        background-color: #FFF;
        font-size: 14px;
        font-weight: 500;
        color: var(--app-primary-color);
        margin: 0;
        padding: 8px 44px;
        text-align: center;
        text-decoration: none;
        text-transform: uppercase;
        border-radius: 0;
        outline: none;
        display: inline;
    }

    .place-order {
        display: none;
    }
}