/* <!-- Intro settings --> */
/* Default height for small devices */
#hero-bg {
  height: 400px;
}

/* Height for devices larger than 992px */
@media (min-width: 992px) {
  #hero-bg {
    height: 700px;
  }
}

#about p {
  margin-top: 1rem;
}

.btn {
  color: rgb(77, 176, 183);
  border-color: rgb(77, 176, 183);
}

.btn.btn-outline-primary.active {
  color: rgb(17, 6, 6);
  background-color: rgb(77, 176, 183);
  border-color: black;
}

/* button[checked] {
  color: rgb(17, 6, 6);
  background-color: rgb(77, 176, 183)!important;
} */
.btn-outline-primary:focus {
  color: rgb(17, 6, 6);
  background-color: rgb(77, 176, 183);
  border-color: black;
}

.btn-outline-primary:hover {
  color: rgb(17, 6, 6);
  background-color: rgb(77, 176, 183);
}

h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  text-align: center;

}

h2 {
  margin-top: 4rem;
}


#about {
  background-color: #0a0303;
}

#about p {
  white-space: normal;
  color: aliceblue;
  text-align: justify;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.hero-pic {
  max-width: 85%;
  margin: auto;
}

.filterDiv {
  float: left;
  color: rgb(11, 15, 19);
  width: 100%;
  text-align: center;
  margin: 2px;
  display: none;
  /* Hidden by default */
  padding: 0;
}

.filterDiv img {
  width: 330px;
  height: 360px;
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}

#item-container {
  margin: auto;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 3rem 2rem;
  cursor: pointer;
}

#myBtnContainer {
  display: flex;
  justify-content: center;
  align-items: center;
}

#news .content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 8px;
}

.btn-toolbar {
  font-size: 1.9vw;
}

.btn-group,
.btn-group-vertical {
  box-shadow: none;
}

.contact-section .container {
  display: flex;
  justify-content: center;
}

.card {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.card a {
  text-decoration: none;
}

@media (min-width: 1px) and (max-width: 767px) {
  #item-container {
    grid-template-columns: 1fr;
    gap: 0rem;
  }

  #about p {
    font-size: 2.3vw;
  }



  .show {
    display: flex;
    justify-content: center;
  }

  #news .content {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #item-container {
    grid-template-columns: 1fr 1fr;
  }

  #news .content {
    display: grid;
    grid-template-columns: 1fr;
  }
}