* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #7FB3D5;
}

.page { /*this thru feature-3 create entire mobile layout with no MQs*/
  display: flex;
  flex-wrap: wrap; /*makes it very easy to implement tablet and desktop layouts*/
  background-color: #7FB3D5;
}

.section {
  width: 100%;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #7FB3D5;
}

.header {
  background-color: #7FB3D5;
}

.content {
  background-color: #7FB3D5;
}

body a {
  font-family: "Candara", "Calibri", sans-serif;
}

body {
  background-color: #7FB3D5;
  color: #991111;
}

.form {
  margin-left: 205px;
  color: #991111;
}

head {
  background-color: #7FB3D5;
}

h1 {
  font-family: "Calibri", sans-serif;
  padding-top: 50px;
}

p {
  text-align: center;
  font-family: "roboto", "Calibri", sans-serif;
  line-height: 2.0;
  max-width: 90%;
}

.nav-container {
  height: 90px;
  overflow: hidden;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 90%;
  margin: auto;
}

.nav-container .navbar {
  justify-content: space-evenly;
}

.navbar ul {
  list-style: none;
  background: #7FB3D5;
  padding: 20px;
  margin: 10px 10px 10px 10px;
  justify-content: space-between;
}

.navbar ul li {
  list-style-type: none;
  width: 220px;
  text-align: center;
}

.navbar a {
  color: #414141;
  font-family: "Palatino", "Calibri", sans-serif;
  text-transform: uppercase;
  font-size: 12px;
}

.navbar a:hover {
  background: #B2D6FF;
  color: #000000;
}

ul li {
  float: left;
}


.p a {
  padding: inherit;
}

.illustration img {
  width: 100%;
  box-shadow: 8.0px 16.0px 16.0px hsl(0deg 0% 0% / 0.25);
  border-radius: 8px;
}

.gallery {
    max-width: 205px;
    height: 100%;
    justify-content: left;
    align-items: left;
    position: fixed;
    left: 0;
    top: 0;
    background-color: #7FB3D5;
    margin: 0;
    border-right: 4px solid #C0C0C0;
    border-radius: 1px;
    box-shadow: 8.0px 16.0px 16.0px hsl(0deg 0% 0% / 0.25);
  }
  
  .gallery img {
    height: 100%;
    width: 200px;
    border: 4px solid #1B4F72;
    border-radius: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: left;
    float:left;
  }

.gallery img:hover {
  transform: scale(1.05, 1.05);
  transition: .5s;
}

.content {
  margin-left: 205px;
  display: right;
  position: right;
  justify-content: right;
  text-align: right;
  max-width: 98%;
}

.item {
    height: 9%;
    width: 100%;
    display: inline-block;
    text-align: right;
    margin-bottom: 5px;
  }
  
  .item img {
    position: left;
    height: 100%;
    width: 50%
    text-align: left;
  }

.item h4 {
  width: 65%;
  text-align: left;
  margin: 0;
}

.item h4 a {
  width: 100%;
  text-align: right;
  margin: 0;
}

.disappearing {
    height: 9%;
    width: 100%;
    display: inline-block;
    text-align: right;
    margin-bottom: 5px;
  }
  
  .disappearing img {
    position: left;
    height: 100%;
    width: 50%
    text-align: left;
  }
  
  .disappearing h4 {
    width: 65%;
    text-align: left;
    margin: 0;
  }
  
  .disappearing h4 a {
    width: 100%;
    text-align: right;
    margin: 0;
  }

  .blog-subscribe {
  text-align: center;
  justify-content: center;
  align-items: center;
  max-width: 80%;
  margin-left: 205px;
}

.blog-subscribe img {
  border: 3px solid #414141;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 250px;

}

.blog-subscribe a {
  padding: 0;
}

.form-row label {
    width: 350px;
    text-align: center;
    justify-content: center;
  }

.form-row input {
  background-color: #fffdd0;
}

.form-row textarea {
  background-color: #fffdd0;
}

.content {
    margin-left: 205px;
    display: right;
    position: right;
    justify-content: right;
    text-align: right;
    max-width: 98%;
  }

  

/*Mobile Styles*/
@media only screen and (max-width: 425px) {
  body {
    background-color: #7FB3D5;
  }

  .navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    margin: auto;
  }

  .navbar ul {
    margin: 0px 0px 0px 0px;
    padding: 0px;
  }

  .navbar ul li {
    list-style-type: none;
    width: 70px;
    text-align: center;
  }

  p {
    max-width: 95%;
  }

  

.gallery {
  max-width: 100%;
  position: sticky;
  left: 0;
  top: 0;
  background-color: #7FB3D5;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  border: 0;
  border-right: 0;
  }

  .gallery img {
    max-width: 100%;
    border: 4px solid #C0C0C0;
    border-radius: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: left;
}

.item {
  max-width: 33%;
  max-height: 50px;
}

.item img {
  width: 100%;
  margin: 0;
  padding: 0;
}

.disappearing {
    display: none;
  }
  
  .disappearing img {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .blog-subscribe {
    margin-left: 0;
    max-width: 90%;
  }

  .blog-subscribe img {
    width: 300px;
  }

  .content {
    max-width: 95%;
    justify-content: center;
    text-align: center;
    margin-left: 0;
  }

  .form {
    margin-left: 0;
  }
}

/*Tablet Styles*/
@media only screen and (min-width: 426px) and (max-width: 1049px) {
  body {
    background-color: #EEEEEE;
  }

  .navbar ul li {
    list-style-type: none;
    width: 90px;
    text-align: center;
  }

  .gallery {
  max-width: 100%;
  position: sticky;
  left: 0;
  top: 0;
  background-color: #7FB3D5;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  }

  .gallery img {
  width: 100%;
  border: 4px solid #C0C0C0;
  border-radius: 1px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: left;
  margin: 0;
  padding: 0;
}

.item {
  width: 20%;
  margin: 0;
}

.item img {
  width: 100%;
  margin: 0;
  padding: 0;
}


.disappearing {
  width: 20%;
  margin: 0;
}

.disappearing img {
  width: 100%;
  margin: 0;
  padding: 0;
}

.content {
  max-width: 100%;
  justify-content: center;
  text-align: center;
  margin-left: 0;
}

.blog-subscribe {
  margin: 0;
  max-width: 100%;
}

h1 {
  max-width: 90%;
  align-items: center;
}

header {
  text-align: center;
}


  .blog-subscribe {
    margin: 0;
    max-width: 100%;
    text-align: center;
    padding: 0;
  }
  .form {
    margin-left: 0;
  }
  
}

/*Desktop Styles*/
@media only screen and (min-width: 1049px) {
  body {
    background-color: #7FB3D5;
  }
}
