/* GENERAL */

body {
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  line-height: 1.125rem;
}

p {
  color: #4d617d;
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.container {
  padding-right: 1.25rem;
  padding-left: 1.25rem;
}

/* NAVIGATION */
nav {
  width: 100%;
  margin: 1.875rem 0;
}

.header {
  justify-content: center;
}

.logo {
  width: 5rem;
}

.logo img {
  height: 2.625rem;
  width: 5rem;
}

nav .links {
  align-self: top;
  height: 1.125rem;
}

.links ul {
  flex: 1;
  padding-left: 0;
  display: flex;
  justify-content: flex-end;
  list-style-type: none;
  height: 100%;
}

.links ul li {
  font-size: 0.875rem;
  font-weight: bold;
  line-height: 1.125rem;
}

.links li a {
  margin-left: 40px;
  color: #4d617d;
  font-size: 0.875rem;
  font-weight: bold;
  line-height: 1.125rem;
}

.links li a:link {
  color: #4d617d;
}
.links li a:visited {
  color: #4d617d;
}
.links li a:hover {
  color: #313e51;
  text-decoration: none;
}
.links li a:active {
  color: #4d617d;
}

/* MAIN SECTION */

h1 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  font-size: 1.125rem;
  line-height: 1.375rem;
  color: #313e51;
  font-weight: 900;
}

h2 {
  color: #4d617d;
  font-size: 1rem;
  line-height: 1.375rem;
  font-weight: bold;
  margin-bottom: 0;
  text-align: center;
}

h3 {
  color: #4d617d;
  font-size: 0.875rem;
  line-height: 1.315rem;
  font-weight: normal;
  margin-bottom: 0;
}

.pp h1 {
  font-size: 24px;
}

.pp h2 {
  font-size: 20px;
  padding-bottom: 0.5rem;
  font-weight: normal;
  text-align: left;
}

.pp p {
  font-weight: 400;
  font-size: 18px;
}

.phones {
  margin-top: 40px;
  margin-bottom: 10px;
  align-items: center;
}

.phones img {
  width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.apps {
  justify-content: center;
  margin-bottom: 2rem;
}

.cover {
  background: url(img/YellowBg@3x.png) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.stores {
  margin: 1rem auto 4rem auto;
  width: 10.5rem;
}

.stores img {
  margin-top: 1rem;
  width: 100%;
}

quote {
  color: #313e51;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.8rem;
}

.title {
  justify-content: center;
}

quote.red span {
  background-color: #f9aabe;
}
quote.red span.first {
  box-shadow: 1.5rem 0 0 0 #f9aabe, -0.2rem 0 0 0 #f9aabe;
}
quote.red span.second {
  box-shadow: 0.2rem 0 0 0 #f9aabe, -1.5rem 0 0 0 #f9aabe;
}

quote.yellow span {
  background-color: #fbe1af;
}
quote.yellow span.first {
  box-shadow: 1.5rem 0 0 0 #fbe1af, -0.2rem 0 0 0 #fbe1af;
}
quote.yellow span.second {
  box-shadow: 0.2rem 0 0 0 #fbe1af, -1.5rem 0 0 0 #fbe1af;
}

quote.blue span {
  background-color: #9de6ed;
}
quote.blue span.first {
  box-shadow: 1.5rem 0 0 0 #9de6ed, -0.2rem 0 0 0 #9de6ed;
}
quote.blue span.second {
  box-shadow: 0.2rem 0 0 0 #9de6ed, -1.5rem 0 0 0 #9de6ed;
}

.pie {
  margin-top: 0.875rem;
  display: flex;
  flex-direction: column;
}

.pie .chart {
  display: flex;
  justify-content: center;
  margin-bottom: 0.78rem;
}

.pie .chart img {
  width: 18.75rem;
  height: 17.625rem;
}

/* FOOTER */

footer {
  background-color: #f9c96b;
  height: 5rem;
  margin-top: 2rem;
}

footer .container {
  height: 100%;
}

footer .center {
  width: 100%;
  align-self: center;
  height: 1.125rem;
}

footer .links ul {
  flex: 1;
  padding-left: 0;
  display: flex;
  justify-content: space-around;
  list-style-type: none;
}

footer .links li a {
  margin-left: 0;
}

footer .message {
  color: #b37600;
  width: 100%;
  text-align: center;
  justify-content: center;
}

footer .message a {
  color: #b37600;
}

footer .message a:link {
  color: #b37600;
}
footer .message a:active {
  color: #b37600;
}
footer .message a:hover {
  color: #b37600;
  text-decoration: none;
}
footer .message a:visited {
  color: #b37600;
}

@media (max-width: 320px) {
  .links li a {
  margin-left: 30px;
  font-size: 0.7rem;
  }
}

@media (min-width: 576px) {
  h1 {
    font-size: 1.5rem;
    line-height: 1.875rem;
  }

  h2 {
    font-size: 1.2rem;
    line-height: 2.25rem;
  }
  .phones {
    margin-top: 80px;
    margin-bottom: 2rem;
    align-items: center;
  }
  .pie .chart {
    margin-bottom: 1.56rem;
  }

  .links li a {
  margin-left: 40px;
  font-size: 0.875rem;
  font-weight: bold;
  line-height: 1.125rem;
  }
}

@media (min-width: 768px) {
  nav {
    margin: 3.125rem 0;
  }
  .logo {
    width: 9.375rem;
  }
  .logo img {
    height: 4.875rem;
    width: 9.375rem;
  }

  .apps {
    margin-bottom: 0rem;
  }
  .phones img {
    width: 300px;
  }

  .stores {
    align-self: center;
    width: 10.5rem;
    margin-top: 300px;
  }

  .header {
    justify-content: space-between;
  }
  h1 {
    font-size: 2.25rem;
    line-height: 3rem;
  }
  h2 {
    font-size: 1.3rem;
    line-height: 2.25rem;
  }
  h3 {
    font-size: 1.25rem;
    line-height: 1.5rem;
  }
  .cover {
    background: url(img/YellowBg@3x.png) no-repeat center center;
    -webkit-background-size: 1440px 90%;
    -moz-background-size: 1440px 90%;
    -o-background-size: 1440px 90%;
    background-size: 1440px 90%;
    background-position: top;
  }
  .pie {
    margin-top: 2.25rem;
  }

  footer {
    margin-top: 3.5rem;
  }
}

@media (min-width: 992px) {
  h1 {
    font-size: 3rem;
    line-height: 3rem;
    padding-bottom: 1.25rem;
  }

  h2 {
    padding-bottom: 2rem;
  }

  .phones img {
    width: 400px;
  }

  .stores {
    width: 15.5rem;
  }

  .stores img {
    margin-top: 0rem;
    margin-bottom: 2rem;
  }

  .pie .chart {
    margin-bottom: 0.78rem;
  }

  .text {
    max-width: 18.75rem;
    align-self: center;
  }

  footer {
    margin-top: 5rem;
  }
}

@media (min-width: 1200px) {
  .cointainer {
    background-color: #fff9f9;
  }

  .cover {
    background: url(img/YellowBg@3x.png) no-repeat center center;
    -webkit-background-size: 100% 90%;
    -moz-background-size: 100% 90%;
    -o-background-size: 100% 90%;
    background-size: 100% 90%;
    background-position: top;
  }
}
