h2 {
  color: white;
  margin-top: 1.5vh;
  font-size: 5vw;
  text-decoration: underline;
  text-align: center;
}

.background-div {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6vw;
  background-color: rgba(74, 63, 49, 0.8);
  border-radius: 14px;
  width: 80%;
  margin: 1.5vh auto;
  padding: 3vh 4vw;
}

.address-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spica-map {
  width: 350px;
  height: 350px;
  border: 8px solid white;
  border-radius: 10px;
}

.address {
  color: white;
  margin-top: 1.5vh;
  text-align: center;
}

.contact-info {
  color: white;
}

.info-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 2vw;
  row-gap: 2.3vh;
  font-size: 23px;
}

.info-grid .label {
  white-space: nowrap;
}

.info-grid .value,
.info-grid .value:visited {
  color: white;
  text-decoration: none;
}

.info-grid .value:hover {
  text-decoration: underline;
}

footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background-color: #3e1b15;
  color: white;
  text-align: center;
  z-index: 100;
}

@media (max-width: 1210px) {
  .spica-map {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 1140px) {
  .info-grid {
    font-size: 20px;
  }
}

@media (max-width: 1090px) {
  .info-grid {
    column-gap: 18px;
  }

  .background-div {
    gap: 30px;
  }
}

@media (max-width: 1030px) {
  .background-div {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding-top: 40px;
    width: 70%;
  }

  .spica-map {
    width: 100%;
    max-width: 420px;
    height: 420px;
  }

  .info-grid {
    margin-top: 30px;
    font-size: 20px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .info-grid .label {
    margin-top: 6px;
  }
}

@media (max-height: 1150px) {
  .background-div {
    margin-bottom: 70px;
  }
}

@media (max-width: 800px) {
  .info-grid {
    font-size: 4vw;
  }
}

@media(max-width: 550px) {
  .spica-map {
    height: 250px;
  }
}