.map-container {
  max-width: 1500px;
  margin-inline: auto;
  padding-block: 50px;
  height: 100vh;
  background-color: black;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-image: url("../assets/desktopB.jpg");
  background-size: cover;
  position: relative;
}

#myMap {
  width: 50%;
  height: 380px;
  position: relative;
  border: 1px solid white;
  border-radius: 0 4px 4px 0;
  border-left: none;
  overflow: hidden;
}

.map-info {
  font-size: 28px;
  background-color: #1e1e1e;
  border: 1px solid white;
  border-radius: 4px 0 0 4px;
  border-right: none;
  padding: 30px 30px;
}

.map-info p:not(:last-of-type) {
  margin-bottom: 10px;
}

.launch-detail {
  font-weight: bold;
  color: #0ac6ff;
}

.image-bottom-container {
  position: relative;
}

.scroll-top-button {
  width: 80px;
  height: 80px;
  position: absolute;
  bottom: 30px;
  right: 30px;
  transition: transform 150ms ease;
  -webkit-user-select: none;
  user-select: none;
  background-image: url("../assets/up-button.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.scroll-top-button img {
  -webkit-user-select: none;
  user-select: none;
}

.scroll-top-button:hover {
  opacity: 0.9;
}

.scroll-top-button:active {
  transform: scale(0.95);
}

@media (min-width: 1800px) {
  #myMap {
    border-left: 1px solid white;
    border-radius: 4px;
  }
  .map-info {
    border-right: 1px solid white;
    border-radius: 4px;
  }
}
@media (max-width: 834px) {
  .map-container {
    padding-inline: 40px;
    padding-top: 20px;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    background-image: unset;
  }

  #myMap {
    width: 100%;
    border-left: 1px solid white;
    border-radius: 4px;
  }
  .map-info {
    border-right: 1px solid white;
    border-radius: 4px;
  }
  .scroll-top-button {
    bottom: 10px;
    right: 10px;
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 393px) {
  .map-container {
    padding-inline: 20px;
    height: 650px;
  }
  #myMap {
    height: 220px;
  }
  .map-info {
    width: 100%;
    font-size: 16px;
  }
  .scroll-top-button {
    bottom: 90px;
    right: 10px;
    width: 50px;
    height: 50px;
  }
}
