/* FONT LOADING */

@font-face {
    font-family: "GG Sans Normal";
    src: url("static/fonts/gg_sans_Normal.ttf") format("truetype");
}

@font-face {
    font-family: "GG Sans Medium";
    src: url("static/fonts/gg_sans_Medium.ttf") format("truetype");
}

@font-face {
    font-family: "GG Sans Bold";
    src: url("static/fonts/gg_sans_Bold.ttf") format("truetype");
}

@font-face {
    font-family: "Source Code Pro Normal";
    src: url("static/fonts/SourceCodePro-Regular.ttf") format("truetype");
}



/* VARIABLES */

@property --home-button-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}



/* KEYFRAMES */

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes home-float-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes loading-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* BODY STYLING */

body {
    background-color: #2c2c34;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    min-height: 100vh;
    margin: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    font-family: "GG Sans Normal";
}

button, input, textarea, select {
    font-family: inherit;
}



/* TOP NAV BAR */

#nav-wrapper {
    margin-top: 10px;
    margin-left: 40px;
    margin-right: 40px;
    padding: 0;
    color: white;
}

#nav-main-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#nav-avatar-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 10px;
}

#nav-avatar {
    width: 40px;
    height: 40px;
    cursor: pointer;
    vertical-align: middle;
}

#nav-status {
    margin: 0;
    padding: 0;
    font-size: 28px;
    color: #23a55a;
}

#top-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    column-gap: 40px;
}

.top-nav-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 5px;
    position: relative;
    cursor: pointer;
    font-size: 25px;
}

#top-nav a, #top-nav button {
    color: white;
}

#top-nav a {
    text-decoration: none;
}

#top-nav button {
    font-size: inherit;
    background-color: transparent;
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

#top-nav span {
    color: white;
}

#top-nav-dropdown-content {
    display: none;
    background-color: #2c2c34;
    border: 1px solid #cacaca;
    font-size: 18px;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
}

#top-nav-dropdown-content a {
    color: #7edbff;
}

#top-nav-dropdown-content a:hover {
    color: #2dafe2;
}

#top-nav-dropdown-content > * {
    margin: 0;
}

.top-nav-dropdown-content-row {
    display: flex;
    flex-direction: row;
    column-gap: 5px;
}

.top-nav-dropdown-content-row img {
    width: 18px;
    height: auto;
}

#top-nav-mobile {
    display: none;
    cursor: pointer;
}

.top-nav-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.top-nav-item.nav-active::after, .top-nav-item:hover::after {
    transform: scaleX(1);
}



/* GENERAL USE */

.dark-separator {
    color: #aaaaaa;
}

.code-text {
    background-color: black;
    color: white;
    font-family: "Source Code Pro Normal";
    font-size: inherit;
    padding: 0 5px;
    border: none;
    border-radius: 5px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #DB7C00;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

.switch input:checked + .slider {
    background-color: #0099F5;
}

.switch input:checked + .slider:before {
    transform: translateX(30px);
}

#onload-wrapper {
    opacity: 0;
    transform: translateY(50px);
    animation-name: home-float-up;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-delay: 0.1s;
    will-change: opacity, transform;
}

.onload-fade-in {
    opacity: 0;
    animation-name: fade-in;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.onload-fade-in-delayed {
    opacity: 0;
    animation-name: fade-in;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-delay: 1.5s;
}

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

.card-orange, .card-blue {
    border-radius: 5px;
    padding: 8px 12px;
}

.card-orange a, .card-blue a {
    color: white;
}

.card-orange {
    background-color: rgba(238, 212, 148, 0.3);
    border: 1px solid rgb(255, 183, 0);
}

.card-blue {
    background-color: rgba(148, 187, 238, 0.3);
    border: 1px solid rgb(0, 162, 255);
}

.blurred {
    filter: blur(5px);
}

.footer-content {
    color: white;
    font-size: 18px;
    background-color: rgb(77, 107, 78);
    border: 1px solid rgb(6, 158, 12);
    border-radius: 5px;
    margin-top: 30px;
    margin-left: 20px;
    margin-right: 20px;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
}

.footer-content p {
    margin: 0;
    padding: 0;
}

.footer-content a {
    color: white;
}

#switch-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    column-gap: 20px;
    margin-top: 30px;
    margin-left: 20px;
    margin-right: 20px;
    padding: 0;
}

#switch-wrapper p {
    margin-top: 0;
    margin-bottom: 0;
}

#switch-wrapper p:first-child {
    text-align: right;
}

#switch-wrapper p:last-child {
    text-align: left;
}

#content-and-on-this-page-wrapper {
    display: flex;
    justify-content: space-between;
    column-gap: 30px;
    margin: 30px 20px;
}

#content-wrapper {
    flex: 1;
}

#on-this-page-wrapper {
    color: white;
    margin: 0;
    border-radius: 5px;
    padding: 15px 15px;
    background-color: rgba(148, 187, 238, 0.3);
    border: 1px solid rgb(0, 162, 255);
    align-self: flex-start;
    position: sticky;
    top: 30px;
    overflow: hidden;
}

#on-this-page-title {
    margin: 0;
    font-size: 25px;
}

#on-this-page-wrapper ul {
    list-style: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-top: 15px;
    padding: 0;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    white-space: nowrap;
}

#on-this-page-wrapper a {
    color: white;
}

.content-separator {
    margin-top: 30px;
    margin-bottom: 30px;
    border: none;
    height: 3px;
    background-color: white;
    border-radius: 5px;
}

.accordion-button {
    cursor: pointer;
    padding: 10px 18px;
    width: 100%;
    text-align: left;
    border: none;
    border-radius: 10px;
    outline: none;
    transition: background-color 0.4s, border-radius 0s;
    background-color: #2c2c34;
    color: white;
    font-size: 20px;
}

.accordion-active, .accordion-button:hover {
    background-color: #5865f2;
}

.accordion-button::after {
    content: "+";
    float: right;
}

.accordion-active::after {
    content: "-";
}

.accordion-panel {
    padding: 0 18px;
    overflow: hidden;
    max-height: 0;
    background-color: #545454;
    color: white;
    font-size: 20px;
    border-radius: 0 0 10px 10px;
}

.accordion-panel a {
    color: #7edbff;
}

.accordion-text {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0;
}

.important-border {
    border: 1px solid #ffe100;
}

.updated-date {
    color: #bebebe;
    font-size: 25px;
    margin-top: 0;
    margin-bottom: 10px;
}

#policy-title, .policy-header, .policy-subheader, .policy-details, .policy-note, .policy-table {
    color: white;
}

#policy-title {
    margin-top: 30px;
    margin-bottom: 0;
    font-size: 40px;
    text-align: center;
}

.policy-header {
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 20px;
    counter-increment: policy-numbers;
}

.policy-header::before {
    content: counter(policy-numbers);
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #5865f2;
    text-align: center;
    margin-right: 10px;
}

.policy-subheader {
    font-size: 22px;
}

.policy-details {
    font-size: 18px;
}

.policy-details a {
    color: #7edbff;
}

.policy-note {
    font-size: 14px;
}

.policy-note a {
    color: #7edbff;
}

.policy-table-container {
    overflow-x: auto;
}

.policy-table {
    border-collapse: collapse;
}

.policy-table th, .policy-table td {
    border-top: 1px solid #bebebe;
    border-bottom: 1px solid #bebebe;
}

.policy-table th {
    text-align: left;
    margin: 0;
    padding: 0;
}

.slideshow-viewport {
    margin-top: 30px;
    margin-left: 60px;
    margin-right: 60px;
    color: white;
    column-gap: 25px;
    align-items: flex-start;
}

#slideshow-slide-wrapper {
    flex: 1;
    margin: 0;
}

.slideshow-slide {
    display: none;
    border: 1px solid white;
    border-radius: 10px;
    padding: 10px;
}

.slideshow-slide * {
    margin: 0;
    padding: 0;
}

.slideshow-header {
    font-size: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    column-gap: 10px;
}

.slideshow-page-number {
    font-size: 20px;
    white-space: nowrap;
}

.slideshow-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 30px;
}

.slideshow-text {
    font-size: 20px;
    flex: 1;
}

.slideshow-text.card-blue {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 5px 10px;
}

.slideshow-row img {
    width: 230px;
    height: auto;
}

#slideshow-prev, #slideshow-next {
    cursor: pointer;
    font-size: 30px;
    margin-top: 10px;
    margin-bottom: 0;
    padding: 0 4px;
    border: 1px solid transparent;
    transition: border 0.2s;
    border-radius: 8px;
}

#slideshow-prev:hover, #slideshow-next:hover {
    border: 1px solid white;
}

#slideshow-dot-wrapper {
    display: flex;
    background-color: black;
    margin-top: 15px;
    padding: 5px 10px;
    border-radius: 20px;
    column-gap: 8px;
}

.slideshow-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    background-color: #bbb;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.slideshow-dot:hover, .slideshow-dot-active {
    background-color: #717171;
}



/* home.html */

#home-onload-delayed {
    opacity: 0;
    transform: translateY(50px);
    animation-name: home-float-up;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-delay: 1.5s;
}

#home-wrapper {
    margin-top: 30px;
}

#home-title {
    color: white;
    font-family: "GG Sans Medium";
    display: flex;
    column-gap: 20px;
}

#home-title>* {
    margin: 0;
    padding: 0;
}

#home-title-avatar {
    width: 80px;
    height: 80px;
    line-height: 1;
}

#home-bot-name {
    font-size: 100px;
}

#home-bot-tag {
    font-size: 50px;
    color: #c9c9c9;
}

#home-badges {
    display: grid;
    grid-template-columns: 110px 70px 70px;
    grid-template-rows: 40px 60px;
    column-gap: 40px;
    row-gap: 0;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

#home-badges > * {
    justify-self: center;
    align-self: center;
}

#home-verified-app-badge {
    width: 100px;
    height: auto;
}

#home-supports-commands-badge {
    width: 60px;
    height: 60px;
}

#home-status-badge {
    width: 50px;
    height: 50px;
}

.home-badge-text {
    visibility: hidden;
    background-color: black;
    color: white;
    text-align: center;
    font-size: 20px;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 20px;
    white-space: nowrap;
    justify-self: center;
    align-self: end;
}

#home-status-badge-loading {
    border: 6px solid #2c2c34;
    border-top: 6px solid white;
    border-right: 6px solid white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    animation: loading-spin 1s linear infinite;
}

#home-subtitle, #home-commands-wrapper {
    color: #c9c9c9;
}

#home-subtitle {
    font-size: 28px;
    padding-left: 20px;
    padding-right: 20px;
}

#home-subtitle > * {
    margin-top: 20px;
    margin-bottom: 20px;
}

#home-subtitle-colored {
    --home-subtitle-background-size: 400%;
    background-image: linear-gradient(74deg, rgb(66, 133, 244) 0px, rgb(155, 114, 203) 9%, rgb(217, 101, 112) 20%, rgb(217, 101, 112) 24%, rgb(155, 114, 203) 35%, rgb(66, 133, 244) 44%, rgb(155, 114, 203) 50%, rgb(217, 101, 112) 56%, rgb(155, 114, 203) 75%, rgb(66, 133, 244) 100%);
    background-size: var(--home-subtitle-background-size) 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#home-commands-wrapper {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 30px;
    column-gap: 10px;
    row-gap: 5px;
}

#home-commands-wrapper > * {
    margin: 0;
}

#home-commands-count {
    background-color: black;
    padding: 0 5px;
    border: none;
    border-radius: 5px;
    font-family: "Source Code Pro Normal";
}

#home-commands-text, #home-commands-card {
    font-size: 24px;
    min-height: 32px;
    padding: 5px 0;
}

#home-commands-card {
    color: white;
    border-radius: 10px;
    padding: 5px;
}

#home-buttons {
    margin-top: 10px;
    column-gap: 40px;
    row-gap: 20px;
}

#home-invite {
    cursor: pointer;
    color: white;
    font-size: 20px;
    border: none;
    background-color: #5865f2;
    border-radius: 20px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    flex-direction: row;
    position: relative;
    transition: background-color 0.3s ease;
}

#home-invite:hover {
    background-color: #7f89f0;
}

#home-invite::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 2px;
    border-radius: 22px;
    background-image: conic-gradient(from var(--home-button-angle) at 50% 50%, #f08d24 0deg, #ffff0d 100deg, #f08d24 120deg, #ff3030 290deg, #f08d24 300deg);
}

#home-invite-link {
    text-decoration: none;
}

#home-invite-icon {
    width: 30px;
    height: auto;
    vertical-align: middle;
    margin-right: 10px;
}

#home-invite-external {
    margin-left: 5px;
}

#home-more-info {
    cursor: pointer;
    color: white;
    font-size: 20px;
    border: none;
    background-color: #4e4e4e;
    border-radius: 20px;
    padding: 10px 20px;
    position: relative;
    transition: background-color 0.3s ease;
}

#home-more-info:hover {
    background-color: #6a6a6a;
}

#home-more-info::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 2px;
    border-radius: 22px;
    background-image: conic-gradient(from var(--home-button-angle) at 50% 50%, #00c538 0deg, #155edd 130deg, #8E47FE 180deg, #155edd 330deg, #00c538 360deg);
}



/* about.html - feature explorer */

#about-wrapper {
    display: flex;
    column-gap: 40px;
    margin-top: 0;
}

#about-selection-container {
    margin-left: 20px;
    width: calc(3 * 100px + 2 * 20px);
}

#about-selection-grid {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
    justify-content: left;
    align-items: center;
}

.about-selection-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 5px;
    background-color: #4e4e4e;
    color: white;
    font-size: 16px;
    margin-top: 10px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100px;
    height: 60px;
}

.about-selection-emoji {
    font-size: 20px;
    margin-bottom: 2px;
}

.about-selection-text {
    margin-top: 2px;
}

#about-selection-title {
    color: white;
}

#about-selection-title-header {
    font-size: 30px;
    margin-top: 25px;
}

#about-selection-title-description {
    font-size: 20px;
}

#about-category-wrapper {
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(50px);
    padding-left: 20px;
    padding-right: 20px;
}

#about-category-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-category-text {
    color: white;
    text-align: left;
}

.about-category-title {
    font-size: 40px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.about-category-description {
    font-size: 18px;
}

.about-category-image-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 50%;
    column-gap: 5px;
}

.about-category-image {
    max-width: 100%;
    border-radius: 10px;
}

.discord-button {
    color: white;
    background-color: #5865f2;
    font-size: 15px;
    border: none;
    border-radius: 2px;
    margin-bottom: 15px;
    padding: 8px;
    position: relative;
    z-index: 9999;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.discord-button:hover {
    background-color: #3444ed;
}



/* about.html - command documentation */

#commands-title, #commands-subtitle {
    color: white;
    padding-left: 20px;
    padding-right: 20px;
}

#commands-title {
    margin-top: 25px;
    margin-bottom: 0;
    font-size: 40px;
    text-align: center;
}

#commands-subtitle {
    font-size: 25px;
    margin-bottom: 0;
}

#commands-search-bar {
    margin-top: 35px;
}

#commands-search-suggestions {
    display: none;
}

#commands-search-bar input[type="text"] {
    width: 60%;
    border-radius: 100px;
    background-color: #4e4e4e;
    padding: 10px 30px;
    border: 2px solid transparent;
    font-size: 30px;
    color: white;
}

#commands-search-bar input[type="text"]::placeholder {
    font-size: 30px;
    color: #8f8f8f;
}

#commands-search-bar input[type="text"]:focus {
    outline: none;
    border: 2px solid #007CC2;
}

#commands-search-bar input[type="text"]::-webkit-calendar-picker-indicator {
    display: none !important;
}

#commands-search-button {
    margin-left: 30px;
    border-radius: 50%;
    border: none;
    background-color: #4e4e4e;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#commands-search-button img {
    filter: invert(1);
}

#commands-search-loading {
    border: 2px solid #4e4e4e;
    border-top: 2px solid white;
    border-right: 2px solid white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: loading-spin 1s linear infinite;
}

#commands-search-results {
    margin: 0 auto;
    border-radius: 15px;
}

#commands-search-results-dropdown {
    background-color: #4e4e4e;
    border-radius: 15px;
    border: 1px solid #cacaca;
    margin-top: 25px;
    max-width: 80vw;
}

#commands-search-results-sort-container {
    display: grid;
    grid-template-columns: repeat(3, min-content);
    grid-template-rows: auto auto;
    justify-content: center;
    column-gap: 25px;
    row-gap: 5px;
    color: white;
    font-size: 16px;
    margin-top: 10px;
    padding: 0 8px;
    max-height: 24px;
}

.commands-search-results-sort-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 5px;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s;
}

.commands-search-results-sort-button > * {
    margin: 0;
}

.commands-search-results-sort-button:hover, .commands-search-results-sort-button-active {
    border-bottom: 1px solid white;
}

.commands-search-results-sort-content {
    background-color: #2a2a2a;
    box-shadow: 0px 4px 16px black;
    z-index: 1;
    align-self: start;
    visibility: hidden;
}

.commands-search-results-sort-content-text {
    padding: 0 5px;
}

.commands-search-results-sort-content-active {
    background-color: #0e6000;
}

.commands-search-results-sort-content-text:hover {
    background-color: #1aaa00;
}

.commands-search-results-header, .commands-search-results-card, .commands-search-results-nodisplay {
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
}

.commands-search-results-header, .commands-search-results-nodisplay {
    font-size: 18px;
    color: #c0c0c0;
    text-align: center;
}

.commands-search-results-nodisplay {
    margin-top: 0;
}

.commands-search-results-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.commands-search-results-description-container {
    display: flex;
    justify-content: left;
    padding: 10px;
    gap: 10px;
}

.commands-search-results-show-hide-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    color: white;
    font-size: 18px;
    padding-bottom: 10px;
    cursor: pointer;
    position: relative;
    width: 50px;
    margin: 0 auto;
}

.commands-search-results-show-hide-container::after {
    content: "";
    position: absolute;
    bottom: 8px;
    width: 100%;
    height: 2px;
    background-color: white;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.commands-search-results-show-hide-container:hover::after {
    opacity: 1;
}

.commands-search-results-card {
    font-size: 20px;
    border-radius: 10px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
    padding: 5px;
    border: 1px solid transparent;
    color: white;
    cursor: pointer;
}

.commands-search-results-card-premium {
    border: 1px solid #ffb700;
}

.commands-search-results-card-nsfw {
    border: 1px solid #ff4800;
}

.commands-search-results-card b {
    font-family: "GG Sans Bold";
    font-weight: 300;
}

.commands-search-results-card-description {
    font-size: 16px;
    color: #c0c0c0;
}

.commands-search-results-card-description b {
    font-family: "GG Sans Bold";
    font-weight: 300;
}

#commands-search-results-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#commands-search-results-overlay-info {
    background-color: #4e4e4e;
    border: 1px solid #cacaca;
    border-radius: 10px;
    width: 80vw;
    height: 80vh;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

#commands-search-results-overlay-header {
    text-align: center;
    color: white;
}

#commands-search-results-overlay-title {
    font-size: 35px;
    margin-bottom: 20px;
}

#commands-search-results-overlay-aliases-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

#commands-search-results-overlay-tag,
#commands-search-results-overlay-aliases {
    font-size: 20px;
}

#commands-search-results-overlay-tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.commands-search-results-overlay-tag {
    font-size: 20px;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
    border: none;
    border-radius: 5px;
    margin-right: 15px;
}

#commands-search-results-overlay-table {
    color: white;
    font-size: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    margin-bottom: 20px;
}

.commands-search-results-overlay-table-title {
    padding-right: 80px;
}

.commands-search-results-overlay-table-title,
.commands-search-results-overlay-table-content {
    padding-bottom: 15px;
}

#commands-search-results-overlay-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background-color: transparent;
}

#commands-search-results-overlay-close img {
    filter: invert(1);
}

#commands-search-results-overlay-close {
    cursor: pointer;
}



/* support.html - help center */

.support-title, .support-subtitle {
    color: white;
}

.support-title {
    margin-top: 30px;
    margin-bottom: 0;
    font-size: 40px;
    text-align: center;
}

.support-subtitle {
    font-size: 30px;
    margin-top: 0;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.support-text {
    font-size: 20px;
    color: white;
    margin-left: 20px;
    margin-right: 20px;
}

#support-server-wrapper {
    margin-top: 20px;
    display: flex;
    column-gap: 40px;
    row-gap: 20px;
    align-items: self-start;
}

#support-server-invite, #support-server-widget {
    cursor: pointer;
    color: white;
    font-size: 20px;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

#support-server-invite {
    background-color: #5865f2;
    display: flex;
    align-items: center;
}

#support-server-invite:hover {
    background-color: #7f89f0;
}

#support-server-widget {
    background-color: #4e4e4e;
}

#support-server-widget:hover {
    background-color: #6a6a6a;
}

#support-server-invite-icon {
    width: 30px;
    height: auto;
    vertical-align: middle;
    margin-right: 10px;
}

#support-server-invite-external {
    vertical-align: middle;
    margin-left: 5px;
}

#support-server-link {
    text-decoration: none;
}

#support-feedback {
    margin-left: 20px;
    margin-right: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.support-feedback-input {
    display: flex;
    flex-direction: row;
}

.support-feedback-icon {
    text-align: center;
    padding: 10px;
    background-color: #007CC2;
    width: 24px;
    border-radius: 8px 0 0 8px;
}

.support-feedback-field {
    width: 100%;
    box-sizing: border-box;
    font-size: 18px;
    padding: 5px 10px;
    border-radius: 0 8px 8px 0;
    border-left: none;
    border-right: 2px solid transparent;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
}

.support-feedback-field:focus {
    outline: none;
    border-right: 2px solid #007CC2;
    border-top: 2px solid #007CC2;
    border-bottom: 2px solid #007CC2;
}

#support-feedback-submit {
    cursor: pointer;
    background-color: #007CC2;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
}

#support-feedback-submit:hover {
    background-color: #4b8eb5;
}

#support-feedback-submitted {
    color: white;
    font-size: 20px;
    column-gap: 15px;
}



/* support.html - getting started */

#get-started-subtitle {
    font-size: 25px;
    color: white;
    margin-top: 25px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 0;
}



/* terms.html */



/* MOBILE SCREEN SIZE ADJUSTMENTS */

@media (max-width: 650px) {
    .top-nav-item {
        display: none;
    }

    #top-nav-mobile {
        display: flex;
        order: -1;
    }

    #top-nav-list.top-nav-mobile-active {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    #top-nav-list.top-nav-mobile-active .top-nav-item {
        display: flex;
    }

    #top-nav-list.top-nav-mobile-active #nav-wrapper {
        align-items: flex-start;
    }

    #home-title {
        flex-direction: column;
    }

    #home-bot-name {
        font-size: 90px;
    }

    .home-badge-text {
        white-space: wrap;
        font-size: 17px;
    }

    #home-commands-wrapper {
        flex-direction: column;
    }

    #home-buttons {
        flex-direction: column;
    }

    #about-wrapper {
        flex-direction: column;
    }

    #support-server-wrapper {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
    }

    #content-and-on-this-page-wrapper {
        flex-direction: column;
    }

    #on-this-page-wrapper {
        order: 1;
        position: static;
        margin-bottom: 30px;
    }

    #content-wrapper {
        order: 2;
    }

    .slideshow-viewport {
        flex-direction: column;
        align-items: center;
        margin-left: 10px;
        margin-right: 10px;
    }

    #slideshow-slide-wrapper {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .slideshow-row {
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
    }

    #slideshow-prev, #slideshow-next {
        margin: 0;
        transform: rotate(90deg);
    }
}



/* REDUCED MOTION ADJUSTMENTS */

@media (prefers-reduced-motion: no-preference) {
    @keyframes home-button-border-spin {
        from {
            --home-button-angle: 0deg;
        }
    
        to {
            --home-button-angle: 360deg;
        }
    }

    #home-invite::before {
        animation: 3s home-button-border-spin linear infinite;
    }

    #home-more-info::before {
        animation: 3s home-button-border-spin linear infinite;
    }

    @keyframes home-subtitle-bg-move {
        from {
            background-position: var(--home-subtitle-background-size) 0;
        }
    }

    #home-subtitle-colored {
        animation: 30s home-subtitle-bg-move linear infinite;
    }
}