/*Navbar*/
header {
    background-color: #324F40;
    padding: 0;
    font-family: 'League Gothic';
    z-index: 3;
    font-size: 30px;
}

.navbar-brand {
    width: 17%;
    padding-left: 3%;
}

.navbar-brand>img {
    width: 30%;
    height: auto;
    background: white;
    border-radius: 1px;
}

.nav-link.active {
    background-color: white !important;
    color: #324F40 !important;

}

.nav-link {
    color: white !important;
}

.custom-toggler.navbar-toggler {
    border-color: #47715b;
}

/* Setting the stroke to blue water drop using rgb values*/
.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(89, 203, 232, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.logo {
    width: 150%;
    padding: 0;
    cursor: pointer;
}

#hickesbackground{
  /* Set a specific height */
  height: 100%;

  /* filter: blur(4px);
  -webkit-filter: blur(4px); */

  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  width: 100%;
  opacity: .7;
}

/*Certifications*/
.cert-box {
    width: 375px;
    height: 325px;
    margin-left: 25%;
}

.cert-box2 {
    margin-left: 5%;
    width: 375px;
    height: 325px;
}


/*Footer*/
footer {
    background-color: #324F40;
    color: white;
    padding: 15px;
    text-align: center;
}

.contact-info {
    font-size: 13px;
}

.contact-info a {
    color: white;
    text-decoration: none;
}

.business-hours{
    text-align: left;
}

/*body*/

@media (max-width: 768px) {
    .contact-info {
        font-size: 12px;
    }
}

body {
    background-color: #93B1A7;
    margin: 0;
}

.position-relative {
    z-index: -1;
    transform: translateY(-20%);
}

img {
    max-width: 100%;
    max-height: auto;
    background-size: cover;
    z-index: -1;
}

.position-absolute {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    text-align: center;
    /* display: flex; */
}

.container {
    padding: 2em 0 2em 0;
    margin: 0;
}

.h-img {
    border-radius: 0px 30px 0px 30px;
}

.body-text {
    font-size: 1.5em;
    text-align: center;
    margin-left: 25%;
    margin-top: 5%;
}

.women-owned {
    font-size: 1.5em;
    text-align: center;
    margin-top: 5%;
}

span {
    font-style: italic;
    color: purple;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
}

.read-more {
    border-radius: 15px;
    color: white;
    border: none;
    background: #324f40;
    padding: 0.5em;
    transition: 0.25s ease-in-out;
}

.read-more:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.projects {
    margin-left: 10%;
}

.bg-orange {
    width: 100%;
    height: auto;
    background: orange;
}

.ps-card {
    padding-top: 2em;
    justify-content: center;
    text-align: center;
    width: 250px;
    height: 250px;
}
.ps-card>a{
    color:gold;
}

.ps-card>a:visited {
    color:gold;
}
.ps-card>a>img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    max-height: 155px;
    max-width: 200px;

    @media screen and (max-width: 600px) {
        padding: 0px 0px 3em 0;
    }
}

.ps-card2 {
    padding-top: 2em;
    justify-content: center;
    text-align: center;
    /* width: 250px; */
    height: 250px;
}

.ps-card2>a>img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    max-height: 300px;
    max-width: 400px;

    @media screen and (max-width: 600px) {
        padding: 0px 0px 3em 0;
    }
}

figcaption {
    text-align: center;
    margin-bottom: 5px;
    color: #324F40;
    font-weight: bold;
}
#services {
    padding-left: 25%;
}
.b-img {
    margin-bottom: 0;
    height: 300px;
    width: 300px;
}

h2{
    text-align: center;
}

#prodtitle{
    padding-left: 23% !important;
}

#safetytitle {
    padding-left: 23% !important;
}

#certtitle{
    padding-left: 23% !important;
}

.projectsbtn{
    border-radius: 15px;
    color: white;
    border: none;
    background: #324f40;
    padding: 0.5em;
    transition: 0.25s ease-in-out;
    font-size: 1.5em;
    text-align: center;
    margin-left: 39%;
    margin-top: 5%;
}
.prod {
    margin-left: 10%;
}

.projectsbtn:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

h5{
    padding-left: 46%;
}

@media only screen and (max-width: 520px) {
    #title {
        text-align: center;
        color: white;
        font-size: 50px;
        position:static;
        width: 100%;
        margin-left: 50%;
        margin-top: 0;
        margin-bottom: -10%;
        background-color: rgb(0,0,0); /* Fallback color */
        background-color: rgba(0,0,0, 0.4); /* Black w/opacity/see-through */
    }

    h2 {
        padding: 0;
        margin: 0;
    }

    .cert-box {
        width: 375px;
        height: 325px;
        margin-left: 25%;
        margin-right: 25%;
    }
    
    .cert-box2 {
        margin-left: 25%;
        margin-right: 25%;
        margin-top: 5%;
        width: 375px;
        height: 325px;
    }

    h5{
        padding-left: 10%;
    }

    .body-text {
        font-size: 25px;
        margin: 0;
        padding: 0;
    }
    
    .projectsbtn {
        font-size: 25px;
        margin: 0;
        margin-top: 40px;
        width: 100%;
    }

    .prod {
        margin: 0;
        padding: 0;
    }

    #sewage {
        margin: auto;
        padding: auto;
    }

    #school {
        margin: auto;
        padding: auto;
    }

    #commercial{
        margin: auto;
        padding: auto;
    }
}