.work-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #000000;
}

.work-wrapper {
    width: 100%;
    max-width: 1440px;
}

.work-content {
    width: 100%;
    height: auto;
    font-family: 'Poppins', sans-serif;
    position: absolute;
    top: 140px;
    z-index: 5;
    overflow: hidden;
}

.work-content p {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 100%;
}

.work-content h1 {
    font-size: 13.5rem;
    font-weight: 400;
    margin-bottom: 4rem;
    line-height: 100%;
}

.work-content-menu {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    height: auto;
    column-gap: 5rem;
}

.work-content-menu-title {
    font-size: 4.8rem;
    font-weight: 400;
    display: inline-block;
    flex: 0 0 auto;
    margin-top: -1rem;
    /* Do not grow or shrink */
}

.work-content-menu-items {
    display: flex;
    column-gap: 10rem;
    row-gap: 2rem;
    flex-wrap: wrap;
}

.work-content-menu-item {
    font-size: 3.2rem;
    font-weight: 400;
    color: #363636;
    cursor: pointer;
    transition: color .3s ease-in-out forwards;
}

.work-content-menu-item.active {
    color: white;
}

.work-content-menu-item:hover {
    color: white;
}

.projects-cards {
    padding-bottom: 15rem;
    margin-top: -20vh;
    /* margin-top: -50%; */
}

@media (max-width: 1200px) {
    .work-content {
        width: 100%;
        height: auto;
        font-family: 'Poppins', sans-serif;
        position: absolute;
        top: 132px;
        z-index: 5;
    }

    .work-content p {
        font-size: 1.8rem;
    }

    .work-content h1 {
        font-size: 8rem;
    }

    .work-content-menu {
        flex-direction: column;
        row-gap: 1rem;
    }

    .work-content-menu-title {
        font-size: 3.5rem;
    }

    .work-content-menu-item {
        font-size: 2.75rem;
    }

    .projects-cards {
        margin-top: -40vh;
    }
}

@media (max-width: 768px) {
    .projects-cards {
        margin-top: -25vh;
    }
}

@media (max-width:500px) {

    .work-content p {
        font-size: 1.5rem;
    }
	
    .work-content h1 {
        font-size: 6.5rem;
    }

    .work-content-menu-items {
        justify-content: space-between;
        row-gap: 2rem;
        flex-direction: row !important;
        flex-wrap: wrap;
        max-height: 170px;
        overflow-y: auto;
        column-gap: 0rem;
    }

    .work-content-menu {
        flex-direction: column;
        row-gap: 1rem;
    }

    .work-content-menu-title {
        font-size: 2.75rem;
    }

    .work-content-menu-item {
        font-size: 2.25rem;
        width: 50%;
    }

    .projects-cards {
        margin-top: -25vh;
    }
}