html {
    scrollbar-width: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

#bg-canvas {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

#page-content {
    width: 100vw;
    background: linear-gradient(#fafafa00, #fafafa);
}

#page-content.dark-mode {
    background: linear-gradient(#04040400, #040404);
}

#user-actions-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 2em;
    left: 2em;
    gap: 1em;
}

#login-button-container {
    border-radius: 2em;
    padding: 0.5em;
}

#sign-up-button-container {
    border-radius: 2em;
    padding: 0.5em;
}

#theme-button-container {
    position: fixed;
    top: 2em;
    right: 2em;
}

#top-button-container {
    position: fixed;
    bottom: 2em;
    right: 2em;
    transition: opacity ease-in-out 0.1s;
}

#back-button-container {
    position: fixed;
    top: 2em;
    left: 2em;
    transition: opacity ease-in-out 0.1s;
}

#scroll-bar {
    position: fixed;
    top: 0.1em;
    right: 0.1em;
    width: 0.5em;
    height: calc(100vh - 0.2em);
}

#scroll-handle {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 10em;
    border-radius: 0.25em;
    background-color: rgba(127, 127, 127, 0.7);
    cursor: pointer;
}

.dark-mode {
    color: white;
}

img.light-image.light-mode {
    filter: invert(1);
}

img.dark-image.dark-mode {
    filter: invert(1);
}

.invert {
    filter: invert(1);
}

.fill.light-mode {
    background-color: rgba(252, 252, 252, 1);
}

.fill.dark-mode {
    background-color: rgba(3, 3, 3, 1);
}

.transparent.light-mode {
    background-color: rgba(252, 252, 252, 0.7);
}

.transparent.dark-mode {
    background-color: rgba(3, 3, 3, 0.7);
}

.transparent-white {
    background-color: rgba(252, 252, 252, 0.7);
}

.transparent-black {
    background-color: rgba(3, 3, 3, 0.7);
}

.white-text {
    color: #ffffff;
}

.content-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: start;
    align-items: center;
}

.overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100vw;
    min-height: 100vh;
}

.page-spacer {
    width: 100vw;
    height: 100vh;
}

.title-banner-content-container {
    height: 15em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.banner-content-container {
    height: 12em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.banner {
    width: 100%;
    box-shadow: #999 0px 0px 5px 0px;
    margin: 2.5em 0px;
    padding: 1em;
}

.content-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    min-height: 20em;
    min-width: 75%;
    max-width: 75%;
    padding: 2em;
    margin: 4em;
    border-radius: 3px;
    box-shadow: #999 0px 0px 5px 0px;
}

.content-header {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.content-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

.image-carousel {
    align-self: flex-end;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.carousel-buttons {
    align-self: flex-end;
    display: flex;
    flex-direction: row;
    margin-top: -10em;
    z-index: 100;
    justify-content: space-between;
    align-items: center;
}

h1,
.h1-text {
    margin: 0.25em 0px;
    font-size: 3.5rem;
    font-weight: normal;
}

h2,
.h2-text {
    margin: 0.25em 0px;
    font-size: 2.5rem;
    font-weight: normal;
}

h3,
.h3-text {
    margin: 0.25em 0px;
    font-size: 1.75rem;
    font-weight: normal;
}

h4,
.h4-text {
    margin: 0.25em 0px;
    font-size: 1.25rem;
    font-weight: normal;
}

h5,
.h5-text {
    margin: 0.25em 0px;
    font-size: 1.1rem;
    font-weight: normal;
}

.text-content {
    width: 100%;
    margin: 1em 0px;
}

p,
.text {
    margin: 0.5em 0px;
    font-size: 1rem;
}

h1.dark-mode,
.h1-text.dark-mode {
    color: white;
}

h2.dark-mode,
.h2-text.dark-mode {
    color: white;
}

h3.dark-mode,
.h3-text.dark-mode {
    color: white;
}

h4.dark-mode,
.h4-text.dark-mode {
    color: white;
}

h5.dark-mode,
.h5-text.dark-mode {
    color: white;
}

p.dark-mode,
.text.dark-mode {
    color: white;
}

.banner-content-container .h1-text,
.banner-content-container h1 {
    margin: 0px;
}

.banner-content-container .h2-text,
.banner-content-container h2 {
    margin: 0px;
}

.banner-content-container .h3-text,
.banner-content-container h3 {
    margin: 0px;
}

.banner-content-container .h4-text,
.banner-content-container h4 {
    margin: 0px;
}

.image {
    margin: -4em 2em 0px 2em;
    min-width: 15em;
    min-height: 15em;
    border-radius: 3px;
    box-shadow: #999 0px 0px 5px 0px;
}

.after-image {
    margin-left: 1em;
}

.form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 1em;
    gap: 1em;
}

.form-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1em;
}

.form-label {
}

.form-input {
    padding: 0.25rem;
    border-width: 0px;
    border-radius: 3px;
    box-shadow: #999 0px 0px 5px 0px;
}

.form-button {
    border: none;
    padding: 0.25rem;
    border-radius: 3px;
    box-shadow: #999 0px 0px 5px 0px;
}

@media screen and (max-width: 1800px) {
    .content-box {
        width: 85vw;
        max-width: 85vw;
        margin-left: 0px;
        margin-right: 0px;
    }
}

@media screen and (max-width: 1200px) {
    .h1-text,
    h1 {
        font-size: 3rem;
    }

    .h2-text,
    h2 {
        font-size: 2.25rem;
    }

    .h3-text,
    h3 {
        font-size: 1.5rem;
    }

    .content-box {
        width: 100vw;
        max-width: 100vw;
        margin-left: 0px;
        margin-right: 0px;
    }

    .image {
        min-height: 10em;
        min-width: 10em;
    }
}

@media screen and (max-width: 900px) {
    .h1-text,
    h1 {
        font-size: 2.75rem;
    }

    .h2-text,
    h2 {
        font-size: 2rem;
    }

    .h3-text,
    h3 {
        font-size: 1.25rem;
    }

    .link-row {
        flex-direction: column;
        align-items: center;
    }

    .content-box :first-child {
        flex-direction: column;
    }

    .image {
        margin-left: 1em;
    }

    .after-image {
        margin: 1rem 1rem;
    }
}

.image-carousel * {
    margin: 0px -1em;
}

.fas.light-mode {
    font-size: 4em;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: opacity(50%);
    cursor: pointer;
}

.fas.dark-mode {
    font-size: 4em;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: opacity(50%) invert(100%);
    cursor: pointer;
}

.interactable-gradient.dark-mode {
    background: linear-gradient(135deg, #ffffff00, #16161680 25%, #ffffff00);
    background-size: 200% 200%;
    -webkit-animation: animation-back 0.2s ease forwards;
    -moz-animation: animation-back 0.2s ease forwards;
    animation: animation-back 0.2s ease forwards;
}

.interactable-gradient.dark-mode:hover {
    -webkit-animation: animation-forward 0.2s ease forwards;
    -moz-animation: animation-forward 0.2s ease forwards;
    animation: animation-forward 0.2s ease forwards;
}

.interactable-gradient {
    background: linear-gradient(135deg, #ffffff00, #e9e9e980 25%, #ffffff00);
    box-shadow: #999 0px 0px 3px 0px;
    background-size: 200% 200%;
    -webkit-animation: animation-back 0.2s ease forwards;
    -moz-animation: animation-back 0.2s ease forwards;
    animation: animation-back 0.2s ease forwards;
}

.interactable-gradient:hover {
    -webkit-animation: animation-forward 0.2s ease forwards;
    -moz-animation: animation-forward 0.2s ease forwards;
    animation: animation-forward 0.2s ease forwards;
}

.interactable-gradient.dark-mode.disabled {
    background: linear-gradient(135deg, #ffffff00, #16161640 25%, #ffffff00);
    background-size: 200% 200%;
    background-position: 100% 100%;
    -webkit-animation: none;
    -moz-animation: none;
    animation: none;
}

.interactable-gradient.dark-mode.disabled:hover {
    -webkit-animation: none;
    -moz-animation: none;
    animation: none;
}

.interactable-gradient.disabled {
    background: linear-gradient(135deg, #ffffff00, #e9e9e940 25%, #ffffff00);
    box-shadow: #999 0px 0px 3px 0px;
    background-size: 200% 200%;
    background-position: 100% 100%;
    -webkit-animation: none;
    -moz-animation: none;
    animation: none;
}

.interactable-gradient.disabled:hover {
    -webkit-animation: none;
    -moz-animation: none;
    animation: none;
}

.button-new {
    cursor: pointer;
    border: 0px;
    border-radius: 3px;
}

.button-new.disabled {
    cursor: default;
}

.link.dark-mode {
    background: linear-gradient(135deg, #ffffff00, #16161680 25%, #ffffff00);
    color: rgb(195, 195, 195);
    background-size: 200% 200%;
    transition: margin 0.2s, width 0.2s, height 0.2s;
    -webkit-animation: animation-back 0.2s ease forwards;
    -moz-animation: animation-back 0.2s ease forwards;
    animation: animation-back 0.2s ease forwards;
}

.link.dark-mode:hover {
    color: white;
    transition: width 0.2s, height 0.2s;
    -webkit-animation: animation-forward 0.2s ease forwards;
    -moz-animation: animation-forward 0.2s ease forwards;
    animation: animation-forward 0.2s ease forwards;
}

.link.dark-mode.disabled {
    color: rgb(95, 95, 95);
    cursor: default;
    background: linear-gradient(135deg, #ffffff00, #16161640 25%, #ffffff00);
    box-shadow: #999 0px 0px 3px 0px;
    background-size: 200% 200%;
    background-position: 100% 100%;
    transition: none;
    -webkit-animation: none;
    -moz-animation: none;
    animation: none;
}

.link.dark-mode.disabled:hover {
    color: rgb(95, 95, 95);
    cursor: default;
    transition: none;
    -webkit-animation: none;
    -moz-animation: none;
    animation: none;
}

.link-text.dark-mode {
    color: rgb(195, 195, 195);
    cursor: pointer;
}

.link-text.dark-mode:hover {
    color: white;
}

.link-text.dark-mode.disabled {
    color: rgba(195, 195, 195, 0.8);
    cursor: default;
}

.link-text.dark-mode.disabled:hover {
    color: rgba(195, 195, 195, 0.8);
}

.link-row {
    display: flex;
}

.link-row-group {
    display: flex;
    align-items: center;
}

.link-row-group * {
    margin-left: 0.5em;
    margin-right: 0.5em;
}

.link {
    padding: 0.25em;
    min-width: 5em;
    text-align: center;
    border-radius: 3px;
    margin-top: 0.5em;
    text-decoration: none;
    color: rgb(60, 60, 60);
    cursor: pointer;
    background: linear-gradient(135deg, #ffffff00, #e9e9e980 25%, #ffffff00);
    box-shadow: #999 0px 0px 3px 0px;
    background-size: 200% 200%;
    transition: width 0.2s, height 0.2s;
    -webkit-animation: animation-back 0.2s ease forwards;
    -moz-animation: animation-back 0.2s ease forwards;
    animation: animation-back 0.2s ease forwards;
}

.link:hover {
    color: black;
    text-decoration: none;
    transition: width 0.2s, height 0.2s;
    -webkit-animation: animation-forward 0.2s ease forwards;
    -moz-animation: animation-forward 0.2s ease forwards;
    animation: animation-forward 0.2s ease forwards;
}

.link.disabled {
    color: rgb(160, 160, 160);
    cursor: default;
    background: linear-gradient(135deg, #ffffff00, #e9e9e940 25%, #ffffff00);
    box-shadow: #999 0px 0px 3px 0px;
    background-size: 200% 200%;
    background-position: 100% 100%;
    transition: none;
    -webkit-animation: none;
    -moz-animation: none;
    animation: none;
}

.link.disabled:hover {
    color: rgb(160, 160, 160);
    cursor: default;
    transition: none;
    -webkit-animation: none;
    -moz-animation: none;
    animation: none;
}

.link-text {
    color: rgb(60, 60, 60);
    cursor: pointer;
}

.link-text:hover {
    color: black;
}

.link-text.disabled {
    color: rgba(60, 60, 60, 0.8);
    cursor: default;
}

.link-text.disabled:hover {
    color: rgba(60, 60, 60, 0.8);
}

.link-bar {
    cursor: pointer;
    width: calc(100% + 1em);
    background: #e9e9e980;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0px -0.5em;
    padding: 0px 0.5em;
    border-radius: 0.25em;
}

.link-bar.dark-mode {
    background: #16161680;
}

.link-bar .fas {
    font-size: 2em;
}

.home-link {
    cursor: pointer;
}

.icon-row-group * {
    margin-right: 1em;
}

.icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0.5em;
    width: 5em;
    height: 5em;
    background: linear-gradient(135deg, #ffffff00, #e9e9e980 25%, #ffffff00);
    box-shadow: #999 0px 0px 3px 0px;
    background-size: 200% 200%;
    -webkit-animation: animation-back 0.2s ease forwards;
    -moz-animation: animation-back 0.2s ease forwards;
    animation: animation-back 0.2s ease forwards;
}

.icon:hover {
    -webkit-animation: animation-forward 0.2s ease forwards;
    -moz-animation: animation-forward 0.2s ease forwards;
    animation: animation-forward 0.2s ease forwards;
}

.icon.dark-mode {
    background: linear-gradient(135deg, #ffffff00, #16161680 25%, #ffffff00);
    background-size: 200% 200%;
}

.icon :first-child {
    font-size: 4em;
    filter: opacity(85%);
}

.link-icon {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 5em;
    height: 5em;
    background: linear-gradient(135deg, #ffffff00, #e9e9e980 25%, #ffffff00);
    box-shadow: #999 0px 0px 3px 0px;
    background-size: 200% 200%;
    transition: margin 0.2s, width 0.2s, height 0.2s;
    -webkit-animation: animation-back 0.2s ease forwards;
    -moz-animation: animation-back 0.2s ease forwards;
    animation: animation-back 0.2s ease forwards;
}

.link-icon:hover {
    margin: -0.25em 0.75em -0.25em -0.25em;
    width: 5.5em;
    height: 5.5em;
    transition: margin 0.2s, width 0.2s, height 0.2s;
    -webkit-animation: animation-forward 0.2s ease forwards;
    -moz-animation: animation-forward 0.2s ease forwards;
    animation: animation-forward 0.2s ease forwards;
}

.link-icon.dark-mode {
    background: linear-gradient(135deg, #ffffff00, #16161680 25%, #ffffff00);
    background-size: 200% 200%;
}

.circle-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3rem;
    min-width: 3rem;
    border-radius: 1.5rem;
}

.no-margin {
    margin: 0px;
}

i.dark-mode {
    color: #ffffff;
}

@-webkit-keyframes animation-forward {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}
@-moz-keyframes animation-forward {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}
@keyframes animation-forward {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

@-webkit-keyframes animation-back {
    0% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}
@-moz-keyframes animation-back {
    0% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}
@keyframes animation-back {
    0% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}
