:root {
  --light-purple: #BFA0EB;
  --medium-light-purple: #9754CB;
  --medium-dark-purple: #6237A0;
  --dark-purple: #28104E;
  --very-light-purple: #F7EBFF;
  --very-dark-purple: #53156B;
  --link-blue: #75D0FA;
}

.hide-scroll::-webkit-scrollbar {
  display: none;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  background: var(--very-light-purple);
  font-family: "Oxygen", sans-serif;
  overflow: hidden;
}

#main {
  width: 100vw;
  max-height: calc(96vh - 165px);
  scrollbar-gutter: stable;
  padding-bottom: 0;
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: center;
}

#title {
  margin-top: 0;
  margin-left: 5vw;
  margin-top: 2vh;
  margin-bottom: 2vh;
  font-size: 50px;
  color: var(--very-dark-purple);
}

.tclass {
  overflow-y: auto;
  overflow-x: clip;
  padding-bottom: 20px;
  scrollbar-gutter: stable;
}

.tclass h1 {
  color: var(--very-dark-purple);
  text-align: center;
  font-size: 40px;
  margin: 10px;
  margin-top: 0;
}

.tournament {
  background-color: var(--medium-light-purple);
  border-radius: 8px;
  height: 40px;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  height: auto;
  font-weight: bold;
  font-size: 30px;
  cursor: pointer;
  padding: 8px;
  width: 46vw;
  text-align: center;
}

.T {
  display: none;
  flex-direction: column;
  align-items: center;
}

.packs {
  display: flex;
  flex-direction: row;
  gap: 5px;
  padding-top: 5px;
  justify-content: center;
  flex-wrap: wrap;
  width: 46vw;
}

.packs a {
  text-decoration: none;
}

.packs a div {
  background-color: var(--medium-dark-purple);
  border-radius: 8px;
  width: 70px;
  min-width: 70px;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 25px;
  font-weight: bold;
}

#buffer {
  min-height: 50px;
}

@media(max-width: 999px) {
  #main {
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    scrollbar-gutter: stable;
  }
  .tclass {
    margin-left: 2vw;
    width: 94vw;
    overflow-y: visible;
  }
  .tournament, .packs {
    width: 90vw;
  }
}