/* hero */
.container-0- {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: left;
    background-color: rgba(11, 11, 11, 0.5);
}

.background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.container-0 {
    position: relative;
    width: 100%;
    text-align: center;
}

.container-1 {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.text-2 {
    font-size: 5rem;
    font-weight: bolder;
    color: #fff;
    text-align: center;
}

/* Projects */
.project-card {
    position: relative;
    transition: 0.9s ease-in-out;
    padding-top: 10px;
    padding-bottom: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.project-img {
    position: relative;
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease-in-out;
    z-index: 2;
}

.project-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.slideshow {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: calc(100%);
    padding: 12px;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.3s ease-in-out;
}

.project-card:hover .project-img {
    opacity: 0;
}

.project-card:hover .slideshow {
    opacity: 1;
    z-index: 2;
}

.project-content {
    width: 100%;
    text-align: center;
    border: 2px solid #3e3e3e;
    color: #3e3e3e;
    height: 100%;
    padding: 1rem;
}

.project-content p {
	margin-bottom: 0 !important;
}

.project-card::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background-color: #3e3e3e00;
    z-index: -1;
    transition: 0.3s ease-in-out;
}

.project-content:hover::before {
    color: #f8f8f8;
}

.project-card:hover::before {
    width: 100%;
    height: 100%;
    background-color: #3e3e3e;
}

.project-card:hover .project-content {
    color: white;
}

.slideshow .slider-track {
    transition: all 1.6s;
}

.slideshow .item {
    height: 100%;
    position: relative;
    z-index: 1;
}

.slideshow .item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 1.6s;
    transform: scale(1);
}

.slideshow .item.slick-active img {
    transform: scale(1.02);
}

@media (max-width: 576px) {
    .project-content {
        font-size: smaller;
        padding: 10 !important;
        line-height: normal;
    }
    .project-content h2{
        font-size: large;
    }
}
