#infoButtonWrapper {
  position: fixed;
  z-index: 1001;
  width: 45px;
  height: 45px;

  right: 20px;
  top: 20px;
}

#infoButton {
  width: 45px;
  height: 45px;
}

#infoButtonBackground {
  position: fixed;
  z-index: 999;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;

  background: rgba(0, 0, 0, 0.6);
}

#infoPopUp {
  background: #FFFFFF;
  box-shadow: 0 0 4px rgba(45, 45, 45, 0.5);
  width: calc(100vw - 40px);
  border-radius: 6px;

  position: absolute;
  z-index: 1001;
  top: 60px;
  right: 0;
}

#popUpTriangle {
  position: absolute;
  top: -10px;
  right: 15px;
}

.listItem {
  display: grid;
  align-content: center;
  align-items: center;
  grid-template-columns: 40px auto;
  column-gap: 10px;

  margin: 10px 0 10px 10px;
}

.listItem img {
  max-width: 40px;
}

.listItem span {
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 22px;

  color: #14192D;
}

#popupRotationAxesWrapper {
  display: grid;
  justify-content: left;
  row-gap: 10px;

  margin-bottom: 10px;
}

#popupRotationAxesWrapper span {
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 22px;
  margin-left: 10px;

  color: #14192D;
}

#rotationAxesListWrapper {
  display: grid;
  justify-content: left;
  grid-template-columns: 70px 70px 70px;;
  row-gap: 5px;

  margin-left: 10px;
}

.popupAxisClass {
  width: 70px;
  display: grid;
  justify-content: center;
  align-content: center;
  align-items: center;
  grid-template-columns: 40px 30px;
}

.popupAxisImageClass {
  width: 40px;
  height: 40px;
}

.popupAxisNameClass {
  width: 20px;
}

@media (max-width: 330px) {
  .listItem span {
    font-size: 15px;
  }
}

@media (min-width: 450px) {
  #infoPopUp {
    width: 400px;
  }
}

@media (orientation: landscape) {
  #infoButtonWrapper {
    right: unset;
    top: unset;

    bottom: 20px;
    left: 20px;
  }

  #infoPopUp {
    max-height: calc(100vh - 40px);
    position: fixed;
    z-index: 1001;
    left: 80px;
    bottom: 20px;
    top: unset;

    overflow-y: scroll;
  }

  #popUpTriangle {
    position: fixed;

    top: unset;
    right: unset;
    bottom: 35px;
    left: 70px;

    transform: rotate(-90deg);
  }
}
