@import url(reset.css);
@import url(fonts/fonts.css);

:root {
    --display-font: 'Cabin Sketch';
    --body-font: 'hubballi';
    --box-shadow: 0 4px 10px 0px #959595;
}

body {
    background: #FFEED2;
    font-family: var(--body-font);
    /* background-image: url(/assets/unicorn-plushy.webp), url(/assets/unicorn-teething-ring.webp);
    background-repeat: no-repeat;
    background-size: min(600px, 100%), min(300px, 100%);
    background-position: top right, top 300px left;
     */
    & main {
        display: flex;
        flex-direction: column;
        gap: 5vh;
    }
}

h2 {
    display:none;
    & + span {
        display:block;
        text-align: center;
        font-size: 3em;
        font-family: var(--display-font);
        text-align: center;
        line-height: 1em;
        color: #3A6175;
        font-weight: 400;
        &::first-line {
            font-size: .5em;
            color: black;
        }
    }
}

#brand {
    font-family: var(--display-font);
    margin-bottom: 0;
    background-image: url('/assets/origami-star.png');
    background-position:  center;
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    & h1 {
        text-align: center;
        position: relative;
        top: 10px;
        left: -3px;
        font-size: 40px;
        margin: 0;
        line-height: 1em;
        color: #3A6175;
        font-weight: 400;
    }
    & span {
        font-size: 7vw;
        line-height: 1em;
    }

}

section#cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 2vw 0 1vw 0;
    & a.cta {
        width: 30ch;
    }
}
a.cta {
    display: block;
    text-align: center;
    width: 80%;
    border-radius: 0;
    padding: 10px 30px;
    border: 1px solid #3A6175;
    font-family: var(--display-font);
    text-decoration: none;
    color: #3A6175;
    transition: all .3s ease-in;
    &:hover {
        background-color: #ebefe3;
        transition: all .3s ease-out
    }
}

section#reviews {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    overflow-x: hidden;
    overflow-y: hidden;
    width: auto;
    margin: 0 auto;
    padding: 20px;
    & .box {
        flex: 0 0 300px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 10px;
        text-align: center;
        border: 1px solid #3A6175;
        & .rating {
            flex: 0 0 auto;
            display: flex;
            justify-content: center;
            gap: 3px;
            margin: 10px;
            & img[alt='star'] {
                flex: 0 0 auto;
                width: 20px;
                height: 20px;
            }
        }
    }
}
@media (max-width: 900px) {
    section#reviews {
        width: 100%;
        flex-wrap: wrap;
        overflow-x: unset;
    }
}

.box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    &:after {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/assets/wallpaper.webp');
        background-repeat:repeat-x;
        background-size: 100px;
        background-position: bottom;
        mask-image: radial-gradient(400px 250px at center center , transparent 50%, black);
        -webkit-mask-image: radial-gradient(400px 250px at center center , transparent 50%, black);

    }
}


section#about {
    
    
    .product-carousel {
        display: flex;
        justify-content: flex-start;
        gap: 15px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
        scrollbar-color: #d5d5d5 transparent;
        width: auto;
        margin: 0vh 10px 0vh 10px;
        padding: 20px;
        & .box {
            border: 1px solid #3A6175;
            flex: 0 0 auto;
            width: 300px;
            display: flex;
            justify-content: center;
            height: auto;
            aspect-ratio: 1 / 1;
            padding: 10px;
            text-align: center;
            background-color: #e6e6e6;
            & img {
                flex: 1;
                object-fit: cover;
                height: 100%;
                z-index: 5;
            }
        }

    }
}



.body-text {
    padding: 20px 30px;
    text-align: center;
    flex: 1 100%;
    font-size: 1.3em;
    & p {
        text-indent: 2ch;
        margin-bottom: .5em;
    }
}

footer {
    margin-top: 80px;
    background: #BDCCB2;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 20px;
    padding: 8vh 0;
    & > div {
        flex: 1 0 25%;
        text-align: center;
    }
    & .brand {
        & span {
            display: block;
        }
        & .site-name {
            font-family: var(--display-font);
            font-size: 2em;
            line-height: .8em;
        }
        & .site-slogan {
            font-size: 1.3em;
        }
    }
    & .socials.copyright {
    }
}