* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Ronzino';
  src: url('../font/Ronzino-Regular.woff2') format('woff2');
  font-weight: 400;
}

.manrope {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.hero-wrapper {
  margin-bottom: -105vh;
  width: 100vw;
  left: 0;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #E7E8E2;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  padding: 1.5%;
}

.logoBattistelli {
  width: 9vw;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
  user-select: none;
}

.text{
  font-size: 14px;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
  display: inline-block;
  text-align: left;
  color: #020202;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.063rem, 0.304rem + 2.024vw, 2.125rem);
  margin-top: 10%;
}

.container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #E7E8E2;
  padding-right: 5vw;
  padding-left: 5vw;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;   
}

.img-preview {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 75%;
  overflow: hidden;
}

.img-preview img {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.minimap {
  position: absolute;
  top: 60%;
  right: 8rem;
  width: 80px;
}

.indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  border: 1px solid #020202;
  z-index: 2;
}

.items {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0px;
  will-change: transform;
}

.item {
  width: 100%;
  height: 60px;
  padding: 5px;
  cursor: pointer;
}

.bottoni {
  padding: 24px;
}

.backbtn {
  align-items: start;
  border: 1px solid #020202;
  background-color: #020202;
  font-size: clamp(.875rem,.65625rem + .546875vw, 1.3125rem);
  line-height: calc((.65625rem + .546875vw) * 1.457142857142857);
  padding: 10px 20px;
  transition: background-color 0.5s, color 0.5s;
  color: #E7E8E2;
  position: absolute;
  bottom: 5%
}

.backbtn:hover {
  opacity: 80%;
  cursor: pointer;
  background-color: #E7E8E2;
  border: 1px solid #020202;
  color: #020202;
}

.backbtn:active {
  opacity: 0.4;
}

@media(max-width: 900px) {
  body {
    overflow: hidden;
  }

  .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E7E8E2;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    padding: 5%;
    z-index: 9999;
  }

  .logoBattistelli {
    width: 25vw;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .container {
    touch-action: none;
    padding: 2vw;
    width: 100vw;
  }

  .text{
    position: absolute;
    transform: rotateX(-50%);
    top: 10%;
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .minimap {
    top: 70vh;
    right: auto;
    bottom: 5em;
    left: 50%;
    width: auto;
    height: 80px;
    touch-action: none;
  }

  .indicator {
    top: 0;
    left: 0;
    width: 60px;
    height: 100%;
  }

  .items {
    flex-direction: row;
    width: max-content;
    height: 100%;
    touch-action: none;
  }

  .item {
    width: 60px;
    height: 100%;
    padding: 5px;
  }

  .img-preview {
    top: 45%;
    width: 100%;
  }

  .backbtn {
    align-items: start;
    border: 1px solid #020202;
    background-color: #020202;
    font-size: clamp(.875rem,.65625rem + .546875vw, 1.3125rem);
    line-height: calc((.65625rem + .546875vw) * 1.457142857142857);
    padding: 10px 20px;
    transition: background-color 0.5s, color 0.5s;
    color: #E7E8E2;
    position: absolute;
    bottom: 5%;
  }
}