* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --main-bg-color: rgba(10, 2, 53, 1);
  --main-bg-color-second: rgba(60, 52, 103, 0.5);
  --accent-color: darkorange;
}

html,
body {
  min-height: 100vh;
  overflow-x: hidden !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  background: var(--main-bg-color);
  color: #fff;
}

.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.color {
  color: var(--accent-color);
}

a {
  text-decoration: none;
}
ul li {
  list-style: none;
}
.top-arrow {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 9;
}

/* HEADER */

.header {
  background-color: var(--main-bg-color);
}

.header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  color: #fff;
  text-decoration: none;
}

.logo span {
  font-weight: bold;
  font-size: 24px;
  font-family: "Nunito", sans-serif;
}

.logo img {
  width: 130px;
}

.flag img {
  width: 50px;
}

.btn {
  border-radius: 35px;
  padding: 10px 30px;
  font-weight: bold;
  transition: 0.2s;
  max-width: 200px;
  min-width: 150px;
  text-align: center;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  display: block;
  background: transparent;
  box-shadow: none;
  border: 2px solid var(--accent-color);
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-color);
}

.best-btn {
  background: var(--accent-color);
}
.best-btn:hover {
  background: var(--accent-color);
  background: transparent;
}

/* HERO */

.hero-card {
  padding: 40px 0;
  text-align: center;
}
.hero-title-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 35px;
}
.hero h1 img {
  vertical-align: text-bottom;
}

.hero p,
.advantages p {
  font-size: 20px;
  line-height: 33px;
  margin-top: 20px;
}

/* ADVANTAGES */
.advantages {
  padding-bottom: 40px;
}

.advantages ul {
  display: grid;
  grid-template-columns: auto auto auto auto;
  justify-content: center;
}

.advantages li {
  display: flex;
  justify-content: center;
  padding: 10px;
  border-radius: 8px;
  background: var(--main-bg-color-second);
  margin: 15px;
  align-items: center;
  text-align: center;
}
.advantages h2 {
  margin-top: 30px;
}

/* PAYMENT */

.payment img {
  max-height: 30px;
  max-width: 100%;
  padding: 4px;
}
.payment {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 10px;
  max-width: 300px;
}
.payment li {
  background: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}
.payment li span {
  font-size: 15px;
  font-weight: 500;
}
.right-mob .payment {
  margin: 20px auto 15px;
}

/* BEST */

.best {
  margin-top: 20px;
  margin-bottom: 40px;
}
.best-card {
  background: #0000007a;
  border-radius: 8px;
  box-shadow: 0px -1px 7px 0px rgba(255, 255, 255, 0.34);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  margin-bottom: 40px;
}

.best-number {
  position: absolute;
  top: 0;
  left: 0;
  padding: 3px;
  background: var(--accent-color);
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom-right-radius: 8px;
}
.best .left {
  width: 60%;
  padding: 35px 50px;
}
.best-card:nth-child(1) .left {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)),
    url(../img/card-backgrounds/1.webp);
  background-size: cover;
  background-position: 0 -115px;
}
.best-card:nth-child(2) .left {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)),
    url(../img/card-backgrounds/2.webp);
  background-size: cover;
  background-position: 0 -115px;
}
.best-card:nth-child(3) .left {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)),
    url(../img/card-backgrounds/3.webp);
  background-size: cover;
  background-position: 0 -115px;
}
.best-card:nth-child(4) .left {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)),
    url(../img/card-backgrounds/4.webp);
  background-size: cover;
  background-position: 0 -115px;
}
.best .right {
  width: 40%;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 15px;
}
.best .right h3 {
  font-size: 27px;
  line-height: 38px;
}
.best-btn {
  margin: 25px auto 0;
}

.left-wrap {
  display: flex;
  align-items: center;
}

.brand-wrap img {
  width: 150px;
  border-radius: 8px;
}
.score_num {
  font-size: 43px;
  text-align: center;
  font-weight: bold;
}
.stars {
  text-align: center;
  margin-top: 20px;
}
.stars i {
  color: darkorange;
}
.left-text {
  margin-left: 35px;
}
.left-text h4 {
  font-size: 25px;
}
.left-text ul {
  margin-top: 25px;
}
.left-text .desc-list li {
  font-size: 18px;
  padding-bottom: 12px;
  background-image: url(../img/check.svg);
  background-size: 20px;
  background-position: 0px 1px;
  padding-left: 30px;
  background-repeat: no-repeat;
  font-weight: 500;
}
.left-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.right-mob {
  display: none;
}
.right-mob h3 {
  text-align: center;
  font-size: 25px;
}
.right-mob span {
  font-size: 13px;
  text-align: center;
  display: block;
}

/* FOOTER */
.footer {
  padding: 40px 0 40px;
  background: #0000007a;
}
.footer .logo {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}
.footer p {
  margin-bottom: 25px;
  font-size: 13px;
  opacity: 0.5;
  line-height: 20px;
  text-align: center;
}
.footer p a,
.footer-nav a {
  text-decoration: underline;
}
.footer a {
  color: #fff;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1150px;
  margin: 40px auto 30px;
  align-items: center;
  border-bottom: 1px solid #3b3b3b;
  padding-bottom: 20px;
}
.footer-links img {
  width: auto;
  height: 50px;
}
.footer-links a {
  padding: 15px;
}
.footer-copy {
  display: flex;
  justify-content: center;
}
.footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-nav a {
  padding-left: 7px;
}
.footer-nav a,
.copy {
  font-size: 13px;
  opacity: 0.5;
  line-height: 20px;
}

/* PAGE */
.page {
  padding: 40px 0;
}
.page h2 {
  font-size: 35px;
  margin-bottom: 25px;
}
.page p {
  font-size: 18px;
  line-height: 33px;
  margin: 15px 0;
}
.page a {
  color: #fff;
  text-decoration: underline;
}
.page strong {
  margin-top: 30px;
  font-size: 21px;
  display: block;
}

/* FORM */
.page-form label {
  font-size: 13px;
  display: block;
  margin-bottom: 5px;
}
.page-form div {
  margin-bottom: 15px;
}

textarea {
  min-height: 110px;
  resize: none;
  padding: 12px;

  font-size: 14px;
  width: 100%;
  border-radius: 8px;
  outline: none;
}
.page-form form {
  width: 100%;
  max-width: 500px;
  margin-top: 50px;
}
.page-form input {
  border: 1px solid #383232;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  width: 100%;
  outline: none;
}
.page .btn {
  margin-top: 35px;
}
/* MEDIA */

@media (max-width: 992px) {
  .mob-hid {
    display: none !important;
  }
  .btn-nav a {
    min-width: 110px;
    font-size: 13px;
    padding: 10px 20px;
  }
  .desc-hid {
    display: block;
  }
  .hero h1 {
    font-size: 24px;
  }
  .hero p,
  .advantages p {
    font-size: 18px;
    line-height: 28px;
  }
  .hero-card {
    padding: 20px 0;
  }
  .advantages ul {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .advantages li {
    font-size: 15px;
    margin: 0;
  }
  .best-card {
    margin-bottom: 30px;
  }
  .left-text {
    display: none;
  }
  .left-brand {
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
    align-items: center;
  }
  .left-wrap {
    display: block;
  }
  .best .left {
    width: 100%;
  }
  .brand-wrap img {
    width: 100px;
  }
  .right-mob {
    display: block;
  }
  .stars {
    margin-top: 10px;
  }
  .stars i {
    font-size: 15px;
  }
  .score_num {
    font-size: 35px;
  }
  .best-card:nth-child(1) .left {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)),
      url(../img/card-backgrounds/1.webp);
    background-size: cover;
    background-position: 0 0px;
  }
  .best-card:nth-child(2) .left {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)),
      url(../img/card-backgrounds/2.webp);
    background-size: cover;
    background-position: 0 0px;
  }
  .best-card:nth-child(3) .left {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)),
      url(../img/card-backgrounds/3.webp);
    background-size: cover;
    background-position: 0 0px;
  }
  .best-card:nth-child(4) .left {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)),
      url(../img/card-backgrounds/4.webp);
    background-size: cover;
    background-position: 0 0px;
  }
  .copy {
    margin-bottom: 20px;
  }
  .footer-nav {
    flex-direction: column;
  }
  .footer-nav a {
    padding: 10px;
  }
  .page h2 {
    font-size: 30px;
  }
  .page p {
    font-size: 16px;
    line-height: 28px;
  }
  .best-btn {
    margin-top: 15px;
  }
  .best .left {
    padding: 25px;
  }
  .right-mob h3 {
    margin-top: 10px;

    font-size: 22px;
  }
}
