@media screen and (max-width: 1400px) {
    .title {
        margin-left: 1rem;
        width: 280px;
    }

    .navbar {
        top: 0;
    }

    .header-left a,
    .header-right a {
        font-size: 1.2rem;
    }


    .head_section {
        display: none;
    }

    .product_content-box {
        width: 350px;
    }

    .form__container {
        align-items: end;
    }

    .form__content {
        align-items: end;
        justify-content: end;
    }

    .form__group {
        width: 100%;
    }

    .contact-content {
        align-items: start;
    }

}

@media screen and (max-width: 1200px) {
    .home_content {
        padding: 6rem 0 3rem 0;
    }

    .home-left {
        width: 40%;
    }

    .home-right {
        width: 60%;
    }

    .home-right img {
        margin: 0;
    }

    .home h1 {
        font-size: 3rem;
    }

    .home h3 {
        font-size: 2rem;
    }

    .home p {
        font-size: 1.2rem;
    }

    .home-btn {
        font-size: 1rem;
    }



    .footer-left {
        margin-left: 1rem;
    }

    .footer-right {
        margin-right: 1rem;
    }

    .navbar .logo {

        margin: .5rem;
    }

    .title {
        width: auto;
        margin-left: 0.5rem;
    }

    .title h1 {
        font-size: 1.4rem;
    }

    .title span {
        font-size: 0.7rem;
    }

}

@media screen and (max-width: 1190px) {
    .product_content-box {
        width: 280px;
    }

    .header-left a,
    .header-right a {
        font-size: 1.1rem;
    }
}


@media screen and (max-width: 998px) {
    html {
        scroll-behavior: auto;
    }

    /* OPEN HAMBURGER MENU  */

    /* CLOSE BUTTON */
    .close-menu-btn {
        display: inline-flex;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .hamburgerMenuOpen {
        display: none;
    }

    .navbar {
        transition: 3s ease;
    }

    .container {
        position: fixed;
        right: 0;
        top: 0;
        width: 100%;
        background-color: var(--red);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        z-index: 1;
        transform: translate(100%);
        padding-top: 50px;
        max-height: 100vh;
        overflow-y: auto;
    }

    .menu-link {
        border-bottom: 1px solid var(--bg-75);
        width: 100%;
        text-align: center;
        border-radius: 0px !important;
        padding-top: 20px;
    }

    /*  sublist display */
    .header_products-sublist {
        display: block;
        position: static;
        background-color: transparent;
        padding: 1rem 0;
        width: 100%;
        height: auto;
        visibility: visible;
        opacity: 1;

    }

    .header_products-sublist ul {
        padding: 1rem 0;
    }

    .firstLinkWrapper {
        display: inline-block;
        width: 100%;
    }

    .first {
        width: 100%;
    }

    .header_products-sublist li {
        border-bottom: 1px solid var(--text-gold);
        width: 70%;
    }

    .header_products-sublist li a {
        color: var(--text-gold);
        font-size: 1.4rem;
        font-weight: 600;
    }

    .header-left a:hover,
    .header-right a:hover {
        transform: none;
    }

    .open {
        transform: none;
    }

    .logo {
        display: none;
    }

    .header-left {
        padding: 1rem 0 0 0;
    }

    .header-right {
        padding: 0 0 4rem 0;
    }


    .header-left,
    .header-right {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        width: 80%;
        font-family: var(--libre-font);
    }

    .header-left a,
    .header-right a {
        font-size: 1.4rem;
    }

    .header-button {
        display: flex;

    }

    /*  CLOSED HAMBURGER MENU - HEADER*/
    .navbar .header-button {
        display: flex;
        margin: 0 2rem;
        justify-content: space-between;
        align-items: center;
    }

    .navbar .logo2 {
        display: flex;
        margin: 1rem;
        justify-content: center;
        align-items: center;
    }

    .home_content {
        flex-direction: column-reverse;
        align-items: center;
        width: 100%;
        padding: 7rem 0 0 0;
    }

    .home-right,
    .home-left {
        width: 90%;
        justify-content: center;
    }

    .home-right img {
        margin: .5rem;
        width: 90%;
        max-width: 80%;
    }

    .navbar .logo2 .title {
        width: auto;
        color: var(--bg);
    }

    .navbar .logo2 img {
        width: 4rem;
    }

    .navbar .logo2 span {
        font-size: 1.2rem;
    }

    .navbar .logo2 .title h1 {
        font-family: var(--second-font);
        font-size: 1.8rem;
    }

    /* HAMBURGER MENU ICON */
    .header-button .open-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        width: 44px;
        cursor: pointer;
        position: relative;
        background-color: transparent;
        border: none;
        transition: .5s ease;

    }

    .header-button .open-menu-btn:hover {
        transform: scale(1.2);
    }


    .header-button .open-menu-btn .line {
        height: 2px;
        width: 30px;
        background-color: #fff;
        position: absolute;
    }


    .header-button .open-menu-btn .line-1 {
        transform: translateY(-8px);
    }

    .header-button .open-menu-btn .line-3 {
        transform: translateY(8px);
    }

    /* HOME */
    .home_content {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }

    .home-left,
    .home-right {
        width: 100%;
    }

    .home-right {
        justify-content: center;
    }

    .home-left {
        align-items: center;
        padding: 0 2rem;
    }

    .btn-group {
        justify-content: center;
    }

    /*  GALERY */
    .galery_container {
        padding: 5rem 1rem;
    }

    /*  PRODUCT */
    .product_content-box {
        width: 330px;
    }

    .group-cont {
        flex-wrap: wrap;
    }

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

    /*  FOOTER */
    .footer-group {
        flex-wrap: wrap;
        justify-content: center;
    }

    footer {
        height: auto;
    }
}

@media screen and (max-width: 780px) {
    .product_container {
        padding: 5rem 2rem;
    }

    .group-cont {
        flex-wrap: wrap;
    }

    .side h1 {
        width: 100%;
    }

    .product_content-box {
        width: 90%;

    }

    .footer-group {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .footer-left {
        flex-direction: column;
    }

    .footer-right {
        justify-content: center;
    }

    .industry_content {
        padding: 2rem;
        text-align: center;
    }

    .galery_content-box {
        width: 250px;
        height: 250px;
    }

    .first {
        width: inherit;
    }
}

@media screen and (max-width:698px) {
    .product_content-box {
        width: 100%;
    }

    .galery_content-box {
        width: 200px;
        height: 200px;
    }
}

@media screen and (max-width:610px) {
    .lightbox img {

        height: 300px;
        width: 300px;
    }

    .navbar .header-button {
        margin: 0;
    }

    .open-menu-btn {
        margin-right: .5rem;
    }

    .navbar .logo2 img {
        width: 3.5rem;
    }

    .navbar .logo2 .title h1 {
        font-size: 1.5rem;
    }

    .navbar .logo2 .title span {
        font-size: 1rem;
    }

    .contact-content {
        flex-direction: column-reverse;
    }

    .contact-left,
    .contact-right {
        width: 100%;
    }

    .wrapper {
        align-items: center;
    }

    .contact-right {
        flex-direction: column;
    }

    .group-title h1 {
        display: none;
    }

    #c-text {
        display: block;
        font-family: var(--libre-font);
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .group-title h2,
    .group-title span {
        margin-top: 0;
        text-align: center;
        width: 100%;
        display: block;
    }

    .contact-left {
        padding-top: 0;
    }

}

@media screen and (max-width: 400px) {
    .btn:hover {
        color: var(--bg);
        background-color: var(--red);
        border: 3px solid var(--red);
    }

    .heading {
        font-size: 3rem;
        padding-top: 6rem;
    }

    .heading::after {
        height: 60px;
    }

    .navbar {
        overflow-y: hidden;
        width: 100%;
    }

    .home-right {
        width: 100%;
        padding: 0;
    }

    .home-right img {
        max-width: 100%;
        width: 100%;
        margin: 0;
        border: 0px;
        border-radius: 0px;
    }

    .home_content {
        padding-top: 5rem;
    }

    .home-left {
        padding: 0 2rem;
        text-align: center;
        margin-top: 0;
    }

    .btn-group {
        justify-content: space-between;
    }

    .home-btn {
        width: 45%;
        padding: 1.5rem;
    }

    .about .content {
        padding: 1rem 2rem;
        text-align: justify;
    }

    .about .content h1 {
        margin: 1rem 0 0 0;
    }

    .side h1 {
        font-size: 1rem;
        width: 100%;
    }

    .side .btn {
        font-size: 1.2rem;
        padding: 1.5rem;
    }

    .industry .heading::after {
        width: 300px;
    }

    .galery_content-box {
        width: 130px;
        height: 130px;
    }

    .close-icon {
        font-size: 2.5rem;
        right: 1rem;
    }

    .product_container {
        padding: 5rem 1rem;
    }

    .product-btn {
        font-size: 1.2rem;
    }

    .industry_content {
        padding: 3rem;
    }

    .group-cont {
        flex-direction: column;
    }

    .form__status-box {
        height: 2rem;
        color: var(--red);
        text-align: center;

    }

    .input-primary {
        border-bottom: 2px solid var(--red);
        border-top: 2px solid var(--red);
        border-right: 0px;
        border-left: 0px;
        border-radius: 0px;
    }

    .contact-right {
        padding: 2rem 0;
    }

    .group {
        justify-content: start;
    }

    .galery_container {
        padding: 5rem 1rem;
    }

    .scroll-up {
        right: 10px;
    }

    .scroll-up.show {
        bottom: 10px;
    }
}