@font-face {
  font-family: lalezar;
  src: url(public/font/Lalezar-Regular.ttf);
}

:root {
  scroll-behavior: smooth;
}

body {
  font-family: lalezar;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: url(public/RaziPattern.png),
    linear-gradient(
      180deg,
      #9639f3 0%,
      #9447f6 42.35%,
      #5c4bc8 60.69%,
      #170233 81.74%,
      #220231 100%
    );
  min-height: 100vh;
  color: #fff;
}

h1,
h2,
h3{
  letter-spacing: 2px;
}

section h2 {
  font-size: 48px;
  background: linear-gradient(180deg, #fff608 30%, #ff00d4 70%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 3px #0007);
  text-align: center;
  margin-block-start: 0;
}

.flex {
  display: flex;
}

.flex_column {
  flex-direction: column;
}

.flex_center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.justify_center {
  justify-content: center;
}

.justify_between {
  justify-content: space-between;
}

.align_center {
  align-items: center;
}

.wrap {
  flex-wrap: wrap;
}

.gap_8 {
  gap: 8px;
}

.gap_16 {
  gap: 16px;
}

.no_select {
  user-select: none;
}

.separator {
  margin: 0;
  box-shadow: 0 0 20px 20px #9447f6;
  border-width: 0;
}

.main_sections {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
}

.disabled {
  pointer-events: none;
  opacity: .7;
}

#header {
  position: absolute;
  width: 100%;
  padding: clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
  & > nav > a {
    width: 3rem;
    height: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 5px #0007;
    transition: 0.5s;
  }
  & > nav > a:hover {
    box-shadow: 0 6px 7px #0007;
  }
}

#hero_section {
  width: 100%;
  height: 100svh;
  max-height: 1024px;
  background: url(./public/banner\ site.png) no-repeat center;
  background-size: cover;
  overflow: hidden;
}

#hero_things {
  & > h1 {
    height: 0;
    visibility: hidden;
  }
  & > img {
    width: clamp(35rem, 100%, 50rem);
  }
  & > a {
    font-family: lalezar;
    letter-spacing: 1px;
    padding: 1rem 2rem;
    text-decoration: none;
    background: radial-gradient(
      59.22% 74.52% at 50.14% 7.92%,
      #fffc 0%,
      #090 25%,
      #060 100%
    );
    color: #fff;
    border-radius: 5rem;
    margin-block: clamp(2rem, 6vw, 3rem);
    border: 1px solid #fff;
    box-shadow: inset 0 0 0px #0007, 0 2px 3px #0007;
    transition: 0.5s;
  }
  & > a:hover {
    box-shadow: inset 0 0 10px #0007, 0 4px 5px #0007;
  }
}

#games_section {
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

#games_things {
  width: 100%;
  & > div {
    gap: 2rem;
    align-items: stretch;
    overflow-x: scroll;
    width: fit-content;
    max-width: 100%;
    padding: 1rem 2rem;
    box-sizing: border-box;
  }
  & > div::-webkit-scrollbar {
    height: 0;
  }
  & > div > .game_card {
    width: 20vw;
    min-width: 230px;
    max-width: 270px;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
    background: linear-gradient(0deg, #0009 0%, #0004 100%);
    border-radius: 1rem;
    box-shadow: inset 0 0 8px #fff7;
  }
  & > div > .game_card > img {
    border-radius: 2rem;
  }
  & > div > .game_card > p {
    margin: 0;
    text-align: center;
  }
}

#footer {
  background: url(./public/banner\ site\ R.png),
    linear-gradient(0deg, #9639f3 0%, #5c4bc8 100%) no-repeat;
  background-position: top center;
  background-size: cover;
  border-radius: 5rem 5rem 0 0;
  border-top: 2px solid #502781;
  padding: 2rem;
  & > h2 {
    font-size: 32px;
    margin-block: 0;
  }
  & > div > a {
    color: #fff;
    text-decoration: none;
  }
  & > div > a > img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    box-shadow: 0 4px 5px #0007;
    transition: 0.5s;
  }
  & > div > a > img:hover {
    box-shadow: 0 6px 7px #0007;
  }
}
