/* ====================================================
   CSS Reset
========================== */

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

/* ====================================================
   Fonts
========================== */

@font-face {
    font-family: "Nunito Sans";
    src:
        url("../assets/fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.woff2")
            format("woff2"),
        url("../assets/fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.woff")
            format("woff");
    font-weight: variable;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Tilt Warp";
    src:
        url("../assets/fonts/TiltWarp-Regular-VariableFont_XROT,YROT.woff2")
            format("woff2"),
        url("../assets/fonts/TiltWarp-Regular-VariableFont_XROT,YROT.woff")
            format("woff");
    font-weight: variable;
    font-style: normal;
    font-display: swap;
}

/* ====================================================
   Root Variables
========================== */

:root {
    --blue400: #99f2ff;
    --blue500: #66ebff;
    --blue600: #00deff;
    --blue700: #0dcaf0;
    --blue800: #00a2ca;
    --blue900: #056e83;

    --blue60060: #00deff60;

    --pink600: #ff60e3;
    --pink700: #ce46b6;
    --pink800: #9f388c;
    --pink900: #832e74;

    --yellow: #ffea44;
    --red: #de0000;
    --purple: #6b08ff;
    --purple20: #6b08ff20;

    --neutral100: #ffffff;
    --neutral200: #f4f6f6;
    --neutral300: #e3e7e8;
    --neutral400: #c1cbcd;
    --neutral500: #8fa1a3;
    --neutral600: #5c6e70;
    --neutral700: #404d4f;
    --neutral800: #252c2d;
    --neutral900: #171b1c;
    --neutral1000: #000000;

    --color-primary: var(--blue800);
    --color-secondary: var(--blue900);
    --color-background: var(--neutral100);
    --color-text: var(--neutral800);

    --font-main: "Nunito Sans", sans-serif;
    --font-headings: "Tilt Warp", sans-serif;

    --max-width: 1280px;
}

/* ====================================================
   Base Styles
========================== */

html {
    scroll-behavior: smooth;
    min-height: 100%;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-background);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

p {
    font-family: var(--font-main);
    line-height: 128%; /* 1.6rem */
    font-style: normal;
    font-weight: 300;
    color: var(--color-text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headings);
    line-height: 132%; /* 21.12rem */
    font-style: normal;
    font-weight: 400;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    font-style: normal;
}

ul,
ol {
    list-style: none;
}

button {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background: transparent;
    padding: 0;
    margin: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* ====================================================
   Layout
========================== */

.container {
    margin-inline: auto;
}

/* ====================================================
   Utility Classes
========================== */

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

.hidden {
    display: none;
}

/* ====================================================
   Main Nav
========================== */

.nav-toggle {
    display: block;
}

/* HIDDEN */
nav.main-nav {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition:
        max-height 0.3s ease-in-out,
        opacity 0.3s ease-in-out,
        transform 0.3s ease-in-out;
}
/* OPEN */
nav.main-nav.is-open {
    max-height: 500px; /* taller than the menu's actual height */
    opacity: 1;
    transform: translateY(0);
}
/* TABLET+ */
@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }

    nav.main-nav {
        max-height: none;
        opacity: 1;
        overflow: visible;
        transform: none;
        transition: none;
    }
}
/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    nav.main-nav {
        transition: none;
    }
}

header nav ul {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
/* TABLET+ */
@media (min-width: 768px) {
    header nav ul {
        display: inline-flex;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0;
    }
}

header nav ul li a {
    display: inline-flex;
    padding: 0.75rem 1rem;
    justify-content: center;
    align-items: center;
    color: var(--blue800, #00a2ca);
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 80%; /* 1.2rem */
    letter-spacing: 0.03rem;
    text-transform: uppercase;
    transition: color 150ms ease-in-out;
}

header nav ul li a:hover {
    color: var(--blue900, #056e83);
}

header nav ul li a.active {
    color: var(--pink600, #ff60e3);
}

/* ====================================================
   Header
========================== */

header {
    display: flex;
    width: 100%;
    padding: 2rem;
    flex-direction: column;
    align-items: center;
    background: var(--neutral100, #fff);
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.08);
}
/* TABLET+ */
@media (min-width: 768px) {
    header {
        padding: 2rem 3rem;
        justify-content: center;
        align-items: flex-start;
    }
}
/* DESKTOP+ */
@media (min-width: 1024px) {
    header {
        flex-direction: row;
        padding: 4rem 6rem;
        align-items: center;
    }
}

header .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    align-self: stretch;
}
/* TABLET+ */
@media (min-width: 768px) {
    header .content {
        align-items: flex-start;
    }
}
/* DESKTOP+ */
@media (min-width: 1024px) {
    header .content {
        max-width: 80rem; /* 1280px */
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex: 1 0 0;
    }
}
/* LARGE DESKTOP+ */
@media (min-width: 1280px) {
    header .content {
        max-width: 90rem; /* 1440px */
    }
}

.site-title {
    display: flex;
    padding: 0 1rem;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
/* TABLET+ */
@media (min-width: 768px) {
    .site-title {
        align-items: flex-start;
    }
}

.site-title h1 {
    color: var(--neutral800, #252c2d);
    text-align: center;
    text-shadow: -2px 2px 0 rgba(0, 0, 0, 0.1);
    font-size: 2rem;
    line-height: 84%; /* 1.68rem */
}
/* TABLET+ */
@media (min-width: 768px) {
    .site-title h1 {
        text-align: left;
    }
}

.site-title p {
    color: var(--neutral800, #252c2d);
    text-align: center;
    font-size: 1.25rem;
    line-height: 128%; /* 1.6rem */
}
/* TABLET+ */
@media (min-width: 768px) {
    .site-title p {
        text-align: left;
    }
}

/* ====================================================
   Main
========================== */

main {
    display: flex;
    width: 100%;
    padding: 2rem;
    flex-direction: column;
    align-items: center;
}
/* TABLET+ */
@media (min-width: 768px) {
    main {
        padding: 2rem 3rem;
        justify-content: center;
        align-items: flex-start;
    }
}
/* DESKTOP+ */
@media (min-width: 1024px) {
    main {
        flex-direction: row;
        padding: 4rem 6rem;
        align-items: center;
    }
}

main.child-page {
    background: var(--blue400, #99f2ff);
}

main section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    align-self: stretch;
}
/* TABLET+ */
@media (min-width: 768px) {
    main section {
        align-items: flex-start;
        flex: 1 0 0;
    }
}
/* DESKTOP+ */
@media (min-width: 1024px) {
    main section {
        max-width: 64rem; /* 1024px */
        flex-direction: row;
        justify-content: space-between;
    }
}

.section-title {
    display: flex;
    width: 100%;
    padding: 0 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
/* DESKTOP+ */
@media (min-width: 1024px) {
    .section-title {
        max-width: 50%;
    }
}

.section-title h2 {
    color: var(--neutral800, #252c2d);
    text-shadow: -2px 2px 0 rgba(0, 0, 0, 0.1);
    font-size: 3rem;
}

.section-title p {
    color: var(--neutral800, #252c2d);
    text-shadow: -2px 2px 6px rgba(0, 0, 0, 0.16);
    font-size: 2.5rem;
    font-weight: 200;
    line-height: 128%; /* 3.2rem */
}

/* ====================================================
   Cards
========================== */

.cards {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}
/* TABLET+ */
@media (min-width: 768px) {
    .cards {
        max-width: 60%;
    }
}
/* DESKTOP+ */
@media (min-width: 1024px) {
    .cards {
        max-width: 50%;
    }
}
/* LARGE DESKTOP+ */
@media (min-width: 1280px) {
    .cards {
        max-width: 40%;
    }
}

.card {
    display: flex;
    width: 100%;
    padding: 1.5rem 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
    border-radius: 1rem;
    border: 1px solid var(--neutral600, #5c6e70);
    background: var(--neutral100, #fff);
    box-shadow: -10px 10px 0 0 #000;
}

.card ul {
    list-style: disc;
    padding-inline-start: 2rem;
    line-height: 1.8;
}

/* ====================================================
   Just For Sillies
========================== */

.sillies {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--blue60060, #00deff60);
    padding: 3rem 2rem 0rem;
    /* background-image: url("../assets/images/sketched-jeannie-1-4x.png");
    background-position: bottom 0px left 0px;
    background-size: auto;
    background-repeat: no-repeat; */
}
/* TABLET+ */
@media (min-width: 768px) {
    .sillies {
        padding: 4rem 6rem 0rem;
    }
}
/* DESKTOP+ */
@media (min-width: 1024px) {
    .sillies {
        padding: 6rem 8rem 0rem;
    }
}

.sillies h4 {
    text-shadow: -2px 2px 0 rgba(0, 0, 0, 0.1);
    font-size: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: auto;
    gap: 0.5rem;
}
/* TABLET+ */
@media (min-width: 768px) {
    .sillies h4 {
        text-shadow: -6px 6px 0 rgba(0, 0, 0, 0.1);
        font-size: 4rem;
        gap: 0.875rem;
    }
}
/* DESKTOP+ */
@media (min-width: 1024px) {
    .sillies h4 {
        text-shadow: -6px 6px 0 rgba(0, 0, 0, 0.1);
        font-size: 6rem;
        gap: 1.5rem;
    }
}

.sillies h4 .line1 {
    background: var(--pink600, #ff60e3);
    padding: 0.05rem 0.75rem;
}
.sillies h4 .line2 {
    background: var(--yellow, #ffea44);
    padding: 0.05rem 0.75rem;
}
.sillies h4 .line3 {
    background: var(--blue600, #00deff);
    padding: 0.05rem 0.75rem;
}
.sillies h4 .line4 {
    background: var(--purple40, #6b08ff40);
    padding: 0.05rem 0.75rem;
}
/* TABLET+ */
@media (min-width: 768px) {
    .sillies h4 .line1 {
        padding: 0.05rem 1.5rem;
    }
    .sillies h4 .line2 {
        padding: 0.05rem 1.5rem;
    }
    .sillies h4 .line3 {
        padding: 0.05rem 1.5rem;
    }
    .sillies h4 .line4 {
        padding: 0.05rem 1.5rem;
    }
}

.sillies img {
    margin-top: -2rem;
}
/* TABLET+ */
@media (min-width: 768px) {
    .sillies img {
        margin-top: -4rem;
    }
}
/* DESKTOP+ */
@media (min-width: 1024px) {
    .sillies img {
        margin-top: -8rem;
    }
}
/* LARGE DESKTOP+ */
@media (min-width: 1280px) {
    .sillies img {
        margin-top: -10rem;
    }
}

/* ====================================================
   Footer
========================== */

footer {
    display: flex;
    width: 100%;
    padding: 2rem;
    flex-direction: column;
    align-items: center;
    border-top: 10px solid var(--blue700, #0dcaf0);
    background: var(--yellow, #ffea44);
}
/* TABLET+ */
@media (min-width: 768px) {
    footer {
        padding: 2rem 3rem;
        justify-content: center;
        align-items: flex-start;
    }
}
/* DESKTOP+ */
@media (min-width: 1024px) {
    footer {
        flex-direction: row;
        padding: 4rem 6rem;
        align-items: center;
    }
}

footer .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    align-self: stretch;
}
/* TABLET+ */
@media (min-width: 768px) {
    footer .content {
        align-items: flex-start;
    }
}
/* DESKTOP+ */
@media (min-width: 1024px) {
    footer .content {
        max-width: 80rem; /* 1280px */
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex: 1 0 0;
    }
}
/* LARGE DESKTOP+ */
@media (min-width: 1280px) {
    footer .content {
        max-width: 90rem; /* 1440px */
    }
}

.footer-title {
    display: flex;
    padding: 0 1rem;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
/* TABLET+ */
@media (min-width: 768px) {
    .footer-title {
        align-items: flex-start;
    }
}

.footer-title h4 {
    color: var(--blue800, #00a2ca);
    text-align: center;
    text-shadow: -2px 2px 0 rgba(0, 0, 0, 0.1);
    font-size: 2rem;
    line-height: 84%; /* 1.68rem */
    margin-bottom: 1rem;
}
/* TABLET+ */
@media (min-width: 768px) {
    .footer-title h4 {
        text-align: left;
        margin-bottom: 1.5rem;
    }
}

.footer-title p {
    color: var(--neutral600, #252c2d);
    text-align: center;
    font-size: 1.25rem;
    line-height: 128%; /* 1.6rem */
}
/* TABLET+ */
@media (min-width: 768px) {
    .footer-title p {
        text-align: left;
    }
}

/* ====================================================
   Footer Nav
========================== */

footer nav ul {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
/* TABLET+ */
@media (min-width: 768px) {
    footer nav ul {
        display: inline-flex;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0;
    }
}

footer nav ul li a {
    display: inline-flex;
    padding: 0.75rem 1rem;
    justify-content: center;
    align-items: center;
    color: var(--pink700, #ce46b6);
    font-family: var(--font-headings);
    font-size: 1rem;
    font-weight: 400;
    line-height: 80%; /* 1.2rem */
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    transition: color 150ms ease-in-out;
}

footer nav ul li a:hover {
    color: var(--pink900, #832e74);
}

/* ====================================================
   Media Queries
========================== */

/* MOBILE (default, 0px and up) */

/* TABLET+ */
@media (min-width: 768px) {
}

/* DESKTOP+ */
@media (min-width: 1024px) {
}

/* LARGE DESKTOP+ */
@media (min-width: 1280px) {
}
