body {
  text-align: center;
  background-color: black;
  font-family: "Open Sans", sans-serif;
  padding-top: 100px;
}

h1 {
  padding: 30px 0;
  font-weight: bold;
  font-size: 38px;
  letter-spacing: 2px;
  font-family: "Open Sans", sans-serif;
}

/* MAP */
.map {
  height: 30vw;
  width: 55vw;
  border: 40px solid grey;
}

.responsive-map {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 00px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: block;
  margin: 0 auto;
}

h3 {
  font-family: "Open Sans", sans-serif;
  padding: 20px;
  font-size: 30px;
}

h5 {
  font-family: "Open Sans", sans-serif;
  margin-top: 1em;
}

p {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
}

.medium {
  font-size: 20px;
}

.med-large {
  font-size: 24px;
}

.large {
  font-size: 30px;
}

.colouredSection {
  background-color: grey;
  padding: 50px 0;
  margin: auto;
}

.lightSection {
  background-color: #dfe2e2;
  padding: 80px 0;
}

.centered-hr {
  display: block;
  margin: 30px auto 10px auto;
  border: none;
  border-top: 2px solid grey;
  width: 200px;
}

/* NAVBAR*/
#navigation-bar {
  background-color: black;
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100px;
  display: block;
  transition: top 0.5s;
  text-align: left;
  z-index: 9999;
}

.swingvasion-logo {
  height: 80px;
  position: relative;
  left: 0.3rem;
}

.navbar {
  background-color: black;
}

.nav-link {
  line-height: 1;
}

.dropdown-menu {
  background-color: black;
}

.dropdown {
  cursor: pointer;
}

.dropdown-item {
  color: grey;
}

.last-dropdown-item {
  padding-bottom: 1rem;
}

.dropdown-item:hover {
  background-color: black;
  color: white;
}

/* SWINGVASION DETAILS */
.title {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.swingvasion-box {
  background-color: white;
  max-width: 60vw;
  margin: 2rem auto;
  text-align: start;
}

.swingvasion-details {
  max-width: 80%;
  padding: 3rem;
  margin-left: auto;
  margin-right: auto;
}

/* STAFF */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 36px;
  margin-top: 32px;
  align-items: stretch;
}

.staff-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: center;
}

.staff-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  max-width: 100%;
  max-height: 100%;
}

.staff-cell.vertical .staff-img {
  aspect-ratio: 3/4;
}

.staff-cell.horizontal .staff-img {
  width: 100%;
  height: 220px;
  aspect-ratio: 5/3;
  object-fit: cover;
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.staff-name {
  margin-top: 8px;
  font-weight: bold;
  text-align: center;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.staff-cell-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
.staff-cell-2 {
  grid-column: 2 / 4;
  grid-row: 1 / 2;
}
.staff-cell-3 {
  grid-column: 4 / 5;
  grid-row: 1 / 2;
}
.staff-cell-4 {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
}
.staff-cell-5 {
  grid-column: 3 / 5;
  grid-row: 2 / 3;
}

.staff-4col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.5rem;
  margin-top: 2rem;
  text-align: center;
}

.staff-card {
  background: none;
  padding: 0.5rem 0;
}

.staff-role {
  font-size: 1rem;
  color: #444;
  margin-top: 0.5rem;
}

/* FOOTER */
#footer {
  color: grey;
  margin: auto;
}

.footer-component {
  background-color: grey;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.social-icon {
  color: white;
}

.social-icon:hover {
  color: #1571fd;
}

/* MEDIA QUERIES */
@media only screen and (max-width: 991px) {
  body {
    padding-top: 80px;
  }

  .swingvasion-logo {
    height: 4em;
  }

  #navigation-bar {
    height: 80px;
  }

  .navbar-toggler {
    padding: 0.5rem;
  }
  .navbar-toggler-icon {
    height: 2rem;
    width: 2rem;
  }
  .nav-link {
    font-size: 1rem;
  }

  .dropdown-item {
    font-size: 1rem;
  }

  .last-dropdown-item {
    padding-bottom: 0.25rem;
  }

  .lightSection {
    padding: 20px 0;
  }

  .swingvasion-box {
    max-width: 100vw;
  }
  .swingvasion-details {
    max-width: 100vw;
    padding: 1rem;
  }

  .staff-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
    gap: 24px;
  }

  .staff-cell {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .staff-img {
    max-width: 100%;
    height: auto;
    max-height: 320px;
    aspect-ratio: unset;
  }

  .staff-4col-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
}
