:root {
  --c-o: #F18F35;
  --c-y: #FFEE5A;
  --c-w: #FFF5DC;
  --c-b: #1F1F1F;
}

@font-face {
  font-family: "Rubik";
  font-display: swap;
  src: url("../fonts/Rubik-ExtraBoldItalic.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
}

* {
  box-sizing: border-box;
}

img {
  display: block;
}

html {
  background: var(--c-b);
  min-height: 100%;
  position: relative;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.833vw;
  font-size: 16px;
}

body {
  font-family: "Arial", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  line-height: normal;
  min-height: 100vh;
  position: relative;
  max-width: 100vw;
  position: relative;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

header {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

header .logo {
  width: 282px;
  margin-bottom: 30px;
}

header .logo img {
  width: 100%;
}

header .askgamblers_logo {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
  position: relative;
  z-index: 2;
}

main {
  padding: 0 50px;
  max-width: 1430px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main_bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  overflow: hidden;
}

.main_bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.main_hero {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main_hero img {
  width: 94.95vw;
  max-width: 1823px;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: center calc(100% - 20px);
  object-position: center calc(100% - 20px);
}

footer {
  position: relative;
  padding: 40px 135px 30px;
  position: relative;
  z-index: 2;
}

footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 308px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(0deg, #212860 30%, rgba(33, 40, 96, 0.3) 70%, rgba(68, 83, 198, 0) 100%);
}

.bonus {
  justify-content: space-between;
  margin-bottom: 8.33vh;
  font-size: 22px;
  display: grid;
  grid-template-columns: repeat(2, 0.385fr);
}

.bonus_item {
  background-image: url("./../img/bonus_bg.svg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: contain;
  aspect-ratio: 508/302;
  padding: 30px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0.35;
}

.bonus_item_pretitle {
  text-shadow: 1px 1px #070338;
  font: italic 700 2rem "Arial", sans-serif;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 2;
}

h2 {
  background: linear-gradient(180deg, #1e3f96 0%, #212860 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: #212860;
  margin: 0;
  text-shadow: 0 0 21px #fce54d;
  font: italic 800 3rem/1.2 "Rubik", sans-serif;
  text-align: center;
  position: relative;
  z-index: 2;
}

.bonus_text {
  font: italic 700 1.5rem "Arial", sans-serif;
  letter-spacing: -0.05em;
  text-align: center;
  color: #20265e;
  position: relative;
  z-index: 2;
}

.tw {
  color: var(--c-w);
}

.ttc {
  text-transform: capitalize;
}

input {
  font-size: 16px;
}

.main_link {
  position: relative;
  z-index: 3;
  cursor: pointer;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 31.81rem;
  margin: 0 auto;
  border-radius: 1rem;
  padding: 1.12rem 3.38rem;
  background: var(--c-y);
  box-shadow: 0px -5px 0px 0px var(--c-o) inset;
  text-decoration: none;
  font: italic 800 1.62rem/1.2 "Rubik", sans-serif;
  text-transform: uppercase;
  text-align: center;
  color: #000002;
  transition: all 0.25s ease;
}

.main_link:hover {
  box-shadow: 0px 5px 0px 0px var(--c-o) inset;
}

.tags {
  color: var(--c-w);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 103%;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  max-width: 1920px;
  max-width: 1430px;
  margin: 0 auto;
  padding: 0 50px;
}

.tag {
  display: flex;
  align-items: center;
}

.tag .tag_icon {
  margin-right: 10px;
  width: 42px;
  height: 42px;
  min-width: 42px;
}

.tag .tag_icon svg {
  width: 100%;
  height: 100%;
}

@media screen and (max-height: 920px) and (min-width: 1401px) {
  .main_hero img {
    max-width: 1670px;
    -o-object-position: center calc(100% - 0px);
    object-position: center calc(100% - 0px);
  }
}

@media screen and (max-width: 1650px) {
  .main_hero img {
    width: 100vw;
    min-width: 1600px;
  }

  .bonus {
    grid-template-columns: repeat(2, 0.4fr);
  }
}

@media screen and (max-width: 1400px) {
  .main_hero img {
    -o-object-position: center calc(100% - 0px);
    object-position: center calc(100% - 0px);
  }

  .bonus_item_pretitle {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .tags {
    font-size: 18px;
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-gap: 30px;
    justify-content: space-evenly;
  }

  .tag {
    width: auto;
  }
}

@media screen and (max-width: 1200px) {
  .bonus_item {
    flex: 0.38;
    padding: 10px 20px;
  }

  .bonus_item_pretitle {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 1050px) {
  html {
    font-size: 16px;
  }

  header .logo {
    width: 230px;
  }

  header .askgamblers_logo {
    margin-bottom: 30px;
  }

  .main_hero {
    z-index: -1;
  }

  .main_hero img {
    min-width: unset;
    width: 1920px;
    -o-object-position: -30vw calc(100% - 150px);
    object-position: -30vw calc(100% - 150px);
  }

  footer {
    padding-top: 100px;
  }

  footer::before {
    background: linear-gradient(0deg, #212860 50%, rgba(33, 40, 96, 0.3) 80%, rgba(68, 83, 198, 0) 100%);
  }

  .bonus {
    grid-template-columns: 31.81rem;
    justify-content: center;
    gap: 20px;
  }

  .bonus_item_pretitle {
    font: italic 700 2rem "Arial", sans-serif;
  }

  h2 {
    font: italic 800 3rem/1.2 "Rubik", sans-serif;
  }
}

@media screen and (max-width: 768px) {
  footer {
    padding: 100px 40px 30px;
  }

  .tag {
    width: 100%;
  }
}

@media screen and (max-width: 576px) {
  header .logo {
    width: 145px;
    margin-bottom: 20px;
  }

  header .askgamblers_logo {
    width: 128px;
  }

  main {
    max-width: 375px;
    padding: 0 20px;
  }

  .main_hero img {
    width: 887px;
    -o-object-position: -33vw calc(100% - 250px);
    object-position: -33vw calc(100% - 250px);
  }

  footer {
    margin-top: 60px;
  }

  footer::before {
    height: 110%;
    background: linear-gradient(0deg, #212860 70%, rgba(33, 40, 96, 0.3) 90%, rgba(68, 83, 198, 0) 100%);
  }

  .bonus {
    grid-template-columns: 1fr;
    margin-bottom: 31px;
  }

  .bonus_item {
    padding: 20px;
    aspect-ratio: 335/199;
    font-size: 1rem;
  }

  .bonus_item_pretitle {
    font: italic 700 21px "Arial", sans-serif;
  }

  h2 {
    font: italic 800 2rem/1.2 "Rubik", sans-serif;
  }

  .bonus_text {
    font-size: 1rem;
  }

  .main_link {
    font-size: 18px;
    min-width: 100%;
    width: 100%;
  }

  .tags {
    display: flex;
    flex-direction: column;
    width: -moz-max-content;
    width: max-content;
    margin: 0 auto;
    grid-gap: 20px;
    font-size: 16px;
  }

  .tag .tag_icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
}