/* =========================
   THE GEMINI ARCHIVE
   Main Stylesheet
   ========================= */

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


body {
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.7), transparent 25%),
        radial-gradient(circle at 80% 20%, rgba(214, 188, 255, 0.5), transparent 30%),
        #eee5fa;

    color: #3d3150;

    font-family: Georgia, "Times New Roman", serif;

    line-height: 1.7;

    min-height: 100vh;

    overflow-x: hidden;
}



.sparkles span {
    position: fixed;

    color: #c59b38;

    font-size: 18px;

    opacity: 0.7;

    pointer-events: none;

    z-index: 0;

    animation: sparkle 4s ease-in-out infinite;
}

.sparkles span:nth-child(1) {
    top: 15%;
    left: 8%;
}

.sparkles span:nth-child(2) {
    top: 30%;
    right: 10%;
    animation-delay: 1s;
}

.sparkles span:nth-child(3) {
    top: 60%;
    left: 5%;
    animation-delay: 2s;
}

.sparkles span:nth-child(4) {
    top: 75%;
    right: 8%;
    animation-delay: 0.5s;
}

.sparkles span:nth-child(5) {
    top: 45%;
    left: 15%;
    animation-delay: 1.5s;
}

.sparkles span:nth-child(6) {
    top: 85%;
    left: 25%;
    animation-delay: 2.5s;
}

.sparkles span:nth-child(7) {
    top: 20%;
    right: 25%;
    animation-delay: 3s;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0.25;
        transform: scale(0.8) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.3) rotate(20deg);
    }
}


header {
    position: relative;
    z-index: 10;

    width: 100%;

    padding: 25px 7%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-bottom: 1px solid rgba(113, 83, 145, 0.2);

    background: rgba(246, 241, 252, 0.75);

}

.logo {
    color: #5b4772;

    font-size: 20px;

    letter-spacing: 1px;
}

.logo span {
    color: #b38b32;
}

nav {
    display: flex;

    gap: 30px;
}

nav a {
    color: #5b4772;

    text-decoration: none;

    font-size: 15px;

    transition: 0.3s ease;
}

nav a:hover {
    color: #a17bba;

    letter-spacing: 1px;
}


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

.hero {
    position: relative;

    z-index: 1;

    min-height: 650px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 80px 20px;
}

.little-title {
    color: #a17bba;

    font-size: 13px;

    letter-spacing: 3px;

    text-transform: uppercase;

    margin-bottom: 25px;
}

.hero h1 {
    color: #58416f;

    font-size: 13px;

    font-weight: normal;

    line-height: 0.95;

    letter-spacing: -3px;

    text-shadow:
        2px 2px 0 rgba(255, 255, 255, 0.8);
}

.hero h1 em {
    color: #9270a9;

    font-weight: normal;
}

.intro {
    max-width: 550px;

    margin: 35px auto;

    color: #6d5a7c;

    font-size: 17px;
}

.button {
    display: inline-block;

    padding: 13px 28px;

    border: 1px solid #a887b8;

    border-radius: 30px;

    color: #614975;

    background: rgba(255, 255, 255, 0.5);

    text-decoration: none;

    transition: 0.3s ease;
}

.button:hover {
    background: #dfd0ec;

    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(85, 58, 105, 0.15);
}


/* =========================
   SECTION HEADINGS
   ========================= */

.section-heading {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    margin-bottom: 45px;
}

.section-heading h2 {
    color: #58416f;

    font-size: 32px;

    font-weight: normal;
}

.section-heading span {
    color: #b38b32;

    font-size: 20px;
}


/* =========================
   FEATURED
   ========================= */

.featured {
    position: relative;

    z-index: 1;

    padding: 90px 8%;

    background: rgba(255, 255, 255, 0.3);
}

.featured-card {
    max-width: 850px;

    margin: auto;

    padding: 55px;

    text-align: center;

    background:
        linear-gradient(
            rgba(255,255,255,0.75),
            rgba(249,244,253,0.75)
        );

    border: 1px solid rgba(133, 104, 155, 0.3);

    box-shadow:
        0 20px 50px rgba(78, 54, 93, 0.08);
}

.date,
.post-date {
    color: #b18b3b;

    font-size: 12px;

    letter-spacing: 2px;

    margin-bottom: 15px;
}

.featured-card h2 {
    color: #5b4772;

    font-size: 38px;

    font-weight: normal;

    margin-bottom: 20px;
}

.featured-card p {
    max-width: 600px;

    margin: auto auto 25px;

    color: #74647e;
}

.read-more {
    color: #9270a9;

    text-decoration: none;

    border-bottom: 1px solid #9270a9;
}


/* =========================
   ARCHIVE
   ========================= */

.archive {
    position: relative;

    z-index: 1;

    padding: 100px 8%;
}

.post-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.post-card {
    padding: 35px;

    background: rgba(255, 255, 255, 0.65);

    border: 1px solid rgba(133, 104, 155, 0.25);

    transition: 0.3s ease;
}

.post-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 15px 30px rgba(77, 52, 92, 0.1);
}

.post-card h3 {
    color: #5b4772;

    font-size: 24px;

    font-weight: normal;

    margin-bottom: 12px;
}

.post-card p:not(.post-date) {
    color: #75657e;

    margin-bottom: 20px;

    font-size: 15px;
}

.post-card a {
    color: #9270a9;

    text-decoration: none;
}


/* =========================
   FULL POSTS
   ========================= */

.posts {
    position: relative;

    z-index: 1;

    padding: 40px 8% 100px;
}

.full-post {
    max-width: 800px;

    margin: 0 auto 80px;

    padding: 55px;

    background: rgba(255, 255, 255, 0.7);

    border: 1px solid rgba(133, 104, 155, 0.25);
}

.full-post h2 {
    color: #58416f;

    font-size: 38px;

    font-weight: normal;

    line-height: 1.2;

    margin-bottom: 30px;
}

.full-post p {
    color: #63556d;

    margin-bottom: 20px;
}

.post-signature {
    color: #9270a9;

    margin-top: 35px;

    text-align: right;
}


/* =========================
   ABOUT
   ========================= */

.about {
    position: relative;

    z-index: 1;

    padding: 100px 8%;

    background: rgba(255, 255, 255, 0.3);
}

.about-box {
    max-width: 700px;

    margin: auto;

    padding: 50px;

    text-align: center;

    background: rgba(255, 255, 255, 0.65);

    border: 1px solid rgba(133, 104, 155, 0.25);
}

.about-box p {
    color: #685a70;

    margin-bottom: 20px;
}

.about-decoration {
    margin-top: 35px;

    color: #b38b32;

    letter-spacing: 8px;
}


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

footer {
    position: relative;

    z-index: 1;

    padding: 50px 20px;

    text-align: center;

    background: #dcd0e9;

    color: #6a5677;
}

.footer-stars {
    color: #b38b32;

    margin-bottom: 15px;

    letter-spacing: 5px;
}

footer p {
    font-size: 18px;
}

footer small {
    opacity: 0.7;
}


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

@media (max-width: 750px) {

    header {
        flex-direction: column;

        gap: 15px;

        padding: 20px;
    }

    nav {
        gap: 20px;
    }

    .hero {
        min-height: 550px;
    }

    .hero h1 {
        font-size: 62px;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    .featured-card,
    .full-post,
    .about-box {
        padding: 30px 25px;
    }

    .featured-card h2,
    .full-post h2 {
        font-size: 30px;
    }

    .section-heading h2 {
        font-size: 26px;
    }
}