body {
  font-size: 18px;
  font-family: "Bai Jamjuree", Arial, Helvetica, sans-serif;
  text-align: center;
  color: #4c545d;
  background-image: url("../images/bg-header-mobile.png");
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
  padding: 0;
}

.container {
  margin: 0 8%;
}

/* descriptions */
.header__description,
.functionalities__description,
.access__description,
.tools__description,
.download__description {
  color: #9fabb2;
  margin: 2rem 0 5rem;
}

/* images */
.access__img,
.functionalities__img {
  max-width: 100%;
}

/* section spacing */
.sponsors,
.access,
.header {
  margin: 8rem 0;
}

/* logos */
.sponsors__logo,
.header__logo {
  margin: 2rem 0;
}

/* DOWNLOAD SECTION */
.download__button {
  width: 100%;
  color: #fff;
  font-size: 1rem;
  padding: 1rem 0;
  margin: 1rem 0;
  border: none;
  border-radius: 30px;
}

.download__button:hover {
  cursor: pointer;
}

.download__button--ios {
  background-color: #26baa4;
  box-shadow: 0px 3px 3px #049882;
}

.download__button--ios:active {
  background-color: #049882;
}

.download__button--mac {
  background-color: #6173ff;
  box-shadow: 0px 3px 3px #4051dd;
}

.download__button--mac:active {
  background-color: #4051dd;
}

/* FOOTER SECTION */
.footer {
  background-color: #f5f6f8;
  padding: 10% 0;
  margin-top: 5rem;
  font-size: 1.4rem;
}

.footer__logo {
  width: 60px;
}

.footer__link {
  color: #4c545d;
  text-decoration: none;
}

.footer__link:hover,
.footer__link:active {
  color: #049882;
}

.footer__list-item img:hover,
.footer__list-item img:active {
  filter: brightness(0) saturate(100%) invert(35%) sepia(32%) saturate(7410%)
    hue-rotate(154deg) brightness(99%) contrast(97%);
}

.footer__list-item {
  padding: 5% 0;
}

.footer__icon-list {
  display: flex;
  justify-content: space-around;
  padding: 0 20%;
}

/* ATTRIBUTION SECTION */
.attribution {
  width: 100%;
  font-size: 11px;
  margin: 0;
  background-color: #444;
  color: #ccc;
  padding: 5px 0;
}

.attribution__link {
  color: #00b688;
}

/* MEDIA QUERIES */
@media screen and (min-width: 375px) {
  body {
    background-image: url("../images/bg-header-desktop.png");
    background-size: 100%;
  }
}

@media screen and (min-width: 992px) {
  .container {
    margin: 0 10%;
  }

  /* images */
  .access__img {
    width: 60%;
  }

  /* FUNCTIONALITIES SECTION */
  .functionalities__flex-container {
    display: flex;
    justify-content: end;
    text-align: left;
    position: relative;
  }

  .functionalities__flex-item {
    width: 300px;
    height: 500px;
  }

  .functionalities__img {
    position: absolute;
    left: -40%;
    top: 0;
    margin: 0;
    object-fit: scale-down;
  }

  /* TOOLS SECTION */
  .tools__boxes {
    display: flex;
    justify-content: space-between;
  }

  .tools__box {
    width: 30%;
  }

  /* SPONSORS SECTION */
  .sponsors {
    display: flex;
    justify-content: space-between;
  }

  /* FOOTER SECTION */
  .footer {
    box-sizing: border-box;
    padding: 3% 10%;
    display: flex;
    align-items: center;
    width: 100%;
    height: 10rem;
    font-size: 1rem;
  }

  .footer__list-item {
    width: 12rem;
    padding: 0.5rem 0;
  }

  .footer__links-list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 40%;
    box-sizing: border-box;
    height: inherit;
    padding: 2.7rem 10%;
    text-align: left;
  }

  .footer__icon-list {
    display: flex;
    justify-content: space-between;
    margin-left: auto;
    padding: 0;
    width: 8rem;
  }

  .download__button {
    width: 250px;
    margin: 0 1rem;
  }
}

@media screen and (min-width: 1200px) {
  .container {
    margin: 0 15%;
  }

  .footer {
    padding: 3% 15%;
  }
}

@media screen and (min-width: 1600px) {
  .functionalities__flex-item {
    width: 30%;
  }

  .functionalities__img {
    left: 0;
  }
}
