html {
  font-size: 20px;

  @media screen and (min-width: 900px) {
    font-size: 18px;
  }

  @media screen and (min-width: 1200px) {
    font-size: 20px;
  }
}
h1 {
  font-family: "Playfair Display", serif;
  color: white;
  font-size: 2em;
  font-weight: 900;
  margin: 0;
}

h2 {
  font-family: "Playfair Display", serif;
  color: rgb(233, 232, 232);
  margin: 0;
  font-size: 1.5em;
}

h3 {
  font-family: "Playfair Display", serif;
  color: rgb(233, 232, 232);
  margin: 0;
  font-size: 1.65em;
}

.navIcons {
  width: 50px;
  height: 50px;
}

body {
  background-color: #1c1e26;
  height: 100%;
}

header {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

p {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.5em;
  color: #1c1e26;
}

.bold-font {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: #1c1e26;
}

.button {
  font-family: "Playfair Display", serif;
  font-size: 1.6em;
  width: 250px;
  max-width: 100%;
  padding: 15px;
  background-color: #545a72;
  transition-duration: 0.4s;
  border: 2px solid #545a72;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  margin: 20px;
  -webkit-appearance: none;
}

.button:hover {
  color: #545a72;
  background-color: white;
}

.button:disabled {
  color: white;
  background-color: grey;
}

section {
  background-color: white;
  margin-left: 100px;
  margin-right: 100px;
  text-align: center;
  border-top-right-radius: 6px;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  font-size: 1.2rem;
}

.padded {
  padding-left: 10vw;
  padding-right: 10vw;
  padding-top: 1vw;
  padding-bottom: 1vw;
}

#cover-image {
  background-color: black;
  background-image: url("images/space.jpg");
  background-size: cover;
  background-position: auto;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  position: relative;
  height: 200px;
  width: 100%;
}

.cover-centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bold {
  font-weight: 800;
}

a {
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  width: 100;
}

li {
  display: block;
  list-style-type: none;
  float: left;
  margin-top: auto;
  margin-bottom: auto;
  margin-right: 100px;
  margin-left: 100px;
}

#submit {
  padding: 0px;
  width: 200px;
}

#nameInput {
  padding: 5px;
  width: 100px;
  font-family: "Playfair Display", serif;
  font-size: 30px;
  max-width: 100%;
  background-color: white;
  transition-duration: 0.4s;
  border: 2px solid #545a72;
  color: #545a72;
  border-radius: 5px;
}

/* https://www.w3schools.com/howto/howto_js_sidenav.asp */
/* The side navigation menu */
.sidenav {
  height: 100%;
  /* 100% Full-height */
  width: 0;
  /* 0 width - change this with JavaScript */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Stay on top */
  top: 0;
  /* Stay at the top */
  right: 0;
  background-color: black;
  /* Black*/
  overflow-x: hidden;
  /* Disable horizontal scroll */
  padding-top: 60px;
  /* Place content 60px from the top */
  transition: 0.5s;
  /* 0.5 second transition effect to slide in the sidenav */
}

/* navigation menu links */
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-family: "Playfair Display", serif;
  font-size: 25px;
  color: white;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  cursor: pointer;
}

/* Style nav bar for smaller screens*/
@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }

  .sidenav a {
    font-size: 18px;
  }
}

br {
  display: block;
  margin: 30px;
}

.collapsible-content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

img {
  width: 100%;
  max-height: 100%;
}
#drag1,
#drag2 {
  cursor: move;
}

#star-map {
  width: 100%;
  max-height: 100%;
}
#puzzle {
  width: 100%;
  height: auto;
  display: inline-grid;
  grid-template-columns: 67% 21% 21%;
}

.star-map-container {
  position: relative;
}

#drop-box {
  position: absolute;
  left: 16.65%;
  top: 0px;
  z-index: 1000;
  width: 31%;
  margin-top: -0.4%;
  height: 55%;
}

@media only screen and (max-width: 855px) {
  html {
    font-size: 16px;
  }
  .button {
    font-size: 1.15em;
  }
  body {
    width: 100%;
    margin: 0px;
  }
  header {
    width: 100%;
  }
  p {
    font-size: 1.1em;
  }
  h1 {
    background-color: 10px;
    font-size: 1.5em;
  }
  h2 {
    display: none;
  }
  h3 {
    font-size: 1.2em;
  }
  #cover-image {
    height: 100px;
  }
  section {
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 30px;
  }
  .navIcons {
    width: 10vw;
  }

  ul {
    width: 100%;
  }
  li {
    list-style-type: none;
    float: left;
    width: 33.3%;
    margin-right: 0px;
    margin-left: 0px;
  }
  #nameInput {
    font-size: 1.1em;
  }
  header {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

.clickable {
  cursor: pointer;
}
