main {
    padding: 2rem;
}

input.input-text:focus,
textarea:focus {
    border: 1px solid black !important;
    outline: none !important;
    box-shadow: none !important;
}

section#checkout-title {
    width: 13rem;
    margin-bottom: 4rem;
}

section h2 {
    color: var(--black);
    font-size: 35.8px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: normal;
    text-align: center;
}

.surround {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.surround .surrounded {
    padding: 8px 16px;
    border: none;
    background: none;
    outline: none;
    color: black;
    text-decoration: none;
}

.surround svg {
  position: absolute;
  left: 0;
  top:0 !important;
  width: 100%;
  pointer-events: none;
}

#svg-title {
  stroke: black;
  stroke-width: 3px;
}

.surround path {
    stroke-dasharray: 0 0;
    display: none;
}

.surround:hover path {
    animation: draw 1s forwards;
    display: block;
}

.woocommerce .woocommerce-checkout {
  font-family: var(--font-family-baskerville-regular);
  width: 50vw;
  max-width: 50vw;
  margin: auto;
}

.woocommerce .woocommerce-checkout .col2-set {
  width: 100%;
  display: flex;
  flex-wrap: wrap !important;
}

.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2 {
    float: none;
    width: 50%;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3 {
    margin-bottom: 2rem;
    width: 27rem;
    font-size: 2rem;
}

h3#order_review_heading {
    font-size: 2rem;
    width: 27rem;
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.woocommerce form .form-row-first, 
.woocommerce form .form-row-last {
    width: 48% !important;
}

#billing_country_field,
#billing_state_field,
#billing_address_1_field,
#billing_address_2_field,
#billing_city_field,
#billing_postcode_field,
#billing_phone_field,
#billing_email_field {
    width: 96% !important;
}

#shipping_country_field,
#shipping_state_field,
#shipping_address_1_field,
#shipping_address_2_field,
#shipping_city_field,
#shipping_postcode_field,
#shipping_phone_field,
#shipping_email_field {
    width: 96% !important;
}

textarea#order_comments {
    background-color: transparent;
    color: black;
    height: 6rem;
}

.woocommerce #order_review {
  width: 80%;
  float: left;
  margin-top: 2rem;
}

#order_comments_field label {
    display: none;
}

.btn-custom-order {
    position:relative;
    margin-top:-2.6rem;
}


@media (max-width: 1500px) {
    .woocommerce-billing-fields h3,
    .woocommerce-shipping-fields h3,
    h3#order_review_heading {
        width: 25rem;
        font-size: 1.7rem;
    }
}

@media (max-width: 1250px) {
    .woocommerce .woocommerce-checkout {
        width: 70vw;
        max-width: 70vw;
    }

    #billing_country_field,
    #billing_state_field,
    #billing_address_1_field,
    #billing_address_2_field,
    #billing_city_field,
    #billing_postcode_field,
    #billing_phone_field,
    #billing_email_field {
        width: 48% !important;
    }

    #shipping_country_field,
    #shipping_state_field,
    #shipping_address_1_field,
    #shipping_address_2_field,
    #shipping_city_field,
    #shipping_postcode_field,
    #shipping_phone_field,
    #shipping_email_field {
        width: 48% !important;
    }
}

@media (max-width: 1025px) {
    .woocommerce .woocommerce-checkout {
        width: 80vw;
        max-width: 80vw;
    }

    .woocommerce-billing-fields h3,
    .woocommerce-shipping-fields h3,
    h3#order_review_heading {
        width: 40vw;
    }

    .woocommerce .woocommerce-checkout .col2-set {
        flex-wrap: nowrap !important;
    }

    #billing_country_field,
    #billing_state_field,
    #billing_address_1_field,
    #billing_address_2_field,
    #billing_city_field,
    #billing_postcode_field,
    #billing_phone_field,
    #billing_email_field {
        width: 96% !important;
    }

    #shipping_country_field,
    #shipping_state_field,
    #shipping_address_1_field,
    #shipping_address_2_field,
    #shipping_city_field,
    #shipping_postcode_field,
    #shipping_phone_field,
    #shipping_email_field {
        width: 96% !important;
    }
}

@media (max-width: 768px) {
    section#checkout-title {
        margin-left: -1rem;
    }

    .woocommerce .woocommerce-checkout .col2-set {
        display: block;
    }

    .woocommerce .col2-set .col-1,
    .woocommerce .col2-set .col-2 {
        width: 100%;
    }

    .woocommerce-billing-fields h3,
    .woocommerce-shipping-fields h3,
    h3#order_review_heading {
        width: 100%;
        font-size: 2rem;
    }

    h3#order_review_heading {
        margin-top: 3rem;
    }

    .woocommerce #order_review {
        width: 100%;
    }
}