html {
  font-family: "Varela Round", sans-serif;
  font-size: 22px;
}

b {
  font-weight: bold;
}

img {
  pointer-events: none;
}

u {
  display: block;
  text-underline-position: under;
}

html {
  height: 100%;
  overflow-y: scroll;
}

html, body {
  min-height: 100%;

  color: white;
  background-color: black;
}

body {
  zoom: 0.8;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#middle {
  width: 70%;
  max-width: 1000px;

  flex: 1;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  border-width: 2px;
  border-radius: 8px;
  border-style: solid;
  border-color: var(--green);

  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 50px;
  padding-right: 50px;

  margin-top: 40px;
  margin-bottom: 0.5em;
}

#middle > div:first-of-type {
  width: 100%;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

#info p, #info h1, #info h2 {
  line-height: 1.4;
  text-box-trim: trim-both;
}

#middle img {
  width: 100%;
  max-width: 160px;
}

#side {
  display: flex;
  flex-direction: row;
  align-items: center;

  text-align: left;
  font-size: 48px;

  gap: 20px;
}

#side p {
  width: 240px;
}

#links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;

  text-align: right;
  font-size: 32px;
  color: var(--green);

  gap: 30px;
}

#links a {
  display: flex;
  justify-content: center;

  color: inherit;
  text-decoration: none;
}

hr {
  width: 100%;

  border-style: inset;
  border-width: 1px;
  border-color: var(--green);

  margin-top: 1em;
  margin-bottom: 1em;
}

#info {
  width: 100%;

  text-align: left;
}

#info > * {
  margin-bottom: 20px;
}

#info > *:first-child, #info > *:last-child {
  margin-bottom: 0;
}

h1 {
  font-size: 48px;
  font-weight: bold;
  color: var(--green);

  margin-bottom: 30px;
}

#info b {
  color: var(--green);
}

#content {
  display: none;
}

#spacer {
  width: 100%;
  min-height: 60px;
  flex: 1;
}

h2 {
  font-size: 40px;
  font-weight: bold;
  color: var(--green);

  margin-bottom: 12px;
}

#itch, #soundcloud {
  position: relative;
  overflow: hidden;

  width: 94%;
  max-width: 552px;

  padding: 8px;
  border-radius: 8px;
  background-color: #F5F5F5;

  filter: brightness(1.05);
}

#itch iframe, #soundcloud iframe {
  width: 100%;
  height: 166px;
}

#itch iframe {
  display: block;
  clip-path: inset(0 1px 1px 0);
}

#soundcloud iframe {
  display: block;
  clip-path: inset(2px 2px 12px 2px);
}

#itch a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#ost-header {
  margin-top: 20px;
}

#bottom hr {
  display: none;
}

#bottom a {
  color: white !important;
}

#bottom p {
  color: var(--green) !important;
}

#links a {
  transition: all .1s ease-in-out;
}

#links a:hover {
  transform: scale(1.1);
}

#itch, #soundcloud {
  transition: transform .1s ease-in-out;
}

#itch:hover, #soundcloud:hover {
  transform: scale(1.05);
}

@media (max-width: 1470px) {
  .hack {
    display: none;
  }
}

@media (max-width: 780px) {
  #middle, #bottom {
    margin-bottom: 30px !important;
  }
}

@media (max-width: 615px) {
  #middle {
    width: 80%;

    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  #side {
    width: 100%;
  }
  #links {
    display: none;
  }
}

@media (max-width: 450px) {
  #middle {
    width: 88%;

    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;

    margin-top: 18px;
  }
}

@media (max-width: 415px) {
  #middle img {
    max-width: 140px;
  }
  #side {
    align-items: flex-end;
  }
  h1 {
    text-align: center;
    margin-bottom: 20px;
  }
  #itch-header, #ost-header {
    margin-bottom: 16px;
  }
  #info p, #content p, #content li {
    font-size: 20px;
  }
}

@media (max-width: 350px) {
  #side {
    font-size: 40px;
  }
}

@media (max-width: 320px) {
  #middle {
    margin-top: 10px;
  }
}
