
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Google Sans Flex", "Outfit", Arial, sans-serif;
  color: #000000;
  background: #ffffff;
}

img {
  display: block;
}

/* download button  */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 38px;
  background: #d81632;
  color: #ffffff;
  border-radius: 28px;
  font-size: 22px;
  text-decoration: none;
}

.btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
}

.btn-small {
  width: 160px;
  height: 48px;
  padding: 0;
  font-size: 16px;
}

.btn-small svg {
  width: 16px;
  height: 16px;
}

/*Hero*/

.hero {
  height: 1080px;
  color: #ffffff;
  border-radius: 0 0 40px 40px;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url("images/hero.jpg") center / cover no-repeat, #2a0d14;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 33px 70px 0 70px;
}

.logo {
  width: 276px;
  filter: brightness(0) invert(1); 
}

.hero-text {
  margin-top: 300px;
  text-align: center;
}

.hero h1 {
  font-size: 7.3vw;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 45px;
}

/*  4 perks */
.perks {
  display: flex;
  width: 1428px;
  height: 191px;
  margin: 152px auto 0 auto;
  text-align: center;
}

.perk {
  width: 357px;
  padding: 0 14px;
}

.perk img {
  height: 68px;
  margin: 0 auto 15px auto;
}

.perk h3 {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 14px;
}

.perk p {
  width: 345px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 25px;
  color: #202020;
}

/*  Big cards */
.big-card {
  display: flex;
  align-items: center;
  width: 1428px;
  margin: 142px auto 0 auto;
  border: 1px solid #ffbdbd;
  border-radius: 40px;
}

.big-card h2 {
  font-size: 60px;
  font-weight: 400;
  line-height: 75px;
  margin-bottom: 13px;
}

.big-card p {
  font-size: 20px;
  line-height: 40px;
  color: #202020;
  margin-bottom: 14px;
}

.card-one {
  height: 735px;
}

.card-one .card-text {
  width: 600px;
}

.card-one img {
  margin-right: 29px;
}

.card-two {
  height: 582px;
  margin-top: 141px;
}

.card-two .card-text {
  width: 700px;
}

.card-two p {
  margin-bottom: 54px;
}

.card-two img {
  margin-right: 68px;
}

/* Choose your mode */
.title {
  font-size: 40px;
  font-weight: 400;
  text-align: center;
}

.modes {
  width: 1094px;
  margin: 144px auto 0 auto;
}

.mode-row {
  display: flex;
  gap: 17px;
  margin-top: 38px;
}

.mode-card {
  width: 353px;
  height: 245px;
  border: 1px solid #c0c4cc;
  border-radius: 24px;
  padding: 0 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.mode-card h3 {
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 14px;
}

.mode-card p {
  font-size: 18px;
  line-height: 24px;
  color: #202020;
}

/* FAQs */
.faq {
  width: 1180px;
  margin: 144px auto 0 auto;
}

.faq .title {
  margin-bottom: 18px;
}

.faq-item {
  border-bottom: 1px solid #808080;
  padding: 32px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 26px;
  line-height: 32px;
  text-align: left;
  cursor: pointer;
}

/* faq answer */
.faq-answer {
  display: none;
  font-size: 20px;
  line-height: 26px;
  color: #202020;
  margin-top: 12px;
}

.faq-answer.show {
  display: block;
}

/*footer */

.footer {
  position: relative;
  overflow: hidden;
  height: 336px;
  margin-top: 115px;
  padding-top: 101px;
  text-align: center;
  background: #d81632;
}

/* the grid picture behind the footer */
.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: brightness(0) invert(1);
}

.footer-logo,
.footer nav,
.copyright {
  position: relative;
}

.copyright {
  display: none;
}

.footer-logo {
  width: 385px;
  margin: 0 auto;
  filter: brightness(0) invert(1); 
}

.footer nav {
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-top: 42px;
}

.footer nav a {
  color: #ffffff;
  font-size: 20px;
  text-decoration: none;
}


/* ---------- Small laptops (1001px to 1450px) ---------- */
@media (max-width: 1450px) {
  .perks,
  .big-card,
  .modes,
  .faq {
    width: 94%;
  }

  .perks {
    height: auto;
  }

  .perk {
    flex: 1;
    width: auto;
  }

  .perk p {
    width: auto;
    font-size: 18px;
  }

  .big-card {
    height: auto;
    padding: 30px 0;
  }

  .big-card img {
    width: 48%;
    height: auto;
  }

  .big-card .card-text {
    flex: 1;
    width: auto;
    padding-right: 30px;
  }

  .big-card h2 {
    font-size: 44px;
    line-height: 56px;
  }

  .big-card p {
    line-height: 32px;
  }

  .mode-row {
    gap: 17px;
  }

  .mode-card {
    flex: 1;
    width: auto;
  }
}

/* ---------- Tablets and phones (1000px and below) ---------- */
@media (max-width: 1000px) {

  .btn {
    height: 56px;
    padding: 0 34px;
    font-size: 20px;
  }

  .btn-small {
    width: 110px;
    height: 40px;
    font-size: 14px;
  }

  /* hero */
  .hero {
    height: 838px;
    border-radius: 0 0 30px 30px;
  }

  .topbar {
    padding: 20px 16px 0 16px;
  }

  .logo {
    width: 160px;
  }

  .hero-text {
    margin-top: 235px;
    padding: 0 30px;
  }

  .hero h1 {
    font-size: 56px;
    line-height: 66px;
    margin-bottom: 40px;
  }

  .hero h1 br {
    display: none;
  }

  /* 4 perks, one under the other */
  .perks {
    flex-direction: column;
    width: auto;
    margin: 70px 0 0 0;
  }

  .perk {
    width: auto;
    padding: 0 20px;
    margin-bottom: 50px;
  }

  .perk h3 {
    font-size: 24px;
  }

  .perk p {
    font-size: 17px;
    line-height: 25px;
  }

  /* big cards */
  .big-card {
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    height: auto;
    padding: 0;
    margin: 30px 0 0 0;
  }

  .big-card .card-text,
  .card-one .card-text,
  .card-two .card-text {
    width: auto;
    padding: 0 25px;
  }

  .big-card h2 {
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 20px;
  }

  .big-card p {
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 24px;
  }

  /* the first card is only text on phones */
  .card-one {
    height: auto;
    border: none;
  }

  .card-one img {
    display: none;
  }

  .card-two {
    height: auto;
    margin-top: 60px;
    padding-bottom: 40px;
    overflow: hidden;
  }

  .card-two img {
    width: 100%;
    height: auto;
    margin: 0 0 20px 0;
  }

  .card-two p {
    margin-bottom: 24px;
  }

  /* titles */
  .title {
    font-size: 40px;
    line-height: 50px;
  }

  /* modes */
  .modes {
    width: auto;
    margin: 90px 25px 0 25px;
  }

  .mode-row {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
  }

  .mode-card {
    flex: none;
    width: auto;
    height: auto;
    padding: 32px 28px;
  }

  .mode-card h3 {
    font-size: 22px;
  }

  .mode-card p {
    font-size: 16px;
    line-height: 20px;
  }

  /* FAQs */
  .faq {
    width: auto;
    margin: 90px 25px 0 25px;
  }

  .faq-item {
    padding: 28px 0;
  }

  .faq-question {
    font-size: 20px;
    line-height: 25px;
  }

  .faq-answer {
    font-size: 16px;
    line-height: 20px;
  }

  /* footer */
  .footer {
    height: auto;
    margin-top: 80px;
    padding: 250px 0 30px 0;
  }

  .footer-logo {
    width: 300px;
  }

  .footer nav {
    flex-direction: column;
    gap: 22px;
    margin-top: 40px;
  }

  .footer nav a {
    font-size: 20px;
  }

  .copyright {
    display: block;
    margin-top: 80px;
    color: #ffffff;
    font-size: 16px;
  }
}

/* ---------- Small phones: the headline gets smaller with the screen ---------- */
@media (max-width: 420px) {
  .hero h1 {
    font-size: 13.5vw;
    line-height: 1.18;
  }

  .big-card h2,
  .title {
    font-size: 38px;
    line-height: 48px;
  }
}
