body {
  margin: 0;
  overflow: hidden;

}

* {
  font-family: "Syne Mono", monospace;
  font-weight: 400;
  font-style: bold;
  color: white;
}



#panorama {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#ui {
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 10;
}

.menu-container {
  transform: translateY(-80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;

}

.menu-start {
  opacity: 0;
  transform: translateY(10px);

  animation: menuFadeIn 0.8s ease forwards;
}


.grid {
  display: flex;
  justify-content: space-between;
}

.right {
  margin-left: 10px;
}

.btn_1 {
  grid-row: 1;
}

.btn_2 {
  grid-row: 2;
}

.btn_3 {
  grid-row: 3;
}

.btn_7 {
  grid-row: 4;
}


.btn_4 {
  grid-row: 5;
}

.btn_5 {
  grid-row: 5;
}

.btn_6 {
  height: 60px;
  width: 60px;
  grid-column: 2;
  grid-row: 5;
  margin-left: 20px;
}

button:disabled {
  background-image: url("../images/Button_texture_1_disabled.png");
  background-size: 100%;
  color: #1a1a1a;

}

.top {
  margin-top: 40px;
}

.menu {
  display: grid;
  grid-template-columns: min(75vw, 600px) 60px;
  gap: 10px;
}



@keyframes menuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(-80px);
  }
}

button {
  /*background-color: gray;*/
  background-image: url("../images/Button_texture_1.png");
  background-size: 100%;
  width: 600px;
  padding: 10px;
  font-size: 24px;
}

button:hover:not(:disabled) {
  border: 2px solid white;

}

image {
  margin: 200px;
}

.map-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.dynmap {
  width: 100%;
  height: 100%;
  border: none;
}

#back {
  position: absolute;
  bottom: 20px;
  left: 50px;
  z-index: 20;
  width: 150px;
}

.header {
  height: 80px;

  display: flex;
  justify-content: center;
  align-items: center;

  /*
  background-image: url("../images/texture.png");
  background-repeat: repeat;
  background-size: 64px;
  */
  background-color: black;

}

#home-logo {
  height: 30px;
  cursor: pointer;
}


#logo {
  margin: 45px;
  max-width: min(80vw, 900px);
}



#image-viewer {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.9);

  display: none;

  justify-content: center;
  align-items: center;

  z-index: 999;
}

#viewer-image {
  max-width: 90%;
  max-height: 90%;

  border: 4px solid #111;
  animation: zoomIn 0.2s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 767px) {

  .btn_6 {
    grid-row: 5;
    grid-column: 1;
    margin: 0px;
  }

  .top {
    margin: 0px;
  }

  button {

    padding: 14px;

    font-size: 16px;
  }

  #panorama canvas {
    filter: blur(1px) brightness(0.8);
  }

  .center-container {
    gap: 20px;
  }

  .menu button {
    width: 90vw;
    font-size: 15px;
  }

  .btn_4 {
    margin-left: 10vw;
  }

}