/*head*/
* {
    box-sizing: border-box;
}
  
body {
    margin: 0;
    background-color: #45a049;
}
  
#wrapper {
    margin: 0 auto;
    background-color:#45a049;
}

body, html {
    height : 100%;
}

/*site level nav*/
#site-nav a {
    background-color: white;
    color: rgb(52, 88, 155);
    border:none;
    
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2em;
    
    display: block;
  
    text-decoration: none;
    text-align: center;
    padding: 5px;

    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  
  #site-nav a:hover {
    background-color: rgb(52, 88, 155);
    color: whitesmoke;
  }
  
  nav ul {
    list-style-type: none;
    margin: 0;
    padding:0;
  }
  
  #site-nav ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  
  #site-nav li {
    flex: 1;
  }
  
/*H O M E    P A G E */
#hero-image {
    background-image: url("images/hero.image.JPG");
    background-size: cover;
    height: 400px;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

#hero-text {
  text-align: center;
  position: absolute;
  font-size: larger;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

#brief-sections {
    display: flex;
    flex-direction: row;
}

#brief-sections section {
    padding: 20px 5px;
    margin: 10px;
    border: 5px solid rgb(47, 66, 129);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color:  #f2f2f2;
}

#home-links {
    text-decoration: none;
    color: red;
}

h1 {
  font-size: 35px;
}

#brief-sections-p {
  text-align: justify;
}

/* A B O U T    C O M P A N Y    P A G E */
#about-company-p {
  /* text-align: justify; */
  padding: 5px;
}

#aboutcompany-page {
  background-color:  #f2f2f2;

  padding: 20px;
  margin: 5px 90px 5px 90px;
  text-align: center;
}

#aboutcompany-page p {
  text-align: justify;
  /* margin-right: 10px; */
}


#staff-sections {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

#staff-sections section {
  border: 3px solid rgb(47, 66, 129);
  margin: 0 10px 50px;

  text-align: center;
}


#owner-pic {
  float:right;
  margin-left: 20px;
}

.clear {
  clear: both;
}


/* S E R V I C E S   P A G E */
#services-sections {
  background-color:  #f2f2f2;

  padding: 20px 24%;
  margin: 5px 90px 5px 90px;
  text-align: center;
}

#services-sections p {
  text-align: justify;
}

.servicesheroimage {
  background-image: url("images/redtruck.jpg");
  background-size: cover;
  height: 400px;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.services-hero-text {
text-align: center;
position: absolute;
font-size: larger;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-family: Arial, Helvetica, sans-serif;
}

#display-none {
  display: none;
}


/* F I N A N C E S   P A G E */

input[type=text], select, textarea {
  width: 100%; 
  padding: 12px;  
  border: 1px solid #ccc; 
  border-radius: 4px;
  box-sizing: border-box; 
  margin-top: 6px; 
  margin-bottom: 16px; 
}

input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #45a049;
}

#container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  margin: 5px 90px 5px 90px;
}

#finances-text {
  background-color:  #f2f2f2;

  padding: 20px;
  margin: 3px 90px 40px 90px;
  text-align: justify;
}

#finances-main {
 text-align: justify;
}






/* FOOTER */

footer {
    background-color: white;

    border-style: solid;
    border-width: 3px;
    border-color:black;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    
    list-style-type: none;
    margin: 0;
    padding: 0;

  }

#contact-area {
  flex: 1;
}

#contact-area ul {
  text-align: left;
  list-style-type: none;
  padding: 0;
}

#copy-and-facebook {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
}

#copy-and-facebook p {
  margin-bottom: 0;
}

  .fa {
    padding: 20px;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
  }
  
  .fa:hover {
    opacity: 0.7;
  }
  
  /* Facebook */
  .fa-facebook {
    background: #3B5998;
    color: white;
  }

/* M E D I A   Q U E R Y S */


@media screen and (max-width: 700px) {
  #services-sections{
    margin: 60px;
    padding: 50px;
    justify-content: center;
  }
  #container {
      margin: 20px;
    }
  }


@media screen and (max-width: 650px) {
    #brief-sections {
      flex-direction:column;
    }
    #site-nav ul {
      flex-direction: column;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }

  #history-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    }

  #container {
      margin: 10px;
    }
  }

@media screen and (max-width: 520px) {
  #aboutcompany-page {
    padding: 10px;
    margin: 30px;
  }

  #services-sections {
    padding: 10px;
    margin: 30px;
  }

  #container {
    margin: 5px;
  }
}


@media screen and (max-width: 400px) {
    #brief-sections {
      flex-direction:column;
    }
    #site-nav ul {
      flex-direction: column;
      }

    #aboutcompany-page {
      padding: 10px;
      margin: 0;
    }

    #services-sections {
      padding: 10px;
      margin: 0;
    }

    #container {
      margin: 0;
    }

}

@media screen and (max-width: 340px) {
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  #austin-resize {
    width: 275px;
  }

  #easton {
    width: 280px;
  }
}
