/* Mobile Devices */
@media (max-width: 391px) {

    * {
        font-size: 4vw;
    }

    .right-nav {
        width: 50%;
    }

    .right-nav a,
    .right-nav i {
        font-size: 3vw;
    }

    .right-nav {
        margin-right: 5px;
    }

    .logo {
        margin-left: 2rem;
    }

    .middle-nav {
        display: none;
    }

    .contact-container,
    .contactForm {
        width: 100%;
        flex-direction: column;
    }

    .contact-container .contactInfo {
        width: 100%;
    }

    .contact-field {
        padding: 50px 10px 0 15px;
    }

    .map {
        padding: 0px 15px;
    }

    .article .content .other-blogs {
        margin: 0;
        width: 90%;
        margin: auto;
        margin-top: 70px;
        margin-bottom: 70px;
    }

    .sliderContainer {
        top: 8rem;
    }

}

/* Tablet Devices */
@media (max-width: 768px) {


    .sliderContainer {
        top: 13em;
    }

    .playSlide {
        bottom: -8rem;
    }

    .first-content {
        margin-top: 0;
    }

    .content.reverse {
        flex-direction: column-reverse;
    }

    body {
        padding-top: 2rem;
    }

    .employmentPg .bigText {
        text-align: center;
    }

    .first-content.homePg {
        margin-top: 0;
    }

    .navLink-Logo {
        width: 25%;
    }

    .doings img {
        width: 100%;
    }

    .doings img:hover {
        width: 105%;
    }

    .doings {
        width: 30%;
    }

    .signUpBanner {
        display: none;
    }

    .slide .mobile {
        display: block;
    }

    .slide .desktop {
        display: none;
    }

    .servicePopupContents ul li:hover {
        color: #7abdd7;
        cursor: pointer;
        text-decoration: underline;
        font-size: 3.2vw;
    }

    .rightnav {
        width: 50%;
    }

    .middle-nav {
        display: none;
    }

    .contact-container,
    .contactForm {
        width: 90%;
        flex-direction: column;
    }

    .contact-container .contactInfo {
        width: 100%;
    }

    .contact-field {
        padding: 50px 25px 0 50px;
    }

    .map {
        padding: 60px;
    }

    .article .content .other-blogs {
        margin: 0;
        width: 90%;
        margin: auto;
        margin-top: 70px;
        margin-bottom: 70px;
    }

    .servicePopupContents {
        flex-direction: column;
        justify-content: center;
    }

    .servicePopupContents img {
        width: 40%;
        margin-right: 0;
    }

    .servicePopupContents img,
    .servicePopupContents ul:nth-child(1) {
        margin-bottom: 2rem;
    }

    .servicePopupContents ul li {
        text-align: center;
    }

    .slide img {
        width: 100%;
        height: auto;
    }

    .employmentPg .first-content .content .text-content {
        width: 100%;
    }

    .employmentPg .first-content .content .image {
        width: 100%;
    }


    .employmentPg fieldset {
        width: 80%;
    }

    .employmentPg .content {
        align-items: center;
        justify-content: center;
    }

    .footer_logo {
        width: 18vw;
    }

    .first-content.homePg {
        margin-top: 34rem;
    }
}

/* Desktop Devices */
@media (min-width: 769px) and (max-width: 2440px) {

    #menuIcon,
    .below-banner,
    #slidebar,
    #close {
        display: none;
    }

    #searchIcon {
        display: flex;
    }

    .logo {
        width: 100%;
    }

    @-webkit-keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes fade-out {
        from {
            opacity: 1;
        }

        to {
            opacity: 0;
        }
    }

    .did-fade-in {
        animation: fade-out 3s;
    }

    .banner {
        width: 100%;
        height: auto;
        align-items: center;
    }

    .text-banner {
        display: block;
        color: #87ceeb !important;
        margin-left: 40px;
    }

    .text-banner h1 {
        font-weight: 200;
    }

    .content {
        width: 90%;
        flex-direction: row;
    }

    .article .content {
        width: 90%;
    }

    .content .text-content {
        width: 50%;
    }

    .first-content .content .text-content {
        width: 80%;
    }

    .first-content .content .image {
        width: 20%;
    }

    .content .image {
        width: 50%;
        margin-top: 50px;
    }

    .content div {
        margin-left: 50px;
        margin-bottom: 2rem;
        width: 30%;
    }

    .privacyPg .content div {
        width: 100%;
    }

    .content div div {
        margin-left: 0;
        margin-bottom: 30px;
        width: 80%;
    }

    .article .content .image {
        width: 30%;
        margin-left: 80px;
    }

    #searchArea button {
        background-color: #87ceeb;
    }

    #searchArea button:hover {
        color: #9b0066;
        background-color: #7abdd7;
    }

    #footer_flex {
        flex-direction: row;
    }

    #footer_flex div {
        width: 31%;
        margin-top: 0;
        justify-content: center;
    }

}