/* =========================================
   NOSTALGIA TIME MACHINE
   ========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background-color: #68228D;
    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;

    line-height: 1.7;
}


/* =========================================
   MAIN CONTAINER
   ========================================= */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 35px 0;
}


/* =========================================
   TOP HERO
   ========================================= */

.hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 45px;
    align-items: center;
    min-height: 420px;
    margin-bottom: 45px;
}

.hero-content {
    max-width: 820px;
}

.hero-content h1 {
    margin: 0 0 22px;
    text-align: left;
    font-size: 2.7rem;
    line-height: 1.15;
}

.hero-content p {
    margin: 0 0 18px;
    font-size: 1.08rem;
}

.hero-highlight {
    font-size: 1.15rem !important;
    margin-top: 8px !important;
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    display: block;
    width: 100%;
    max-width: 330px;
    max-height: 330px;
    height: auto;
    object-fit: contain;
}


/* =========================================
   IMAGE GALLERY
   ========================================= */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 0 auto 55px;
}

.gallery-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 10px;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.35);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* Slight hover effect */

.gallery-item img:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.45);
}


/* =========================================
   MAIN CONTENT
   ========================================= */

.content {
    max-width: 900px;
    margin: 0 auto;

    text-align: left;
}

.content > p:first-child {
    margin-top: 0;
}

h1 {
    margin-top: 0;
    margin-bottom: 25px;

    text-align: center;

    font-size: 2.2rem;
    line-height: 1.25;
}

h2 {
    margin-top: 45px;
    margin-bottom: 20px;

    font-size: 1.7rem;
    line-height: 1.3;
}

p {
    margin-bottom: 20px;

    font-size: 1.05rem;
}


/* =========================================
   ETSY SHOP
   ========================================= */

.shop {
    padding: 28px 25px;

    text-align: center;

    border-radius: 12px;

    background: rgba(0, 0, 0, 0.15);
}

.shop-top {
    margin: 28px 0 0;
}

.shop-bottom {
    margin: 60px 0;
}

.shop h2 {
    margin-top: 0;
}

.shop p {
    margin-bottom: 8px;
}

.etsy-button {
    display: inline-block;

    margin-top: 15px;
    padding: 15px 35px;

    background-color: #ffffff;
    color: #68228D;

    text-decoration: none;

    font-size: 1.1rem;
    font-weight: bold;

    border-radius: 6px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.etsy-button:hover {
    transform: translateY(-3px);

    background-color: #f2f2f2;

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.3);
}


/* =========================================
   CONTENT LIST
   ========================================= */

.contents-list {
    list-style: none;

    padding: 0;
    margin: 25px 0 35px;
}

.contents-list li {
    position: relative;

    padding: 8px 0 8px 35px;

    font-size: 1.05rem;
}

.contents-list li::before {
    content: "✓";

    position: absolute;
    left: 0;

    font-weight: bold;
    font-size: 1.2rem;
}


/* =========================================
   IMPORTANT INFORMATION
   ========================================= */

.important {
    margin-top: 45px;
    padding: 25px 30px;

    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;

    background: rgba(0, 0, 0, 0.12);
}

.important h2 {
    margin-top: 0;
}

.important p {
    margin-bottom: 12px;
}


/* =========================================
   FOOTER
   ========================================= */

footer {
    margin-top: 50px;
    padding: 25px 0 35px;

    text-align: center;

    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

footer p {
    margin: 4px 0;

    font-size: 0.9rem;

    opacity: 0.85;
}


/* =========================================
   TABLETS / SMALL LAPTOPS
   ========================================= */

@media (max-width: 900px) {

    .container {
        padding: 25px 25px 0;
    }

    .hero {
        grid-template-columns: 1.7fr 1fr;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .logo {
        max-width: 270px;
        max-height: 270px;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

    .container {
        padding: 20px 15px 0;
    }

    .hero {
        display: flex;
        flex-direction: column;
        gap: 20px;
        min-height: 0;
        margin-bottom: 35px;
    }

    /* Put the logo at the top on phones, while keeping it on the right on desktop. */
    .hero-logo {
        order: -1;
        width: 100%;
    }

    .logo {
        max-width: 220px;
        max-height: 220px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-content h1 {
        margin-bottom: 18px;
        text-align: center;
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-highlight {
        text-align: center;
    }

    .shop-top {
        margin-top: 22px;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.45rem;
    }

    p,
    .contents-list li {
        font-size: 1rem;
    }

    .important {
        padding: 20px;
    }

    .shop {
        padding: 30px 20px;
    }

    .etsy-button {
        width: 100%;
        max-width: 350px;
    }
}


/* =========================================
   VERY SMALL PHONES
   ========================================= */

@media (max-width: 400px) {

    .logo {
        max-width: 180px;
        max-height: 180px;
    }

    .hero-content h1 {
        font-size: 1.55rem;
    }

    h2 {
        font-size: 1.3rem;
    }
}
