:root {
  --dark: #000;
  --white: #ffffff;
  --lightgray: #d7d7d7;
  --border: 2px solid #333;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: var(--white);
}

html,
body {
  font-family: "Roboto", sans-serif;
  line-height: 2;
  font-size: 62.5%;
  background-color: var(--dark);
  min-width: 320px;
}

/*HEADER*/
header {
  display: flex;
  padding: 2rem;
  line-height: normal;
  gap: 4px;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #a6080e 0%, #d11101 100%);
  height: 7dvh;
}
.btnLng {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}
.btn a {
  padding: 1rem;
  font-size: 1.2rem;
  line-height: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 0.6rem;
}
.btn a:first-child {
  background: linear-gradient(180deg, #43b02a 0%, #379622 100%);
  margin-right: 1rem;
}
.btn a:last-child {
  background: linear-gradient(180deg, #c4161c 0%, #9f1116 100%);
}

/*SECTION MERIDIAN APP*/
#meridianApp {
  background-image: url(../img/hero/bg-desktop.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center left;
  border-bottom: var(--border);
  height: 97dvh;
  display: flex;
  align-items: center;
}
.meridianApp-wrapper {
  width: 85%;
  margin: 0 auto;
}
.app-box {
  width: 50%;
}
.meridianApp-text h2 {
  font-size: 8rem;
  font-weight: 700;
  line-height: 8rem;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 2.4rem;
}
.meridianApp-text h4 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 2rem;
  margin-bottom: 2.4rem;
  color: var(--white);
  font-style: italic;
}
.meridianApp-img {
  display: flex;
  gap: 5rem;
}
.box {
  background: #1c2f3899;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 1rem;
  border-radius: 0.4rem;
}
.box p {
  font-size: 2rem;
  font-weight: 600;
  line-height: 2.6rem;
  text-align: center;
  color: var(--white);
  margin-top: 1rem;
}
.box-img {
  padding: 0 4rem;
  height: 10rem;
}
.btn-app {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background-color: #facc01;
  border-radius: 0.4rem;
  padding: 0.5rem;
}
.btn-icon {
  height: 2.4rem;
}
.btn-app a {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  color: #2d2d2d;
}

/*SECTION INSTRUCTION*/
#instructions {
  background: var(--dark);
  border-bottom: var(--border);
}
.instructions-wrapper {
  width: 85%;
  margin: 0 auto;
  padding: 10rem 0;
}
#instructions h3 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 36px;
  color: var(--white);
  margin-bottom: 2rem;
  text-transform: uppercase;
}
#instructions ul li {
  font-size: 18px;
  font-weight: 400;
  line-height: 36px;
  color: #cacaca;
  margin-left: 3rem;
}

/*FOOTER*/
.footer-wrapper {
  width: 90%;
  margin: 0 auto;
  padding: 40px 0;
}
.payments,
.sponsorships {
  display: flex;
  padding: 20px 0;
  align-items: center;
  font-family: "Roboto Condensed", sans-serif;
  position: relative;
}
.payments::before,
.sponsorships::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 15%;
  height: 100%;
  z-index: 33;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0)
  );
}
.payments-text,
.sponsorships-text {
  width: 20%;
  color: #fff;
  font-size: 16px;
}
.payments-text {
  display: flex;
  flex-direction: column;
  align-self: center;
}
.payments h3,
.sponsorships-text h3 {
  font-size: 2rem;
}
.payments h3 {
  line-height: normal;
  margin-bottom: 1rem;
}
.payments h4,
.sponsorships-text h4 {
  font-size: 1.8rem;
  line-height: 1.9rem;
  font-weight: normal;
}
.payments-icons,
.sponsorships-icons {
  width: 80%;
  overflow: hidden;
}
.sponsorships-icons {
  text-align: center;
}
.payments-icons img,
.sponsorships-icons img {
  max-width: 100%;
}

.swiper-container {
  width: 100%;
  height: 100%;
}
.swiper-slide {
  background: transparent;
  height: 55% !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  align-self: center !important;
}
.swiper-slide img {
  display: block;
  width: 95%;
  height: 5rem;
  object-fit: contain;
  opacity: 0.7;
}

.links {
  text-align: center;
  margin: 0 auto;
  background-color: #222;
  padding: 40px 0;
}
.links ul {
  width: 95%;
  margin: 0 auto;
}
.links ul li {
  display: inline-block;
  margin-right: 30px;
  line-height: 24px;
  font-size: 14px;
}
.links ul li a {
  text-transform: uppercase;
  font-family: "Roboto Condensed", Helvetica, Arial, sans-serif;
  font-size: 1.6rem;
}
.links li:last-child {
  margin-right: unset;
}

/*LEGAL*/
.copyright {
  text-align: center;
  color: #fff;
  padding: 40px 0;
  width: 90%;
  margin: 0 auto;
  font-size: 12px;
  font-family: "Roboto Condensed", sans-serif;
}
.legal-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}
.legal-logos img {
  height: 56px;
  width: auto;
}
.legal-text {
  max-width: 900px;
  margin: 0 auto;
}
.legal-text p {
  color: #8b9099;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.legal-text p:last-child {
  margin: 18px 0 0;
  color: #c9ccd1;
}
.copyright a {
  color: #c9ccd1;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}

/*MEDIA QUERIES*/
@media screen and (max-width: 1259px) {
  .meridianApp-text h4 {
    font-size: 2.5rem;
    line-height: 39px;
    margin-bottom: 2rem;
  }
  .meridianApp-text h2 {
    font-size: 5rem;
    line-height: 60px;
    width: 82%;
    margin-bottom: 2rem;
  }
}

@media screen and (max-width: 768px) {
  #meridianApp {
    background-image: url(../img/hero/bg-mobile.webp);
    background-position: center top;
    height: auto;
    padding-top: clamp(32rem, 46svh, 60rem);
    padding-bottom: 4rem;
    display: block;
  }
  .meridianApp-wrapper {
    width: 82%;
  }
  .app-box {
    width: 100%;
  }
  .meridianApp-text h2 {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1;
    width: 100%;
    text-align: center;
    font-style: italic;
    margin-bottom: 1rem;
  }
  .meridianApp-text h4 {
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
    text-align: center;
    color: var(--lightgray);
  }
  .meridianApp-img {
    flex-direction: column;
    gap: 1rem;
  }
  .meridianApp-img-box1,
  .meridianApp-img-box2 {
    width: 100%;
  }
  .box {
    background-color: unset;
  }
  .box-img {
    display: none;
  }
  .box p {
    font-size: 1.6rem;
  }
  .btn-app {
    padding: 0.8rem;
  }
  .btn-app a {
    font-size: 14px;
  }

  .instructions-wrapper {
    width: 95%;
    padding: 4rem 1rem;
  }
  #instructions h3 {
    font-size: 1.8rem;
    line-height: 28px;
    text-align: center;
  }
  #instructions ul li {
    font-size: 14px;
    line-height: 28px;
  }

  .payments,
  .sponsorships {
    flex-direction: column;
    gap: 20px;
  }
  .payments-text,
  .sponsorships-text,
  .payments-icons,
  .sponsorships-icons {
    width: 100%;
  }
  .swiper-wrapper {
    align-items: center;
  }
  .swiper-slide img {
    width: 60%;
  }

  .links {
    display: none;
  }

  .copyright {
    padding: 20px 0;
  }
  .legal-logos img {
    height: 40px;
  }
}

@media screen and (max-width: 420px) {
  .meridianApp-text h2 {
    font-size: 3rem;
  }
  .logo img {
    display: none;
  }
  .logo {
    background-image: url(../img/brand/logo-icon.webp);
    background-size: cover;
    background-repeat: no-repeat;
    height: 4rem;
    width: 4rem;
  }
  .btnLng {
    max-width: 100%;
    justify-content: end;
    gap: 0;
  }
}

@media screen and (max-width: 375px) {
  .meridianApp-text h4 {
    font-size: 14px;
  }
  .footer-wrapper {
    padding: 20px 0;
  }
}
