.super-all-content-wrapper .projects-for-homepage {
    padding-top: 0;
}

.projects {
    padding-top: 150px;
}
.header-container {
    width: 480px;
    flex-shrink: 0;
}
.project-categories-wrapper {
    padding-left: 60px;
}
.img-bottom-right-wrapper {
    width: 720px;
    flex-shrink: 0;
    /*height: 540px;*/
}
.project-header-content {
    padding-bottom: 25px;
}

:root {
    --project-img-width: 0;
    --project-img-height: 0;
    --project-from-auto: auto;
    --project-from-zero: -1px;
}
.img-bottom-right {
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
.img-wrapper-sm {
    display: none;
}
.img-container-sm {
    height: 500px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
.img-bottom-right::after {
    content: '';
    position: absolute;
    top: var(--project-from-zero);
    left: -1px;
    bottom: var(--project-from-auto);
    width: calc(100% + 3px);
    height: var(--project-img-height);
    background-color: white;
    transition: .7s ease;
}

.img-bottom-right-container {
    height: 100%;
    /*width: 350px;*/
}
.main-project-wrapper .row:first-child {
    /*height: 350px;*/
    /*padding-bottom: 60px;*/
}
.project-menu-container {
    padding-right: 60px;
}
.project-header-wrapper {
    padding-bottom: 75px;
}
.project-header-wrapper button {
    /*height: 0;*/
    font-size: var(--buttonFontSize);
    color: var(--blue);
    opacity: 1;
    transition: all .7s ease;
    display: flex;
}
.project-pagination-wrapper {
    display: flex;
    align-items: flex-end;
    margin-bottom: 18px;
    margin-top: 18px;
    opacity: 1;
    transition: all .7s ease;
}
.project-menu-wrapper {
    padding-bottom: 100px;
    width: 100%;
}
.active-page {
    color: var(--blue);
}
.sub-header-container {
    padding-bottom: 5px;
    align-items: center;
}
.sub-header-container div:first-child {
    padding-right: 30px;
}
.main-project-wrapper {
    width: 100%;
}

.prev-container {
    display: flex;
    align-items: center;
}
.prev-container button {
    display: flex;
    align-items: center;
}
.prev-container button img {
    transform: rotate(180deg);
}
.next-container {
    display: flex;
    align-items: center;
}
.next-container button {
    display: flex;
    align-items: center;
}

.project-pagination-container>div:first-child {
    padding-right: 15px;
}
.project-pagination-container>div:last-child {
    padding-left: 15px;
}
.pages-num-container div {
    padding-right: 5px;
    padding-left: 5px;
}
.project-pagination-container div {
    cursor: pointer;
}
.sub-header-line {
    width: 60px;
    height: 1px;
    background-color: var(--dark);
    transition: all .7s ease;
}
.sub-header-category {
    opacity: 1;
    transition: all .7s ease;
}
.project-h2 {
    opacity: 1;
    transition: all .7s ease;
}
.project-list {
    opacity: 1;
    transition: all .7s ease;
}

.project-item-container .active-green-sub-menu-link {
    color: var(--dark);
    z-index: 1;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
    opacity: 0.5;
}
.project-item-container .active-green-sub-menu-link::before {
    content: "";
    position: absolute;
    background-color: var(--dark);
    height: 1px;
    width: 30px;
    top: 9px;
    left: 0px;
    transition: all .7s ease;
    opacity: 0.5;
}

.project-item-container .active-green-sub-menu-link:hover::before {
    width: 30px;
}
.project-item-container .active-green-sub-menu-link p {
    position: relative;
    transition: all .7s ease;
    margin-left: 40px;
    cursor: unset;
    display: inline-block;
    user-select: none;
}
.project-item-container .active-green-sub-menu-link p:hover {
    margin-left: 40px;
}
.project-item-container .active-green-sub-menu-link p::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 20px;
    top: 0;
    left: -40px;
}
.project-item-container .active-green-sub-menu-link p:hover::before {
    left: -40px;
}

.single-category {
    position: relative;
    bottom: 0;
    transition: all .7s ease;
}
.single-category .active-green-menu-link {
    color: var(--green);
    font-size: 0.875rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    opacity: 0.5;
}
.single-category .active-green-menu-link::before {
    content: "";
    position: absolute;
    background-color: var(--green);
    height: 1px;
    width: 20px;
    top: 8px;
    left: 0;
    transition: all .7s ease;
    opacity: 0.5;
}
.single-category .active-green-menu-link:hover::before {
    width: 20px;
}
.single-category .active-green-menu-link p{
    position: relative;
    transition: all .7s ease;
    margin-left: 30px;
    cursor: unset;
    display: inline-block;
    user-select: none;
}
.single-category .active-green-menu-link p:hover{
    margin-left: 30px;
}
.single-category .active-green-menu-link p::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -30px;
}
.single-category .active-green-menu-link p:hover::before {
    left: -30px;
}

@media only screen and (max-width: 1740px) {
    .img-bottom-right-wrapper {
        width: 600px;
    }
}
@media only screen and (max-width: 1640px) {
    .header-container {
        width: 360px;
    }
}
@media only screen and (max-width: 1440px) {
    .img-bottom-right-wrapper {
        display: none;
    }
    .img-wrapper-sm {
        display: block;
    }
    .project-header-content .paragraph {
        display: none;
    }
    .project-menu-container {
        padding-right: 0;
    }
    .main-project-wrapper .row {
        width: calc(100% - 300px);
    }
}
@media only screen and (max-width: 1280px) {
    .main-project-wrapper .row {
        width: calc(100% - 60px);
    }
}
@media only screen and (max-width: 900px) {
    .main-project-wrapper .row {
        width: calc(100% - 120px);
    }
    .projects {
        display: block;
    }
    .main-project-wrapper .row {
        padding-left: 60px;
    }
    .header-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .project-categories-wrapper {
        padding-left: 60px;
        padding-right: 60px;
        padding-bottom: 60px;
        justify-content: flex-end;
        width: 100%;
        display: flex;
        align-items: flex-start;
    }
    .project-categories {
        text-align: right;
        height: 30px;
        overflow: hidden;
        transition: all .7s ease;
    }
    .expand-categories {
        display: flex;
        padding-left: 30px;
    }
    .expand-categories button {
        position: relative;
    }
    .expand-categories button::before {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        width: calc(100% + 20px);
        height: calc(100% + 20px);
    }
    .expand-categories button img {
        transform: rotate(90deg);
        transition: all .7s ease;
    }


}
@media only screen and (max-width: 768px) {
    .img-container-sm {
        height: 400px;
    }
    .main-project-wrapper .row {
        padding-left: 15px;
        width: calc(100% - 30px);
    }
    .project-categories-wrapper {
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 30px;
    }
    .section-name-container {
        margin-left: 15px;
        padding-bottom: 30px;
    }
}
@media only screen and (max-width: 575px) {
    .projects .header-container {
        display: block;
    }
    .project-categories-wrapper {
        width: auto;
    }
    .project-categories {
        text-align: left;
    }
    .project-menu-wrapper {
        padding-bottom: 50px;
    }
    .project-header-wrapper {
        display: block;
    }
    .img-container-sm {
        height: 250px;
    }
    .project-header-wrapper {
        padding-bottom: 0;
    }
    .project-header-container .project-h2 {
        padding-bottom: 30px;
    }
    .project-header-wrapper button {
        margin-bottom: 35px;
    }
    .project-list-wrapper {
        display: block;
    }
    .project-pagination-wrapper {
        margin-top: 15px;
    }
    .projects-for-homepage {
        padding-top: 100px;
    }
    .project-categories-wrapper {
        padding-bottom: 15px;
        justify-content: space-between;
    }
    .section-name-container {
        padding-bottom: 15px;
    }
    .main-project-wrapper .row:first-child {
        padding-bottom: 15px;
    }
    .project-header-container .project-h2 {
        padding-bottom: 15px;
    }
    .projects .section-name-container p {
        padding-right: 60px;
    }
}