.nav-element {
    color: black;
}

nav {
    background-color: white;
}

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

.section-img>img {
    width: auto !important;
    height: 60rem !important;
}

.service-list {
    background-image: url('../img/revolver-03.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    padding: 4rem 5rem;
    margin: 0;
}

.service-list::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); 
    z-index: 1;
}

.service-list> * {
    position: relative;
    z-index: 2; 
  }

  .service-list .no-button-link {
    color: white;
    margin-bottom: 3rem;
  }

  .product-details {
    font-weight: bold;
  }

  .product-details li{
    margin-bottom: 1.2rem;
  }

  .product-section {
    margin-right: 4rem;
  }

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

  .product-list li{
    color: white;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    transition: .5s;
  }


  @media only screen and (max-width: 1180px) {
    .service-list h2 {
        font-size: 3.5rem;
        margin-bottom: 2rem;
    }
    .hero {
        height: 40rem;
        transition: .5s;
    }
  }

  @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;
      }

       .left-align{
        padding-top: 5em !important;
        margin: 0 !important;
    }
  }

  @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;
    }

    section .mobile-flex {
        margin: 2rem !important;
        width: 100%;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    
}

.product-hidden {
    opacity: 0;
    position: absolute;
    transition: 1s;
      
}

.product-active {
    opacity: 100 !important;
    position: relative !important;
    transition: 1s;
      
}

  @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;
    }

    .hero {
        height: 30rem;
    }

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

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

    .service-list .flex {
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }
    .product-section, .product-list {
        margin: 0 1rem;
        padding-right: 1rem;
    }

    .product-list>.nav-element {
        margin: 1.5rem 0 !important;
    }

    .section-content {
        margin-left: auto;
        margin-right: auto;
    }

    .our-promise-section>.container, .section-form>.container {
        margin-right: auto !important;
        margin-left: auto !important;
        padding: 0 1rem;
    }

     .left-align{
        padding-top: 3em !important;
        margin: 0 !important;
    }

        .hero {
        height: 35em !important;
        }
        
}

@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;
    }

    .product-section p {
        font-size: .95rem;
    }

    .service-list {
        padding: 1rem .5rem !important;
    }
}
 

@media only screen and (max-width: 1660px) {
    .product-list li{
        font-size: 1rem;
      }
    
}

@media only screen and (max-width: 1180px) {

    .product-list>.nav-element{
       padding: 0;
       margin: 2rem 2rem;
     
    }
    .product-list li{
        margin: 0 1rem;
      }

      .service-list {
        width: 100%;
        padding: 5rem 2rem;
      }
}

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

  