h1 {
    font-size: 5rem;
    margin: 0;
    padding-bottom: 2rem;
}

h2,
.h2 {
    font-size: 2.8rem;
    margin: 0;
}

h3,
.h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 0;
    padding-bottom: 2rem;
}

p {
    font-size: 1.5rem;
    line-height: 1.5;
    margin: 0;
    padding-bottom: 2rem;
}

.banner {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: space-between;
    align-items: center;
}

.banner .text {
    width: 50%;
    padding: 2rem;
    font-size: 1.5rem;
    width: fit-content;
    max-width: 50%;
    text-align: center;
}

.banner>.text>h3 {
    color: var(--text);
    width: 100%;
}

.banner .slider {
    width: 50%;
    min-width: 425px;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    overflow: hidden;
    display: flex;
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    animation: slideLoop 50s infinite ease-in-out;
}

@keyframes slideLoop {

    /* Slide 1 */
    0%,
    16% {
        transform: translateX(0%);
    }

    /* Slide 2 */
    20%,
    36% {
        transform: translateX(-100%);
    }

    /* Slide 3 */
    40%,
    56% {
        transform: translateX(-200%);
    }

    /* Slide 4 */
    60%,
    76% {
        transform: translateX(-300%);
    }

    /* Slide 5 */
    80%,
    96% {
        transform: translateX(-400%);
    }

    /* Quick 4% slide into the clone at the end */
    100% {
        transform: translateX(-500%);
    }
}


.banner a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--background);
    background-color: var(--text);
    padding: 1rem 3rem;
    border-radius: .5rem;
    transition: background-color 0.3s ease;
}

.banner a:hover {
    background-color: var(--orange);
    color: var(--text);
}

@media only screen and (max-width: 870px) {
    .banner {
        display: flex;
        flex-direction: column-reverse;
        align-content: flex-end;
        align-items: flex-end;
    }

    .banner .text {
        text-align: center;
        max-width: 100%;
        padding: 2rem;
    }

    .banner .slider {
        width: 80%;
        min-width: 100%;
    }

    .banner h1 {
        font-size: 3.5rem;
    }

    .banner a {
        white-space: nowrap;
        font-size: 1rem;
        padding: 1rem;
    }
}

@media only screen and (max-width: 500px) {
    .banner .text {
        max-width: 100%;
        padding: 2rem;
    }

    .banner .slier {
        width: 80%;
        min-width: 100%;
    }

    .banner h1 {
        font-size: 2.5rem;
    }

    .banner h3 {
        font-size: 1.5rem;
    }

    .banner2 h3,
    .banner2 p {
        font-size: 1.3rem;
    }

}


.banner2 {
    width: 100%;
    padding: 4rem 0;
    margin-top: 4rem;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: space-around;
    align-items: stretch;
    color: var(--background);
    gap: 2rem;
}

.banner2 div {
    max-width: 23rem;
    display: grid;
    place-items: center;
    text-align: center;
    grid-template-rows: auto auto 1fr;
    background-color: var(--text);
    padding: 4rem 2rem 2rem 2rem;
    border-radius: 1rem;
    min-height: 100%;
    background-image: url('../images/wood background.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}


@media only screen and (max-width: 500px) {

    .banner2 div {
        max-width: 80%;
    }
}

.banner2 div h3 {
    margin: 0;
    padding: 0;
    color: var(--background);
}

.products {
    width: 100%;
    place-items: center;
    text-align: center;
    background-color: var(--background);
    padding: 5rem 1rem 3rem 1rem;
}

.products h2 {
    margin-bottom: 3rem;
    padding: 0;
    font-size: 3rem;
}

.products h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
    padding: 0;
}

.product-list {
    width: 100%;
    display: grid;
    place-items: center;
    justify-content: center;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
    grid-auto-rows: auto auto auto;
    gap: 2rem;
}

.product-list .product {
    position: relative;
    width: 100%;
    min-height: 20rem;
    display: grid;
    place-items: center;
    justify-content: center;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: .2rem;
    position: relative;
    align-items: start;
}

.grey {
    filter: grayscale(1);
}

.out {
    position: absolute;
    font-weight: bold;
    font-size: 2.5rem;
    text-shadow: 2px 2px black;
    -webkit-text-stroke: 1px black;
    top: 10rem;
}

.description-container {
    padding-bottom: 2rem;
    z-index: 2;
}

.description-container a>img {
    display: inline-block;
    margin-bottom: -.3rem;
}

.description-container .description {
    line-height: 1.5rem;
    white-space: pre-line;
}

.description-container button {
    font-size: inherit;
}

.product-list .product>img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 50%;
}


.product-list .product .link-hitbox {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}