* {
  margin: 0;
  padding: 0;
  font-family: "Karla", serif;
}

/* navigation bar */

nav {
  height: 80px;
  width: 100%;
  line-height: 80px;
  font-family: "Karla", serif;
}

nav ul {
  float: right;
  margin-right: 200px;
}

nav ul li {
  list-style-type: none;
  display: inline-block;
}

nav ul li a {
  text-decoration: none;
  color: hsl(0, 0%, 49%);
  margin-top: 40px;
  text-transform: uppercase;
  padding: 12px;
  font-size: 16px;
}
nav ul li a:hover {
  color: hsl(270, 9%, 17%);
  text-decoration: underline;
}

.logo {
  float: left;
}

.container .logo {
  max-width: 400px;
  padding: 0 200px;
}
.container .logo a img {
  max-height: 60px;
}

/* view plans button */

.viewPlans {
  border: 1px solid hsl(270, 9%, 17%);
}
.viewPlans:hover {
  color: white;
  background: hsl(270, 9%, 17%);
  text-decoration: none;
}

/* navigation bar end */

/* page 1 */

.page1 {
  height: 75vh;
  width: 100%;
  background-color: hsl(256, 26%, 20%);
}

.page1 .rightImage {
  float: right;
  margin-right: 13%;
  margin-top: 5%;
}
.page1 .rightDecor {
  position: absolute;
  float: right;
  background: transparent;
  right: 0;
}

.page1 .pageLeft {
  max-width: 40vw;
  position: relative;
  float: left;
  color: #fff;
  font-family: "DM Serif Display";
  margin-left: 13%;
  margin-top: 5%;
}

.page1 .pageLeft h1 {
  margin-top: 30px;
  font-size: 75px;
}

.page1 .pageLeft p {
  line-height: 5vh;
  font-weight: 400;
}

.page1 .pageLeft button {
  width: 18vh;
  background-color: transparent;
  border: 1px solid white;
  color: white;
  padding: 10px;
  text-transform: uppercase;
  margin-top: 12px;
  cursor: pointer;
}
.page1 .pageLeft button:hover {
  background-color: #fff;
  color: hsl(256, 26%, 20%);
}
.pageBottom img {
  position: relative;
  margin-top: -30px;
}

.page2 hr {
  color: hsl(256, 26%, 20%);
}

.page2 h1 {
  margin-top: 3%;
  font-family: "DM Serif Display";
  font-size: 55px;
}

.page2 .different {
  margin-top: 22%;
  margin-left: 13%;
}

.threeDivs {
  display: flex;
  font-family: "DM Serif Display";
  width: 77vw;
  line-height: 25px;
  margin-left: 12%;
  margin-top: 3%;
}

.threeDivs .fa {
  height: 6vh;
  width: 3vw;
  font-size: 2.4vw;
  border-radius: 50px;
  text-align: center;
  background: hsl(273, 4%, 51%);
  color: white;
  padding: 15px 15px;
}

.divOne,
.divTwo,
.divThree {
  padding: 15px;
}

.threeDivs .divOne h2 {
  margin-top: 14%;
  font-family: "DM Serif Display";
}
.threeDivs .divOne p {
  margin-top: 7%;
  color: hsl(273, 4%, 51%);
}
.threeDivs .divTwo h2 {
  margin-top: 12%;
  font-family: "DM Serif Display";
}
.threeDivs .divTwo p {
  margin-top: 7%;
  color: hsl(273, 4%, 51%);
}
.threeDivs .divThree h2 {
  margin-top: 13%;
  font-family: "DM Serif Display";
}
.threeDivs .divThree p {
  color: hsl(273, 4%, 51%);
  margin-top: 7%;
}

/* page 3 */

.page3 {
  background-color: hsl(256, 26%, 20%);
  max-width: 75%;
  height: 33vh;
  margin: 10% auto;
}

.page3 h1 {
  position: relative;
  max-width: 35vw;
  color: #fff;
  font-family: "DM Serif Display";
  font-size: 60px;
  top: 15%;
  left: 10%;
}

.page3 button {
  position: relative;
  float: right;
  width: 18vh;
  background-color: transparent;
  border: 1px solid white;
  color: white;
  padding: 10px;
  text-transform: uppercase;
  cursor: pointer;
  right: 10%;
  margin-top: -5%;
}
.page3 button:hover {
  background-color: #fff;
  color: hsl(256, 26%, 20%);
}
.page3 img {
  float: right;
  margin-top: -14.5%;
}

.page4 {
  width: 100%;
  height: 55vh;
  background: hsl(0, 0%, 98%);
}
.page4 img {
  position: absolute;
}
.upperLine {
  position: relative;
  top: 15%;
  height: 2.5vh;
  display: flex;
  max-width: 75%;
  margin: 0 auto;
  justify-content: space-between;
  border-bottom: 1px solid hsl(273, 4%, 51%);
  padding-bottom: 3%;
}
.upperLine ul {
  display: flex;
  position: relative;
  left: 84%;
  list-style-type: none;
}
.upperLine ul li {
  padding: 0 10px;
  font-size: 2vw;
  color: hsl(273, 4%, 51%);
}
.upperLine ul li:hover {
  color: #000;
}

.footerMenu {
  max-width: 75%;
  height: 10vh;
  margin: 9% auto;
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
}
.footerMenu ul {
  list-style-type: none;
}
.footerMenu ul li {
  padding: 7px 0px;
}
.footerMenu ul li:hover {
  text-decoration: underline;
}
.footerMenu p {
  position: relative;
  color: hsl(273, 4%, 51%);
  bottom: 25px;
}

.attribution {
  position: relative;
  text-align: center;
  height: 5vh;
  background: hsl(0, 0%, 98%);
}

.menu .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .container .logo a img {
    position: relative;
    margin-left: -150px;
  }
  .page1 .rightImage {
    position: absolute;
    width: 375px;
    height: 451px;
    margin-left: -55%;
    margin-top: 0;
  }
  .pageLeft hr {
    display: none;
  }
  .rightDecor {
    display: none;
  }
  .pageLeft {
    max-width: 375px;
  }
}

@media screen and (max-width: 600px) {
  .menu a {
    display: none;
  }
  .menu a.icon {
    float: right;
    display: block;
    margin-top: -70px;
    margin-right: 20px;
  }
}

@media screen and (max-width: 600px) {
  .menu.responsive {
    position: relative;
    background: #fff;
  }
  .menu.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .menu.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}
