/* Colors */
/* 
Bright - #E2E4E1
Light Gray - #A6ACA6
Mid Gray - #65655F
Dark Gray - #363934
Very Dark Gray - #161815
Green - #18C524
Yellow - #CDC604
*/

/* Fonts */
@font-face {
  font-family: "Wonderia";
  src: url("../fonts/Wonderia.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Box sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default margins */
* {
    margin: 0;
}

/* Allow percentage-based heights */
html,
body {
    height: 100%;
}

/* Improve text rendering */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    background-color: #161815;
    color: #E2E4E1;
    font-size: 20px;
    font-family: 'Forum', serif;
    line-height: 1.4;
}

main {
    flex: 1;
}

/* Improve media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* Inherit fonts for form controls */
input,
button,
textarea,
select {
    font: inherit;
}

/* Prevent text overflow */
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
    font-family: 'Wonderia', sans-serif;
    /* letter-spacing: 2px; */
    text-wrap: balance;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: #18C524;
}

a.button {
    display: inline-block;
    text-transform: uppercase;
    color: #18C524;
    padding: 0.5rem 1rem;
    letter-spacing: 1px;
    border: 1px solid #18C524;
    border-radius: 3px;
    margin: 0 0.25rem;
    font-family: 'Smooch Sans', sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
    transition: all 0.2s ease;
}

a.button:hover {
    background-color: #18C524;
    color: #161815;
}

/* Improve line wrapping */
p {
    text-wrap: pretty;
    overflow-wrap: break-word;
}

h2 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
}

h3 {
    font-size: 3rem;
    font-family: 'Smooch Sans', sans-serif;
    font-weight: bold;
    color: #A6ACA6;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

p.subtitle {
    font-family: 'Forum', serif;
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    margin-top: -0.75rem;
    line-height: 1.25;
}

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

.text__centered {
    text-align: center;
}

.social__icon {
    width: 35px;
    margin: 0 0.25rem;
}

html {
    scroll-behavior: smooth;
}

/* Root stacking context */
#root,
#__next {
    isolation: isolate;
}

nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Smooch Sans', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    padding-top: 2rem;
}

nav a {
    padding: 0 0.75rem;
}

section {
    margin: 2rem 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        #161815ff 0%,
        #16181500 40%
    );
}

.hero {
    position: relative;
    z-index: -1;
}

main {
    width: 75vw;
    min-width: 400px;
    margin: 0 auto;
}

.logo img {
    width: 400px;
    margin: 0 2rem;
}

.socials {
    margin: 2rem 0;
}

.show {
    text-align: center;
    margin-bottom: 2.5rem;
}

.show a.button {
    margin-top: 2rem;
}

.contact form {
    width: 100%;
    min-width: 350px;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem auto;
}

.contact form .column__wrapper {
    width: 100%;
    display: flex;
    margin-bottom: 0.5rem;
}

.contact form .column__full {
    display: flex;
    width: 100%;
}

.contact form label {
    display: block;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.contact form span {
    width: calc(50% - 0.5rem);
    margin: 0 0.25rem 0.25rem;
}

.contact form textarea {
    min-height: 8rem;
}

.contact form span input {
    width: 100%;
}

.contact form .column__full span {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.contact form input,
.contact form textarea {
    border-radius: 4px;
    border: 1px solid #E2E4E1;
    outline: none;
    padding: 0.25rem;
    background-color: #161815;
    color: #E2E4E1;
}

.contact form button[type="submit"] {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #E2E4E1;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-family: 'Smooch Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    background-color: transparent;
    color: #E2E4E1;
    margin-top: 1rem;
    transition: all 0.2s ease;
}

.contact form button[type="submit"]:hover {
    background-color: #18C524;
    border-color: #18C524;
    color: #161815;
    cursor: pointer;
}

footer {
    padding: 0.25rem 0;
    text-align: center;
    color: #65655F;
}

/* Mobile */
@media (max-width: 767px) {
    nav {
        position: relative;
        padding: 0.5rem 0;
    }

    nav a {
        display: none;
    }

    .logo img {
        width: 80vw;
    }

    main {
        padding: 0 0.75rem;
    }
}

/* Hiding Unfinished Pieces */

.socials {
    display: none !important;
}