
/* Banner
 */

.banner {
    position: relative;
    width: 100%;
    height: 550px;
}

.banner .cited-img {
    height: 100%;
}

/* Banner slides
 */

.banner .slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner .slides .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* padding-bottom: 50px; */
    /* border: 1px solid black; */
    transition: all 0.3s;
}

.banner .slides .slide.this {
    opacity: 1;
    z-index: 1;
}

.banner .slides .banner-txt-container {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.banner .slides .banner-txt {
    margin-left: .5rem;
    margin-right: .5rem;
    font-family: Fredoka, sans-serif;
    font-size: 4rem;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 0 10px black, 0 0 2px black;
    text-align: center;
}

.banner .slides .banner-txt.left {
    color: #f7cf8b;
}

.banner .slides .banner-txt.right {
    color: #faa7f0;
}

/* Banner control
 */

.banner .controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    padding: 0 5px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background-color: #fcfaf6;
    border-radius: 16px;
    opacity: .5;
    transition: all .3s;
}

.banner .controls:hover {
    opacity: 1;
}

.banner .controls > * {
    width: 32px;
    height: 32px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #333;
}

.banner .controls > *:hover {
    color: #999;
}

.banner .controls > *:active {
    color: #666;
}

.banner .controls .btn {
    font-size: 28px;
}

.banner .controls .indicator {
    font-size: 12px;
    color: #ccc;
}

.banner .controls .indicator:hover {
    color: #999;
}

.banner .controls .indicator.this {
    color: #333;
}

.banner .controls .back-btn i:before {
    transform: scaleX(-1);
}

/* Main content
 */

.welcome,
.origins,
.products {
    padding-top: 1rem;
    padding-bottom: 1rem;
    width: 100%;
}

.welcome h2,
.origins h2,
.products h2 {
    margin: 1.5rem 2rem;
    font-family: Fredoka, sans-serif;
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    text-decoration: underline;
    color: rgb(123, 71, 46);
}

.welcome p,
.origins p,
.products p {
    margin: 1.5rem 2rem;
    font-size: 20px;
    text-align: justify;
}

.origins {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    padding: .1rem;
    aspect-ratio: 3 / 1;
}

.origins .text-container {
    height: fit-content;
    margin: 3rem;
    padding: .1rem;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

/* Product cards
 */

.product-cards-container {
    margin: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.product-card {
    width: 270px;

    margin: 16px 12px;
    overflow: hidden;

    border-radius: 16px;
    box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.178);
}

.product-card .product-img-container {
    position: relative;
    width: 270px;
    height: 270px;
    background-color: white;
}

.product-card .product-img-container .cited-img {
    height: 100%;
    width: 100%;
    position: absolute;
    opacity: 0;
}

.product-card .product-img-container .cited-img.this {
    opacity: 1;
    z-index: 1;
}

.product-card h3 {
    margin: 8px 12px 0px 12px;
    font-size: 24px;
    font-weight: bold;
}

/* Product tags */
.product-card .tags-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0px 8px 8px;
}

.tag {
    display: inline-block;
    position: relative;
    height: 24px;
    margin: 4px;
    padding: 0 6px 0 24px;
    /* border: 2px solid #e0e0e0; */
    border-radius: 12px;
    background-color: #e0e0e0;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: inset 0 2px 3px white, inset 0 -2px 3px gray, 2px 2px 5px gray;
}

.tag:hover {
    background-color: #ccc;
    border-color: #bbb;
}

.tag:active {
    background-color: #aaa;
    border-color: #aaa;
    box-shadow: none;
}

.tag::before {
    content: '';
    display: block;
    position: absolute;
    top: 4px; /* 2px */
    left: 4px; /* 3px */
    width: 16px;
    height: 16px;
    background-color: black;
    border-radius: 8px;
}

.tag.green::before {
    background-color: rgb(159, 215, 151);
}

.tag.yellow::before {
    background-color: rgb(226, 197, 56);
}

.tag.pink::before {
    background-color: rgb(226, 125, 156);
}

.tag.brown::before {
    background-color: rgb(107, 80, 47);
}

.tag.this {
    color: white;
}

.tag.this::before {
    background-color: white;
}

.tag.green.this {
    background-color: rgb(126, 206, 115);
    border-color: rgb(126, 206, 115);
}

.tag.yellow.this {
    background-color: rgb(226, 197, 56);
    border-color: rgb(226, 197, 56);
}

.tag.pink.this {
    background-color: rgb(226, 125, 156);
    border-color: rgb(226, 125, 156);
}

.tag.brown.this {
    background-color: rgb(107, 80, 47);
    border-color: rgb(107, 80, 47);
}

/* Responsive breakpoint */

@media screen and (min-width: 768px) {
    .banner .slide .banner-txt {
        font-size: 6rem;
    }
    .welcome h2, .welcome p {
        margin-left: 25%;
        margin-right: 25%;
    }
    .origins .text-container {
        width: 40%;
        margin: 3rem 3rem 3rem auto;
    }
}

@media screen and (min-width: 992px) {}