.nav-element {
    color: black;
}

nav {
    background-color: white;
}

.hero {
    background-image: url('../img/hero-image-about.jpg');
    background-size: cover;                     
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    height: 35rem;
}

.line {
    border-bottom: 1px solid black;
    width: 50%;

}

@media only screen and (max-width: 730px) {
    h1 {
        font-size: 3.5rem
    }

    .titles p {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 550px) {
    .titles {
        margin-top: 2rem;
    }
}

@media only screen and (max-width: 330px) {
    h1 {
        font-size: 2.5rem
    }
}

 @media only screen and (max-width: 900px) {
    .section-content {
        padding: 0;
    }

    .service-list {
        padding: 8rem 0;
        width: 100%;
    }

    .single-title {
        margin: 3rem 0;
    }

    .section-img img {
        width: 100% !important;
        height: auto !important;
       }

       .product-list {
        margin-bottom: 5rem;
      }
  }

  @media only screen and (max-width: 750px) {
    .single-title p {
        font-size: 1rem;
        width: 80%;
        margin: 0;
    }

    .single-title>* {
        margin: 0;
        padding: 0;
        width: 20rem;
    }

    .hero {
        height: 45rem;
    }

  }

  @media only screen and (max-width: 650px) {
    .single-title p {
        font-size: 1rem;
        width: 50%;
        margin: 0;
        transition: .5s;
    }
  }

  @media only screen and (max-width: 1370px) {
    section .mobile-flex {
        flex-direction: column;
        margin: 0%;
        transition: .5s;
      }
  }
  @media only screen and (max-width: 900px) {
    section .mobile-flex {
        flex-direction: column;
        margin: 10%;
        transition: .5s;
      }

  }
  .image-grid-element-01 {
    background-image: url('../img/oil-rig-02.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .image-grid-element-02 {
    background-image: url('../img/revolver-05.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .image-grid-element-03 {
    background-image: url('../img/revolver-06.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .image-grid-element-04 {
    background-image: url('../img/image-grid-04.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }



  @media only screen and (max-width: 750px) {
    h1 {
        font-size: 3.5rem ;
    }

    .titles p {
        font-size: 1rem;
    }

    .hero {
        height: 35rem;
    }

    .single-title {
        width: 100%;
    }

    .single-title h2{
        margin-bottom: 2rem;
        width: 100%;
    }

    .single-title p {
        margin-left: auto;
        margin-right: auto;
    }

    .product-section {
        width: 100%;
        margin: 0;
    }

}

  @media only screen and (max-width: 550px) {
    .titles {
        margin-top: 2rem;
    }

    .single-title>* {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .single-title>h2 {
        margin-bottom: 2rem;
    }


    .single-title p {
        font-size: 1rem;
        width: 100%;
        margin: 0;
        transition: .5s;
    }

    .single-title {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

}

@media only screen and (max-width: 400px) {
    .single-title {
        margin: 3rem auto;
      
    }
    .single-title p {
        font-size: 1rem;
        width: 100%;
        margin: 0;
        transition: .5s;
    }

    .section-content h2 {
        font-size: 2.5rem;
    }

}
 
