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

body,
html {
  overflow-y: auto;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  background-color: #f8f9fa;
}

section#hero {
  min-height: 70vh;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/officers/25-26officers2.webp") no-repeat center top / cover;
  padding: 4rem 2rem;
  margin: 0;
}

@media (max-width: 768px) {
  section#hero {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  section#hero {
    padding: 2rem 1rem;
  }
}

.h1-text {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.text {
  text-align: center;
  justify-content: center;
}

.event-date {
  font-style: italic;
}

.bstrap {
  margin-left: 80.5px;
  margin-right: 80.5px;
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: 16px;
  padding-right: 16px;
  flex-direction: row;
  display: flex;
}

@media (max-width: 1024px) {
  .bstrap {
    margin-left: 40px;
    margin-right: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .bstrap {
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
}

@media (max-width: 580px) {
  .bstrap {
    margin-left: 10px;
    margin-right: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

.bstrap .row {
  margin: 0;
  width: 100%;
  align-items: center;
}

.bstrap .col-lg-6,
.bstrap .col-10,
.bstrap .col-sm-8 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bstrap img {
  object-fit: cover;
  width: 100%;
  aspect-ratio: 6 / 4;
  max-width: 600px;
  object-position: center;
  border-radius: 5px;
  border: thick solid black;
  display: block;
  margin: 0 auto;
}

.btn-tsaweb {
  background-color: #ee7b19;
}

.btn-tsaweb:hover {
  background-color: #da7217;
}

iframe,
.bstrap img,
.td-img {
  width: 100%;
  aspect-ratio: 6 / 4;
  max-width: 600px;
}

@media screen and (max-width: 992px) {
  iframe,
  .bstrap img,
  .td-img {
    aspect-ratio: 6 / 4;
    max-width: 500px;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  iframe,
  .bstrap img,
  .td-img {
    aspect-ratio: 6 / 4;
    max-width: 450px;
    width: 100%;
  }
}

@media screen and (max-width: 580px) {
  iframe,
  .bstrap img,
  .td-img {
    aspect-ratio: 6 / 4;
    max-width: 350px;
    width: 100%;
  }
  p.lead {
    font-size: 0.95rem;
  }
  .h1-text {
    font-size: 2.5rem;
  }
  .bstrap {
    margin-left: auto;
    margin-right: auto;
  }
  .display-5 {
    font-size: 1.75rem;
  }
}
