body {
    background-color: var(--global-color-dark) !important;
}

main {
    position: relative;
    z-index: 10
}

header {
    background: transparent;
    height: 70%;
    width: 100%;
    position: relative;
    z-index: 40;
}

header .content-container {
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 90%;
    color: var(--text-color-light);
}

header .content-container .content-text {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: left;
}

header .content-container h1 {
    font-size: 6rem;
    font-family: var(--font-primary);
    font-weight: 300;
    line-height: 6.5rem;
    flex: 7;
}

header .content-container h2 {
    font-size: 1.2rem;
    font-family: var(--font-quaternary);
    font-weight: 200;
    margin-top: 1rem;
    line-height: 2rem;
    text-align: right;
    opacity: 0.6;
    flex: 3;
}

.works-list {
    position: relative;
    background: transparent;
    padding: 10% 5% 10% 5%;
    z-index: 50;
}

.works-list .work-list-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.works-list .work-list-container .work-item {
    border-top: solid 1px var(--text-color-light);
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 1rem 0;
    cursor: pointer;
    opacity: 0.5;
    transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1), 
                padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.works-list .work-list-container .work-item:hover {
    transform: scale(1.02);
    padding: 1.5rem 0;
    opacity: 1;
}

.works-list .work-list-container .work-item:hover .item-details .action {
    opacity: 1;
}

.works-list .work-list-container .work-item h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-color-light);
}

.works-list .work-list-container .item-details {
    font-family: var(--font-quaternary);
    font-size: 0.9rem;
    font-weight: 200;
    color: var(--text-color-light);
    opacity: 0.9;
    display: flex;
    flex-direction: row;
    align-items: end;
}

.works-list .work-list-container .item-details .description {
    flex: 40%;
    padding-right: 20%;
    text-align: left;
}

.works-list .work-list-container .item-details .area {
    flex: 50%;
    text-align: left;
}

.works-list .work-list-container .item-details .action {
    flex: 10%;
    text-align: right;
    opacity: 0;
    transition: .3s ease-out;
}


.works-imgs {
    position: fixed;
    top: 3vh;
    left: 2.5vw;
    width: 95vw;
    height: 92vh;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.work-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(1) brightness(0.7) contrast(0.9);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-image.active {
    opacity: 0.9;
}

