@media screen {
/* general */
  * {
    margin: 0; 
    padding: 0; 
    font-family: 'Open Sans', sans-serifserif;
  }


  #wrapper {
    margin: 0 auto;
  }

    .container {
    display: flex;
    margin: 0 auto;
  }
  
    #topheader > .container {
    max-width: 1100px;
    justify-content: space-between;
  }
  
    header > .container {
    max-width: 1100px;
    justify-content: space-between;
  }

  
/* header and nav */
  
  #headercontact {
    display: flex;
    font-weight: 300;
  }

  #headercontact a {
    text-decoration: none;
    color: white;
  }
  
  .material-symbols-outlined {
    font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48
    }

  #headercontact span {
      padding-left: 10px;
      padding-right: 5px;
  }
  
  #topheader {
    font-size: 16px;
    height: 30px;
    background: #cc6633;
    color: white;
    padding-top: 10px;
  }

  nav img {
    width: 223px;
    padding-top: 20px;
    padding-bottom: 15px;
  }
  
  ul {
    list-style: none;
    padding-top: 27px;
  }
  

  ul a {
    text-decoration: none;
    font-size: 18px;
    padding-left: 52px;
    font-weight: 400;
    color: black;
  }

  
/* hero */

  #hero {
    background-image: url(../images/hero.jpg);
    background-size: cover;
    height: 770px;
  }
  

  
  #hero p {
    text-align: center;
  }

  #licensed {
    color: white;
    font-size: 23px;
    font-weight: 300;
    padding-top: 120px;
    padding-bottom: 50px;
  }

  #construction {
    color: white;
    font-size: 61px;
    font-weight: 700;
    margin-bottom: -20px;
    margin-top: 10px;
  }

  #detail {
    color: #cc6633;
    font-size: 49px;
    font-weight: 700;
  }

  #estimate {
    color: white;
    font-size: 30px;
    padding-top: 10px;
    margin-top: 45px;
    margin-bottom: 10px;
  }

  #hero a {
    color: white;
    font-size: 22px;
    background-color: #cc6633;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    padding: 10px 30px;
    display: block;
    text-align: center;
    Width: 100px;
    margin: 0 auto;
  }

  #hero a:hover {
    background-color:#8f4724;
    transition: 0.5s;
  }

/* our services */

  #services h1 {
    text-align: center;
    font-size: 1.88em;
    padding-top: 60px;
    padding-bottom: 60px;
    font-weight: 700;
  }

  #cardsgrid {
    display: grid;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    grid-template-columns: 1fr 1fr 1fr;
  }

  
  .servicecard {
    padding-bottom: 69px;
  }

  .serviceicon img {
    border-radius: 50%;
    border: 10px solid #cc6633;
    box-shadow: 0 0 20px 0 #ff9966;
    max-width: 30%; 
    padding: 20px;
  }

  .servicecard h2 {
    padding-top: 21px;
    font-weight: 300;
    font-size: 30px;
  }

  #servicestotal {
    flex-direction: column-reverse;
  }

  #aboutus {
    text-align: center;
    font-size: 20px;
    padding-bottom: 60px;
    max-width: 880px;
    margin: 0 auto;
  }



/* our work */

  #work {
    background-color:  #cc6633;
    margin-top: -14px;
    color: white;
    text-align: center;
    padding-top: 114px;
    height: 656px;
  }

  #work h1 {
    display: block;
    padding-bottom: 51px;
  }
  
  #gallerygrid {
    margin: 0 auto;
    display: grid;
    width: 880px;
    grid-gap: .9em;
    grid-template-areas:
      'one one two three'
      'one one four five';
}

  .gallery_img:nth-child(1) {
    grid-area: one;
  }
  .gallery_img:nth-child(2) {
    grid-area: two;
  }
  .gallery_img:nth-child(3) {
    grid-area: three;
  }
  .gallery_img:nth-child(4) {
    grid-area: four;
  }
  .gallery_img:nth-child(5) {
    grid-area: five;
  }
  
  .gallery_img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block; 
  }

/* form */

  h3 {
    font-size: 37px;
    font-weight: 400;
    padding: 58px 10px 7px 53px;
  }
  
  form {
    display: grid;
    grid-gap: .9em;
    grid-template-areas:
      'first last'
      'email phone'
      'message message'
      'message message'
      '. submit';
    padding: 10px 0px 0px 53px;
  }

  #contact {
    width: 880px;
    height: 526px;
    background: #EBEAE6;
    margin: 0 auto;
    margin-top: 87px;
    margin-bottom: 87px;
    box-shadow: 0px 0px 40px grey;
  }

  #fname {
    grid-area: first;
  }

  #lname {
    grid-area: last;
  }

  #email {
    grid-area: email;
  }

  #phone {
    grid-area: phone;
  }

  #message {
    grid-area: message;
  }

  input[type="text"] {
    height: 40px;
    width: 145px;
    border-radius: 5px;
    border: none;
    font-size: 20px;
    font-weight: 300;
    padding-left: 10px;
  }

  textarea{
    margin-top: 13px;
    width: 325px;
    height: 114px;
    resize: none;
    font-size: 20px;
    font-weight: 300;
    padding-left: 10px;
    padding-top: 10px;
    border: none;
    border-radius: 5px;
  }

  input[type="submit"] {
    color: white;
    font-size: 22px;
    background-color: #cc6633;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    padding: 10px 30px;
    text-align: center;
    Width: 155px;
    height: 55px;
    margin-top: 11px;
    grid-area: submit;
  }

  input[type="submit"]:hover {
    background-color:#8f4724;
    transition: 0.5s;
  }

  #dividing_line {
    margin: 124px 0px 0px 52px;
    background: #333333;
    height: 333px;
    width: 2px;
  }

  #callus {
    margin: 171px 0px 0px 81px;
  }
  
  h4 {
    font-size: 30px;
    font-weight: 300;
    font-style: italic;
  }

  h5 {
    font-size: 33px;
    font-weight: 400;
    display: inline-block;
    margin: 0px 0px 0px 11px; 
  }

  h5 a {
    text-decoration: none;
    color: black;
  }

  #callus span img {
    height: 50px;
  }

  #phonenumber {
    margin-top: 15px;
    margin-left: -42px;
  }

  
  
/* footer */


  footer {
    color: white;
    background: #333333;
  }
  
  footer .container {
    height: 335px;
    justify-content: space-between;
    max-width: 880px;
  }

  footer img {
    width: 208px;
    margin-top: 60px;
    margin-bottom: 45px;
  }

  #contactus_footer {
    font-size: 23px;
    margin-bottom: 7px;
    font-weight: 400;
  }

  footer p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5em;
  }

  footer span {
    display: block;
    margin-top: 53px;
    margin-right: 7px;
    font-size: 24px;
    font-weight: 400;
  }

  footer a {
    text-decoration: none;
    color: white;
  }

  
  /* ps */

  #below_footer {
    color: white;
    background-color: #cc6633;
    font-weight: 300;
    font-size: .8em;
    height: 30px;
    padding: 10px 0px 0px 0px;
    justify-content: space-around;
  }

  #below_footer a {
    text-decoration: none;
    color: white;
  }
  
}/* End of Media Screen */



/* (L) laptop */
@media screen and (min-width: 992px) and (max-width: 1199px) {

/* general */
  
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
/* header and nav */  
/* hero */
/* our services */
/* our work */
/* form */

  #contact h4 {
    padding-left: 10px;
  }
  
/* footer */
/* ps */

}

/* (M) tablet */
@media screen and (min-width: 768px) and (max-width:991px) {

/* general */
  
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
 
/* header and nav */

  nav img {
    width: 200px;
    padding-top: 20px;
    padding-bottom: 15px;
  }

  ul a {
    font-size: 18px;
    padding-left: 38px;
  }
  
/* hero */
/* our services */
/* our work */

  #work {
    padding-top: 100px;
    padding-bottom: 100px;
    height: 100%;
  }
  
  #gallerygrid {
    max-width: 80%;
    grid-template-areas:
      'one one'
      'one one'
      'two three'
      'four five';
}

  .gallery_img img {
    border: solid 2px;
  }
  
/* form */

  h3 {
    font-size: 30px;
    padding: 30px 10px 7px 53px;
  }

  #contact {
    height: 100%;
    width: 90%;
    padding-bottom: 30px;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  
  input[type="text"] {
    font-size: 15px;
  }

  textarea {
    font-size: 15px;
  }

  #dividing_line {
    margin: 90px 0px 0px 30px;
    height: 250px;
    width: 2px;
  }

  #callus {
    margin: 171px 0px 0px 40px;
  }
  
  h4 {
    font-size: 27px;
  }

  h5 {
    font-size: 25px;
    margin: 0px 0px 0px 10px; 
  }

  h5 a {
    text-decoration: none;
    color: black;
  }

  #callus span img {
    height: 35px;
    margin-left: 10px;
  }

/* footer */
/* ps */

}


/* (S) landscape mobile */
@media screen and (min-width: 576px) and (max-width: 767px) {

/* general */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
/* header and nav */

  #navdiv {
    display: none;
  }

  #topheader {
    font-size: 14px;
    height: 30px;
    padding-top: 10px;
  }

  #headercontact span {
    display: none;
    }

  #headercontact p {
    padding-left: 15px
  }
  
  nav img {
    width: 190px;
    padding-top: 20px;
    padding-bottom: 15px;
  }
/* hero */

  #hero {
    background-image: url(../images/hero.jpg);
    background-size: cover;
    height: 100%;
    padding-bottom: 60px;
  }
  

  #licensed {
    color: white;
    font-size: 20px;
    font-weight: 300;
    padding-top: 120px;
    padding-bottom: 20px;
  }

  #construction {
    color: white;
    font-size: 25px;
    font-weight: 700;
    margin-top: 10px;
  }

  #detail {
    color: #cc6633;
    font-size: 25px;
    font-weight: 700;
    margin-top: 10px;
  }

  #estimate {
    color: white;
    font-size: 25px;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  
/* our services */
  #aboutus {
    font-size: 16px;
  }
/* our work */

  #work {
    padding-top: 100px;
    padding-bottom: 100px;
    height: 100%;
  }
  
  #gallerygrid {
    max-width: 80%;
    grid-template-areas:
      'one one'
      'one one'
      'two three'
      'four five';
}

  .gallery_img img {
    border: solid 2px;
  }

  
/* form */

  h3 {
    font-size: 30px;
    padding: 30px 10px 7px 53px;
  }

  form {
    display: grid;
    grid-gap: 1.3em;
    grid-template-areas:
      'first last'
      'email phone'
      'message message'
      'message message'
      '. submit';
    margin-right: 60px;
  }

  #contact {
    height: 100%;
    width: 100%;
    padding-bottom: 30px;
    margin: 0 auto;
  }

  #contact .container {
    flex-direction: column;
  }
  
  input[type="text"] {
    font-size: 15px;
    width: 100%;
  }

  textarea {
    font-size: 15px;
    width: 100%;
  }

  #dividing_line {
    display: none;
  }

  #callus {
    margin: 171px 0px 0px 40px;
    display: none;
  }
  
  h4 {
    font-size: 27px;
  }

  h5 {
    font-size: 25px;
    margin: 0px 0px 0px 10px; 
  }

  h5 a {
    text-decoration: none;
    color: black;
  }

  #callus span img {
    height: 35px;
    margin-left: 10px;
  }
  
/* footer */

  footer .container {
    flex-direction: column-reverse;
    padding-bottom: 20px;
  }

  footer span {
    font-size: 20px;
  }
/* ps */

}

/* (XS) mobile */
@media screen and (max-width: 575px) {

/* general */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
/* header and nav */

  #navdiv {
    display: none;
  }

  #topheader {
    font-size: 14px;
    height: 30px;
    padding-top: 10px;
  }

  #mailfont {
    display: none;
  }

  #phonefont {
    margin-right: -16px;
    font-size: 20px;
  }

  #topmailto {
    display: none;
  }

  #headercontact p {
    padding-left: 15px
  }
  
  nav img {
    width: 190px;
    padding-top: 20px;
    padding-bottom: 15px;
  }
  
/* hero */

  #hero {
    background-image: url(../images/hero.jpg);
    background-size: cover;
    height: 100%;
    padding-bottom: 60px;
  }
  

  #licensed {
    color: white;
    font-size: 17px;
    font-weight: 300;
    padding-top: 120px;
    padding-bottom: 20px;
  }

  #construction {
    color: white;
    font-size: 25px;
    font-weight: 700;
    margin-top: 10px;
  }

  #detail {
    color: #cc6633;
    font-size: 20px;
    font-weight: 700;
    margin-top: 13px;
  }

  #estimate {
    color: white;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  
/* our services */

  #services h1 {
    text-align: center;
    font-size: 1.88em;
    padding-top: 50px;
    padding-bottom: 50px;
    font-weight: 700;
  }

  #cardsgrid {
    display: grid;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    grid-template-columns: 1fr 1fr;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
  }

  
  .servicecard {
    padding-bottom: 30px;
  }

  .serviceicon img {
    border-radius: 50%;
    border: 5px solid #cc6633;
    box-shadow: 0 0 10px 0 #ff9966;
    max-width: 30%; 
    padding: 10px;
  }

  .servicecard h2 {
    padding-top: 10px;
    font-weight: 300;
    font-size: 20px;
  }

  #aboutus {
    text-align: center;
    font-size: 15px;
    padding-bottom: 40px;
    
    margin: 0 auto;
  }
  
  
/* our work */

  #work {
    padding-top: 100px;
    padding-bottom: 100px;
    height: 100%;
  }
  
  #gallerygrid {
    max-width: 80%;
    grid-template-areas:
      'one one'
      'one one'
      'two three'
      'four five';
}

  .gallery_img img {
    border: solid 2px;
  }

  
/* form */

  h3 {
    font-size: 30px;
    padding: 30px 10px 7px 53px;
  }

  form {
    display: grid;
    grid-gap: 1.3em;
    grid-template-areas:
      'first first'
      'last last'
      'email email'
      'phone phone'
      'message message'
      'message message'
      '. submit';
    margin-right: 60px;
  }

  #contact {
    height: 100%;
    width: 100%;
    padding-bottom: 30px;
    margin: 0 auto;
  }

  #contact .container {
    flex-direction: column;
  }
  
  input[type="text"] {
    font-size: 15px;
    width: 100%;
  }

  textarea {
    font-size: 15px;
    width: 100%;
  }

  #dividing_line {
    display: none;
  }

  #callus {
    margin: 171px 0px 0px 40px;
    display: none;
  }
  
  h4 {
    font-size: 27px;
  }

  h5 {
    font-size: 25px;
    margin: 0px 0px 0px 10px; 
  }

  h5 a {
    text-decoration: none;
    color: black;
  }

  #callus span img {
    height: 35px;
    margin-left: 10px;
  }
  
/* footer */

  footer .container {
    flex-direction: column-reverse;
    padding-bottom: 20px;
  }

  footer span {
    font-size: 20px;
  }
/* ps */

  #below_footer {
    flex-direction: column-reverse;
    padding-left: 20px;
    padding-bottom: 10px;
    gap: 3px;
    
  }

} 