@media screen and (max-width: 950px) {
    .firstDiv {
        position: relative;
        text-align: center;
        left: 0;
        top: 0;
    }
    .imagebg {
        position: relative;
        width: 100%;
        height: auto;
        opacity: 0.5;
    }
    .resume {
        position: absolute;
        top: 2px;
        text-align: left;
        max-width: 65%;
        margin-left: 2%;
        font-size: 0.5em;
    }
    .resume img {
        width: 6%;
        height: 6%;
    }
    .imageOver {
        position: absolute;
        top: 2%;
        transform: translate(0, 0);
        width: 30%;
        /* margin: 0 10% 0 10%;
        display: block; */
        right: 2%;
        border: 2px solid white;
    }
    .secondDiv {padding-top:2%;}
    .secondDiv div {
        display: block;
        width: 90%;
        margin: 0 5% 0 5%;
    }
    .slogan,
    .description {
        text-align: left;
    }
    .services {
        /* background-color: #d1e8e2 !important; */
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 5%;
        padding-bottom: 5%;
    }
    .firstServicesDiv div {
        display: flex;
        flex-direction: column;
        width: 90%;
        margin: 5% 5% 0 5%;
        min-height: 50px;
        text-align: center;
        justify-content: center;
        /* border: 1px solid black; */
    }
    .firstServicesDiv img {
        width: 100%;
        height: auto;
        margin: 2% 0 5% 0;
    }
    .moreServices {
        text-align: center;
        justify-content: center;
        margin-bottom: 5%;
        margin-top: 3%;
    }
    .thirdDiv {
        /* background-color: #ffcb9a !important; */
        width: 100%;
        text-align: center;
    }
    .thirdDiv p {
        width: 90%;
        margin: 0 5% 5% 5%;
        padding: 5% 0 5% 0;
    }
    .thirdDivLink {
        margin-top: 5%;
        padding-bottom: 5%;
    }
    .moreServices a{
        padding-top: 1%;
    }
    /* .moreServices a span,
    .thirdDiv a span {
        padding: 3%;
    } */
    .moreServices a span,
    .thirdDivLink a span {
        font-weight: 400;
        font-size: 12px;
    }
    .resume .moreServices span {
        font-size: 1em;
    }
}

@media screen and (min-width: 951px) {
    main {
        margin-bottom: 5%;
        height: 100%;
        width: 100%;
    }
    .firstDiv {
        position: relative;
        text-align: center;
        left: 0;
        top: 0;
    }
    .imagebg {
        position: relative;
        width: 100%;
        height: auto;
        top: 0;
        left: 0;
        opacity: 0.5;
    }
    .resume {
        position: absolute;
        top: 4%;
        left: 0;
        font-size: 1.25em;
        text-align: left;
        max-width: 50%;
        margin-right: 10%;
        margin-left: 10%;
        line-height: 36px;
    }
    .resume img {
        margin-top: 1%;
        margin-bottom: 1%;
        width: 8%;
        height: 8%;
    }
    .secondDiv {
        display: flex;
        justify-content: center;
        width: 80%;
        margin: 0 10% 0 10%;
    }
    .imageOver {
        position: absolute;
        width: 30%;
        top: 2%;

        /* transform: translateY(-100%); */
        right: 10%;
        
        float: right;
        text-align: right;
        border: 20px solid white;
    }
    .secondDiv div {
        width: 54%;
        margin-left: 5%;
        margin-top: 2%;
        text-align: left;
    }
    .slogan {
        line-height: 1.6em;
    }
    .description {
        line-height: 1.5em;
    }
    .services {
        display: flex;
        /* justify-content: center; */
        /* align-content: space-around; */
        text-align: center;
        flex-direction: column;
        /* background-color: #d1e8e2 !important; */
        padding-top: 5%;
        padding-bottom: 5%;
    }
    .firstServicesDiv {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 80%;
        margin: 2.5% 10% 2.5% 10%;
    }
    .firstServicesDiv div {
        display: flex;
        flex-direction: column;
        align-content: center;
        /* justify-content: center; */
        text-align: center;
        width: 30%;
        margin: 1%;
        min-height: 100px;
        
    }
    .firstServicesDiv div img {
        margin-bottom: 5%;
        width: 100%;
        height: auto;
    }
    .moreServices {
        text-align: center;
        justify-content: center;
        margin-bottom: 2%;
    }
    .moreServices a {
        padding-top: 3%;
    }
    .thirdDiv {
        /* background-color: #ffcb9a !important; */
        width: 100%;
        text-align: center;
        padding: 5% 0 5% 0;
        justify-content: center;
        margin: 0 auto;
    }
    .thirdDiv p {
        width: 80%;
        margin: 0 10% 5% 10%;
    }
    .moreServices a span,
    .thirdDivLink a span {
        font-weight: 400;
        font-size: 18px;
    }
    /* .moreServices {
        padding-top: 2%;
    } */
    
}

.slogan,
.firstServicesDiv h5,
.thirdDiv p {
    font-weight: bold;
    font-size: 1.25em;
}

.moreServices a,
.thirdDivLink a {
    display: flex;
    width: 11em;
    /* justify-content: center; */
    text-decoration: none;
}

.moreServices a span:first-child,
.thirdDivLink a span:first-child {
    background-color: grey;
    color: white;
    display: flex;
    width: 9em;
    justify-content: center;
}

.moreServices a span:first-child:hover ,
.thirdDivLink a span:first-child:hover {
    background-color: grey;
    color: #78f140;
    
}

.moreServices a span:nth-child(2),
.thirdDivLink a span:nth-child(2) {
    background-color: black;
    color: white;
    display: flex;
    width: 2em;
    justify-content: center;
}
.moreServices a span:nth-child(2):hover,
.thirdDivLink a span:nth-child(2):hover {
    background-color: white;
    color: black;
}

.thirdDiv .thirdDivLink a span,
.services .moreServices a span {
    padding: 5% 0 5% 0;
}

.thirdDiv .thirdDivLink a,
.services .moreServices {
    margin: 0 auto;
    text-align: center;
}

.firstServicesDiv div h5 a {
    text-decoration: none;
}

.thirdDiv {
    background-color: #3c6e71;
    color: white;
}
.services {
    background-color: #d9d9d9;
}
.services div h5 a ,.services div h5 a:visited {
    color: #353535;
}
.services div h5 a:hover {
    color: #8a8989;
}