* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: #fff;
}
body {
  background-color: rgb(26, 44, 56);
  font-family: "Proxima Nova Rg", sans-serif;
  font-weight: 600;
  color: #fff;
}
.headerbox {
  position: fixed;
  z-index: 3;
  top: 0;
  background-color: rgb(26, 44, 56);
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  box-shadow: #0003 0 4px 6px -1px, #0000001f 0 2px 4px -1px;
}
.headerwrap {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-item {
  display: flex;
}
.header-logo svg {
  color: #fff;
  height: 33.4375px;
  width: 100%;
}
.header-btn {
  border-radius: 4px;
  font-size: 14px;
  padding: 15px 20px;
  line-height: 14px;
}
.header-btn:nth-child(2) {
  transition: all 0.2s;
  background-color: rgb(20, 117, 225);
}
.header-btn:nth-child(2):hover {
  background-color: rgb(16, 94, 180);
}
.contentwrap {
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
  padding-top: 60px;
  padding-bottom: 32px;
}
.content {
  overflow: hidden;
}
.promotionbox {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 1rem;
  row-gap: 1rem;
  margin-top: 24px;
}
.promoitem {
  display: flex;
  background-color: #213743;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  height: 224px;
}

.promowrap {
  display: flex;
  flex-direction: column;
  width: 52%;
  padding: 1rem;
  z-index: 2;
}
.probadge {
  font-size: 12px;
  background-color: #fff;
  color: rgb(26, 44, 56);
  line-height: 1.5;
  padding: 0 4px;
  border-radius: 3px;
  margin-bottom: 0.5rem;
  width: fit-content;
}
.promotitle {
  line-height: 120%;
  font-weight: 700;
  font-size: 18px;
}
.promotext {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.promotext span {
  font-weight: 600;
}
.promobtn {
  margin-top: auto;
  border: 1px solid #fff;
  font-size: 14px;
  border-radius: 4px;
  line-height: 14px;
  width: fit-content;
  padding: 13px 16px;
  white-space: nowrap;
  transition: all 0.2s;
}
.promobtn:hover {
  background-color: #2f4553;
}
.promimgwrap {
  width: 54%;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
}
.promimg {
  height: 100%;
}
.searchbox {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  padding: 0 16px;
  width: 100%;
  height: 41px;
  border-radius: 20px;
  background-color: rgb(15, 33, 46);
  border: 2px solid rgb(47, 69, 83);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 3px 0px,
    rgba(0, 0, 0, 0.12) 0px 1px 2px 0px;
  transition: all 0.2s;
  cursor: text;
}
.searchbox:hover {
  border-color: #557086;
}
.searchbox svg {
  width: 20px;
  color: #557086;
}
.searchtext {
  padding: 8px;
  width: 100%;
  font-weight: 500;
  height: 100%;
  display: inline-flex;
  opacity: 0.4;
  align-items: center;
  font-size: 14px;
}

.categorybox {
  margin-top: 1.5rem;
  display: flex;
  border-radius: 48px;
  background-color: rgb(15, 33, 46);
  padding: 5px;
  display: flex;
  gap: 5px;
  width: max-content;
}
.category {
  padding: 15px 20px;
  border-radius: 64px;
  font-size: 14px;
  display: flex;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s;
}
.category:first-child,
.category:first-child svg {
  background-color: rgb(47, 69, 83);
  color: #fff;
}
.category svg {
  transition: all 0.2s;
  width: 14px;
  color: rgb(177, 186, 211);
}
.category:hover {
  background-color: rgb(47, 69, 83);
}
.category:hover svg {
  color: #fff;
}
.gamesection {
  margin-top: 25px;
  width: 100%;
}
.gameswrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  margin-bottom: 25px;
}
.games-headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.headline-title {
  display: flex;
  gap: 8px;
  font-size: 18px;
}
.headline-title svg {
  width: 16px;
  fill: rgb(177, 186, 211);
}
.headline-title:hover svg {
  fill: #fff;
}
.headline-arrows {
  display: flex;
}

.headline-arr {
  border: 1px solid #2f455d;
  width: 50px;
  height: 37px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 32px;
}

.headline-arr:hover svg {
  transform: scale(1.2);
}
.headline-arr:first-child {
  border-right: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.headline-arr:nth-child(2) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.headline-arr svg {
  fill: rgb(177, 186, 211);
  transition: all 0.2s;
  width: 14px;
}
.games {
  display: flex;
  width: max-content;
  padding-top: 10px;
  gap: 16px;
}
.gameitem {
  width: 167px;
  display: flex;
  flex-direction: column;
}
.gameitem:last-child {
  opacity: 0.3;
}
.gameitem img {
  width: 100%;
  border-radius: 8px;
  transition: 0.3s;
  box-shadow: 0 4px 6px -1px rgba(27, 23, 23, 0.2),
    0 2px 4px -1px rgba(0, 0, 0, 0.12);
}
.gameitem:hover img {
  transform: translateY(-8px);
}
.playersonline {
  display: flex;
  margin-top: 5px;
  align-items: center;
  gap: 5px;
}
.playersonline {
  font-size: 12px;
}
.playersonline span {
  color: rgb(177, 186, 211);
}
.gamegreenicon {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  z-index: 1;
  background: #1fff20;
  margin-left: 2px;
  animation: pulse 1s infinite ease-out;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 #00e70166;
  }

  30% {
    box-shadow: 0 0 2px 2px #00e70166;
  }
  70% {
    box-shadow: 0 0 2px 2px #00e70166;
  }
  100% {
    box-shadow: 0 0 #00e70166;
  }
}

.textsection {
  margin-top: 24px;
  border-radius: 8px;
  padding: 16px;
  width: 100%;
  background-color: rgb(15, 33, 46);
}
.textsection h2 {
  margin-bottom: 8px;
  font-size: 24px;
  text-align: center;
  line-height: 132%;
}
.textsection p {
  color: rgb(177, 186, 211);
  margin-bottom: 16px;
}
.footerbox {
  width: 100%;
  background-color: rgb(7, 29, 42);
}
.footer {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  width: 100%;
  padding: 32px 0;
  margin: 0 auto;
}
.footernav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 26px;
}
.footernav ul {
  list-style: none;
}
.footernav li a {
  color: rgb(177, 186, 211);
  font-size: 14px;
  margin-bottom: 6px;
  transition: 0.2s;
}
.footernav li:hover a {
  color: #fff;
}
.footernav ul li:first-child a {
  color: #fff;
  font-size: 16px;
}
.footernav ul li:first-child {
  margin-bottom: 8px;
}
.mobileheader {
  height: 68px;
  width: 100%;
  position: fixed;
  bottom: 0;
  background-color: rgb(15, 33, 46);
  display: none;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  padding: 0 16px;
  z-index: 10;
}
.mobileitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 4px;
  font-size: 12px;
  position: relative;
}
.mobileitem svg {
  width: 16px;
  fill: rgb(177, 186, 211);
}

.mobileitem:nth-child(2):before {
  content: "";
  position: absolute;
  top: 0;
  min-height: 4px;
  width: 60%;
  background-color: #4391e7;
}

.mobileitem:nth-child(2) svg {
  fill: #4391e7;
}
@media screen and (max-width: 1200px) {
  .headerwrap {
    padding: 0 3vw;
  }
  .contentwrap {
    padding: 60px 3vw 32px;
  }
  .promotionbox {
    grid-template-columns: 1fr 1fr;
  }
  .promoitem:nth-child(3) {
    display: none;
  }
  .promimgwrap {
    width: auto;
  }
  .footernav {
    grid-template-columns: 1fr 1fr;
    padding: 0 3vw;
  }
}
@media screen and (max-width: 1020px) {
  .categorieswrap {
    overflow-x: scroll;
    width: 100%;
    scrollbar-color: #2f4553 transparent;
    scrollbar-width: thin;
  }
}
@media screen and (max-width: 800px) {
  .promotionbox {
    grid-template-columns: 1fr;
  }
  .promoitem:nth-child(3) {
    display: flex;
  }
}
@media screen and (max-width: 700px) {
  .promotionbox {
    grid-template-columns: 1fr;
  }
  .promoitem:nth-child(3) {
    display: flex;
  }
  .footer {
    padding-bottom: 100px;
  }
  .mobileheader {
    display: grid;
  }
}

@media screen and (max-width: 400px) {
  .promoitem {
    height: 244px;
  }
  .promowrap {
    width: 45%;
  }
  .promimgwrap {
    width: 64%;
  }
}
