@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");
:root {
  --color-secondary: #313131;
  --color-primary: #a5da60;
  --color-bg: #1E1E1E;
  --page-width: calc(15rem * 4 + 1rem * 3 + 24px); }
  @media screen and (max-width: 599px) {
    :root {
      --page-width: calc(100% - 2rem); } }
body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  margin: 0px;
  padding: 0px;
  background-color: var(--color-bg);
  color: white; }

/* Let's get this party started */
::-webkit-scrollbar {
  width: 5px;
  height: 5px; }

/* Track */
::-webkit-scrollbar-track {
  background: var(--color-bg); }

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--color-primary); }

* {
  font-family: "Nunito", sans-serif;
  box-sizing: border-box; }

a {
  color: inherit;
  text-decoration: none; }

.spartan {
  font-family: "League Spartan", sans-serif; }

.content {
  margin-inline: auto;
  width: var(--page-width); }

.content.full {
  width: 100%; }

.button-red .pixelsTop::before, .button-red .pixelsTop::after, .button-red .pixelsBottom::after, .button .pixelsTop::before, .button .pixelsTop::after, .button .pixelsBottom::after, .alert .pixelsTop::before, .alert .pixelsTop::after, .alert .pixelsBottom::after, footer .pixelsTop::before, .ip .pixelsTop::before, footer .pixelsTop::after, .ip .pixelsTop::after, footer .pixelsBottom::after, .ip .pixelsBottom::after, .world .pixelsTop::before, .search-bar .pixelsTop::before, .tag .pixelsTop::before, .section-wrap .pixelsTop::before, .world .pixelsTop::after, .search-bar .pixelsTop::after, .tag .pixelsTop::after, .section-wrap .pixelsTop::after, .world .pixelsBottom::after, .search-bar .pixelsBottom::after, .tag .pixelsBottom::after, .section-wrap .pixelsBottom::after {
  display: block;
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  top: 0; }

.button-red .pixelsBottom::before, .button .pixelsBottom::before, .alert .pixelsBottom::before, footer .pixelsBottom::before, .ip .pixelsBottom::before, .world .pixelsBottom::before, .search-bar .pixelsBottom::before, .tag .pixelsBottom::before, .section-wrap .pixelsBottom::before {
  display: block;
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  top: 0; }

.world, .search-bar, .tag, .section-wrap {
  background: var(--color-secondary);
  box-shadow: 0px 3px #4d4d4d, 0px -3px var(--color-secondary), 3px 0px var(--color-secondary), -3px 0px var(--color-secondary), 0px -6px #131313, 0px 6px #131313, 6px 0px #131313, -6px 0px #131313, 9px 0px rgba(0, 0, 0, 0.1), 0px 9px rgba(0, 0, 0, 0.1);
  position: relative;
  padding: 12px; }
  .world .pixelsBottom, .search-bar .pixelsBottom, .tag .pixelsBottom, .section-wrap .pixelsBottom {
    width: calc(100% + 12px);
    position: absolute;
    left: -6px;
    bottom: 0; }
    .world .pixelsBottom::after, .search-bar .pixelsBottom::after, .tag .pixelsBottom::after, .section-wrap .pixelsBottom::after {
      right: 3px;
      top: -3px;
      background: #4d4d4d;
      box-shadow: 0px 3px #131313, 0px 6px rgba(0, 0, 0, 0.1), 3px 3px rgba(0, 0, 0, 0.1);
      pointer-events: none; }
    .world .pixelsBottom::before, .search-bar .pixelsBottom::before, .tag .pixelsBottom::before, .section-wrap .pixelsBottom::before {
      left: 3px;
      top: -3px;
      background: #4d4d4d;
      box-shadow: 0px 3px #131313, 0px 6px rgba(0, 0, 0, 0.1), -3px 3px rgba(0, 0, 0, 0.1);
      pointer-events: none; }
  .world .pixelsTop, .search-bar .pixelsTop, .tag .pixelsTop, .section-wrap .pixelsTop {
    width: calc(100% + 12px);
    position: absolute;
    left: -6px;
    top: -3px; }
    .world .pixelsTop::after, .search-bar .pixelsTop::after, .tag .pixelsTop::after, .section-wrap .pixelsTop::after {
      right: 3px;
      background: #131313;
      pointer-events: none; }
    .world .pixelsTop::before, .search-bar .pixelsTop::before, .tag .pixelsTop::before, .section-wrap .pixelsTop::before {
      left: 3px;
      background: #131313;
      pointer-events: none; }

footer, .ip {
  background: var(--color-bg);
  box-shadow: 0px 3px #4d4d4d, 0px -3px var(--color-bg), 3px 0px var(--color-bg), -3px 0px var(--color-bg), 0px -6px #131313, 0px 6px #131313, 6px 0px #131313, -6px 0px #131313, 9px 0px rgba(0, 0, 0, 0.1), 0px 9px rgba(0, 0, 0, 0.1);
  position: relative;
  padding: 12px; }
  footer .pixelsBottom, .ip .pixelsBottom {
    width: calc(100% + 12px);
    position: absolute;
    left: -6px;
    bottom: 0; }
    footer .pixelsBottom::after, .ip .pixelsBottom::after {
      right: 3px;
      top: -3px;
      background: #4d4d4d;
      box-shadow: 0px 3px #131313, 0px 6px rgba(0, 0, 0, 0.1), 3px 3px rgba(0, 0, 0, 0.1);
      pointer-events: none; }
    footer .pixelsBottom::before, .ip .pixelsBottom::before {
      left: 3px;
      top: -3px;
      background: #4d4d4d;
      box-shadow: 0px 3px #131313, 0px 6px rgba(0, 0, 0, 0.1), -3px 3px rgba(0, 0, 0, 0.1);
      pointer-events: none; }
  footer .pixelsTop, .ip .pixelsTop {
    width: calc(100% + 12px);
    position: absolute;
    left: -6px;
    top: -3px; }
    footer .pixelsTop::after, .ip .pixelsTop::after {
      right: 3px;
      background: #131313;
      pointer-events: none; }
    footer .pixelsTop::before, .ip .pixelsTop::before {
      left: 3px;
      background: #131313;
      pointer-events: none; }

.alert {
  background: #fcab0b;
  box-shadow: 0px 3px #fdbc3d, 0px -3px #fcab0b, 3px 0px #fcab0b, -3px 0px #fcab0b, 0px -6px #e8861c, 0px 6px #e8861c, 6px 0px #e8861c, -6px 0px #e8861c, 9px 0px rgba(0, 0, 0, 0.1), 0px 9px rgba(0, 0, 0, 0.1);
  position: relative;
  padding: 12px; }
  .alert .pixelsBottom {
    width: calc(100% + 12px);
    position: absolute;
    left: -6px;
    bottom: 0; }
    .alert .pixelsBottom::after {
      right: 3px;
      top: -3px;
      background: #fdbc3d;
      box-shadow: 0px 3px #e8861c, 0px 6px rgba(0, 0, 0, 0.1), 3px 3px rgba(0, 0, 0, 0.1);
      pointer-events: none; }
    .alert .pixelsBottom::before {
      left: 3px;
      top: -3px;
      background: #fdbc3d;
      box-shadow: 0px 3px #e8861c, 0px 6px rgba(0, 0, 0, 0.1), -3px 3px rgba(0, 0, 0, 0.1);
      pointer-events: none; }
  .alert .pixelsTop {
    width: calc(100% + 12px);
    position: absolute;
    left: -6px;
    top: -3px; }
    .alert .pixelsTop::after {
      right: 3px;
      background: #e8861c;
      pointer-events: none; }
    .alert .pixelsTop::before {
      left: 3px;
      background: #e8861c;
      pointer-events: none; }

.button {
  background: #a5da60;
  box-shadow: 0px 3px #c4ed8e, 0px -3px #a5da60, 3px 0px #a5da60, -3px 0px #a5da60, 0px -6px #89b74c, 0px 6px #89b74c, 6px 0px #89b74c, -6px 0px #89b74c, 9px 0px rgba(0, 0, 0, 0.1), 0px 9px rgba(0, 0, 0, 0.1);
  position: relative;
  padding: 12px; }
  .button .pixelsBottom {
    width: calc(100% + 12px);
    position: absolute;
    left: -6px;
    bottom: 0; }
    .button .pixelsBottom::after {
      right: 3px;
      top: -3px;
      background: #c4ed8e;
      box-shadow: 0px 3px #89b74c, 0px 6px rgba(0, 0, 0, 0.1), 3px 3px rgba(0, 0, 0, 0.1);
      pointer-events: none; }
    .button .pixelsBottom::before {
      left: 3px;
      top: -3px;
      background: #c4ed8e;
      box-shadow: 0px 3px #89b74c, 0px 6px rgba(0, 0, 0, 0.1), -3px 3px rgba(0, 0, 0, 0.1);
      pointer-events: none; }
  .button .pixelsTop {
    width: calc(100% + 12px);
    position: absolute;
    left: -6px;
    top: -3px; }
    .button .pixelsTop::after {
      right: 3px;
      background: #89b74c;
      pointer-events: none; }
    .button .pixelsTop::before {
      left: 3px;
      background: #89b74c;
      pointer-events: none; }

.button-red {
  background: #df644c;
  box-shadow: 0px 3px #ea7f6a, 0px -3px #df644c, 3px 0px #df644c, -3px 0px #df644c, 0px -6px #ba513d, 0px 6px #ba513d, 6px 0px #ba513d, -6px 0px #ba513d, 9px 0px rgba(0, 0, 0, 0.1), 0px 9px rgba(0, 0, 0, 0.1);
  position: relative;
  padding: 12px; }
  .button-red .pixelsBottom {
    width: calc(100% + 12px);
    position: absolute;
    left: -6px;
    bottom: 0; }
    .button-red .pixelsBottom::after {
      right: 3px;
      top: -3px;
      background: #ea7f6a;
      box-shadow: 0px 3px #ba513d, 0px 6px rgba(0, 0, 0, 0.1), 3px 3px rgba(0, 0, 0, 0.1);
      pointer-events: none; }
    .button-red .pixelsBottom::before {
      left: 3px;
      top: -3px;
      background: #ea7f6a;
      box-shadow: 0px 3px #ba513d, 0px 6px rgba(0, 0, 0, 0.1), -3px 3px rgba(0, 0, 0, 0.1);
      pointer-events: none; }
  .button-red .pixelsTop {
    width: calc(100% + 12px);
    position: absolute;
    left: -6px;
    top: -3px; }
    .button-red .pixelsTop::after {
      right: 3px;
      background: #ba513d;
      pointer-events: none; }
    .button-red .pixelsTop::before {
      left: 3px;
      background: #ba513d;
      pointer-events: none; }

.button-red, .button {
  position: relative;
  cursor: pointer;
  padding-block: 8px;
  transition: filter ease-in-out .1s; }
  .button-red:active, .button:active {
    transform: translateY(2px); }
  .button-red::after, .button::after {
    content: '';
    display: block;
    width: 30px;
    -webkit-filter: blur(24px);
    height: 30px;
    position: absolute;
    height: 50px;
    -webkit-transform: rotate(-30deg);
    transform: rotate(-30deg) skewy(31deg);
    color: white;
    top: -5px;
    right: 100%;
    transition: all .4s; }
  .button-red:hover, .button:hover {
    filter: brightness(0.75); }
    .button-red:hover::after, .button:hover::after {
      right: 0px; }

/* COMPONENTS */
.map-preview {
  display: flex;
  flex-direction: column;
  width: 15rem;
  gap: .5rem;
  text-decoration: none;
  color: inherit; }
  .map-preview img {
    border-radius: 10px;
    aspect-ratio: 16/9; }
  .map-preview .name {
    font-size: 18px; }
  .map-preview .stats {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: row;
    gap: .5em; }

button.button, input.button {
  border: none;
  font-family: inherit;
  font-size: inherit; }

.button {
  color: black;
  text-decoration: none; }
  .button i {
    margin-right: .5rem; }

button.button-red, input.button-red {
  border: none;
  font-family: inherit;
  font-size: inherit; }

.button-red {
  color: black;
  text-decoration: none; }
  .button-red i {
    margin-right: .5rem; }

.link-button {
  padding-inline: 1rem;
  padding-block: .5rem;
  border-radius: 10px;
  transition: background-color ease-in-out .1s; }

.link-button:hover {
  background-color: var(--color-secondary); }

.tag {
  padding-block: 2px;
  padding-inline: 4px;
  font-size: 14px;
  display: flex;
  flex-direction: row;
  gap: .4rem;
  cursor: pointer;
  transition: filter .1s ease-in-out;
  width: fit-content;
  color: white !important; }

.tag:hover {
  filter: brightness(125%); }

.tag.highlight {
  color: var(--color-primary) !important; }

.one-sidebar-layout {
  width: var(--page-width);
  display: grid;
  grid-template-columns: 4fr 1fr;
  gap: 1rem;
  margin-inline: auto;
  margin-block: 1rem;
  margin-bottom: 2rem;
  align-items: start;
  justify-items: center; }
  .one-sidebar-layout .main {
    width: 100%; }
  .one-sidebar-layout .sidebar {
    width: 100%;
    height: fit-content; }
  @media screen and (max-width: 599px) {
    .one-sidebar-layout {
      grid-template-columns: 1fr;
      /* stack vertically */
      grid-template-rows: auto auto;
      /* optional, just makes it explicit */
      width: 100%;
      margin-inline: 0px; } }
.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 5px;
  background: white;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s; }

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer; }

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer; }

.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  color: black; }
  .alert i {
    margin-right: .5rem; }

.popup {
  position: fixed;
  width: 100dvw;
  height: 100dvh;
  top: 0px;
  left: 0px;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5); }

.popup.active {
  display: flex; }

.ip {
  padding-block: 4px;
  padding-inline: 8px;
  width: fit-content; }
  .ip i {
    margin-left: 1rem;
    cursor: pointer; }

/* HEADER */
header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .5rem; }

.navbar {
  width: calc(100% - 4rem);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding-inline: 2rem;
  padding-block: 1rem; }
  @media screen and (max-width: 599px) {
    .navbar {
      width: 100%;
      justify-content: space-between;
      padding-inline: 1rem; } }
  .navbar .discord {
    margin-right: 1rem;
    font-size: 30px;
    transition: filter ease-in-out .15s; }
    @media screen and (max-width: 599px) {
      .navbar .discord {
        display: none; } }
  .navbar .discord:hover {
    filter: brightness(0.7); }
  .navbar .nav-item {
    width: 20%; }
  .navbar .logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    font-family: "League Spartan", sans-serif;
    font-size: 24px;
    font-weight: bold; }
    @media screen and (max-width: 599px) {
      .navbar .logo span {
        display: none; } }
    .navbar .logo img {
      width: 3rem; }
    .navbar .logo .beta {
      font-size: 12px;
      color: var(--color-primary); }
  .navbar .nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 60%; }
    @media screen and (max-width: 599px) {
      .navbar .nav {
        display: none; } }
    .navbar .nav i {
      margin-right: .5rem; }
  .navbar .user {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem; }
    @media screen and (max-width: 599px) {
      .navbar .user {
        width: fit-content; } }
.search-bar {
  width: var(--page-width);
  display: flex;
  flex-direction: row;
  padding: 0px; }
  @media screen and (max-width: 599px) {
    .search-bar {
      width: 100%;
      padding-inline: 1rem; } }
  .search-bar input {
    background-color: var(--color-secondary);
    border: 0px solid black;
    padding-block: 8px;
    padding-inline: 15px;
    color: inherit;
    font-size: 16px;
    width: 100%; }
  .search-bar input:focus {
    outline: none; }
  .search-bar .search-but {
    width: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: filter .1s ease-in-out;
    background: transparent;
    border: none;
    color: white;
    font-size: 18px; }
  .search-bar .search-but:hover {
    filter: brightness(75%); }

.header-tags {
  width: var(--page-width);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: .25rem;
  margin-bottom: 1rem;
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
  scrollbar-width: none;
  /* Firefox, Safari 18.2+, Chromium 121+ */ }
  @media screen and (max-width: 599px) {
    .header-tags {
      width: 100%;
      padding-inline: 1rem;
      overflow-y: auto; } }
.header-tags::-webkit-scrollbar {
  display: none;
  /* Older Safari and Chromium */ }

/* WORLDS */
.worlds {
  display: flex;
  flex-direction: column;
  gap: 1rem; }

.world {
  display: flex;
  flex-direction: column; }
  .world h2 {
    margin-block: 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem; }
  .world .status {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center; }
  .world .status > i {
    color: #00ff37;
    font-size: 16px; }
  .world .players {
    display: flex;
    align-items: center;
    justify-self: center;
    padding: 0px;
    font-size: 16px;
    color: var(--color-primary); }
    @media screen and (max-width: 599px) {
      .world .players {
        min-width: 4em; } }
  .world .players > i {
    margin-right: .5rem; }
  .world .bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: .5rem; }
    @media screen and (max-width: 599px) {
      .world .bottom {
        flex-direction: column;
        gap: 1rem; } }
  .world .version i {
    margin-right: .5rem; }

@media screen and (max-width: 599px) {
  .content.one-sidebar-layout {
    width: var(--page-width);
    margin-inline: auto; } }

/* TOGGLE */
.toggle {
  position: relative;
  cursor: pointer; }

/* Hide checkbox but keep it accessible */
.toggle-input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer; }

/* Toggle background */
.switch {
  display: flex;
  align-items: center;
  width: 3.5rem;
  height: 2rem;
  border: none;
  border-radius: 1rem;
  background-color: var(--color-bg);
  transition: all ease-in-out 200ms; }

/* Toggle button */
.switch::before {
  content: "";
  position: absolute;
  left: 3px;
  width: 1.75rem;
  height: 1.75rem;
  background-color: white;
  border-radius: 50%;
  transition: all ease-in-out 200ms; }

/* Focus when navigating via keyboard */
.toggle-input:focus-visible + .switch {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px; }

/* Change background colour when the toggle is checked */
.toggle-input:checked + .switch {
  background-color: var(--color-primary); }

/* Move toggle button to the right when checked */
.toggle-input:checked + .switch::before {
  transform: translateX(1.4rem); }

/* Disable the transitions if reduced motion is enabled */
@media (prefers-reduced-motion: reduce) {
  .Toggle__display {
    transition-duration: 0ms; } }

/* FOOTER */
footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding-top: 3rem;
  margin-top: 3rem;
  position: relative; }
  footer .top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 7rem; }
    @media screen and (max-width: 599px) {
      footer .top {
        gap: 1rem;
        flex-direction: column; } }
  footer .left {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    align-items: center; }
  footer .right {
    display: flex;
    flex-direction: row;
    gap: 2rem; }
    @media screen and (max-width: 599px) {
      footer .right {
        padding-inline: 1em;
        align-items: center;
        justify-content: center; } }
    footer .right .link-column {
      display: flex;
      flex-direction: column; }
      footer .right .link-column a {
        filter: brightness(0.75);
        transition: filter ease-in-out .15s; }
      footer .right .link-column a:hover {
        filter: brightness(0.5); }
      footer .right .link-column .title {
        font-family: "League Spartan", sans-serif;
        font-weight: bold;
        font-size: 20px;
        margin-bottom: .25em; }
  footer .logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    font-family: "League Spartan", sans-serif;
    font-size: 24px;
    font-weight: bold; }
    @media screen and (max-width: 599px) {
      footer .logo {
        flex-direction: column; } }
    footer .logo img {
      width: 3rem; }
  footer .creeper {
    height: 70%;
    position: absolute;
    bottom: 0px;
    left: 0px; }
    @media screen and (max-width: 599px) {
      footer .creeper {
        display: none; } }
/* 404 */
.notfound-wrap {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
  justify-content: center; }
  .notfound-wrap .notfound-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center; }
    .notfound-wrap .notfound-text h1 {
      font-family: "League Spartan", sans-serif; }
    .notfound-wrap .notfound-text span {
      font-size: 20px; }
  .notfound-wrap img {
    max-height: 30rem; }

.maps {
  display: flex;
  flex-wrap: wrap; }
  @media screen and (max-width: 599px) {
    .maps {
      justify-content: center; } }
