@font-face {
    font-family: Navine;
    src: url(NavineDemo-SemiCondensed.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: Navine;
    src: url(NavineDemo-SemiCondensedItalic.ttf) format("truetype");
    font-weight: 400;
    font-style: italic;
}

:root {
    --background-color: #262626;
    --accent-color: #ea51ec;
    --accent-color-rgb: 176, 144, 255;
    --accent-color-darker: #6f3970;
    --accent-color-darker-rgb: 90, 62, 127;
    --main-text-color: #ffffff;
    --second-text-color: #717171;
    --info-text-color: #484848;
    --text-dark: #1A151D;
    --page-padding: 10rem;
    --header-height: 8rem;
    --footer-height: 15rem;
    --header-smaller-height: 4rem;
}

@media only screen and (max-width: 992px) {
    :root {
        --page-padding: 5rem;
    }
}

@media only screen and (max-width: 1800px) {
    :root {
        --page-padding: 6rem;
    }
}

@media only screen and (max-width: 560px) {
    :root {
        --page-padding: 2rem;
        --header-height: 6rem;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Navine, Arial, sans-serif;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    line-height: 1;
}

html {
    height: 100%;
    background-color: var(--background-color);
}

body {
    width: 100%;
    color: var(--main-text-color);
    font-weight: 600;
    -webkit-user-select: none;
    user-select: none;
    isolation: isolate;
}

i {
    line-height: 1;
}

img {
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

h1, h2, h3 {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    font-style: italic;
}

h1.purple-text,
h2.purple-text,
h3.purple-text,
h1 .purple-text,
h2 .purple-text,
h3 .purple-text {
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(var(--accent-color-rgb), 0.3);
}

#page-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-background {
    position: fixed;
    top: -1.5rem;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    scale: 1.25;
    z-index: -1;
    object-fit: cover;
}

#page-header {
    width: 100%;
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    flex-direction: row;
    padding: 0 var(--page-padding);
    height: var(--header-height);
    z-index: 10000;
    transition: background-color 0.3s ease-in-out, height 0.3s ease-in-out;
}

#page-header.header-darker {
    background-color: rgba(0, 0, 0, 0.5);
    height: var(--header-smaller-height) !important;
}

.header-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    margin-right: auto;
}

.logo {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 0.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .title {
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    width: 120%;
}

.logo-text .subtitle {
    font-size: 1rem;
    font-weight: 700;
    color: var(--second-text-color);
}

.header-nav {
    height: 100%;
    display: flex;
    flex-direction: row;
}

.nav-item {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--second-text-color);
    font-size: 0.875rem;
    font-style: italic;
    padding: 0 2.5rem;
    cursor: pointer;
    white-space: nowrap;
    gap: 0.5rem;
    transition: color 0.3s ease-in-out;
}

.nav-item--has-dropdown {
    cursor: default;
}

.nav-item-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-item.anchor-disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.nav-item:hover {
    color: var(--main-text-color);
}

.nav-item--has-dropdown:hover .nav-item-link {
    color: var(--main-text-color);
}

.nav-item--has-dropdown.nav-item--selected .nav-item-link {
    color: var(--accent-color);
    font-weight: 700;
}

.nav-item--selected {
    color: var(--accent-color);
    font-weight: 700;
}

.nav-item i {
    font-size: 1rem;
}

.nav-item .dropdown-icon {
    font-size: 0.875rem;
}

.item__drop-down {
    visibility: hidden;
    transform: translate(-50%, 5%);
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    padding: 0.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #000;
    border-radius: 0.25rem;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
    z-index: 10001;
    pointer-events: none;
    margin-top: 0.5rem;
    min-width: 200px;
}

.nav-item:hover .item__drop-down,
.item__drop-down:hover {
    visibility: visible !important;
    transform: translate(-50%) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.item__drop-down .drop-down__item {
    width: 100%;
    padding: 1rem 0;
    transition: color 0.3s ease-in-out;
    text-align: center;
    color: var(--second-text-color);
    font-size: 0.875rem;
    cursor: pointer;
    pointer-events: auto;
    display: block;
}

.nav-item:hover .item__drop-down .drop-down__item {
    pointer-events: auto;
}

.item__drop-down .drop-down__item--selected {
    color: var(--accent-color);
}

.item__drop-down .drop-down__item:hover {
    color: var(--main-text-color);
}

.header__mobile-nav-button {
    display: none;
    flex: 1;
    align-items: center;
    justify-content: end;
}

.mobile-nav-button__btn {
    cursor: pointer;
}

.mobile-nav-button__btn i {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.header__mobile-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
    right: 0;
    z-index: 10000;
    backdrop-filter: blur(8rem);
    -webkit-backdrop-filter: blur(8rem);
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    touch-action: none;
    transform: translateY(5%);
    visibility: hidden;
}

.header__mobile-nav--shown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav__exit-btn {
    position: fixed;
    top: 2rem;
    outline: none;
    border: none;
    background: none;
    right: var(--page-padding);
    cursor: pointer;
}

.mobile-nav__exit-btn i {
    font-size: 2rem;
}

.mobile-nav__item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--second-text-color);
    font-size: 1.2rem;
    padding: 1rem 0;
    gap: 0.5rem;
}

.mobile-nav__item--selected {
    color: var(--main-text-color);
    font-weight: 700;
}

@media only screen and (max-width: 1200px) {
    .header__mobile-nav-button {
        display: flex;
    }
    
    .header-nav {
        display: none;
    }
}

.side-bar {
    position: fixed;
    width: 3rem;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    z-index: 1000;
    background: linear-gradient(-45deg, rgba(var(--accent-color-darker-rgb), 0.3), rgba(var(--accent-color-rgb), 0.3), rgba(var(--accent-color-darker-rgb), 0.3));
    box-shadow: inset 0 0 15px rgba(var(--accent-color-rgb), 0.3);
    transition: background-color 0.3s ease-in-out;
}

.side-bar .item {
    position: relative;
    display: flex;
    width: 100%;
    aspect-ratio: 1/1;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.side-bar .item:hover {
    background: linear-gradient(-45deg, rgba(var(--accent-color-darker-rgb), 0.9), rgba(var(--accent-color-rgb), 0.4), rgba(var(--accent-color-darker-rgb), 0.9)) no-repeat;
    box-shadow: inset 0 0 15px rgba(var(--accent-color-rgb), 0.3);
}

.side-bar .item:hover .title {
    visibility: visible;
    opacity: 1;
    transform: translate(-100%, -50%);
}

.side-bar .item .link {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: var(--main-text-color);
}

.side-bar .item .icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent-color);
}

.side-bar .item .title {
    visibility: hidden;
    opacity: 0;
    z-index: 90;
    position: absolute;
    top: 50%;
    transform: translate(-90%, -50%);
    left: -1rem;
    font-size: 0.875rem;
    white-space: nowrap;
    font-weight: 700;
    transition: background-color 0.2s, transform 0.2s, opacity 0.2s, visibility 0.2s;
    background-color: var(--background-color);
    padding: 0.5rem;
    border-radius: 0.2rem;
    pointer-events: none;
}

@media only screen and (max-width: 992px) {
    .side-bar {
        display: none;
    }
}

#page-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.content-section {
    display: grid;
    height: 100vh;
    padding: 0 var(--page-padding);
    z-index: 100;
}

#first-section {
    grid-template-columns: 1fr 2fr;
}

#second-section {
    grid-template-columns: 2fr 1fr;
}

.content-info {
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
    gap: 2rem;
}

.info-title {
    font-size: 2.25rem;
    font-style: italic;
}

.info-text {
    font-size: 0.875rem;
    color: var(--info-text-color);
}

.content-image {
    position: relative;
    max-width: 100%;
    height: 100vh;
}

.content-image img {
    position: absolute;
    bottom: 0;
    max-width: 100%;
    max-height: 100%;
    -webkit-mask-image: -webkit-gradient(linear, left 90%, left bottom, from(rgb(0, 0, 0)), to(rgba(0, 0, 0, 0)));
}

@media only screen and (max-width: 1400px) {
    #first-section {
        grid-template-columns: 1fr 1.5fr;
    }
    
    #second-section {
        grid-template-columns: 1.5fr 1fr;
    }
    
    .info-buttons {
        flex-direction: column;
    }
}

@media only screen and (max-width: 992px) {
    #first-section,
    #second-section {
        grid-template-columns: 1fr;
    }
    
    #first-section .content-image,
    #second-section .content-image {
        display: none;
    }
}

@media only screen and (max-width: 1800px) {
    .content-image img {
        bottom: 50%;
        transform: translateY(50%);
    }
}

@media only screen and (min-width: 1401px) {
    .info-buttons > * {
        flex: 1;
    }
}

.slideshow-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.slideshow-container .slideshow-wrapper {
    flex: 1;
    position: relative;
    height: 4rem;
    overflow: hidden;
}

.slideshow-container .slideshow-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slideshow-container .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.slideshow-container .slide.active {
    opacity: 1;
    visibility: visible;
}

.slideshow-container .slide .title {
    font-size: 1.5rem;
}

.slideshow-container .slide .text {
    color: var(--info-text-color);
}

.slideshow-container .dots {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
}

.slideshow-container .dots .dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    outline: none;
    border: none;
    transition: opacity 0.3s ease-in-out;
}

.slideshow-container .dots .dot:hover {
    opacity: 0.75;
}

.slideshow-container .dots .dot-selected {
    background-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(var(--accent-color-rgb), 0.5);
}

.info-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.purple-button {
    background: linear-gradient(-45deg, var(--accent-color-darker), var(--accent-color), var(--accent-color-darker));
    box-shadow: inset 0 0 15px var(--accent-color);
    border: none;
    color: var(--text-dark);
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 40px;
    transition: scale 0.2s ease-in-out;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
}

.gray-button {
    background: linear-gradient(-45deg, #484848, #838383, #484848);
    border: none;
    color: var(--text-dark);
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 15px #696969;
    cursor: pointer;
    padding: 0 40px;
    transition: scale 0.2s ease-in-out;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
}

.play-button:hover,
.purple-button:hover {
    scale: 0.95;
}

.play-button i,
.purple-button i {
    font-size: 1rem;
    margin-right: 1rem;
    color: var(--text-dark);
}

.online-players-text {
    font-weight: 600;
    margin-right: 0.5rem;
}

.music-player {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.25rem;
    width: 100%;
}

.music-player .image-container {
    position: relative;
    isolation: isolate;
}

.music-player .image-container .cover-blue-effect {
    top: 0;
    left: 0;
    position: absolute;
    width: 5rem;
    height: 5rem;
    z-index: -1;
    border-radius: 0.5rem;
    filter: blur(16px);
    opacity: 0.25;
}

.music-player .image-container .cover {
    width: 5rem;
    height: 5rem;
    border-radius: 0.5rem;
    object-fit: cover;
}

.music-player .controls {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    flex: 1;
}

.music-player .controls .title {
    font-size: 1.25rem;
}

.music-player .controls .progress-bar-container {
    width: 100%;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.music-player .controls .progress-bar-container .progress-value {
    font-size: 0.75rem;
    color: var(--second-text-color);
}

.music-player .controls .progress-bar-container .progress-bar {
    position: relative;
    width: 100%;
    height: 0.5rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 0.25rem;
    overflow: hidden;
    cursor: pointer;
}

.music-player .controls .progress-bar-container .progress-bar .progress {
    height: 100%;
    border-radius: 0.25rem;
    transition: width 0.1s ease, background-color 0.3s ease;
}

.music-player .controls .buttons {
    display: flex;
    flex-direction: row;
    margin-top: 0.125rem;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
}

.music-player .controls .buttons button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    display: flex;
    color: var(--main-text-color);
    transition: color 0.3s ease-in-out;
}

.music-player .controls .buttons button:hover {
    color: var(--accent-color);
}

.music-player .controls .buttons .volume-container {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.music-player .controls .buttons .volume-container i {
    font-size: 1.05rem;
}

.music-player .controls .buttons .volume-container:hover .volume-slider {
    width: 100px;
    max-width: 100px;
}

.music-player .controls .buttons .volume-container .volume-slider {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 1.5rem;
    width: 0;
    height: 0.33rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 0.25rem;
    overflow: hidden;
    margin-bottom: 0.15rem;
    cursor: pointer;
    transition: width 0.3s ease-in-out;
}

.music-player .controls .buttons .volume-container .volume-slider .volume {
    height: 100%;
    background-color: var(--second-text-color);
    border-radius: 0.25rem;
    transition: width 0.2s ease;
}

footer {
    width: 100%;
    display: flex;
    flex-direction: row;
    height: var(--footer-height);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

footer .copyright {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

footer .copyright .copyright-text {
    color: var(--second-text-color);
    font-size: 0.75rem;
}

footer .image {
    margin-left: -5rem;
    max-height: 100%;
    opacity: 0.75;
}

@media only screen and (max-width: 992px) {
    footer .copyright {
        width: 60%;
        text-align: center;
    }
    
    footer .image {
        display: none;
    }
}

@media only screen and (max-width: 560px) {
    footer .copyright {
        width: 90%;
        text-align: center;
    }
}

#page-content.content-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
    padding-bottom: var(--header-height);
}

.content-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 16rem;
    gap: 3rem;
}

@media only screen and (max-width: 1400px) {
    .content-container {
        padding: 0 12rem;
    }
}

@media only screen and (max-width: 1200px) {
    .content-container {
        padding: 0 8rem;
    }
}

@media only screen and (max-width: 992px) {
    .content-container {
        padding: 0 var(--page-padding);
    }
}

.title-container {
    display: flex;
    flex-direction: column;
}

.title-container .subtitle {
    font-size: 1.25rem;
    margin-top: 1rem;
    opacity: 0.5;
    font-style: italic;
}

.tile-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    justify-items: center;
}

.tile-container .link {
    position: relative;
    max-width: 100%;
    width: 100%;
}

.tile-container .link:hover .tile {
    transform: scale(1.025);
}

.tile-container .link:hover .gray-tile {
    background-color: rgba(var(--accent-color-rgb), 0.5);
    box-shadow: inset 0 0 15px rgba(var(--accent-color-rgb), 0.5), 0 0 25px rgba(var(--accent-color-rgb), 0.3);
}

.tile-container .tile {
    position: relative;
    max-width: 100%;
    width: 100%;
    height: 35vh;
    -webkit-user-select: none;
    user-select: none;
    border-radius: 0.75rem;
    overflow: hidden;
    -webkit-user-drag: none;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.tile-container .tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.tile-container .tile h2 {
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: 2rem;
    font-size: 1.5rem;
}

.tile-container .tile p {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    opacity: 0.33;
    font-size: 1.25rem;
    font-weight: 700;
}

.tile-container .gray-tile {
    background-color: #271f36;
}

.tile-container .gray-tile img {
    opacity: 0.1;
    filter: grayscale(100%);
}

@media only screen and (max-width: 992px) {
    .tile-container {
        flex-direction: column;
    }
}

#page-content.rules-page {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    width: 100%;
    padding: 0 var(--page-padding);
    z-index: 100;
    min-height: 100vh;
    padding-top: var(--header-height);
    padding-bottom: var(--footer-height);
}

.content-rules {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2rem;
    z-index: 1;
    margin-top: var(--header-height);
    margin-bottom: 0;
    padding-right: 2rem;
}

.content-rules .rules-title {
    margin-top: 0;
    font-size: 2rem;
}

.content-rules .rules-title .purple-text {
    font-size: 2.085rem;
    font-weight: 900;
}

.rule-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rule-section-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
}

.rule-section-divider {
    width: 100%;
    height: 0.5px;
    background-color: rgba(255, 255, 255, 0.075);
}

.rule-section {
    display: flex;
    flex-direction: column;
}

.rule-section .title-container {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    width: 100%;
    cursor: pointer;
    outline: none;
    border: none;
    background: none;
    justify-content: space-between;
    color: var(--main-text-color);
    transition: opacity 0.3s ease-in-out;
    padding: 0;
    text-align: left;
}

.rule-section .title-container .title {
    flex: 1;
    text-align: left;
    margin: 0;
    padding: 0;
    line-height: inherit;
    display: block;
    font-size: 1.5rem;
}

.rule-section .title-container:hover {
    opacity: 0.65;
}

.rule-section .title-container .icon {
    font-size: 0.75rem;
    color: var(--accent-color);
    transition: rotate 0.3s ease-in-out;
    flex-shrink: 0;
    margin-left: auto;
    display: inline-block;
    line-height: inherit;
    vertical-align: baseline;
}

.rule-section .title-container .icon.open {
    rotate: 180deg;
}

.rule-section .rules {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
    list-style: none;
    padding: 0;
}

.rule-section .rules .rule {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rule-section .rules .rule .title {
    font-size: 1.125rem;
}

.rule-section .rules .rule .text {
    font-size: 0.9rem;
    color: var(--info-text-color);
    line-height: 1.5;
}

.rule-section .rules .rule .purple-highlight {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(var(--accent-color-rgb), 0.2);
}

#page-content.rules-page .content-image.rules-image {
    max-width: 100%;
    height: 100vh;
    position: relative;
}

#page-content.rules-page .content-image.rules-image img {
    position: fixed;
    right: calc(var(--page-padding) / 2);
    top: 50%;
    transform: translateY(-50%);
    max-width: 52.5%;
    -webkit-mask-image: -webkit-gradient(linear, left 90%, left bottom, from(rgb(0, 0, 0)), to(rgba(0, 0, 0, 0)));
}

@media only screen and (max-width: 1400px) {
    #page-content.rules-page {
        grid-template-columns: 1fr 1.25fr;
    }
}

@media only screen and (max-width: 992px) {
    #page-content.rules-page {
        grid-template-columns: 1fr;
    }
    
    #page-content.rules-page .content-image.rules-image {
        display: none;
    }
    
    .content-rules .rules-title {
        font-size: 1.5rem;
    }
    
    .content-rules .rules-title .purple-text {
        font-size: 1.6rem;
    }
}

@media only screen and (max-width: 550px) {
    .content-rules .rules-title {
        font-size: 1.4rem;
    }
    
    .content-rules .rules-title .purple-text {
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 400px) {
    .content-rules .rules-title {
        font-size: 1.25rem;
    }
    
    .content-rules .rules-title .purple-text {
        font-size: 1.35rem;
    }
}

#page-content.rules-page-simple {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    width: 100%;
    padding: 0 var(--page-padding);
    z-index: 100;
    min-height: 100vh;
    padding-top: var(--header-height);
    padding-bottom: var(--footer-height);
}

.rules-page-simple .content-rules {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2rem;
    z-index: 1;
    margin-top: calc(var(--header-height) - 6rem);
    margin-bottom: 0;
    padding-right: 2rem;
}

.rules-page-simple .content-rules .rules-title {
    margin-top: 0;
    font-size: 2rem;
}

.rules-page-simple .content-rules .rules-title .purple-text {
    font-size: 2.1rem;
    font-weight: 900;
}

.rules-page-simple .content-rules .rules {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.rules-page-simple .content-rules .rules .rule {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rules-page-simple .content-rules .rules .rule .title {
    font-size: 1.25rem;
}

.rules-page-simple .content-rules .rules .rule .text {
    font-size: 0.9rem;
    color: var(--info-text-color);
    line-height: 1.5;
}

.rules-page-simple .content-image {
    max-width: 100%;
    height: 100vh;
    position: relative;
}

.rules-page-simple .content-image img {
    position: fixed;
    right: calc(var(--page-padding) / 2);
    top: 50%;
    transform: translateY(-50%);
    max-width: 52.5%;
    -webkit-mask-image: -webkit-gradient(linear, left 90%, left bottom, from(rgb(0, 0, 0)), to(rgba(0, 0, 0, 0)));
}

@media only screen and (max-width: 1400px) {
    #page-content.rules-page-simple {
        grid-template-columns: 1fr 1.25fr;
    }
}

@media only screen and (max-width: 992px) {
    #page-content.rules-page-simple {
        grid-template-columns: 1fr;
    }
    
    .rules-page-simple .content-image {
        display: none;
    }
    
    .rules-page-simple .content-rules .rules-title {
        font-size: 1.5rem;
    }
    
    .rules-page-simple .content-rules .rules-title .purple-text {
        font-size: 1.6rem;
    }
}

#page-content.practice-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
    padding-bottom: var(--header-height);
}

.practice-page .content-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 16rem;
    gap: 3rem;
}

.practice-page .title-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
}

.practice-page .title-container .title-wrapper {
    display: flex;
    flex-direction: column;
}

.practice-page .title-container .title-wrapper > h1,
.practice-page .title-container .title-wrapper > h2 {
    white-space: nowrap;
}

.practice-page .title-container .title-wrapper .subtitle {
    font-size: 1.25rem;
    margin-top: 1rem;
    opacity: 0.5;
    font-style: italic;
    white-space: nowrap;
}

.practice-page .title-container .question-number {
    width: 100%;
    font-size: 1.25rem;
    color: var(--accent-color);
    text-align: end;
    transform: skew(-12deg);
}

.practice-page .tile {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    background: linear-gradient(135deg, rgba(80, 80, 80, 0.5), rgba(80, 80, 80, 0));
    transition: transform 0.3s ease-in-out, opacity 0.4s ease-in-out;
    gap: 2rem;
    opacity: 1;
}

.practice-page .tile.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

.practice-page .tile.fade-in {
    animation: fadeInSlide 0.4s ease-in-out;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.practice-page .tile .question {
    font-size: 1.25rem;
}

.practice-page .tile .answers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.practice-page .tile .answers .answer {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    color: var(--second-text-color);
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.practice-page .tile .answers .answer:hover {
    color: var(--accent-color);
    transform: translate(0.5rem);
}

.practice-page .tile .answers .answer input {
    position: absolute;
    visibility: hidden;
}

.practice-page .tile .answers .answer.disabled {
    transform: none;
    color: var(--second-text-color);
}

.practice-page .tile .answers .answer.wrong {
    transform: none;
    color: #df6567;
}

.practice-page .tile .answers .answer.correct {
    transform: translate(0.5rem);
    color: #83e064;
}

.practice-page .tile .clue {
    font-size: 0.85rem;
    opacity: 0.25;
}

.practice-page .end-screen {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.practice-page .end-screen .answers {
    font-size: 7.5rem;
    transform: skew(-12deg);
}

.practice-page .end-screen .reset-button {
    z-index: 100;
}

@media only screen and (max-width: 1400px) {
    .practice-page .content-container {
        padding: 0 12rem;
    }
}

@media only screen and (max-width: 1200px) {
    .practice-page .content-container {
        padding: 0 8rem;
    }
}

@media only screen and (max-width: 992px) {
    .practice-page .content-container {
        padding: 0 var(--page-padding);
    }
}

@media only screen and (max-width: 620px) {
    .practice-page .title-container {
        align-items: unset;
        flex-direction: column;
    }
}

#page-content.status-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
    padding-bottom: var(--header-height);
}

.status-page .content-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 16rem;
    gap: 3rem;
}

.status-page .title-container {
    display: flex;
    flex-direction: column;
}

.status-page .title-container .subtitle {
    font-size: 1.25rem;
    margin-top: 1rem;
    opacity: 0.5;
    font-style: italic;
}

.status-page .status-charts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.status-page .uptime-chart-container {
    border: 1px solid #31313c;
    border-radius: 0.33rem;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 1.25rem;
}

.status-page .uptime-chart-container .texts-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-page .uptime-chart-container .texts-row h4 {
    margin: 0;
    font-size: 1rem;
}

.status-page .uptime-chart-container .texts-row .label {
    font-size: 0.675rem;
    color: var(--second-text-color);
}

.status-page .uptime-chart-container .uptime-entries-container {
    width: 100%;
    flex-direction: row-reverse;
    gap: 2px;
    display: flex;
}

.status-page .uptime-chart-container .uptime-entries-container .entry {
    position: relative;
    height: 3.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    border: 1px solid #31313c;
    outline: 1px solid transparent;
    transition: outline-color 0.3s ease-in-out;
    min-width: 2px;
}

.status-page .uptime-chart-container .uptime-entries-container .entry:hover {
    outline-color: var(--accent-color);
}

.status-page .uptime-chart-container .uptime-entries-container .entry:hover .entry-label {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -0.75rem);
}

.status-page .uptime-chart-container .uptime-entries-container .entry .entry-label {
    z-index: 1;
    position: absolute;
    bottom: 100%;
    left: 50%;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%);
    font-size: 0.675rem;
    color: var(--main-text-color);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    white-space: nowrap;
}

.status-page .spacer {
    width: 100%;
}

@media only screen and (max-width: 1400px) {
    .status-page .content-container {
        padding: 0 12rem;
    }
}

@media only screen and (max-width: 1200px) {
    .status-page .content-container {
        padding: 0 8rem;
    }
}

@media only screen and (max-width: 992px) {
    .status-page .content-container {
        padding: 0 var(--page-padding);
    }
}

