/* reset & box-sizing */

:root {
    --primary: #5567ff;
    --primary-content: #ffffff;
    --primary-dark: #1321ab;
    --primary-light: #8895ff;
    --secondary: #ffb455;
    --secondary-content: #552f00;
    --secondary-dark: #ff9d22;
    --secondary-light: #ffca88;
    --background: #f0f0f0;
    --foreground: #fbfbfb;
    --border: #dfdfdf;
    --copy: #262626;
    --copy-light: #666666;
    --copy-lighter: #8c8c8c;
    --success: #55ff55;
    --warning: #ffff55;
    --error: #ff5555;
    --success-content: #005500;
    --warning-content: #555500;
    --error-content: #550000;
}

.dark-theme {
    --primary: #5567ff;
    --primary-content: #ffffff;
    --primary-dark: #2239ff;
    --primary-light: #8895ff;
    --secondary: #ff55bc;
    --secondary-content: #550033;
    --secondary-dark: #ff22a8;
    --secondary-light: #ff88d0;
    --background: #111222;
    --foreground: #191c34;
    --border: #292e56;
    --copy: #fafafd;
    --copy-light: #cbcee6;
    --copy-lighter: #878dc5;
    --success: #55ff55;
    --warning: #ffff55;
    --error: #ff5555;
    --success-content: #005500;
    --warning-content: #555500;
    --error-content: #550000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* HERO: two-column above 768px */

.hero {
    display: flex;
    align-items: center;
    max-width: 1600px;
    margin: auto;
    padding: 3rem 2rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: 2fr;
    align-items: center;
    /* background-image: url('/static/images/Hero.png');
    background-size: cover; */
}

@media (min-width: 768px) {
    .hero {
        grid-template-columns: 1fr 1fr;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 1rem 1rem
    }
    .heading {
        font-size: 1.5rem !important
    }
}


/* TEXT SIDE */

.heading {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--copy)!important;
}

@media (min-width: 768px) {
    .heading {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {}

.text {
    font-size: 1rem;
    color: var(--copy)!important;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.btn {
    background-color: var(--primary) !important;
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 0 !important;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    font-weight: 600;
    max-height: 75px;
}

.btn:hover {
    outline: none;
    border: none;
}


/* GRID SIDE */

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 4px;
    height: 450px;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
}

.shuffle-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    will-change: transform;
}

.shuffle-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}