body {
    font-family: "Comic Sans MS";
    background-color: #202020;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    color: white;
    font-family: "Chalkboard", "Chalkboard SE", -apple-system, "Comic Sans MS", BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0 0;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.content {
    width: 50%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    align-items: center;
    /* margin: 0 auto; */
    /* border-left: 1px solid #808080;
    border-right: 1px solid #808080 ; */
}

.inner-wrapper {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-top: 15px;
    width: 50%;
}

.header {
    /* width: 100%; */
    height: 50px;
    font-size: 1rem;
    border-bottom: 1px solid #808080;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0 8px;
    /* padding: 0 8px; */
}

.funny-title-text {
    display: flex;
    /* justify-content: center; */
    /* margin: auto; */
    font-size: 2rem;
    color: yellow;
}

.text2 {
    font-size: 1.6rem;
    /* margin-top: 30px;
    margin-bottom: 20px; */
}

.text3 {
    font-size: 1.2rem;
}

.place-title {
    font-size: 1.2rem;
    color: yellow;
}

.coordinate-area {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.nav-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    /* padding-top: 4px; */
    /* width: 350px; */
}

.place-bttns {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.place-bttn {
    border: 1px solid #808080;
    border-radius: 8px;
    padding: 6px 16px;
}

form {
    margin-block-end: 0;
}

.login-form {
    /* border-radius: 12px; */
    /* border: 1px solid #888; */
    height: fit-content;
    display: flex;
    width: 20rem;
    flex-direction: column;
    padding: 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.text-input {
    font-family: "Chalkboard", "Chalkboard SE", -apple-system, "Comic Sans MS", BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border-radius: 8px;
    border: 1px solid #888;
    background-color: #303030;
    padding: 4px 4px;
    color: white;
    width: 100%;
    outline: none;
    box-shadow: none;
    min-height: 24px;
    height: 24px;
    box-sizing: content-box;
}

.navBttn {
    all: unset;
    cursor: pointer;
    display: flex;
    border-radius: 7px;
    border: 1px solid #888;
    padding: 4px 8px;
    width: fit-content;
    max-width: fit-content;
    height: 24px;
    /* margin: auto; */
    background-color: #404040;
}

.navBttn:hover {
    background-color: #585858;
}

th {
    text-align: left;
}

tr {
    height: 30px;
}

table, th, tr {
    border: none;
    border-collapse: collapse;
    margin: 0;
}

.fineprint {
    color: #888;
    font-style: italic;
    width: 100%;
}

.coord-row {
    background-color: #202020;
}

.coord-row:hover {
    background-color: #303030;
}

.coord-row-2 {
    margin: 0 0;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* border-radius: 8px; */
    border-top: 1px solid #808080;
    padding: 12px 0;
}

.ow-coords {
    display: flex;
    flex-direction: row;
    color: #20ff20;
    padding: 6px 10px;
    border-radius: 5px;
    background-color: #202020;
    cursor: pointer;
}

.ow-coords:hover {
    background-color: #383838;
}

.nether-coords {
    display: flex;
    flex-direction: row;
    color: #ff20ff;
    padding: 6px 10px;
    border-radius: 5px;
    background-color: #202020;
    cursor: pointer;
}

.nether-coords:hover {
    background-color: #383838;
}

select {
    background-color: #202020;
    color: lightblue;
    border-radius: 8px;
    border: none;
    font-family: inherit;
    outline: none;
    box-shadow: none;
}

select:hover {
    background-color: #383838;
}

/* #place-action {
    padding: 6px 10px;
    border-radius: 5px;
    background-color: #202020;
    cursor: pointer;
    height: fit-content;
} */

/* #place-action:hover {
    background-color: #383838;
} */

.sub-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    padding: 25px 0 8px 0;
    width: 100%;
    /* margin: 25px 0; */
}

.copyable {
    color: white;
}

.mobile-hide {
    display: flex;
}

.desktop-hide {
    display: none;
}


iframe {
    flex-grow: 1;
}

#motd {
    font-style: italic;
    color: #888;
    width: 100%;
}

.player-list-area {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 20px;
    border-radius: 12px;
    min-height: 200px;
    border: 1px solid #888;
}

#signup-section {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.fade-in {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in;
}

.fade-in.visible {
    opacity: 1;
    visibility: visible;
}

#signup-user-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.leaderboard {
    color: #888;
    font-size: 1.1rem;
}

.leaderboard:nth-child(1) {
    /* font-weight: 900; */
    font-weight: bold;
    font-size: 1.2rem;
    color: gold;
}

.leaderboard:nth-child(2) {
    /* font-weight: 600; */
    font-weight: bold;
    font-size: 1.2rem;
    color: silver;
}

.leaderboard:nth-child(3) {
    font-weight: bold;
    font-size: 1.2rem;
    color: brown;
}

#leaderboard-category {
    font-size: 1.6rem;
}

#leaderboard-category option {
    font-size: 1rem;
}

.disabled-bttn {
    background-color: #404040;
    color: #b0b0b0;
    pointer-events: none;
    opacity: 70%;
}

@media screen and (max-width: 800px) {
  body {
    gap: 8px;
  }
  
  .content {
    width: calc(100vw - 16px);
    margin: 0 8px;
  }

  .inner-wrapper {
    width: 90%;
  }

  .sub-header {
    padding-top: 0;
  }

  .funny-title-text {
    font-size: 1.8rem;
  }

  .mobile-hide {
    display: none;
  }

  .desktop-hide {
    display: flex;
  }

  iframe {
    flex-grow: 1;
  }

  /* #place-action {
    background-color: #303030;
  } */

  .login-form {
    width: 90%;
  }

  .text-input {
    font-size: 16px;
  }

  .player-list-area {
    width: calc(95% - 40px);
  }

  #leaderboard-category {
    font-size: 1.3rem;
  }
}