@font-face {
  font-family: eightgon;
  src: url(fonts/Eightgon-OGn6p.ttf);
}
@font-face {
  font-family: lemonMilk;
  src: url(fonts/lemonMilkRegular-X3XE2.otf);
}
@font-face {
  font-family: PrimetimeRegular;
  src: url(fonts/PrimetimeRegular-vOL9.tff);
}

body {
  font-family: "Mona", sans-serif;
  font-size: 15px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 10px;
  font-weight: lighter;
  background-color: rgb(95, 158, 160);
  color: black;
}

code {
  font-family: 'Courier New', 'Courier', monospace;
}

/* Main text section */
.main {
  background: whitesmoke;
  border: 2px solid black;
  width: 650px;
  padding: 15px;
  margin: 20px auto;
  margin-top: 5%;
  box-shadow: 7px 7px rgb(0, 0, 0, 0.78);
}

/* Prevent overflow of large images */
.main img,
.pain img,
.sidebar-left img {
  max-width: 100%;
  height: auto;
}

/* Identical to Main, but transparent */
.pain {
  width: 515px;
  padding: 15px;
  margin: 20px 25px 25px 400px;
}

#vr-spacer {
  padding-bottom: 20px;
  border-bottom: 3px solid black;
}

.small-sizer {
  max-width: 200px;
  max-height: 200px;
  border-radius: 10px;
}

/* Sidebar */
.sidebar-top {
  background: whitesmoke;
  border: 2px solid black;
  width: 100%;
  max-width: 100%;
  max-height: 10%;
  position: fixed;
  overflow: auto;
  margin-left: -10px;
  margin-top: -10px;
  text-align: center;
  box-shadow: 0px 3px rgb(0, 0, 0, 0.78);
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-align: center;
}

li {
  float: left;
  padding-left: 55px;
  padding-right: 55px;
  border-left: 3px solid black;
  border-right: 0px solid black;
  font-weight: lighter;
}

li a {
  display: block;
  color: black;
  text-align: center;
  padding: 14px 150px;
  text-decoration: none;
}

/* Change the link color to #111 (black) on hover */
li a:hover {
  background-color: white;
}

#introbox {
  max-width: 250px;
  max-height: 250px;
  border-radius: 40px;
  margin-top: -330px;
  margin-left: 57%;
}

.images {
  max-width: 550px;
  max-height: 550px;
  border-radius: 40px;
}

/* Mobile styles */
@media (max-width: 768px) {
  .main {
    width: 90%; /* adapt width to screen */
    margin-top: 10%;
    box-shadow: 4px 4px rgb(0, 0, 0, 0.5);
  }

  .pain {
    width: 90%;
    margin: 20px auto;
    padding: 10px;
  }

  /* Sidebar - stack items vertically */
  ul {
    text-align: left;
  }

  li {
    float: none;
    padding: 10px 0;
    border-left: none;
    border-bottom: 1px solid black;
  }

  li a {
    padding: 14px 10px;
  }

  #introbox {
    max-width: 150px;
    max-height: 150px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .images {
    max-width: 90%;
    max-height: auto;
    border-radius: 20px;
  }
}
