/* ====================================================
   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: 400 800;
    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: 400;
    font-style: normal;
    font-display: swap;
}

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

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

    --blue60060: #00deff60;

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

    --pink60060: #ff60e360;

    --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);
    --color-text-muted: var(--neutral600);
    --color-text-on-dark: var(--neutral100);

    --font-main: "Nunito Sans", sans-serif;
    --font-exciting: "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;
    transition: all 150ms ease-in-out;
}

nav ul {

}

main {
    flex: 1;
}

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

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

h1 {
    font-family: var(--font-exciting);
    font-size: 4rem;
    font-weight: 400;
}

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

a {
    color: var(--blue800, #00a2ca);
    text-decoration: none;
    font-style: normal;
    transition: color 100ms ease-in-out;
}

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

ul,
ol {
    list-style: none;
}

input,
textarea,
select {
    width: 100%;
    margin: 0;
    padding: 0.625rem 0.825rem;
    border: 2px solid var(--blue900, #056e83);
    border-radius: 0.325rem;
    font-size: 1.25rem;
    font-family: var(--font-main);
    color: var(--color-text);
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 4px solid var(--blue60060, #00deff60);
}

hr {
    border: none;
    border-top: 1px solid var(--pink60060, #ff60e360);
    margin: 1.5rem 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    background-color: var(--color-background);
    margin-bottom: 2rem;
}

thead tr, tbody tr {
    border-left: 1px solid var(--neutral300);
    border-right: 1px solid var(--neutral300);
}

thead tr:first-child {
    border-top: 1px solid var(--neutral300);
}

tbody tr:nth-child(odd) {
    background-color: var(--neutral200);
}

th,
td {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: normal;
    vertical-align: top;
    border-bottom: 1px solid var(--neutral300);
}

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

.container {
    margin-inline: auto;
}

.two-cols {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 48rem;
}
/* TABLET+ */
@media (min-width: 768px) {
    .two-cols {
        gap: 2rem;
        flex-direction: row;
    }
}

.two-cols .col {
    width: 100%;
}
/* TABLET+ */
@media (min-width: 768px) {
    .two-cols .col {
        flex: 1;
        width: 50%;
    }
}

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

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

.hidden {
    display: none;
}

.strong {
    font-weight: 600;
}

.fat {
    font-weight: 800;
}

.small {
    font-size: 80%;
}

/* ====================================================
   Bits
========================== */

header, main {
    display: flex;
    width: 100%;
    padding: 2rem;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

main {
    justify-content: center;
}
/* TABLET+ */
@media (min-width: 768px) {
    header {
        padding: 2rem 3rem 2rem;
    }

    main {
        padding: 0rem 3rem 2rem;
    }
}
/* DESKTOP+ */
@media (min-width: 1024px) {
    header {
        padding: 4rem 6rem 4rem;
    }

    main {
        padding: 0rem 6rem 4rem;
    }
}

section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}
/* TABLET+ */
@media (min-width: 768px) {
    section {
        flex: 1 0 0;
    }
}
/* DESKTOP+ */
@media (min-width: 1024px) {
    section {
        flex-direction: row;
        justify-content: space-between;
    }
}

footer {
    display: flex;
    width: 100%;
    padding: 2rem;
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
}

.row {
    display: flex;
    flex-direction: row;
}

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

nav {
    padding: 2rem;
}
/* TABLET+ */
@media (min-width: 768px) {
    nav {
        padding: 0rem 3rem 2rem;
    }
}
/* DESKTOP+ */
@media (min-width: 1024px) {
    nav {
        padding: 0rem 6rem 4rem;
    }
}

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

nav ul li a {
    border: 4px solid var(--blue900, #056e83);
    border-radius: 1.5rem;
    background: var(--color-primary);
    padding: 0.625rem 1.5rem;
    margin: 0;
    font-size: 1.75rem;
    font-family: var(--font-exciting);
    letter-spacing: 0.15em;
    color: var(--color-text-on-dark);
    transition: all 150ms ease-in-out;
}
nav ul li a:hover {
    background: var(--blue900, #056e83);
    color: var(--color-text-on-dark);
}
nav ul li a.active {
    background: var(--pink700);
    border-color: var(--pink800);
    color: var(--color-text-on-dark);
}

/* ====================================================
   Cards + Notes
========================== */

.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(--neutral1000, #000000);
    background: var(--neutral100, #fff);
    box-shadow: -10px 10px 0 0 #000;
}

.note {
    display: flex;
    width: 60%;
    padding: 1.5rem 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    border-radius: 1rem;
    background: var(--neutral200);
}

.ref {
    text-align: center;
    font-weight: 800;
    display: inline-block;
    margin-right: 0.5em;
    min-width: 20px;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    color: var(--neutral100);
    background-color: var(--neutral500);
}

/* ====================================================
   LA LA LA
========================== */

.td-centered {
    width: auto;
    text-align: center;
}

.td-light {
    background-color: var(--color-background);
}

.td-dark {
    background-color: var(--neutral200);
}

.td-border-right {
    border-right: 1px solid var(--neutral300);
}

.td-border-left {
    border-left: 1px solid var(--neutral300);
}

.td-valign-middle {
    vertical-align: middle;
}

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

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

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

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