body,
html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE и Edge */
}
body::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
[id]:first-child {
  scroll-margin-top: 750px; /* равен maxOffset */
}
[id] {
  scroll-margin-top: 460px; /* равен maxOffset */
}
.hover:hover {
  filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.5));
}
.frame {
  max-width: 100%;
  margin: 0 auto;
  min-height: 100%;
  background-color: #3b3b3b;
}
.background {
  height: 100vh;
  background-image: url("images/background.png"); /* путь к картинке */
  background-size: cover; /* растянуть на весь блок */
  background-position: center; /* центрировать */
  background-repeat: no-repeat; /* не повторять */
  position: relative;
  z-index: 1;
}
.header {
  background: linear-gradient(
    to bottom,
    /* #3b3b3b,
    rgba(59, 59, 59, 0.8),
    rgba(59, 59, 59, 0.5),
    rgba(59, 59, 59, 0.2),
    rgba(59, 59, 59, 0) */
      #000000,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0)
  );
  height: 120px;
  /* border-bottom: 4px solid rgb(255, 72, 0); */
}
.header-nav {
  max-width: 60%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  position: relative;
  top: -10px;
}
.header-nav-logo {
  cursor: pointer;
}
.header-nav-logo-img {
}
.header-nav-logo-img-img {
  width: 120px;
  height: 120px;
}
.header-nav-sections {
  width: 50%;
  display: flex;
  justify-content: right;
  align-items: center;
}
.header-nav-section {
  height: 50%;
  width: 160px;
  display: flex;
  /* color: #4860D4; */
  color: rgb(255, 51, 0);
  /* color: rgb(255, 255, 255); */
  font-family: sans-serif;
  font-weight: 500;
  font-size: 22px;
  align-items: center;
  cursor: pointer;
  margin-right: 0px;
  text-align: center;
  transition: color 0.3s ease;
}
.header-nav-section:last-child {
  margin-right: 0;
}
.header-nav-section:hover {
  /* background-color: rgb(255, 51, 0);
  color: #3b3b3b; */
  color: #fff;
  /* border: 2px solid rgb(255, 51, 0);
  box-sizing: border-box;
  border-radius: 100px; */
}
.header-nav-section-link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 30px;
}
.main {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  position: relative;
  z-index: 2;
  background: #3b3b3b;
  transition: transform 0.1s linear;
  padding-top: 20px;
}
.main.sticky {
  transform: translateY(-300px); /* налезание на background */
}
.main-block {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: #3b3b3b;
}
.main-title {
  font-family: sans-serif;
  font-weight: 900;
  font-size: 48px;
  align-items: center;
  color: rgb(255, 51, 0);
  text-align: center;
  text-shadow: 0px 0px 10px rgb(0, 0, 0, 0.2);
}
.main-desc {
  max-width: 60%;
  margin: 0 auto;
  color: #cfcfcf;
  font-family: sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 10px;
  margin-top: 20px;
}
.main-desc-title {
  color: #4860d4;
  font-family: sans-serif;
  font-size: 32px;
  font-weight: 900;
  text-shadow: 0px 0px 10px rgb(0, 0, 0, 0.2);
}
.main-socials {
  max-width: 60%;
  display: flex;
  justify-content: right;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 20px;
}
.main-socials-section {
  cursor: pointer;
  color: #4860d4;
  font-family: sans-serif;
  font-size: 32px;
  font-weight: 900;
  align-content: center;
  margin: 0 auto;
  margin-left: 14px;
  margin-right: 14px;
  text-align: center;
}
.main-socials-section:first-child {
  cursor: default;
}
.main-socials-section-img {
  width: 70px;
  filter: drop-shadow(0px 0px 8px rgba(0, 0, 0, 0.3));
}
.main-games {
  min-height: 300px;
  max-width: 100%;
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  background-color: #2b2b2b;
  border-top: 4px solid rgb(255, 51, 0);
  border-bottom: 4px solid rgb(255, 51, 0);
}
.main-game {
  max-width: 60%;
  min-height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
  background-color: #2b2b2b;
  margin-bottom: 40px;
  /* border-bottom: 4px solid rgb(255, 51, 0);
  border-top: 4px solid rgb(255, 51, 0); */
}
.main-game:first-child {
  /* border-top: 0px; */
}
.main-game:last-child {
  margin-bottom: 0;
  /* border-bottom: 0px; */
}
.main-game:nth-of-type(even) {
  flex-direction: row-reverse;
}
.main-game-width {
  background-color: #2b2b2b;
  margin-bottom: 20px;
  border: 4px solid rgb(255, 51, 0);
}
.main-game-img {
  max-width: 40%;
  min-height: 100%;
  overflow: hidden;
}
.main-game-img-img {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.main-game-desc {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  max-width: 60%;
  padding-top: 10px;
  padding-bottom: 10px;
  justify-content: space-between;
}
.main-game-desc-title {
  color: #4860d4;
  font-family: sans-serif;
  font-size: 32px;
  font-weight: 900;
  text-shadow: 0px 0px 10px rgb(0, 0, 0, 0.2);
}
.main-game-desc-word {
  color: #cfcfcf;
  font-family: sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  max-width: 100%;
  margin-bottom: 10px;
  padding-left: 10px;
}
.main-game-desc-link {
  display: flex;
  justify-content: end;
  margin-right: 10px;
}
.main-game:nth-child(even) .main-game-desc-link {
  margin-right: 0px;
  margin-left: 10px;
  justify-content: start;
}
.main-game-desc-link-img {
  width: 160px;
  filter: drop-shadow(0px 0px 8px rgba(0, 0, 0, 0.3));
}
.testing-block {
  max-width: 60%;
  margin: 0 auto;
}
.testing-desc {
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
  color: #cfcfcf;
  font-family: sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 26px;
}
.testing-instruction {
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: left;
  color: #cfcfcf;
  font-family: sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 26px;
}
.support {
  max-width: 40%;
  margin: 0 auto;
  margin-bottom: 40px;
}
.support-text {
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
  color: #cfcfcf;
  font-family: sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 26px;
}
.support-link {
  color: #cfcfcf;
  font-family: sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
}
.support-link-section:first-child {
  margin-bottom: 10px;
}
.support-link-section-link {
  color: rgb(255, 72, 0);
}
.footer {
  background-color: #111;
  height: 120px;
  border-top: 4px solid rgb(255, 72, 0);
}
.footer-sections {
  margin: 0 auto;
  max-width: 60%;
  display: flex;
  justify-content: space-between;
  height: 100%;
}
.footer-section-sections {
  max-width: 33%;
  /* color: #727272; */
  color: #525252;
  font-family: sans-serif;
  font-size: 18px;
  font-weight: 500;
  align-content: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}
.footer-section-sections-name {
  font-weight: 600;
  font-size: 22px;
}

.r {
  align-items: end;
  align-self: flex-end;
}
.l {
  align-items: start;
  align-self: flex-start;
}
.underline:hover {
  text-decoration: underline;
  cursor: pointer;
}
#notification {
  font-size: 18px;
  font-family: sans-serif;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #323232;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 9999;
}

#notification.show {
  opacity: 1;
  visibility: visible;
}
.copy-text {
}

@media (max-width: 1400px) {
  .header-nav {
    max-width: 70%;
  }
  .header-nav-sections {
    width: 100%;
  }
  .main-game {
    flex-direction: column;
  }
  .main-game:nth-of-type(even) {
    flex-direction: column;
  }
  .main-game-img{
    max-width: 100%;
  }
  .main-game-desc {
    min-width: 100%;
    text-align: center;
  }
  .main-game-desc-link {
    justify-content: center;
    margin-right: 0px;
    margin-left: 0px;
  }
  .main-game:nth-child(even) .main-game-desc-link {
    justify-content: center;
    margin-right: 0px;
    margin-left: 0px;
  }
}





@media (max-width: 1100px) {
  .header-nav {
    max-width: 100%;
  }
  .main-desc{
    max-width: 80%;
    text-align: center;
  }
  .main-socials {
  max-width: 80%;
  justify-content: center;
  }
  .main-game{
    max-width: 80%;
  }
  .main-game-desc-word{
    padding-right: 10px;
  }
  .testing-desc{
    font-size: 20px;
  }
  .testing-instruction{
    font-size: 20px;
  }
  .support-link-section{
    font-size: 18px;
  }
  .support-text{
    font-size: 20px;
  }
}






@media (max-width: 900px) {
  .header {
    height: 120px;
  }
  .header-nav-logo-img-img {
    width: 120px;
    height: 120px;
  }
  .header-nav-sections{
    justify-content: space-around;
  }
  .header-nav-section{
    font-size: 20px;
    width: 90px;
    
  }
  .main-title{
    font-size: 32px;
  }
  .main-desc-title{
    font-size: 24px;
  }
  .main-socials-section{
    font-size: 24px;
  }
  .main-desc{
    max-width: 95%;
  }
  .main-socials {
  max-width: 95%;
  }
  .main-socials-section-img{
    width: 60px;
  }
  .main-game{
    max-width: 100%;
  }
.main-game-desc-title{
  font-size: 24px;
}
  .testing-block {
  max-width: 95%;
}
.support{
  max-width: 95%;
}
.footer-sections{
  max-width: 95%;
}

}
@media (max-width: 500px){
.header-nav{
  top: 0;
}
.header-nav-logo {
  display: none;
}
.footer-sections{
  flex-direction: column;
}
.footer-section-sections{
  max-width: 100%;
  flex-direction: row;
  margin: 10px 0;
  text-align: center;
  font-size: 16px;
}
.footer-section-sections-name{
  font-size: 18px;
}
.r {
  align-items: baseline;
  align-self: auto;
}
.l {
  align-items: baseline;
  align-self: auto;
}
}

@media (max-width: 400px){
.header-nav-section{
    font-size: 18px;
    
  }
}
@media (max-width: 300px){
.header-nav-section{
    font-size: 14px;
    
  }
}