header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: min(80%, 1100px);
  margin-inline: auto;
  margin-block: 3rem;
  text-align: center;
  min-height: 2rem;
  padding-bottom: 2rem;
}
header h1 {
  font-size: 3.5rem;
  position: relative;
}
header h1::after {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 5px;
  border-radius: 100vw;
  background-color: #bc1816;
}
header p {
  font-size: 1.3rem;
  text-align: center;
  min-height: 1rem;
  padding-bottom: 1rem;
}

.header-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

@media screen and (max-width: 500px) {
  header {
    width: 95%;
    overflow-x: hidden;
  }
  header h1 {
    font-size: 2.4rem;
  }
  header p {
    font-size: 1.2rem;
  }
  .header-btns {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
}
.information h2 {
  margin-bottom: 1rem;
}

.group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  min-height: 5rem;
  background-color: #ffffff;
  border-block: 6px solid #bc1816;
  padding-block: 0.4rem;
  box-sizing: border-box;
  column-gap: 2rem;
  row-gap: 1rem;
}
.group img {
  max-height: 4rem;
  scroll-snap-align: center;
}

.history {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.history picture {
  display: block;
  max-width: 500px;
  width: 100%;
  margin-inline: auto;
}
.history picture img {
  max-width: 500px;
  width: 100%;
  margin-inline: auto;
}
.history picture.left-tilt {
  transform: rotateZ(-2deg);
}
.history picture.right-tilt {
  transform: rotateZ(2deg);
}

@media screen and (max-width: 500px) {
  .history {
    width: 90%;
  }
}
.badges {
  width: 100%;
  height: min-content;
  background-color: #ffffff;
  border-block: 6px solid #bc1816;
  padding-block: 0.4rem;
}

.badges-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
  margin-inline: auto;
  gap: 1rem;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: 0;
}
.badges-wrapper::-webkit-scrollbar {
  display: none;
}

.badges img {
  max-height: 100%;
  height: 100px;
  scroll-snap-align: center;
}

.contact h2 {
  margin-bottom: 1rem;
}
.contact label {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.contact label span {
  font-weight: 500;
  user-select: none;
}
.contact form {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1.5rem;
}
.contact form input:not([type=submit]),
.contact form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  border: 3px solid #bc1816;
  border-radius: 8px;
  padding: 0.6rem;
}
.contact form input:not([type=submit])::placeholder,
.contact form textarea::placeholder {
  color: #000000;
  user-select: none;
}
.contact form textarea {
  min-height: 260px;
}
.contact form input[type=submit] {
  cursor: pointer;
  width: fit-content;
  padding-inline: 5rem;
  margin-inline: auto;
}

@media screen and (max-width: 500px) {
  .contact {
    width: 90%;
  }
  .contact form input[type=submit] {
    padding-inline: inherit;
    width: 100%;
  }
}
.contact-popup-bg {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  cursor: pointer;
  background-color: #0c0c0c77;
}

.contact-popup {
  background-color: #ffffff;
  border: 4px solid #e52320;
  border-radius: 8px;
  padding: 2rem;
}
