.h_anim {
  background-image: url(../media/main_h_pic.jpg);
  height: 850px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-clip: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 20px solid rgb(253, 216, 29);
}

.h_span1 {
  font-size: 8pc;
  color: rgb(253, 216, 29);
  text-shadow: 2px 2px 6px rgb(112, 112, 112);
  white-space: nowrap;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  width: 35vw;
  text-align: right;
}

.h_span2 {
  font-size: 4pc;
  color: rgb(253, 216, 29);
  text-shadow: 2px 2px 8px rgb(255, 71, 71);
  white-space: nowrap;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  margin-top: 30px;
  z-index: 10;
  text-align: center;
  font-family: "Audiowide", sans-serif;
  transition: 500ms ease-in-out;
  text-decoration: none;
  position: relative;
}

.h_span2:hover {
  transform: scale(1.05);
  cursor: pointer;
}

h2 {
  font-size: 2.5pc;
  margin: 10px 0;
  white-space: nowrap;
  text-align: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.h_anim > img {
  height: 200px;
  position: relative;
  top: -60px;
  z-index: 1;
}

@media (max-width: 985px) {
  .h_span1 {
    width: 20vw;
  }
  .h_span2 {
    font-size: 3pc;
    color: rgb(253, 216, 29);
    text-shadow: 2px 2px 8px rgb(255, 71, 71);
    white-space: nowrap;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
  h2 {
    font-size: 2pc;
  }
}
@media (max-width: 710px) {
  .h_span1 {
    width: 15vw;
    font-size: 6pc;
  }
  .h_span2 {
    font-size: 2.5pc;
    color: rgb(253, 216, 29);
    text-shadow: 2px 2px 8px rgb(255, 71, 71);
    white-space: nowrap;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
  h2 {
    font-size: 1.5pc;
  }
}
@media (max-width: 545px) {
  .h_span2 {
    font-size: 2pc;
    color: rgb(253, 216, 29);
    text-shadow: 2px 2px 8px rgb(255, 71, 71);
    white-space: nowrap;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
  h2 {
    font-size: 1.2pc;
  }
  .h_anim > img {
    height: 100px;
    position: relative;
    top: -20px;
    z-index: 1;
  }
}
main {
  height: -moz-fit-content;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
}

h1 {
  text-align: center;
  font-size: 4em;
}

#offerbox {
  display: grid;
  width: 80vw;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

#offerbox > div {
  width: 100%;
  background-color: rgb(240, 240, 240);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#offerbox > div > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#oftxt {
  font-size: 20pt;
}

#ofbtn {
  width: -moz-fit-content;
  width: fit-content;
  border: none;
  font-size: 16pt;
  background-color: rgb(233, 207, 3);
  border: 3px solid rgb(233, 207, 3);
  padding: 10px 50px;
  color: #fff;
  text-decoration: none;
  transition: 500ms all;
}

#ofbtn:hover {
  cursor: pointer;
  background-color: #fff;
  color: rgb(233, 207, 3);
}

@media (max-width: 1665px) {
  #offerbox {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1000px) {
  h1 {
    font-size: 3em;
  }
}
@media (max-width: 820px) {
  #offerbox {
    width: 100vw;
  }
  #offerbox img {
    height: 200px;
    margin-right: 20px;
  }
  #offerbox > div {
    grid-template-columns: 1fr 2fr;
  }
}
@media (max-width: 700px) {
  h1 {
    font-size: 2.5em;
  }
  #oftxt {
    font-size: 15pt;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 2em;
  }
  #oftxt {
    font-size: 12pt;
  }
  #ofbtn {
    font-size: 14pt;
    padding: 10px 30px;
  }
}/*# sourceMappingURL=style.css.map */