@media (max-width: 1024px) {
    .h1,
    h1,
    .h2,
    h2 {
        font-size: 1.2rem;
    }
        .top-header .contact-group {
        padding: .75rem 0;
        text-align: center;
    }
    .top-header .contact-group-left {
        padding: .75rem 0;
        text-align: center;
    }

    #welcome img {
        margin-bottom: 1rem;
    }

    #welcome h2::before {
        top: 30px;
    }
    p {
        font-size: .75rem;
    }
    .carousel-caption {
        right: 15%;
        bottom: 15%;
        margin-bottom: -20px;
        text-align: left;
        padding: .5rem;
    }

    #contact .contact-right:first-child {
        margin-top: 1.5rem;
    }

    footer p {
        text-align: center;
    }
}

}


@media (max-width: 411px) {

    .h1,
    h1,
    .h2,
    h2 {
        font-size: 1.2rem;
    }

    .top-header .contact-group {
        padding: .75rem 0;
        text-align: center;
    }
    .top-header .contact-group-left {
        padding: .75rem 0;
        text-align: center;
    }

    #welcome img {
        margin-bottom: 1rem;
    }

    #welcome h2::before {
        top: 30px;
    }
    p {
        font-size: .75rem;
    }
    .carousel-caption {
        right: 15%;
        bottom: 15%;
        margin-bottom: -20px;
        text-align: left;
        padding: .5rem;
    }

    #contact .contact-right:first-child {
        margin-top: 1.5rem;
    }

    footer p {
        text-align: center;
    }
}

@media (max-width: 384px) {

    .h1,
    h1,
    .h2,
    h2 {
        font-size: 1.2rem;
    }

    .top-header .contact-group {
        padding: .75rem 0;
        text-align: center;
    }

    .top-header .contact-group-left {
        padding: .75rem 0;
        text-align: center;
    }

    #welcome img {
        margin-bottom: 1rem;
    }

    #welcome h2::before {
        top: 20px;
    }
    p {
        font-size: .75rem;
    }
    .carousel-caption {
        right: 15%;
        bottom: 15%;
        margin-bottom: -20px;
        text-align: left;
        padding: .5rem;
    }

    footer p {
        text-align: center;
    }
}

@media (max-width: 375px) {

    .h1,
    h1,
    .h2,
    h2 {
        font-size: 1rem;
    }

    #welcome img {
        margin-bottom: 1rem;
    }

    #welcome h2::before {
        top: 20px;
    }
    .top-header .contact-group {
        padding: .75rem 0;
        text-align: center;
        display: block;
        float: none;
    }
    .top-header .contact-group-left {
        padding: .75rem 0;
        text-align: center;
        display: block;
        float: none;
    }
    p {
        font-size: .75rem;
    }
    .carousel-caption {
        right: 15%;
        bottom: 15%;
        margin-bottom: -42px;
        text-align: left;
        padding: .5rem;
    }

    #contact .contact-right:first-child {
        margin-top: 1.5rem;
    }

    #contact .contact-group p {
        font-size: 1rem;
    }


    footer p {
        text-align: center;
    }
}

@media only screen (width: 320px) {
    .carousel-caption {
        right: 15%;
        bottom: 15%;
        margin-bottom: -36px;
        text-align: left;
        padding: .5rem;
    }
}