* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: sans-serif;
}
#trunk h2 {
  width: 180px;
  font-size: 22px;
  text-align: center;
  font-weight: normal;
  cursor: pointer;
  margin: 0px;
  line-height: 1.5;
  color: peru;
}
#trunk h2:hover {
  background-color: peru;
  color: white;
}

#canvas {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  /* background: #f9f7f3; */
}

.crown {
  width: 80vw;
  height: 80vh;
  max-width: 700px;
  margin: auto;
  border-radius: 50%;
  background-color: #f9f7f3;
}

.img {
  width: 25vw;
  cursor: pointer;
  z-index: 9;
}

#trunk {
  padding: 0;
  height: 50vh;
  position: fixed;
  background: white;
  border-right: 10px solid peru;
  border-left: 10px solid peru;
  bottom: 0;
  left: 50%;
  flex-wrap: wrap;
  transform: translate(-50%, 0);
  z-index: 10;
}

#about-overlay {
  cursor: pointer;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.about-content {
  position: relative;
  background: white;
  padding: 40px;
  width: 500px;
  max-width: 90%;
  z-index: 9999;
  display: block;
  padding: 0;
  height: 100vh;
  border-right: 10px solid peru;
  border-left: 10px solid peru;
  z-index: 10;
}

.about-close {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translate(-50%, 0);
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: peru;
}

.about-content p {
  margin: 0;
  width: 100%;
  font-size: 22px;
  text-align: center;
  font-weight: normal;
  cursor: pointer;
  line-height: 1.5;
  color: peru;
  /* border-right: 5px solid peru;
  border-left: 5px solid peru; */
  border-radius: 25px;
}

.orbit-item {
  position: absolute;
  transform: translate(-50%, -50%);
  transition: transform 0.4s ease;
}

.orbit-item[data-type="image"] {
  width: 300px;
  max-width: 25vw;
}

.note {
  width: 15vw;
  height: 15vw;
  padding: 16px;
  background: #f9f7f3;
  font-family: "Comic Sans MS", "Apple SD Gothic Neo", cursive;
  font-size: 15px;
  line-height: 1.4;
  cursor: text;
  border-radius: 50%;
}

/* hover */
.img:hover {
  transform: scale(1.03);
  z-index: 20;
}

@media screen and (max-width: 480px) {
  #trunk h2 {
    width: 150px;
    font-size: 18px;
  }
  .crown {
    width: 90vw;
    height: 80vh;
  }

  .about-content {
    position: relative;
    background: white;
    padding: 40px;
    width: 90vw;
    max-width: 500px;
  }
}
