.hero-johnmonte {
  background-image: url("../img/johnmonte-bg.jpg");
  background-repeat: no-repeat;
  background-position-x: 100%;
  background-position-y: 20%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;

  position: relative;
  margin-bottom: 0;
  padding: 60px;
  isolation: isolate;
  background-color: #242424;
}

.hero-johnmonte::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #120b32;
  opacity: 0.5;
}

.hero-johnmonte > h2 {
  font-family: "RobotoCondensed", Sans-serif;
  font-size: 14px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
}

@keyframes pushUp {
  from {
    transform: translateY(80px);
    /* Initial position pushed down */
  }

  to {
    transform: translateY(0);
    /* Final position at normal height */
  }
}

.hero-johnmonte > h1 {
  color: #fff;
  font-family: "KorolevBold", Sans-serif;
  font-size: 55px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3em;
  letter-spacing: 0;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.76);
  text-align: center;
  animation: pushUp 1.5s ease-out;
}

.johnmonte-text-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-block: 3rem;
}

.johnmonte-image {
  display: flex;
  justify-content: center;
  width: 30%;
}

.johnmonte-image > img {
  width: 60%;
  height: auto;
  border: #fff solid 15px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

.johnmonte-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 60%;
  margin-right: 3rem;
}

.johnmonte-text > p {
  text-align: left;
  color: #1b325f;
  font-family: "RobotoCondensed", Sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8em;
  letter-spacing: 0;
}

.johnmonte-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.latest-winner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.johnmonte-winner-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.johnmonte-winner-text > h3 {
  color: #1b325f;
  font-family: "KorolevBold", Sans-serif;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.johnmonte-winner-text > h4 {
  color: #120b32;
  font-family: "RobotoCondensed", Sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0;
}

.johnmonte-winners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.johnmonte-winners .johnmonte-winner {
  display: flex;
  align-items: center;
  width: 20%;
  height: auto;
  flex-direction: column;
  align-self: stretch;
}

.johnmonte-winner {
  gap: 0.75rem;
}

@media (width <=768px) {
  .hero-johnmonte > h1 {
    font-size: 30px;
  }

  .johnmonte-text-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .johnmonte-winners .johnmonte-winner {
    width: 100%;
  }

  .latest-winner {
    width: 100%;
  }

  img {
    width: 100%;
  }

  .johnmonte-text {
    align-items: center;
    width: 90%;
    margin: auto;
  }

  .johnmonte-winners .johnmonte-winner {
    width: 100%;
  }

  .johnmonte-winners .johnmonte-winner > img {
    width: 100%;
  }

  .johnmonte-image {
    width: 80%;
  }

  .johnmonte-image > img {
    width: 100%;
  }
}

.johnmonte-winner > .img-wrapper {
    inset: 0;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}


.johnmonte-winner > .img-wrapper > img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.johnmonte-winner > .img-wrapper > img.placeholder {
    object-fit: contain;
    width: 80%;
    height: 80%;
}

.johnmonte-winner > .img-wrapper > video {
  width: 100%;
}

@media (min-width: 768px) {
  .johnmonte-winner > .img-wrapper {
    aspect-ratio: 1 / 1;
  }
}
