/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --titleFont: "Gotham XNarrow", sans-serif;
  --textFont: "Neu", sans-serif;
}

body {
  background: #1C2C43;
  line-height: 1.618;
  font-family: var(--textFont);
  color: #fff;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #060f1d, transparent);
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(28, 44, 67, 0.5) 0%, #1C2C43 100%);
  z-index: -2;
}

.bg-bottom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/background.jpeg");
  background-attachment: fixed;
  background-size: 100% 520px;
  background-repeat: no-repeat;
  background-position: 100% 150%;
  display: block;
  z-index: -3;
}


.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

header {
  margin: 2em 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 220px;
  transition: transform 0.5s ease;

}

.nav {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav a {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;

  padding: 10px 28px;
  background: #fff;
  color: #000;

  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;

  transition: 5s;
  transform: skew(-15deg);


}

.nav span,
i {
  transform: skew(15deg);

}

.nav a span:hover {
  color: #000;
  padding-left: 5px;
  transform: translateX(-7px);
  transition: all 200ms linear;
  letter-spacing: 0.08em;
  transform: skew(15deg);

}

.nav .register a {
  background-color: #05DB8B;
}

section {
  padding: 2em 0;
}

.hero p {
  max-width: 60%;
  font-size: 1.15em;
}

.text {
  text-decoration: none;
  color: #fff;
}

.hero {
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}



.hero-text h1 {
  font-size: 4em;
  letter-spacing: -5px;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: var(--titleFont);
  line-height: 1
}

.hero-text p {
  opacity: 0.8;
  margin-bottom: 25px;
}


.social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  list-style: none;

}

.social-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  padding: .75em 1em;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4));
  border-radius: 6px;
  transition: all 200ms linear;
}
.social-btn svg{
  width: 1em;
  margin-left: 1em;
}
.social-btn:hover {
  background-size: 200%;
}

.instagram {
  background: linear-gradient(135deg, rgba(195, 42, 163, 0.8), rgba(195, 42, 163, 0.4));
  ;
  color: #fff;
}

.twitter {
  background: linear-gradient(135deg, rgba(29, 161, 242, 0.8), rgba(29, 161, 242, 0.4));
  color: #fff;
}

.telegram {
  background: linear-gradient(135deg, rgba(0, 136, 204, 0.8), rgba(0, 136, 204, 0.4));
}

.social a {
  color: #fff;
  font-size: 1em;
  text-decoration: none;
}

.social .fab {
  font-size: 1em;
  margin-left: 1em;
  transform: skew(0deg);
}

.promo {
  width: 275px;
  height: 360px;
  position: absolute;
  top: 100px;
  right: calc((100% - 1200px) / 2);
  background-repeat: no-repeat;
  background-size: 100%;
  animation: promo 10000ms infinite;
}

@keyframes promo {

0% {
    background-image: url(../images/Spor-Bahisleri.png);
}
25% {
    background-image: url(../images/canli-casino.png);
}
50% {
    background-image: url(../images/poker.png);
}
75% {
    background-image: url(../images/tombala.png);
}
100% {
    background-image: url(../images/Spor-Bahisleri.png);
}

}


footer {
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2em;
}

footer::before {
  background-image: url(../images/background.jpeg);
}

.footer-grid {
  padding: 0 1em;
}

footer img {
  max-width: 100%;
}

footer p {
  font-size: .825em;
  line-height: 1.75em;
}

.image-grid.first-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 1em;
  padding-bottom: 1em;
  align-items: stretch;
}
.image-grid.second-grid {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 1em;
  padding-bottom: 1em;
  align-items: stretch;
}
.image-grid li {
  list-style: none;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

@media screen and (max-width: 1024px) {
  body::before {
    background: none;
  }
  header {
    flex-direction: column;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2em;
    margin: 0;
    background: linear-gradient(to bottom, #041227, transparent);
  }

  .nav {
    gap: 36px;
    padding-top: 17px;
    ;
  }


  header ul {
    align-items: center;
  }

  .promo {
    position: unset;
    margin-left: auto;
    margin-right: auto;
    top: unset;
    right: unset;
  }

  .social {
    justify-content: flex-start;
  }

  .social a {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  .social li {
    width: calc(50% - 15px / 2)
  }


  .hero {
    text-align: center;
    flex-direction: column;
  }

  section {
    padding: 1.5em;
  }

  .hero-text h1 {
    font-size: 2.5em;
    letter-spacing: -3px;
  }

  .hero p {
    max-width: 100%;
  }

  footer {
   margin-top: 0.4em;
    padding: 2em;
    text-align: justify;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .image-grid.first-grid, .image-grid.second-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
  }

  .bg-bottom {
    display: none;
  }
}