@media only screen and (min-width: 992px) and (max-width: 1199px) {

    .social-sidebar-area,
    .message-box>a {
        width: 80px;
    }

    .message-box>a {
        height: 80px;
    }

    .social-info-area {
        left: -5px;
    }

    .gallery_area {
        height: calc(100% - 380px);
        width: calc(100% - 180px);
        left: 120px;
        right: 60px;
        padding-right: 45px;
        overflow-y: scroll;
        overflow-x: hidden;
    }

    .social-sidebar-area {
        height: 30%;
    }

    .social-info-area {
        left: -5px;
        bottom: 85px;
    }

    .social-info-area>a>span {
        display: none;
    }

    .social-info-area a i {
        font-size: 14px;
        margin-right: 10px;
    }

}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .navbar {
        padding: 0;
    }

    .navbar-toggler {
        padding: 0;
        font-size: 15px;
        background-color: transparent;
        border: none;
        border-radius: 6px;
        width: 95px;
        height: 30px;
        color: #1d1d1d;
        line-height: 28px;
        margin-bottom: 38px;
        margin-top: 0px;
        border: 2px solid #1d1d1d;
        font-weight: 400;
    }

    #studioMenu {
        padding: 30px;
        background-color: #1d1d1d;
        z-index: 1002;
        box-shadow: 0 5px 40px rgba(107, 106, 106, 0.15);
    }

    .header-area .main-menu .nav-link {
        padding: 5px 15px;
    }

    .social-sidebar-area,
    .message-box>a {
        width: 80px;
    }

    .message-box>a {
        height: 80px;
    }

    .social-sidebar-area {
        bottom: 50px;
        height: 30%;
    }

    .social-info-area {
        left: -5px;
        bottom: 85px;
    }

    .social-info-area>a>span {
        display: none;
    }

    .social-info-area a i {
        font-size: 14px;
        margin-right: 10px;
    }

    .slide-text {
        margin-left: 120px;
        margin-top: -50px;
    }

    .carousel-indicators li {
        height: 50px;
    }

    .slide-text span {
        font-size: 60px;
    }

    .gallery_area {
        height: calc(100% - 380px);
        width: calc(100% - 130px);
        left: 100px;
        right: 30px;
        padding-right: 30px;
        overflow-y: scroll;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .portfolio-menu button {
        padding: 0 10px;
    }

    .counter-area h2 {
        font-size: 24px;
    }

    .counter-area h6 {
        font-size: 12px;
    }

    .elements-title h2 {
        font-size: 24px;
        margin-bottom: 50px;
    }

    .dropdown-menu.show {
        border: none;
        padding: 15px 0;
        box-shadow: 0 5px 40px rgba(107, 106, 106, 0.15);
        margin-top: 15px;
        background-color: #1d1d1d;
    }

    .dropdown-item {
        text-transform: uppercase;
        font-size: 13px;
        color: white;
    }
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
    p {
        font-size: 14px;
    }

    .shared-thumb {
        touch-action: double-tap-zoom;
    }

    .navbar {
        padding: 0;
    }

    .navbar-toggler {
        padding: 0;
        font-size: 15px;
        background-color: transparent;
        border: none;
        border-radius: 6px;
        width: 95px;
        height: 30px;
        color: #1d1d1d;
        line-height: 28px;
        margin-bottom: 38px;
        margin-top: 0px;
        border: 2px solid #1d1d1d;
        font-weight: 400;
    }

    #studioMenu {
        padding: 20px;
        background-color: #1d1d1d;
        z-index: 1002;
        box-shadow: 0 5px 40px rgba(107, 106, 106, 0.15);
    }

    .header-area .main-menu .nav-link {
        padding: 5px 15px;
    }

    .header-area {
        height: 70px;
        padding: 0 0;
    }

    .navbar-brand {
        margin-right: 0;
        max-width: 100px;
    }

    .social-sidebar-area,
    .message-box>a {
        width: 50px;
    }

    .social-sidebar-area {
        bottom: 40px;
    }

    .carousel-indicators li {
        height: 40px;
    }

    .social-info-area {
        left: -5px;
        bottom: 10px;
    }

    .social-info-area>a>span {
        display: none;
    }

    .gradient-background-overlay,
    .gradient-background-overlay:before {
        height: 90px;
    }

    .slide-text {
        padding: 15px 15px 10px;
        margin-left: 65px;
        margin-top: -40px;
    }

    .slide-text span {
        font-size: 24px;
    }

    .slide-text h2 {
        font-size: 16px;
    }

    .contact-popup-form .modal-content {
        padding: 15px;
    }

    .blog-content h2,
    .contact-heading-text h2 {
        font-size: 20px;
    }

    .contact-heading-text h2,
    .blog-content p {
        margin-bottom: 30px;
    }

    .modal-dialog {
        width: 240px;
        margin: 30px auto;
    }

    .about-content h2 {
        margin-bottom: 30px;
        font-size: 20px;
    }

    .footer-area {
        position: relative;
        height: auto;
        padding: 30px 0 15px;
        bottom: 0;
        left: 0;
    }

    .single-footer-content {
        margin-bottom: 15px;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .gallery_area {
        height: auto;
        width: calc(100% - 90px);
        overflow-y: scroll;
        overflow-x: hidden;
        position: relative;
        z-index: 1;
        top: 100px;
        left: 60px;
        right: 15px;
        padding-right: 15px;
        -webkit-overflow-scrolling: touch;
    }

    .portfolio-menu button {
        font-size: 13px;
        padding: 0 4px;
    }

    .gallery_menu {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    #scrollUp {
        display: none !important;
    }

    .page-item.active .page-link:after {
        width: 40px;
    }

    .page-item.active .page-link {
        padding-right: 40px;
    }

    .pagination-area .page-link {
        font-size: 14px;
    }

    .pagination-area.mb-100 {
        margin-bottom: 0;
    }

    .shared-area.mt-100,
    .contact-area.mt-100 {
        margin-top: 70px;
    }

    .contact-core-info {
        width: 200px;
        left: -40px;
        padding: 15px;
    }

    .single-cool-fact {
        margin-bottom: 30px;
    }

    .elements-title h2 {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .studio-buttons-area .btn {
        margin-bottom: 15px;
    }

    .message-box>a>img {
        max-width: 30px;
    }

    .dropdown-menu.show {
        border: none;
        padding: 15px 0;
        box-shadow: 0 5px 40px rgba(107, 106, 106, 0.15);
        margin-top: 15px;
        background-color: #1d1d1d;
    }

    .dropdown-item {
        text-transform: uppercase;
        font-size: 13px;
        color: white;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .modal-dialog {
        width: 320px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    #scrollUp {
        display: block !important;
    }

    .slide-text span {
        font-size: 36px;
    }

    .slide-text h2 {
        font-size: 20px;
    }

    .modal-dialog {
        width: 450px;
    }

    .contact-popup-form .modal-content {
        padding: 50px 15px;
    }

    .portfolio-menu button {
        font-size: 14px;
    }
}