/*CSS RESET*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /*include border inside width calculator*/
}

/*NAV*/

.nav ul li {
  display: inline;
  padding: 10px;
}

.nav a {
  text-decoration: none;
  color: rgb(47, 62, 75);
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
}

/*PAGE 1*/

.page1 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  background-color: rgb(255, 255, 255);
  padding: 5px;
}

.page1 div {
  height: 200px;
  background-color: blue;
  padding: 10px;
  background-clip: content-box;
}

/*PAGE 2*/

.page2 {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 300px;
  width: 500px;
  background-color: rgb(255, 255, 255);
}

.page2 div {
  background-color: blue;
  border: 1px solid red;
}

#pg2-1 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: 300px;
  width: 50px;
}

.pg2-2 {
  display: flex;
  flex-wrap: Wrap;
  height: 150px;
  width: 50px;
}

.pg2-3 {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 150px;
  width: 50px;
}

.pg2-4 {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 150px;
  width: 50px;
}

/*PAGE 3*/

.page3 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  background-color: rgb(255, 255, 255);
  padding: 5px;
}

.page3 div {
  height: 250px;
  background-color: blue;
  padding: 10px;
  background-clip: content-box;
}

/*PAGE 4*/

.page4 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  background-color: rgb(255, 255, 255);
  padding: 5px;
}

.page4 div {
  height: 150px;
  background-color: blue;
  padding: 10px;
  background-clip: content-box;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  #item-7 {
    display: none;
  }
  .col-xs-1 {
    width: 8.33%;
  }
  .col-xs-2 {
    width: 16.66%;
  }
  .col-xs-3 {
    width: 25%;
  }
  .col-xs-4 {
    width: 33.33%;
  }
  .col-xs-5 {
    width: 41.66%;
  }
  .col-xs-6 {
    width: 50%;
  }
  .col-xs-7 {
    width: 58.33%;
  }
  .col-xs-8 {
    width: 66.66%;
  }
  .col-xs-9 {
    width: 75%;
  }
  .col-xs-10 {
    width: 83.33%;
  }
  .col-xs-11 {
    width: 91.66%;
  }
  .col-xs-12 {
    width: 100%;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  #item-7 {
    display: none;
  }
  .col-sm-1 {
    width: 8.33%;
  }
  .col-sm-2 {
    width: 16.66%;
  }
  .col-sm-3 {
    width: 25%;
  }
  .col-sm-4 {
    width: 33.33%;
  }
  .col-sm-5 {
    width: 41.66%;
  }
  .col-sm-6 {
    width: 50%;
  }
  .col-sm-7 {
    width: 58.33%;
  }
  .col-sm-8 {
    width: 66.66%;
  }
  .col-sm-9 {
    width: 75%;
  }
  .col-sm-10 {
    width: 83.33%;
  }
  .col-sm-11 {
    width: 91.66%;
  }
  .col-sm-12 {
    width: 100%;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  #top {
    display: flex;
    padding-bottom: 0px;
  }

  #item-3 {
    display: flex;
    padding-top: 0px;
  }

  #item-7 {
    display: flex;
  }

  .col-ld-1 {
    width: 8.33%;
  }
  .col-ld-2 {
    width: 16.66%;
  }
  .col-ld-3 {
    width: 25%;
  }
  .col-ld-4 {
    width: 33.33%;
  }
  .col-ld-5 {
    width: 41.66%;
  }
  .col-ld-6 {
    width: 50%;
  }
  .col-ld-7 {
    width: 58.33%;
  }
  .col-ld-8 {
    width: 66.66%;
  }
  .col-ld-9 {
    width: 75%;
  }
  .col-ld-10 {
    width: 83.33%;
  }
  .col-ld-11 {
    width: 91.66%;
  }
  .col-ld-12 {
    width: 100%;
  }
}
