.work-bg {
    background-image: url(../images/image-1-1@1x.png);
    background-position: 50% 50%;
    background-size: cover;
    /* height: 1080px; */
    height: 100vh;
    position: relative;
    -webkit-transition: all .7s ease-in-out;
    -moz-transition: all .7s ease-in-out;
    -ms-transition: all .7s ease-in-out;
    -o-transition: all .7s ease-in-out;
    transition: all .7s ease-in-out;
}

.active-menu {
    color: #e8c195 !important;
}

.work-bg h2 {
    --z-index: 11;
    background-color: transparent;
    color: #cccccc;
    font-family: 'GlacialIndifference-Regular', Helvetica;
    font-size: 133px;
    font-style: normal;
    font-weight: 400;
    left: 25%;
    letter-spacing: 0.00px;
    line-height: 141px;
    position: absolute;
    text-align: left;
    top: 16%;
    white-space: nowrap;
    z-index: 11;
}

.work-main {
    position: absolute;
}

.worksection-header {
    width: 100%;
    position: relative;
    z-index: 9;
}

.worksection-inner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 12rem;
    padding: 0 5rem;
    position: fixed;
    width: 100%;
    z-index: 1;
}

.worksection-header .logo img {
    width: 14.5rem;
}

.worksection-menu ul {
    display: flex;
}

.worksection-menu ul li {
    --z-index: 0;
    background-color: transparent;
    color: #ffffff;
    font-family: 'GlacialIndifference-Regular', Helvetica;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    height: calc(100.00% + 2px);
    left: 0px;
    letter-spacing: 1.30px;
    line-height: 20px;
    text-align: center;
    top: 2px;
    white-space: nowrap;
    margin-left: 40px;
}

.worksection-menu ul li a {
    text-decoration: none;
    color: #fff;
}

.worksection-menu ul li a:hover {
    color: #e8c195;
}

.reactangle-bg {
    --z-index: 1;
    -webkit-backdrop-filter: blur(38px) brightness(92%);
    backdrop-filter: blur(38px) brightness(92%);
    background-color: transparent;
    height: 100vh;
    left: 40%;
    opacity: 1;
    position: fixed;
    top: 0px;
    width: 100%;
}

.worksection-list {
    position: fixed;
    top: 35%;
    left: 70rem;
}

.worksection-list .list-content {
    --z-index: 4;
    background-color: #000000;
    height: 175px;
    width: 452px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
}

.worksection-list .list-content img {
    width: 59px;
    height: 59px;
    margin-right: 30px;
    filter: brightness(6);
}

.worksection-list .list-content:hover img {
    filter: brightness(1);

}

.worksection-list .list-content .list-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.worksection-list .list-content:hover .list-center h4 {
    color: #ec6035;
}

.worksection-list .list-content h4 {
    --z-index: 1;
    background-color: transparent;
    color: #ffffff;
    font-family: 'MyriadPro-Semibold', Helvetica;
    font-size: 25px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.00px;
    text-align: left;
    white-space: nowrap;
    margin-left: 30px;
}

.commercial {
    background-color: #20232a !important;
}

.residential-sidemenu,
.commercial-sidemenu {
    height: 100%;
    width: 1150px;
    position: fixed;
    top: 0;
    z-index: 999;
    right: 0;
    overflow: scroll;
    display: none;
}

.residential-color,
.commercial-color {
    background-color: #f3f3f3;
    width: 60%;
    display: block !important;
}

.move-to-lefts {
    position: fixed;
    width: 100%;
    -webkit-transform: translateX(-400px);
    -moz-transform: translateX(-400px);
    -ms-transform: translateX(-400px);
    -o-transform: translateX(-400px);
    transform: translateX(-400px);
    -webkit-transition: all .7s ease-in-out;
    -moz-transition: all .7s ease-in-out;
    -ms-transition: all .7s ease-in-out;
    -o-transition: all .7s ease-in-out;
    transition: all .7s ease-in-out;
}


.sidebar-content.actived,
.commercial-content.actived {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px);
}

.sidebar-content,
.commercial-content {
    margin: 25px 0;
    opacity: 0;
    -webkit-transform: translateY(-20px);
    -moz-transform: translateY(-20px);
    -ms-transform: translateY(-20px);
    -o-transform: translateY(-20px);
    transform: translateY(-20px);
    -webkit-transition: all .7s ease-in-out;
    -moz-transition: all .7s ease-in-out;
    -ms-transition: all .7s ease-in-out;
    -o-transition: all .7s ease-in-out;
    transition: all .7s ease-in-out;
}

.residential-close,
.commercial-close {
    color: #000000;
    font-family: 'GlacialIndifference-Regular', Helvetica;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 1.95px;
    line-height: 30px;
    position: fixed;
    text-align: center;
    white-space: nowrap;
    right: 35px;
    cursor: pointer;
}

.grid-container {
    display: grid;
    grid-template-columns: auto auto;
    padding: 10px;
    padding: 0 8rem;
    margin: 2rem 0;
}

.grid-item {
    padding: 5px;
}

.gallery-content {
    position: relative;
    width: 100%;
    max-width: 470px;
    margin: auto;
    overflow: hidden;
    margin-bottom: 5px;
    cursor: pointer;

}

.gallery-content .content-overlay {
    position: absolute;
    height: 99%;
    width: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.blue-overlay {
    background-color: #33b1c2ab;
}

.wine-overlay {
    background-color: #701b48ab;
}

.red-overlay {
    background-color: #b72d2dab;
}

.navy-overlay {
    background-color: #0d196aab;
}

.gallery-content:hover .content-overlay {
    opacity: 1;
}

.content-image {
    width: 100%;
}

.content-details {
    position: absolute;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.gallery-content:hover .content-details {
    top: 50%;
    left: 50%;
    opacity: 1;
}

.content-details h3 {
    color: #fff;
    margin-bottom: 0.5em;
    text-transform: uppercase;
    --z-index: 1;
    font-family: 'Bebas Neue', Helvetica;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 4.00px;
    text-align: center;
}

.fadeIn-bottom {
    top: 80%;
}

.fadeIn-top {
    top: 20%;
}

.fadeIn-left {
    left: 20%;
}

.fadeIn-right {
    left: 80%;
}

.black-bg {
    background-color: #000000;
    height: 182px;
    width: 100%;
    color: #ffffff;
    font-family: 'Bebas Neue', Helvetica;
    font-size: 35px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 7.00px;
    line-height: 60px;
    text-align: center;
    /* white-space: nowrap; */
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 4rem 0;
}

.residential-details {
    margin: 4rem 0;

}

.residential-details h3 {
    color: #851818;
    font-family: 'Bebas Neue', Helvetica;
    font-size: 35px;
    font-style: normal;
    font-weight: 700;
    height: 45px;
    letter-spacing: 5.25px;
    line-height: 60px;
    text-align: center;
    white-space: nowrap;
    margin-bottom: 30px;
}

.residential-details p {
    color: #000000;
    font-family: 'MyriadPro-Condensed', Helvetica;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    height: 38px;
    letter-spacing: 3.00px;
    line-height: 30px;
    text-align: center;
    white-space: nowrap;
    margin-bottom: 30px;
}


.modal {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: none;
    backdrop-filter: blur(38px) brightness(92%);
    background-color: #0000003b;
    z-index: 9999;
    height: 100vh;
    overflow-y: auto;
}

.modal-window {
    position: relative;
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

.modal-window.small {
    width: 75%;
}

.modal-window.large {
    width: 75%;
}

.ml-3 {
    margin-left: 3rem;
}


.open {
    display: block;
}

.gallery-grid {
    display: flex;
    align-items: center;
}

.gallery-grid .img-size {
    height: 800px;
    margin-top: 0.5px;
    /* min-width: 900px; */
    padding: 120.5px 0;
}

.gallery-details {
    margin-bottom: 30px;
}

.gallery-details h3 {
    color: #851818;
    font-family: var(--font-family-bebas_neue);
    font-size: var(--font-size-xl);
    font-weight: 700;
    letter-spacing: 5.25px;
    line-height: 60px;
    margin-bottom: -15px;
}

.gallery-details p {
    color: var(--black);
    font-family: var(--font-family-myriadpro-condensed);
    font-size: var(--font-size-l);
    font-weight: 400;
    letter-spacing: 3.00px;
    line-height: 30px;
    margin-top: 24px;
}

.gallery-grid button {
    background-color: transparent;
    border: 0;
    width: 50px;
    cursor: pointer;
}

.gallery-grid button img {
    width: 20px;
    margin-right: 2rem;
}

.move-to-lefts h2 {
    cursor: pointer;
}

.nav-right {
    display: none;
}

.social-media {
    text-align: center;
}

.social-media a {
    text-decoration: none;
}

.otherproject {
    position: absolute;
    width: 50%;
    bottom: 2rem;
    left: 26%;
    z-index: 99;
    cursor: pointer;
    display: none;
}

.shownproject {
    display: block !important;
}

.otherproject a {
    color: #fff;
    font-family: 'MyriadPro-Cond', Helvetica;
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 2px;
    text-decoration: none;
}

.otherproject img {
    width: 10px;
    transform: rotate(90deg);
    margin-left: 10px;
    filter: brightness(15);
}

.otherproject:hover a {
    color: #851818;
}

.otherproject:hover img {
    filter: brightness(1);
}

/* Responsive view */

@media (min-width: 320px) and (max-width: 992px) {

    main {
        z-index: auto !important;
        width: 100%;
    }

    .worksection-inner-header {
        height: 9rem;
        padding: 0 2rem;
    }

    .worksection-header .logo img {
        width: 7rem;
    }

    .worksection-menu {
        display: none;
    }

    .work-bg h2 {
        font-size: 90px;
        left: 5%;
        top: 18%;
        z-index: 1;
    }

    .work-bg {
        background-position: inherit;
        background-repeat: no-repeat;
    }


    .worksection-list .list-content {
        height: 125px;
        width: 270px;
        top: 5rem;
        position: relative;
    }

    .worksection-list .list-content img {
        width: 40px;
        height: 40px;
        margin-right: 0;
    }

    .worksection-list .list-content h4 {
        font-size: 20px;
    }

    .reactangle-bg {
        z-index: 1;
        height: 100vh;
    }

    .residential-color,
    .commercial-color {
        width: 100%;
    }

    .residential-details h3 {
        font-size: 20px;
        height: auto;
        margin-bottom: 0;
    }

    .residential-details p {
        font-size: 18px;
        height: auto;
        margin-bottom: 0;
    }

    .residential-details {
        margin: 2rem 0;
    }

    .black-bg {
        height: 130px;
        line-height: 40px;
        font-size: 25px;
        white-space: inherit;
    }

    .grid-container {
        grid-template-columns: auto;
        padding: 2rem 1rem;
    }

    .gallery-grid {
        display: block;
    }

    .gallery-grid .img-size {
        height: 100%;
        width: 100%;
        min-width: 100%;
        padding: 50px 0;
    }

    .gallery-grid .ml-3 {
        margin-left: 0 !important;
    }

    .gallery-details h3 {
        font-size: 20px;
        margin-bottom: 0;
        white-space: inherit;
        line-height: inherit;
    }

    .gallery-details p {
        font-size: 18px;
        margin-top: 10px;
        white-space: inherit;
    }

    .sidebar {
        height: 100%;
        width: 400px;
        position: fixed;
        top: 0;
        z-index: 999;
        right: 0;
        display: none;
    }

    .sidebar-color {
        background-color: #fff;
        opacity: 1 !important;
        /* z-index: 999 !important; */
        display: block !important;
    }

    .button.active .bar {
        right: 0 !important;
    }

    .bar {
        display: block;
        height: 3px;
        width: 35px;
        background-color: #fff;
        margin: 8px auto;
    }

    .button {
        cursor: pointer;
        display: inline-block;
        width: auto;
        margin: 0 auto;
        -webkit-transition: all .7s ease;
        -moz-transition: all .7s ease;
        -ms-transition: all .7s ease;
        -o-transition: all .7s ease;
        transition: all .7s ease;
    }

    .nav-right {
        position: fixed;
        right: 80px;
        top: 42px !important;
        display: block !important;
    }

    .nav-right.visible-xs {
        z-index: 3;
    }

    .hidden-xs {
        display: none;
    }

    .middle {
        margin: 0 auto;
    }

    /* .bar {
        -webkit-transition: all .7s ease;
        -moz-transition: all .7s ease;
        -ms-transition: all .7s ease;
        -o-transition: all .7s ease;
        transition: all .7s ease;
    } */

    .nav-right.visible-xs .active .bar {
        background-color: #000;
        /* -webkit-transition: all .7s ease;
        -moz-transition: all .7s ease;
        -ms-transition: all .7s ease;
        -o-transition: all .7s ease;
        transition: all .7s ease; */
    }

    .button.active .bar {
        height: 3px;
        width: 35px;
        background-color: var(--black);
        margin: 12px auto;
        position: relative;
        right: -26rem;
    }

    .button.active .top {
        -webkit-transform: translateY(15px) rotateZ(45deg);
        -moz-transform: translateY(15px) rotateZ(45deg);
        -ms-transform: translateY(15px) rotateZ(45deg);
        -o-transform: translateY(15px) rotateZ(45deg);
        transform: translateY(15px) rotateZ(45deg);

    }

    .button.active .bottom {
        -webkit-transform: translateY(-15px) rotateZ(-45deg);
        -moz-transform: translateY(-15px) rotateZ(-45deg);
        -ms-transform: translateY(-15px) rotateZ(-45deg);
        -o-transform: translateY(-15px) rotateZ(-45deg);
        transform: translateY(-15px) rotateZ(-45deg);
    }

    .button.active .middle {
        width: 0;
    }
}

@media (min-width: 320px) and (max-width: 500px) {
    .worksection-list {
        padding-top: 12rem;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        height: 100vh;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 500px) and (max-width: 992px) {
    .grid-container {
        grid-template-columns: auto auto !important;
    }

    .worksection-list {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        height: 100vh;
        left: 50%;
        z-index: 1;
        top: 0;
    }
}

@media (min-width: 992px) and (max-width: 1900px) {
    .reactangle-bg {
        z-index: 1;
        height: 100vh;
        left: 43%;
    }

    main {
        width: 100%;
    }

    .worksection-list {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        height: 100vh;
        left: 50%;
        z-index: 1;
        top: 7rem;
    }

    .move-to-lefts {
        -webkit-transform: translateX(-20%);
        -moz-transform: translateX(-20%);
        -ms-transform: translateX(-20%);
        -o-transform: translateX(-20%);
        transform: translateX(-20%);
    }

    .black-bg {
        white-space: inherit;
    }

    .grid-container {
        padding: 0 4rem;
    }

    /* .gallery-grid {
        display: block;
    } */

    .work-bg {
        height: 100vh;
    }

    .work-bg h2 {
        font-size: 94px;
        top: 19%;
        left: 28%;
    }

    .worksection-list .list-content {
        width: 378px;
        height: 140px;
    }

    .worksection-header .logo img {
        width: 10.5rem;
    }

    .worksection-menu ul li {
        font-size: 16px;
        margin-left: 31px;
    }

    .worksection-inner-header {
        height: 10rem;
    }
}

@media (min-width: 992px) {
    .hidden-xs {
        display: none !important;
    }
}