@import "./reset.css";
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Shrikhand&display=swap');

:root{
  --red: #FF2400;
  --white: #f2f3f4;
  --black: #27292b;
  --green: #00FBC8;
}
*{
  color: #27292b;
  font-family:"Poppins", sans-serif;
}
body{
  background-color: #f2f3f4;
}
.container{
  width: 100%;
  max-width: 1420px;
  padding: 0 30px;
  margin: 0 auto;
}
/*header*/
.header {
  background-color: #27292b;
}
.header>.container{
  min-height: fit-content;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  padding-top: 10px;
  padding-bottom: 10px;
  position: relative;
}
.header__logo{
  transition: all .3s ease-in-out;
}
.header__logo:hover{
  transform: rotate(10deg);
}
.nav {
  display: flex;
  z-index: 99;
}
.nav-list {
  display: flex;
  gap: 30px;
  margin-right: auto;
}
.nav-list__item > a {
  cursor: pointer;
  font-size: 20px;
  padding: 10px 6px;
  transition: all 0.3s ease;
  color: #f2f3f4;
  font-family:'Shrikhand', serif;
}
.nav-list__item > a:hover{
  color: #FF2400;
}
.header__ui{
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
#nav-check {
  display: none;
}
.header__ui__btn,
.btn{
  background-color: var(--red);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 7px;
  transition: all .3s ease-in-out;

}
.btn:hover,
.header__ui__btn:hover{
  background-color: var(--green);
  color: var(--black);
}
/*banner*/
.banner__title{
  font-size: 28px;
  text-align: center;
  margin: 30px 0;
}
.banner{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
  border-radius: 5px 5px 0 0;
}
.banner__text{
  display: flex;
  flex-direction: column-reverse;
  gap: 20px;
}
.banner__text__up{
  font-size: 36px;
  font-weight: 800;
  color: var(--green);
}
.banner__text__down{
  font-size: 28px;
  font-weight: 500;
  color:var(--green);
}
.btn--banner{
  padding: 25px 60px;
}
.swiper {
  width: 100%;
  height: 100%;
  max-height: 450px;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.swiper-pagination-bullet-active {
  background: var(--red);
}
.slider__text,
.btn--slide{
  position: absolute;
  display: block;
  width: fit-content;
}
.btn--slide{
  top: 95px;
  right: 100px;
  padding: 20px 100px;
  font-weight: 800;
  font-size: 32px;
}
.slider__text {
  top: 50px;
  left: 0;
  font-size: 55px;
  color: var(--white);
  width: 55%;
  font-weight: 800;
}
.banner__down{
  padding: 20px 40px;
  background-color: var(--black);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 50px;
  border-radius: 0 0 5px 5px;
}
.banner__down__p{
  color: var(--white);
  font-size: 18px;
  text-align: center;
}
.banner__down__box{
  width: calc(100% / 4 - 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.banner__down__box>svg{
  transition: all .3s ease-in-out;
}
.banner__down__box>svg:hover{
    transform: rotate(-10deg);
    scale: 1.1;
}
.section-title{
  text-align: center;
  font-size: 32px;
  color: var(--black);
  font-weight: 600;
  margin-bottom: 50px;
}
.games-list{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid rgba(39, 41, 43, 0.25);
  padding-bottom: 50px;
}
.games-list > li{
  width: calc(100% / 6 - 30px);
}
.games__img{
  transition: all .3s ease-in-out;
  border-radius: 5px;
  object-fit: cover;
  height: 100%;
}
.games__img:hover {
  transform: rotate(5deg);
  scale: 1.15;
  box-shadow: 10px 5px 20px rgba(39, 41, 43, 0.8);
}
.comments{
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: space-between;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(39, 41, 43, 0.25);
  margin-bottom: 50px;
}
.comment{
  width: calc(100% / 3 - 50px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: rgba(39, 41, 43, 0.25);
}
.comment__name,
.comment__time,
.comment__text {
  text-align: center;
  font-size: 16px;
  color: var(--black);
}
.comment__name{
  font-weight: 700;
}
.comment__time{
  font-weight: 400;
  opacity: 0.8;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(39, 41, 43, 0.29);
  width: fit-content;
}
.comment__text{
  font-weight: 500;
}
/*content*/
.content{
  padding-bottom: 50px;
}
.content__table{
  width: 80%;
  margin: 0 auto;
  border-collapse: collapse;
}
.table__row{
  background-color: var(--black);
}
td{
  font-weight: 600;
  font-size: 16px;
  padding: 10px;
  color: var(--white);
}
.table__row:nth-child(2n){
  background-color: var(--white);
}
.table__row:nth-child(2n) *{
  color: var(--black);
}
td>a{
  color: var(--red);
  transition: all .3s ease-in-out;
}
td>a:hover{
  color: var(--green);
}
.content p, .content ul li {
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
}
.content ul {
  padding-left: 30px;
}
.content ul>li {
  position: relative;
}
.content ul>li:before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--red);
  top: 8px;
  left: -15px;
}
.content__text,
.content__list>li {
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
}
.content>.container{
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.content__list{
  padding-left: 30px;
}
.content__list>li{
  position: relative;
}
.content__list>li:before{
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--red);
  top: 8px;
  left: -15px;
}
.content__sup-title{
  font-weight: 700;
  font-size: 22px;
}
.content h2, .content h3, .content h4 {
  font-weight: 700;
  font-size: 26px;
  padding: 14px 0 0 0;
}
.content__title{
  font-weight: 700;
  font-size: 26px;
  text-align: center;
}

/*footer */
.footer{
  padding: 40px 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  background-color: var(--black);
}
.footer__up{
  display: flex;
  max-width: 70%;
  gap: 20px;
  align-items: center;
}
.footer__up a{
  transition: all .3s ease-in-out;
}
.footer__up img{
  border-radius: 5px;
}
.footer__up a:hover{
  scale: 1.1;
}
.footer__text{
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
}
/*media*/

@media (max-width: 1150px) {
  .slider__text {
    font-size: 28px;
    width: 35%;
  }
  .banner__text__up {
    font-size: 22px;
  }
  .banner__text__down {
    font-size: 18px;
  }
  .btn--slide {
    padding: 20px 60px;
    font-size: 28px;
    font-weight: 600;
  }
  .banner__down__p {
    color: var(--white);
    font-size: 14px;
    text-align: center;
  }
  .games-list > li {
    width: calc(100% / 4 - 30px);
  }
  .comment {
    width: calc(100% / 3 - 20px);
  }
  .comments {
    gap: 20px;
  }
  .header>.container {
    gap: 40px;
  }
}
@media (max-width: 800px) {
  .header__ui {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-right: auto;
  }
  .btn--banner {
    padding: 10px 30px;
  }
.nav > .nav-btn {
  display: inline-block;
  position: absolute;
  right: 0;
  top: 22px;
  padding-top: 0.2rem;
}
.nav > .nav-btn > label {
  display: inline-block;
  width: 50px;
  height: 50px;
  padding: 13px;
}
.nav > .nav-btn > label > span {
  display: block;
  width: 25px;
  height: 10px;
  border-top: 2px solid #eee;
}
.nav > .nav-list {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  background-color: var(--black);
  height: 0;
  transition: all 0.3s ease-in;
  top: 87px;
  left: 0;
  overflow: hidden;
  padding-left: 20px;
}
.nav > .nav-list > li {
  width: 100%;
  margin-top: 1.5rem;
}
  .nav > #nav-check:checked ~ .nav-list {
    height: 50dvh;
  }
  .banner__text__up,
  .banner__title ,
  .btn--slide  {
    font-size: 16px;
  }
  .banner__text__down {
    font-size: 14px;
  }
  .banner__down__box {
    width: calc(100% / 2 - 20px);
  }
  .games-list > li {
    width: calc(100% / 2 - 30px);
  }
  .comment {
    width: calc(100% / 2 - 20px);
  }
  .comments {
    justify-content: center;
  }
  .container {
    padding: 0 10px;
  }
}
@media (max-width: 550px) {
  .slider__text {
    font-size: 18px;
  }
  .banner {
    padding: 20px;
  }
  .btn--banner{
    font-size: 14px;
  }
  .btn--slide {
    top: 40px;
    right: 50px;
    padding: 10px 20px;
    font-weight: 500;
  }
  .comment {
    width: 100%;
  }
  .games-list > li {
    width: 100%;
  }
  .header>.container {
    gap: 20px;
  }
  .header__ui {
    gap: 10px;
  }
  .banner__down__p {
    color: var(--white);
    font-size: 12px;
    text-align: center;
  }
  .not-mobile{
    display: none;
  }
}