/*
  1. Use a more-intuitive box-sizing model.
*/
@import url(https://fonts.googleapis.com/css?family=Nunito:regular,600,700,800&display=swap);
*,
*::before,
*::after {
  box-sizing: border-box;
}

/*
    2. Remove default margin
  */
* {
  margin: 0;
}

/*
    Typographic tweaks!
    3. Add accessible line-height
    4. Improve text rendering
  */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/*
    5. Improve media defaults
  */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/*
    6. Remove built-in form typography styles
  */
input,
button,
textarea,
select {
  font: inherit;
}

/*
    7. Avoid text overflows
  */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

li {
  list-style: none;
}

a {
  color: #1d1d1d;
  text-decoration: none;
}

/*
    8. Create a root stacking context
  */
#root,
#__next {
  isolation: isolate;
}

html,
body {
  font-family: 'Nunito', sans-serif;
  height: 100%;
  color: #1d1d1d;
  background-color: rgb(246, 244, 252);
}

body.lock {
  overflow: hidden;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 90vw;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.deposite {
  position: relative;
  padding: 5px 30px;
  z-index: 2;
  border: 2px solid #eaf5fb;
  border-radius: 10px;
  background-color: #ffffff;
  background-size: cover;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.deposite .deposite-block__header {
  color: #000000;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1;
}
.deposite .deposite-block__amount {
  font-size: 15px;
  color: #000000;
  font-weight: 900;
  /* text-shadow: 1px 0 1px #62da20, 0 1px 1px #62da20, -1px 0 1px #62da20, 0 -1px 1px #62da20; */
  text-align: center;
}
.deposite .deposite-block__get-bonus {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}
.deposite input {
  border: 1px solid #003b90;
  box-sizing: border-box;
  border-radius: 12px 0 0 12px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  width: 61%;
  padding: 7px 20px 6px;
  outline: 0;
  background-color: #fff;
  height: 40px;
}
.deposite button,
.deposite a {
  background-image: linear-gradient(255deg, #62da20, #62da20);
  border: unset;
  border-radius: 0 12px 11px 0;
  height: 40px;
  width: 35%;
  font-weight: 700;
  text-transform: uppercase;
  color: #000000;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  padding: 0;
  cursor: pointer;
  text-align: center;
}

.main {
  min-height: 100vh;
  flex: 1 1 auto;
  padding-top: 70px;
}

.header {
  background-color: #fff;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 99;
}
.header__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}
.header .logo {
  flex: 0 0 100px;
}
.header nav ul {
  display: flex;
  align-items: center;
  gap: 50px;
  font-size: 18px;
  font-weight: 700;
}
.header nav ul a:hover {
  text-shadow: 1px 4px 4px rgba(2, 5, 60, 0.25);
}

.main .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  width: 160px;
  background-color: #62da20;
  border-radius: 30px;
  text-decoration: none;
  color: #1d1d1d;
  font-weight: 700;
  padding: 10px 0;
}
.main .btn:hover {
  background-color: #82ec49;
}
.main__body {
  padding: 100px 16px;
}
.main .title {
  font-size: 24px;
  font-weight: 700;
}
.main__cards {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.main__card {
  display: grid;
  grid-template-columns: auto 1fr 2fr auto;
  gap: 15px;
  padding: 20px 16px;
  border-radius: 10px;
  background-color: #fff;
  position: relative;
}
.main__card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top-left-radius: 10px;
  background-color: #fecde6;
  color: #000;
}
.main .main__card:first-child:before {
  content: '1';
}
.main .main__card:nth-child(2)::before {
  content: '2';
}
.main .main__card:nth-child(3)::before {
  content: '3';
}
.main .main__card:nth-child(4)::before {
  content: '4';
}
.main .main__card:nth-child(5)::before {
  content: '5';
}
.main .main__card:nth-child(6)::before {
  content: '6';
}
.main .main__card:nth-child(7)::before {
  content: '7';
}
.main .main__card:nth-child(8)::before {
  content: '8';
}
.main .main__card:nth-child(9)::before {
  content: '9';
}
.main .main__card:nth-child(10)::before {
  content: '10';
}
.main .main__card:nth-child(11)::before {
  content: '11';
}
.main .main__card:nth-child(12)::before {
  content: '12';
}
.main .main__card:nth-child(13)::before {
  content: '13';
}
.main .main__card:nth-child(14)::before {
  content: '14';
}
.main .main__card:nth-child(15)::before {
  content: '15';
}
.main .main__card:nth-child(16)::before {
  content: '16';
}
.main .main__card:nth-child(17)::before {
  content: '17';
}
.main .main__card:nth-child(18)::before {
  content: '18';
}
.main .main__card:nth-child(19)::before {
  content: '19';
}
.main .main__card:nth-child(20)::before {
  content: '20';
}
.main .main__card:nth-child(21)::before {
  content: '21';
}
.main .main__card:nth-child(22)::before {
  content: '22';
}
.main .main__card:nth-child(23)::before {
  content: '23';
}
.main .main__card:nth-child(24)::before {
  content: '24';
}
.main .main__card:nth-child(25)::before {
  content: '25';
}
.main .before-title::before {
  display: block;
  height: 1.1em;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
  overflow: hidden;
  white-space: pre;
  opacity: 0.7;
}
.main .grid .icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  -moz-column-gap: 15px;
  column-gap: 15px;
  row-gap: 5px;
  max-width: 30%;
}
.main .grid .icons > img {
  max-width: 40px;
}
.main .grid__img a {
  display: block;
  width: auto;
  height: 126px;
  width: 180px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #efeeee;
}
.main .grid__img a img {
  -o-object-fit: contain;
  object-fit: contain;
  height: 100%;
  width: 100%;
}
.main .grid__title {
  font-size: 22px;
  font-weight: 700;
}
.main .grid__title::before {
  content: 'Play at';
}
.main .grid__content {
  gap: 0.5rem;
  display: flex;
  flex-direction: column;
}
.main .grid__content ul {
  padding: 0;
}
.main .grid__content .grid__title::before {
  content: 'WELCOME BONUS';
}
.main .grid__content__payment {
  margin-top: 20px;
}
.main .grid__content__payment img {
  padding-top: 5px;
}
.main .grid__content__payment::before {
  content: 'PAYMENT METHODS';
}
.main .grid__button {
  padding-top: 1.1em;
}
.main .small__cards {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 50px;
}
.main .small__cards__card {
  background-color: #fff;
  padding: 15px;
  font-weight: 700;
  border-radius: 10px;
}
.main .small__cards__card:hover {
  box-shadow: 1px 4px 4px 0 rgba(2, 5, 60, 0.25);
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 50px 16px;
  background-color: #fff;
}
.footer__text {
  text-align: center;
}
.footer__icons {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.footer__icons img:last-child {
  max-width: 40px;
}
/* timer */
#timer {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
#timer > div {
  background-color: #fecde6;
  padding: 0.5rem 0.8rem;
  font-size: 18px;
  font-weight: 600;
  border-radius: 10px;
}
#timer > span {
  font-size: 20px;
  font-weight: 700;
  color: gray;
}
@media (max-width: 1199px) {
  .header nav {
    display: none;
  }
  .header nav.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: #fff;
    transition: all 0.3s ease 0s;
  }
  .header nav.active ul {
    flex-direction: column;
    justify-content: center;
    flex: 1 1;
    padding: 0 16px;
    font-size: 20px;
  }
  .header__burger {
    display: block;
    position: relative;
    width: 30px;
    height: 20px;
    z-index: 3;
  }
  .header__burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1d1d1d;
    border-radius: 10px;
    transition: all 0.3s ease 0s;
    top: 9px;
  }
  .header__burger::after,
  .header__burger::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #40424a;
    transition: all 0.3s ease 0s;
    border-radius: 10px;
  }
  .header__burger::after {
    bottom: 0;
  }
  .header__burger::before {
    top: 0;
  }
  .header__burger.active span {
    transform: scale(0);
  }
  .header__burger.active::before {
    transform: rotate(45deg);
    top: 9px;
  }
  .header__burger.active::after {
    transform: rotate(-45deg);
    bottom: 9px;
  }
  .grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .grid > .grid__title {
    display: none;
  }
}
@media (max-width: 768px) {
  .header .logo {
    flex: 0 0 150px;
  }
  h1 {
    font-size: 20px;
  }
  .header .container {
    padding: 0 16px;
  }
  .container {
    max-width: 100%;
    padding: 0;
  }
  .main__body {
    padding: 16px 0;
  }
  .main .title {
    padding: 0 16px;
    text-align: center;
  }
  .main__cards {
    margin: 16px 0;
  }
  .main .grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-radius: 0;
  }
  .main__card::before {
    border-top-left-radius: 0;
  }
  .main .grid__title {
    font-size: 20px;
  }
  .main .grid__img {
    flex: 0 0 calc(40% - 10px);
  }
  .main .grid__img a {
    width: 100%;
    height: 100px;
  }
  .main .grid__content {
    flex: 0 0 calc(60% - 10px);
  }
  .main .grid__content__payment {
    display: flex;
    flex-direction: column;
    width: 80%;
  }
  .main .grid__content__payment .icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
  }
  .main .grid__button {
    margin: 0 auto;
    padding-top: 0.5em;
  }
  .main .small__cards {
    flex-direction: column;
    text-align: center;
  }
  .main__card:first-child > span {
    position: inherit;
    font-size: 14px;
    padding: 3px 10px;
    white-space: nowrap;
    justify-content: center;
  }
  .main__card:first-child:before {
    content: none;
  }
  .main .grid__title {
    text-align: left;
  }
  .main .grid__button {
    margin: auto;
    width: 100%;
  }
  .main .btn {
    width: 100%;
  }
  .footer {
    padding: 30px 16px;
  }
}
