.home .home-wrapper h1 {
    margin-bottom: unset;
}

.home .home-wrapper .tagline {
    font-size: 20px;
    margin-bottom: 0.5rem;
}

.home,
.masthead.about {
    min-height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home {
    background-image: url("../assets/img/skc2.jpg");
}

.masthead.about {
    background-image: url("../assets/img/skc.png");
}

.card-drop-shadow {
    background: linear-gradient(to right, hsl(0, 0%, 0%) 0%, hsla(0, 0%, 0%, 0.964) 7.4%, hsla(0, 0%, 0%, 0.918) 15.3%, hsla(0, 0%, 0%, 0.862) 23.4%, hsla(0, 0%, 0%, 0.799) 31.6%, hsla(0, 0%, 0%, 0.73) 39.9%, hsla(0, 0%, 0%, 0.655) 48.2%, hsla(0, 0%, 0%, 0.577) 56.2%, hsla(0, 0%, 0%, 0.497) 64%, hsla(0, 0%, 0%, 0.417) 71.3%, hsla(0, 0%, 0%, 0.337) 78.1%, hsla(0, 0%, 0%, 0.259) 84.2%, hsla(0, 0%, 0%, 0.186) 89.6%, hsla(0, 0%, 0%, 0.117) 94.1%, hsla(0, 0%, 0%, 0.054) 97.6%, hsla(0, 0%, 0%, 0) 100%);
    padding: 20px;
    border-radius: 20px;
}

.card-drop-shadow>*:not(h1) {
    color: #fff;
}

.fancy {
    background: linear-gradient(to right,
            hsl(98 100% 62%),
            hsl(204 100% 59%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.image-container {
    min-width: clamp(460px, 90vmin, 60rem);
    aspect-ratio: 16 / 9;
    margin: auto;
    position: relative;
}

@media (max-height: 600px) {
    .image-container {
        height: 100vh;
    }
}

.main {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article {
    display: grid;
    isolation: isolate;
    position: relative;
    height: 100%;
}

.article>* {
    grid-row: 1 / -1;
    grid-column: 1 / -1;
}

.article[hidden] {
    display: none;
}

figure {
    z-index: -1;
    height: 100%;
    grid-row: 1 / -1;
}

.image {
    display: block;
    max-width: 100%;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.text__content {
    display: grid;
    gap: 1rem;
    width: 50ch;
    position: absolute;
    top: 4em;
    left: 3em;
    margin-inline: 1rem;
}

.title {
    font-size: min(2.3em, 5vw);
    opacity: 0;
    color: dodgerblue;
}

.description {
    width: 45ch;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #000;
    opacity: 0;
}

.cta-btn {
    place-self: start;
    display: inline-flex;
    font-size: 1.125rem;
    background-color: dodgerblue;
    color: #fff;
    border: 0;
    opacity: 0;
    border-radius: 10vh;
    padding: 0.5em 1.25em;
}

.aside {
    position: relative;
    bottom: 180px;
    display: flex;
    background-color: hsl(188, 8%, 47%, 0.2);
    height: 10em;
    width: calc(100% - 40px);
    margin: 0 auto;
}

[role="tablist"] {
    flex: 1;
    display: flex;
    margin: 1rem;
    gap: 1rem;
}

.thumbnail__btn {
    display: inline-flex;
    width: calc(100% / 5);
    background: var(--thumbnail);
    background-position: center;
    background-size: cover;
    border: none;
}

.thumbnail__btn:nth-of-type(1) {
    --thumbnail: url(../assets/interior/1.jpg);
}

.thumbnail__btn:nth-of-type(2) {
    --thumbnail: url(../assets/interior/2.jpg);
}

.thumbnail__btn:nth-of-type(3) {
    --thumbnail: url(../assets/interior/3.jpg);
}

.thumbnail__btn:nth-of-type(4) {
    --thumbnail: url(../assets/interior/4.jpg);
}

.thumbnail__btn:nth-of-type(5) {
    --thumbnail: url(../assets/interior/5.jpg);
}

[role="tablist"]:where(:focus-visible) [aria-selected="false"] {
    box-shadow: 0 0 0 4rem #fff8 inset;
    transition: opacity 266ms ease;
}

[aria-selected="false"]:where(:focus, :hover) {
    outline: 2px solid dodgerblue;
    scale: 0.93;
    box-shadow: 0 0 0 4rem #0007 inset !important;
}

[aria-selected="true"] {
    transform: translateY(-1rem);
    outline: 2px solid dodgerblue;
    outline-offset: 3px;
    box-shadow: 0 0.5rem 0.75rem 0.125rem #0007;
    transition: transform 166ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

.article:not([hidden]) .title {
    animation: titleAnim 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes titleAnim {
    0% {
        letter-spacing: 0.5em;
        transform: translateX(1em);
        filter: blur(0.75em);
        opacity: 0;
    }

    27.5% {
        filter: blur(0.0625em);
    }

    100% {
        letter-spacing: initial;
        transform: translateX(0);
        filter: unset;
        opacity: 1;
    }
}

.article:not([hidden]) .description {
    animation: textAnim 600ms cubic-bezier(0.39, 0.575, 0.565, 1) forwards;
    animation-delay: 400ms;
}

@keyframes textAnim {
    0% {
        transform: translateY(1em);
        filter: blur(0.5em);
        opacity: 0.125;
    }

    100% {
        transform: translateY(0);
        filter: unset;
        opacity: 1;
    }
}

.article:not([hidden]) .cta-btn {
    animation: btnAnim 600ms cubic-bezier(0.39, 0.575, 0.565, 1) forwards;
    animation-delay: 800ms;
}

@keyframes btnAnim {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.center {
    text-align: center;
}

.filterContainer {
    margin-top: 20px;
    overflow: hidden;
}

.filterContainer .filterDiv {
    display: none;
}

.filterContainer .filterDiv.show {
    display: block;
}

/* Style the buttons */
#filterBtnContainer .btn {
    border: none;
    outline: none;
    padding: 12px 16px;
    margin: 5px;
    cursor: pointer;
}

.card {
    border-radius: 0;
}

.cart-items .row {
    height: 135px;
    margin: 0;
}

/* Checkout */
.checkout #logo {
    font-family: 'Dancing Script';
    font-weight: bold;
    font-size: 1.6rem;
}

.checkout .row {
    margin: 0;
}

.checkout .icons {
    margin-left: auto;
}

.checkout form span {
    color: rgb(179, 179, 179);
}

.checkout form {
    padding: 2vh 0;
}

.checkout input {
    border: 1px solid rgba(0, 0, 0, 0.137);
    padding: 1vh;
    margin-bottom: 4vh;
    outline: none;
    width: 100%;
    background-color: rgb(247, 247, 247);
}

.checkout input:focus::-webkit-input-placeholder {
    color: transparent;
}

.checkout .header {
    font-size: 1.5rem;
}

.checkout .left {
    background-color: #ffffff;
    padding: 2vh;
}

.checkout .left img {
    width: 2rem;
}

.checkout .left .col-4 {
    padding-left: 0;
}

.checkout .right .item {
    padding: 0.3rem 0;
}

.checkout .right {
    background-color: #ffffff;
    padding: 2vh;
}

.checkout .col-8 {
    padding: 0 1vh;
}

.checkout .lower {
    line-height: 2;
}

.checkout .btn,
.cart-total .btn {
    background-color: rgb(23, 4, 189);
    border-color: rgb(23, 4, 189);
    color: white;
    width: 100%;
    font-size: 0.7rem;
    margin: 4vh 0 1.5vh 0;
    padding: 1.5vh;
    border-radius: 0;
}

.checkout .btn:focus,
.cart-total .btn:focus {
    box-shadow: none;
    outline: none;
    box-shadow: none;
    color: white;
    -webkit-box-shadow: none;
    -webkit-user-select: none;
    transition: none;
}

.checkout .btn:hover,
.cart-total .btn:hover {
    color: white;
}

.checkout a {
    color: black;
}

.checkout a:hover {
    color: black;
    text-decoration: none;
}

.checkout input[type=checkbox] {
    width: unset;
    margin-bottom: unset;
}

.checkout #cvv {
    background-image: linear-gradient(to left, rgba(255, 255, 255, 0.575), rgba(255, 255, 255, 0.541)), url("https://img.icons8.com/material-outlined/24/000000/help.png");
    background-repeat: no-repeat;
    background-position-x: 95%;
    background-position-y: center;
}

.payment-method ul {
    list-style-type: none;
}

.payment-method li {
    display: inline-block;
}

.payment-method input[type="radio"] {
    display: none;
}

.payment-method label {
    border: 1px solid #fff;
    padding: 10px;
    display: block;
    position: relative;
    margin: 10px;
    cursor: pointer;
}

.payment-method label:before {
    background-color: white;
    color: white;
    content: " ";
    display: block;
    border-radius: 50%;
    border: 1px solid grey;
    position: absolute;
    top: -5px;
    left: -5px;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 28px;
    transition-duration: 0.4s;
    transform: scale(0);
}

.payment-method label img {
    height: 100px;
    width: 100px;
    transition-duration: 0.2s;
    transform-origin: 50% 50%;
}

.payment-method :checked+label {
    border-color: #ddd;
}

.payment-method :checked+label:before {
    content: "✓";
    background-color: grey;
    transform: scale(1);
}

.payment-method :checked+label img {
    transform: scale(0.9);
    /* box-shadow: 0 0 5px #333; */
    z-index: -1;
}

.home-wrapper .col .img-fluid {
    width: 100% !important;
    height: auto !important;
}

@media (max-width: 767px) {
    .home-wrapper .col p {
        width: 100% !important;
    }

    .image-container {
        min-width: initial;
    }
}

._failed {
    border-bottom: solid 4px red !important;
}

._failed i {
    color: red !important;
}

._success {
    box-shadow: 0 15px 25px #00000019;
    padding: 45px;
    width: 100%;
    text-align: center;
    margin: 40px auto;
    border-bottom: solid 4px #28a745;
}

._success svg {
    font-size: 5rem;
}

._success i {
    font-size: 55px;
    color: #28a745;
}

._success h2 {
    margin-bottom: 12px;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 10px;
}

._success p {
    margin-bottom: 0px;
    font-size: 18px;
    color: #495057;
    font-weight: 500;
}

.thumb-image {
    position: relative;
    overflow: hidden;
    padding-bottom: 100%;
}

.thumb-image img {
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.thumb-image:hover img {
    object-fit: contain;
}