@import url(../fonts/fonts.css);
@import url(./header.css);
@import url(./footer.css);
@import url(./variables.css);

:root {
    --container-padding: 2rem;
    --box-Width: 180px;
    --crop-text-height: 150px;
}

*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body{
    background-color: var(--body-bg-color);
}
h2,
h3,
p,
blockquote,
cite,
ul,
a {
    line-height: 1.5;
    font-family: "Poppins", sans-serif;
}

aside *,
main *{
    color: var(--body-color);
}

.mainGrid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: 1fr;
    grid-template-areas: "aside main";
    padding-top: var(--height-header);
}

aside {
    grid-area: aside;
    width: 100%;
    height: 100%;
    border-right: 1px solid var(--body-color);
    padding: var(--container-padding);
}

main {
    grid-area: main;
    width: 100%;
    height: 100%;
    padding: var(--container-padding);
    min-height: calc(100vh - var(--height-header));
}
aside,
main {
    box-sizing: border-box;
}
aside ul {
    list-style: none;
}
aside ul li a {
    text-decoration: underline;
}
aside ul li a:hover {
    font-weight: 600;
}
aside h2 {
    font-size: 22px;
    font-weight: 600;
}
.quoteRotate {
    transform: rotate(180deg) translateY(-40%);
}
.quoteDown {
    transform: translateY(10%);
}

aside p,
main p,
aside blockquote,
aside ul {
    font-size: 18px;
    max-width: 75ch;
    hyphens: auto;
}
aside blockquote {
    font-style: italic;
}

main .clip-text {
    font-size: var(--crop-text-height);
    background: url(../img/font-clip/spice_1.jpg);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    width: min-content;
    background-size: cover;
    color: var(--body-color);
    line-height: 0.8;
    font-family: "Work Sans", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
}

.box {
    width: var(--box-Width);
    height: var(--box-Width);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    margin: 0.5rem;
}
.box img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.box p {
    position: absolute;
    display: none;
    color: var(--box-overlay-color);
    font-family: "Work Sans", sans-serif;
    font-weight: 800;
    font-size: 24px;
    hyphens: auto;
}
.box:hover p {
    display: block;
}
.box:hover {
    cursor: pointer;
}
.box:hover img {
    opacity: 0.6;
}
.boxWrapper {
    margin: 2rem -0.5rem 2rem -0.5rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.soon{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem;
    text-align: center;
}
@media screen and (max-width: 400px) {
    aside{
        padding: 0 calc(var(--container-padding) / 2) calc(var(--container-padding) / 2) calc(var(--container-padding) / 2);
    }
}
@media screen and (max-width: 500px) {
    :root{
        --crop-text-height: 80px !important;
    }
    .box{
        width: 90% !important;
        height: var(--box-Width);
    }
    .boxWrapper{
        display: flex;
        justify-content: center;
    }
}

@media screen and (max-width: 600px) {
    :root{
        --crop-text-height: 90px;
    }
}
@media screen and (max-width: 900px) {
    .mainGrid{
        display: flex;
        flex-direction: column-reverse;
    }
    .boxWrapper{
        justify-content: center;
    }
    aside{
        border-right: 0px;
    }
}
@media screen and (max-width: 1000px) {
    main{
        padding: calc(var(--container-padding) / 2);
    }
}
@media screen and (min-width: 1500px) {
    main{
        padding-right: calc(var(--container-padding) * 5);
    }
}
@media screen and (min-width: 1900px) {
    aside{
        padding-left:  calc(var(--container-padding) * 5);
    }
    main{
        padding-right: calc(var(--container-padding) * 10);
    }
}