#home {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    height: auto;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    min-height: 100%;
}

.content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

.join-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.join-box {
    display: flex;
    width: 200px;
    height: 250px;
    border-radius: 22px;
    border: solid var(--shade-3) 1px;
    background-color: var(--shade-5);
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 22px 12px 12px;
}

.text-box {
    display: none;
    width: 450px;
    height: 250px;
    border-radius: 22px;
    border: solid var(--shade-3) 1px;
    background-color: var(--shade-5);
    padding: 14px;
    box-sizing: border-box;
    flex-direction: column;
}

.discord-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "IsidoraSans-SemiBold";
    font-size: 1rem;
    color: var(--shade-1);
    padding-bottom: 8px;
    margin-bottom: 10px;
    position: relative;
    width: 100%;
}

.discord-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background-color: var(--shade-3);
}

.status-dot {
    width: 9px;
    height: 9px;
    background-color: #23a55a;
    border-radius: 50%;
    display: inline-block;
}

.voice-channels-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    height: 100%;
    text-align: left;
    padding-right: 4px;
}

.voice-channels-list::-webkit-scrollbar {
    width: 6px;
}

.voice-channels-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.channel-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.channel-name {
    font-family: "IsidoraSans-SemiBold";
    font-size: 0.95rem;
    color: var(--shade-1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.channel-users {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 10px;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "IsidoraSans-SemiBold";
    font-size: 0.95rem;
    color: var(--shade-1);
}

.user-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

.no-one {
    font-family: "IsidoraSans-SemiBold";
    font-size: 0.95rem;
    color: var(--shade-1);
    margin: auto 0;
    text-align: center;
}

.button-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 670px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .button-wrapper {
        transform: translateX(40px);
    }
}

.custom-btn {
    border-radius: 10px;
    background-color: var(--shade-3);
    cursor: pointer;
    border: none;
    font-family: "IsidoraSans-SemiBold";
    font-size: 1rem;
    color: var(--shade-1);
    padding: 12px;
    text-decoration: none;
}

.custom-btn:active {
    transform: translate(0, 1px);
}

.custom-btn.with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    .content-wrapper {
        transform: translateX(40px);
    }
    .text-box {
        display: flex;
    }
}

@media (max-width: 768px) {
    .join-wrapper {
        margin-left: 0;
    }
    .content-wrapper {
        flex-direction: column;
    }
    #home {
        height: calc(100vh - 80px);
        padding-bottom: 80px;
    }
    .container {
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    .button-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 320px;
        gap: 20px;
    }
}

.qr-code {
    min-height: 150px;
    width: 150px;
    content: url(../images/vectors/qrcode.svg);
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    align-self: center;
}

.qr-code:hover {
    transform: scale(1.030);
    cursor: pointer;
}

.qr-code:active {
    transform: scale(0.970);
}

.join-btn {
    display: grid;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    box-sizing: border-box;
    background-color: var(--shade-3);
    cursor: pointer;
    text-decoration: none;
    place-items: center;
}

.join-btn:active {
    transform: scale(0.970);
}#loading {
    position: fixed;
    inset: 0;
    background-color: var(--shade-6);
    z-index: 1000;
    transition: opacity 250ms ease;
    display: none;
    pointer-events: none;
}

#loading.is-active {
    display: block;
    pointer-events: auto;
}

#loading.hidden {
    opacity: 0;
    pointer-events: none;
}

#loading::after {
    content: "";
    position: absolute;
    inset: 40%;
}

#loading2 {
    position: fixed;
    height: 80px;
    width: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1003;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    transition: opacity 250ms ease;
    background: url(../images/vectors/logo.svg) no-repeat center / contain;
    display: none;
    pointer-events: none;
}

#loading2.is-active {
    display: block;
    pointer-events: none;
}.scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: calc(50% + 40px);
    transform: translateX(-50%);
    width: 51px;
    height: 51px;
    border-radius: 10px;
    background: var(--shade-3);
    padding: 8px;
    cursor: pointer;
    display: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.scroll-to-top i {
    font-size: 20px;
    color: var(--shade-1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

.scroll-to-top:active {
    transform: translate(calc(-50%), 1px);
}

@media screen and (max-width: 768px) {
    .scroll-to-top {
        left: 50%;
        transform: translateX(-50%);
        bottom: 100px;
    }
}.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(6px);
    background-color: var(--shade-5);
    z-index: 999;
    pointer-events: all;
}

.fullscreen-window {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    padding: 24px;
    background-color: transparent;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.fullscreen-content {
    content: url(../images/vectors/qrcode.svg);
    max-width: 50%;
    max-height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

#fullscreenWindow .close-button {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background-color: var(--shade-3);
    border: none;
    font-size: 1.5rem;
    color: var(--shade-1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}h1 {
    font-family: "IsidoraSans-SemiBold";
    color: var(--shade-0);
    font-size: 2rem;
    text-align: center;
    margin: 0;
}

h1.error-title {
    word-break: keep-all;
    white-space: normal;
}

h2 {
    font-family: "IsidoraSans-SemiBold";
    color: var(--shade-0);
    font-size: 1.25rem;
    text-align: center;
}

h2.table-flip {
    white-space: nowrap;
}

h3 {
    font-family: "IsidoraSans-SemiBold";
    color: var(--shade-0);
    font-size: 1.125rem;
    text-align: center;
}

p {
    font-family: "IsidoraSans-Medium";
    color: var(--shade-2);
    text-align: center;
    font-size: 1rem;
}

p.a {
    font-family: "IsidoraSans-SemiBold";
    color: var(--shade-1);
    font-size: 1.125rem;
    text-align: center;
    padding: 0;
    margin: 0;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

p.bot {
    font-family: "IsidoraSans-Medium";
    color: var(--shade-1);
    text-align: center;
    font-size: 0.875rem;
    margin: 0;
    padding: 0;
}

a.table {
    color: inherit;
    text-align: center;
    text-decoration: none;
    background-color: transparent;
    padding: 0;
    display: inline-block;
    transition: none;
}

a.table:hover {
    color: var(--shade-0);
}

a.table:active {
    transform: translateY(1px);
}

a.table-2 {
    color: inherit;
    text-align: left;
    text-decoration: none;
    background-color: transparent;
    display: block;
    height: 100%;
    padding: 12px;
    box-sizing: border-box;
    transition: none;
}

a.table-2:hover {
    color: var(--shade-0);
}

a.table-2:active {
    transform: translateY(1px);
}.text-window-container {
    width: 90%;
    max-width: 400px;
    padding: 12px;
    box-sizing: border-box;
    border-radius: 22px;
    border: solid var(--shade-3) 1px;
    background-color: var(--shade-5);
    margin: 40px auto 20px;
    position: relative;
    z-index: 995;
}

@media (min-width: 769px) {
    .text-window-container {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(calc(-50% + 40px), -50%);
        margin: 0;
    }
}.text-window-pop-up-container {
    width: 90%;
    max-width: 400px;
    padding: 24px;
    box-sizing: border-box;
    border-radius: 24px;
    border: solid var(--shade-3) 1px;
    background-color: var(--shade-5);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
}

.close-button {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background-color: var(--shade-3);
    border: none;
    font-size: 1.5rem;
    color: var(--shade-1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-button:active {
    transform: scale(0.970);
}

.text-window-pop-up-content {
    margin-top: 0;
    padding: 12px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(6px);
    background-color: rgba(10, 11, 15, 0.5);
    z-index: 998;
}.contact-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 2rem 1rem;
    z-index: 1;
}

@media (min-width: 769px) {
    .contact-wrapper {
        padding-left: calc(1rem + 80px);
    }
}

.contact-container {
    width: min(500px, 100%);
    margin: auto 0;
    padding: 22px 12px 12px;
    box-sizing: border-box;
    border-radius: 22px;
    border: solid 1px var(--shade-3);
    background-color: var(--shade-5);
}

.contact-container h1 {
    margin-bottom: 8px;
}

.contact-subtitle {
    font-family: "IsidoraSans-Medium";
    color: var(--shade-2);
    font-size: 1rem;
    text-align: center;
    margin: 0 0 24px 0;
    line-height: 1.4;
}

.contact-status {
    font-family: "IsidoraSans-Medium";
    font-size: 1rem;
    text-align: center;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.contact-status--success {
    background-color: rgba(35, 165, 90, 0.15);
    border: 1px solid rgba(35, 165, 90, 0.4);
    color: #3dd68c;
}

.contact-status--error {
    background-color: rgba(220, 70, 70, 0.12);
    border: 1px solid rgba(220, 70, 70, 0.35);
    color: #f07178;
}

[data-theme="light"] .contact-status--success {
    background-color: rgba(35, 165, 90, 0.12);
    border-color: rgba(35, 165, 90, 0.35);
    color: #1a7a45;
}

[data-theme="light"] .contact-status--error {
    background-color: rgba(200, 50, 50, 0.1);
    border-color: rgba(200, 50, 50, 0.3);
    color: #c0392b;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-family: "IsidoraSans-SemiBold";
    font-size: 1rem;
    color: var(--shade-1);
    margin-bottom: 8px;
}

.form-group label .required {
    color: var(--accent-0);
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--shade-3);
    background-color: var(--shade-4);
    color: var(--shade-0);
    font-family: "IsidoraSans-Medium";
    font-size: 1rem;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--shade-2);
    opacity: 0.8;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-1);
    background-color: var(--shade-5);
}

.form-group textarea {
    min-height: 140px;
    line-height: 1.5;
    resize: none;
}

.contact-submit {
    display: grid;
    width: 100%;
    height: 50px;
    margin-top: 8px;
    border: none;
    border-radius: 10px;
    box-sizing: border-box;
    background-color: var(--shade-3);
    color: var(--shade-1);
    font-family: "IsidoraSans-SemiBold";
    font-size: 1rem;
    padding: 12px;
    cursor: pointer;
    place-items: center;
}

.contact-submit:active {
    transform: scale(0.970);
}

.contact-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

[data-theme="light"] .contact-container {
    background-color: var(--shade-5);
    border-color: var(--shade-3);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    background-color: var(--shade-4);
    color: var(--shade-0);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
    background-color: var(--shade-6);
}

@media (max-width: 768px) {
    .contact-wrapper {
        align-items: flex-start;
        padding: 1.5rem 1rem 10rem 1rem;
    }

    .contact-container {
        width: min(500px, 100% - 3rem);
        margin: 0 auto;
        padding: 22px 12px 12px;
    }
}
