@import url("https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Montserrat&display=swap");
body {
  margin: 0;
}

h1, .logo {
  font-family: "Amiri", serif;
  font-weight: normal;
}

.logo {
  font-weight: bold;
  text-decoration: none;
  color: black;
  font-size: 1.2em;
}

p, a {
  font-family: "Montserrat";
}

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

.main-bg, .social, .pagination {
  position: absolute;
}

.social {
  display: none;
}

header {
  background: white;
  display: flex;
  justify-content: space-between;
  padding: 1em;
}
header ul {
  display: none;
}

.main-bg {
  background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/2621168/main-bg.jpg");
  background-position: 40% 0;
  width: 40%;
  height: 900px;
  z-index: -1;
  right: 0;
}

.main-content {
  padding: 9em 4em 9em 3em;
}

h1 {
  font-size: 2.5em;
  line-height: 1em;
}

.main-content p {
  font-size: 0.9em;
  line-height: 1.5em;
  padding-left: 20%;
}
.main-content p:before {
  content: "";
  position: absolute;
  left: 0;
  height: 2.5em;
  width: 20%;
  background: #F1EDE2;
  margin-top: 0.3em;
}

footer {
  width: 85%;
  background: #23383B;
  display: flex;
  position: relative;
}

.makeup {
  width: 8em;
  height: 8em;
  background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/2621168/makeup.jpg");
  background-size: cover;
}

.cta {
  color: white;
  text-decoration: none;
  align-self: center;
  position: relative;
  margin: 3em auto;
  white-space: nowrap;
}
.cta:before {
  content: "";
  position: absolute;
  width: 83%;
  height: 3em;
  left: -1em;
  top: -1em;
  border: 1px solid white;
}

ul.pagination {
  z-index: 1;
  background: white;
  right: 0;
  top: 30%;
}
ul.pagination li {
  padding: 1em 1.5em 1.5em 1em;
  position: relative;
}
ul.pagination li:before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid #919191;
  border-radius: 50%;
}
ul.pagination .active:before {
  background: black;
}

.block {
  position: absolute;
  background: #335257;
  width: 2em;
  height: 2em;
}

.one {
  right: 2em;
}

.two {
  right: 0;
  top: 2em;
}

@media (min-width: 550px) {
  body {
    font-size: 18px;
  }

  .menu {
    display: none;
  }

  nav ul {
    display: flex;
  }
  nav ul li a {
    color: black;
    text-decoration: none;
    display: block;
    padding: 0.3em 0.8em;
    font-size: 0.9em;
  }

  .social {
    display: unset;
    z-index: 1;
    left: 1.5em;
    top: 30%;
    text-align: center;
  }
  .social li {
    margin-bottom: 2em;
  }
  .social li img {
    width: 20px;
  }
  .social li:last-child img {
    width: 10px;
  }

  .main-content {
    padding: 9em 4em 7em 6em;
  }

  .main-content p:before {
    width: 25%;
  }
}
@media (min-width: 900px) {
  body {
    font-size: 20px;
  }

  footer {
    width: 75%;
  }

  .makeup {
    width: 12em;
    height: 12em;
  }

  .main-content {
    padding: 7em 4em 7em 8em;
  }
  .main-content p {
    width: 50%;
  }
}
@media (min-width: 1200px) {
  body {
    font-size: 22px;
  }

  .main-content {
    padding: 7em 4em 7em 10em;
  }
  .main-content p {
    width: 30%;
  }
}
@media (min-width: 1400px) {
  .main-bg {
    right: 10%;
  }
}