.nav-element {
    color: black;
}

nav {
    background-color: white;
}

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

.service-list {
    background-image: url('../img/revolver-03.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    padding: 8rem 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;
  }


  @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: 1em;
    }

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

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

  @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: 730px) {
    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;
    }
}

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

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

   

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


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