body {
    height: auto;
}

section {
    width: 100%;
}

.card {
    box-shadow: none;
    margin: 0;
    padding: .75rem 1rem .75rem 1rem;
    background-color: var(--page-header-hex);
}

.hero-image {
    width: 100%;
    max-width: calc(816px);
    overflow: hidden;
}

.product-box, .hero-section, .features, .benifits, .call-to-action {
    margin-bottom: 5rem;
}

.testimonials {
    margin-bottom: 5rem;
    width: unset;
    margin-bottom: 5rem;
}

.product-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.product-box > img, .product-box > form {
    width: 45%
}

.product-box > form {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    text-align: left;
}

.product-box > form > select {
    margin-bottom: 1rem;
    font-size: 1rem;
    max-width: 100%;
}

#modal-content > form{
    width: 100%;
    height: min-content;
    background-color: var(--page-header-hex);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#modal-content > form > .btn{
    display: inline-block;
}

#modal-content > form > select, #modal-content > form > input {
    margin-bottom: 2rem;
}

#modal-content > form > label {
    margin-bottom: .5rem;
}

select, input {
    border: 1px solid black;
}

#modal-content input[type="checkbox"] {
    vertical-align: middle;
    margin-left: 5px; /* Optional: add some space between the checkbox and the label */
    width: auto; /* Ensure the width is appropriate */
    height: auto; /* Ensure the height is appropriate */
    transform: scale(1.2); /* Adjust the size if needed */
    -webkit-appearance: none; /* Remove default styling in some browsers */
    appearance: none; /* Remove default styling in modern browsers */
    background-color: #fff;
    border: 1px solid #d1d3e2;
    border-radius: 2px;
    display: inline-block;
    position: relative;
  }
  
  #modal-content input[type="checkbox"]:checked {
    background-color: #4e73df;
    border-color: #4e73df;
  }
  
  #modal-content input[type="checkbox"]:checked::before {
    content: '✔';
    color: #fff;
    font-size: 0.9em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

.btn {
    margin: 0;
    margin-bottom: .5rem;
    min-width: 150px;
}

.btn:not(:last-child) {
    margin-right: 1rem;
}

.row {
    height: min-content;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.testimonials > .card:not(:last-child) {
    margin-bottom: 2rem;
}

.call-to-action {
    padding-left: 1rem;
    border-left: 4px solid var(--brand-blue-hex);
}

.feature-list {
    margin-left: 1rem;
}

.feature-list > li:not(:last-child) {
    margin-bottom: 1rem;
}

a.btn {
    display: inline-block;
    margin-top: 1rem;
    animation: pulse 2s ease infinite;
}

blockquote > figcaption {
    padding-top: 1rem;
    text-align: right;
}

.features {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.features > ul {
    list-style-type: none;
    text-align: center;
    margin: auto
}

.carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
    height: 400px;
    overflow: visible;
    position: relative;
    margin: 1rem;
}

.carousel > img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0;
    position: absolute;
    box-shadow: var(--shadow);
}

.skill-names {
    margin: 0;
    height: 100px;
    width: 100%;
}

.carousel > h3 {
    opacity: 0;
    position: absolute;
    width: 100;
    text-align: center;
}

.carousel > [data-active="true"] {
    opacity: 1;
}

.carousel > img {
    transition: all 500ms ease;
}

@media screen and (max-width: 1148px) {
    .main-content {
        padding-top: 1rem;
    }

    .sidebar.left {
        display: block;
        width: 100%;
        max-width: calc(816px + 2rem);
        height: auto;
        max-height: unset;
        position: static;
        text-align: left;
        padding: 1rem;
        margin: 0rem;
        align-self: center;
    }

    .sidebar.left>ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
    }

    .center-content {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 700px) {
    .product-box > img, .product-box > form {
        width: 100%;
    }

    .product-box > form {
        align-items: center;
        text-align: center;
        text-wrap: balance;
    }

    .row {
        justify-content: center;
    }

    .features > ul {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .carousel {
        width: 100%;
        margin: 1rem 0 0 0;
    }

    #modal-content > form {
        padding: 0;
    }
}