@import "../general.css";

.contact-section {
  padding-block: 8rem;
  color: #4c4c4c;
}

.contact-section .contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.contact-section .contact-wrapper li {
  display: flex;
  flex-direction: column;
  line-height: 1.375;
}

.contact-section .contact-wrapper > li {
  max-width: 22.2rem;
}

.contact-section .contact-wrapper > li a {
  transition: all 0.3s ease;
}

.contact-section .contact-wrapper > li a:hover {
  color: #2c2c2c;
}

.contact-section .contact-map {
  margin-block-start: 4rem;
  position: relative;
  height: 100%;
  padding-bottom: 42.8rem;
}

.contact-section .contact-map img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .contact-section {
    padding-block: 5rem;
  }
  .contact-section .contact-map {
    padding-bottom: 100%;
}
}
