@font-face {
  font-family: primary;
  src: url(Shabnam.ttf);
}
@font-face {
  font-family: bold;
  src: url(Shabnam-Bold.ttf);
}

:root {
  --white: #fff;
  --white-2: #f8f9fa;
  --white-3: #f5f5f5;
  --gray-dark: #343a40;
  --primary: #2b41a1;
  --secondary: #e6eef7;
  --success: #6ee7b7;
  --success-bg: #343a4050;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --dark: #343a40;
  --box-shadow: 0 2px 20px 5px #343a4010;
}
* {
  padding: 0;
  margin: 0;
  font-family: primary;
}
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--white-2);
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: var(--primary);
}

.navbar {
  display: flex;
  justify-content: center;
  width: 100vw;
  height: 90px;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
}
nav {
  width: 1280px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
h1 {
  color: var(--dark);
  font-size: 2rem;
  font-family: bold;
}
h2 {
  color: var(--dark);
  font-size: 1.5rem;
  font-family: bold;
}
h3 {
  color: var(--gray-dark);
  font-size: 1.375rem;
  font-family: bold;
}
p {
  font-size: 1.1rem;
  text-align: justify;
}
p a {
  font-size: 1.25rem;
  font-family: bold;
}
nav ul {
  display: flex;
  gap: 30px;
  list-style-type: none;
}
nav ul a {
  text-decoration: none;
  font-size: 1.2rem;
  color: var(--gray-dark);
  transition: 0.2s all ease;
}
nav ul a:hover {
  color: var(--primary);
}
.navbar__logo {
  width: 60px;
}
.navbar__login {
  width: 160px;
  height: 40px;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white-2);
  text-decoration: none;
  font-size: 1.2rem;
  border-radius: 4px;
}
.navbar__login img {
  width: 1.2rem;
}
.container {
  width: 1280px;
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.container__banner {
  width: 1280px;
  height: 230px;
  border-radius: 12px;
  object-fit: cover;
}

.list {
  display: flex;
  flex-direction: column;
  width: 1280px;
  gap: 10px;
}

.list__item {
  display: grid;
  grid-template-columns: 300px repeat(5, 184px);
  justify-items: center;
  align-items: center;
  height: 40px;
  padding: 0 30px;
  background: linear-gradient(135deg, #1e40af, #172554);
  height: 120px;
  border-radius: 12px;
}
.list__item span {
  font-size: 1.25rem;
  color: var(--white-3);
}
.list__item span:first-child {
  text-align: center;
}

.list__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white-3);
  color: var(--primary);
  text-decoration: none;
  width: 180px;
  height: 30px;
  border-radius: 4px;
  font-family: bold;
}
.list__item--gold-vip:first-child .list__btn {
  background: var(--primary);
  animation: rainbow 2.5s infinite linear;
}
.blog {
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 50px;
}

footer {
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
  width: 100vw;
  height: 200px;
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__content {
  width: 1280px;
  display: flex;
  justify-content: space-between;
}
.footer__content ul {
  list-style-type: none;
}
.footer__content li a {
  font-size: 1.1rem;
  color: var(--white-2);
}
.footer__content li {
  margin: 7px 0;
}
.footer__content li:first-child {
  color: var(--white-2);
  font-size: 1.3rem;
  margin: 20px 0;
  font-family: bold;
}
.footer__content img {
  height: 180px;
}

@keyframes warning {
  100%,
  0% {
    box-shadow: 0 0 0 0 var(--white-2);
  }
  50% {
    box-shadow: 0 0 20px -5px var(--danger);
  }
}

@keyframes rainbow-bg {
  100%,
  0% {
    background-color: rgb(255, 0, 0);
  }
  12.5% {
    background-color: rgb(255, 127, 0);
  }
  25% {
    background-color: rgb(0, 255, 127);
  }
  37.5% {
    background-color: rgb(0, 255, 255);
  }
  50% {
    background-color: rgb(0, 127, 255);
  }
  62.5% {
    background-color: rgb(0, 0, 255);
  }
  75% {
    background-color: rgb(127, 0, 255);
  }
  87.5% {
    background-color: rgb(255, 0, 255);
  }
  95% {
    background-color: rgb(255, 0, 127);
  }
}

@keyframes rainbow {
  100%,
  0% {
    color: rgb(255, 0, 0);
  }
  12.5% {
    color: rgb(255, 127, 0);
  }
  25% {
    color: rgb(0, 255, 127);
  }
  37.5% {
    color: rgb(0, 255, 255);
  }
  50% {
    color: rgb(0, 127, 255);
  }
  62.5% {
    color: rgb(0, 0, 255);
  }
  75% {
    color: rgb(127, 0, 255);
  }
  87.5% {
    color: rgb(255, 0, 255);
  }
  95% {
    color: rgb(255, 0, 127);
  }
}

@keyframes rainbow-br {
  100%,
  0% {
    border-color: rgb(255, 0, 0);
  }
  12.5% {
    border-color: rgb(255, 127, 0);
  }
  25% {
    border-color: rgb(0, 255, 127);
  }
  37.5% {
    border-color: rgb(0, 255, 255);
  }
  50% {
    border-color: rgb(0, 127, 255);
  }
  62.5% {
    border-color: rgb(0, 0, 255);
  }
  75% {
    border-color: rgb(127, 0, 255);
  }
  87.5% {
    border-color: rgb(255, 0, 255);
  }
  95% {
    border-color: rgb(255, 0, 127);
  }
}

@media screen and (max-width: 1290px) {
  nav {
    width: 900px;
  }
  .container__banner {
    width: 900px;
    height: 160px;
  }
  .list {
    width: 880px;
    display: grid;
    grid-template-columns: repeat(3, 280px);
    border: unset;
    background-color: unset;
    gap: 30px;
    padding: unset;
  }
  .list__item {
    display: grid;
    grid-template-columns: unset;
    grid-template-rows: min(50px) repeat(5, 30px);
    gap: 5px;
    height: unset;
    padding: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .list__item span:first-child {
    border-bottom: 1px solid var(--white-2);
  }
  .container {
    width: 900px;
  }
  .blog {
    max-width: 900px;
  }
  .list__btn {
    width: 240px;
  }
  .footer__content {
    width: 900px;
  }
}

@media screen and (max-width: 910px) {
  .footer__content {
    justify-content: center;
  }
  nav {
    width: 590px;
  }
  .container__banner {
    width: 590px;
    height: 110px;
  }
  h1 {
    font-size: 2rem;
  }
  ul li {
    display: none;
  }
  .list {
    width: 590px;
    display: grid;
    grid-template-columns: repeat(2, 280px);
    justify-content: center;
    border: unset;
    background-color: unset;
    gap: 30px;
    padding: unset;
  }

  .container {
    width: 590px;
  }
  .blog {
    max-width: 590px;
  }
  .list__btn {
    width: 240px;
  }
}
@media screen and (max-width: 600px) {
  nav {
    width: 380px;
  }
  .container__banner {
    width: 380px;
    height: 70px;
  }
  h1 {
    font-size: 1.5rem;
  }
  ul li {
    display: none;
  }
  .list {
    width: 380px;
    display: grid;
    grid-template-columns: 280px;
    justify-content: center;
    border: unset;
    background-color: unset;
    gap: 30px;
    padding: unset;
  }

  .container {
    width: 380px;
  }
  .blog {
    max-width: 380px;
  }
  .list__btn {
    width: 240px;
  }
}
