html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, header, hgroup,
menu, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, section {
    display: block;
}

ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

html {
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

a i {
    color:white;
    transition: color 0.3s;
}

a:hover i {
    color: #007BFF;
}

svg {
    color: white;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #4acf36;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#wrapper {
    flex:1;
    display: flex;
    flex-direction: column;
}

#header {
    display: inline-block;
    position: relative;
    text-align: center;
    top: -5rem;
    vertical-align: middle;
}
#header h1 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1em;
    color: transparent;

    background: inherit;
    -webkit-background-clip: text;

    text-shadow:
    0 2px 6px rgba(0,0,0,0.1),
    0 0 0.5px rgba(255,255,255,0.5);
}
#header p {
    font-size: 1.25em;
    margin: 0.75em 0 0.25em 0;
    opacity: 0.75;
}

#header nav {
    margin: 1.5em 0 0 0;
}
#header nav li {
    display: inline-block;
    height: 5.35em;
    line-height: 5.885em;
    position: relative;
    top: 0;
    width: 5.35em;
}
#header nav a {
    display: block;
    font-size: 1.75em;
    height: 2.5em;
    line-height: 2.5em;
    position: relative;
    text-align: center;
    top: 0;
    width: 2.5em;
}
#header nav a:hover {
}

#header nav a:hover:before {
    background-color: inherit;
}

#header nav a:active:before {
    background-color: inherit;
}

#header nav a span {
    display: none;
}

#main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
#main h1 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1em;
    color: rgba(0, 0, 0, 0.6);
}
#main h2 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1em;
}

#main nav {
    margin: 1.5em 0 0 0;
}
#main nav li {
    display: inline-block;
    height: 5.35em;
    line-height: 5.885em;
    position: relative;
    top: 0;
    width: 5.35em;
}
#main nav a {
    display: block;
    font-size: 1.75em;
    height: 2.5em;
    line-height: 2.5em;
    position: relative;
    text-align: center;
    top: 0;
    width: 2.5em;
}
#main nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* footer */
#footer {
    bottom: 0;
    cursor: default;
    left: 0;
    position: absolute;
    text-align: center;
    width: 100%;
    padding: 1.5em 0 0 0;
}

/* misc styling classes */
.row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.content-wrapper {
    display: flex;
    text-align: center;
    padding: 1.5rem;
    flex-wrap: wrap;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.emoji {
    position: fixed;
    top: -2rem;
    z-index: 9999;
    font-size: 2rem;
    pointer-events: none;
    will-change: transform, opacity;
    animation: fall linear forwards;
    animation-iteration-count: 1;
}


@keyframes fall {
    to {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0.9;
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    position: sticky;
    top: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.nav-li {
    display: inline-block;
    height: 5.35em;
    line-height: 5.885em;
    position: relative;
    top: 0;
    width: 5.35em;
}

.icon {
    text-decoration: none;
    position: relative;
}

.icon > .label {
    display: none;
}

.icon.solid:before {
    font-weight: 900;
}

.icon.brands:before {
    font-family: 'Font Awesome 5 Brands';
}

.icon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.icon-grid a {
    flex: 1 1 120px;
    text-align: center;
    color: white;
    text-decoration: none;
}

.frosted-button-single {
    display: inline-block;
    padding: 0.8em 1.4em;
    min-width: 8rem;
    max-width: 100%;
    border-radius: 50px;
    background-color: rgba(225, 225, 225, 0.20);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 0.5px solid rgba(255, 255, 255, 0.5);
    color: rgba(0, 0, 0, 0.6);
    /* disabled for light mode
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4),
    0 0 10px rgba(255, 255, 255, 0.2); */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    background-clip: padding-box;
    transition: all 0.3s ease;
    overflow: hidden;
    text-align: center;
    font-size: 1.5rem;
    cursor: pointer;
    text-decoration: none;
}

.frosted-button-circle {
    display: inline-block;
    justify-content: center;
    align-items: center;
    padding: 1em 1em;
    min-width: 1em;
    max-width: 100%;
    border-radius: 50%;
    background-color: rgba(225, 225, 225, 0.20);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 0.5px solid rgba(255, 255, 255, 0.5);
    color: rgba(0, 0, 0, 0.6);
    /* disabled for light mode
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4),
    0 0 10px rgba(255, 255, 255, 0.2); */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    background-clip: padding-box;
    transition: all 0.3s ease;
    overflow: hidden;
    text-align: center;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none; /* in case it's an <a> */
}

.frosted-button-single:hover,
.frosted-button-single:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: black;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.frosted-button-circle:hover,
.frosted-button-circle:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: black;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.frosted-input {
    min-width: 25rem;
    max-width: 100%;
    padding: 0.75em 1em;
    border-radius: 50px;
    background-color: rgba(225, 225, 225, 0.2);
    color: black;
    border: 0.5px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;

    font-size: 2rem;
    text-align: center;
    vertical-align: middle;

    display: flex;
    align-items: center;
    justify-content: center;

    resize: none;

    outline: none;
    margin-bottom: 1em;
}

.frosted-output {
    min-width: 25rem;
    max-width: 100%;
    padding: 0.75em 1em;
    border-radius: 50px;
    background-color: rgba(225, 225, 225, 0.2);
    color: black;
    border: 0.5px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;

    font-size: 2rem;
    text-align: center;
    vertical-align: middle;

    display: flex;
    align-items: center;
    justify-content: center;

    resize: none;

    outline: none;
    margin-bottom: 1em;
}

.frosted-input::placeholder {
    color: rgba(0, 0, 0, 0.6);
    transition: color 0.3s ease;
}
.frosted-output::placeholder {
    color: rgba(0, 0, 0, 0.6);
    transition: color 0.3s ease;
}

.frosted-input:hover,
.frosted-input:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: black;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.frosted-input:focus::placeholder {
    color: transparent;
}
