#cover {
    width: 100%;
    overflow: hidden;
    max-height: 100svh;
    background-color: black;
}


#cover video {
    width: 100%;
}




/* ABOUT SECTION */

.about-section {
    background: linear-gradient(to right, var(--green), black, var(--green));
    color: var(--white);
    padding: 50px 30px;
}

.about-section h1 {
    font-size: 50px;
    text-align: center;
    animation-delay: 300ms;
}

.about-section h2 {
    font-size: 30px;
    max-width: 700px;
    margin: 20px auto;
    text-align: center;
    font-weight: 600;
    line-height: 120%;
    animation-delay: 600ms;
}

.about-section h1, .about-section h2 {
    opacity: 0;
    animation-name: fadeIn;
    animation-duration: 700ms;
    animation-fill-mode: forwards;
}

.about-section h1.hidden, .about-section h2.hidden {
    animation-name: none;
}

@keyframes fadeIn {
    0% {
        transform: translateY(40px);
        opacity: 0;
    } 100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

.about-section h3 {
    font-size: 40px;
    text-align: center;
    margin: 65px 0px 30px 0px;
}

.about-section .services-container {
    max-width: 800px;
    margin: 0px auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.about-section .services-container .service p {
    text-align: center;
    font-size: 20px;
    margin-top: 15px;
    font-weight: 800;
}

.about-section .services-container .service img {
    max-width: 300px;
    border-radius: 10px;
}

@media (max-width: 700px) {
    .about-section {
        padding: 50px 10px;
    }

    .about-section h1 {
        font-size: 40px;
    }

    .about-section h2 {
        font-size: 25px;
        font-weight: 500;
    }

    .about-section h3 {
        font-size: 35px;
    }

    .about-section .services-container .service img {
        width: 250px;
        max-width: 100%;
    }

    .about-section .services-container .service p {
        font-size: 16px;
    }
}

@media (max-width: 450px) {
    .about-section h1 {
        font-size: 30px;
    }

    .about-section h2 {
        font-size: 20px;
    }
    
    .about-section h3 {
        font-size: 30px;
    }
}




/* ABOUT */


#about {
    display: flex;
    flex-wrap: wrap;
    background-color:black;
    justify-content: center;
    align-items: center;
}

#about h1 {
    color: aquamarine;
    margin-bottom: 20px;
    font-weight: 600;
}

#about p {
    text-align: justify;
    font-size: 110%;
}


#about> div{
    width: 500px;
    max-width: 100%;
    color: white;
    font-size: larger;
    margin: 20px;
    padding: 20px 0px;
}
#about> div> img{
    width: 100%;
    border-radius: 10%;
}


@media (max-width: 650px) {
    #about div {
        font-size: large;
    }
}






/* STATS */

#stats {
    background-color: black;
    padding: 40px;
    color: white;
}

#stats h1 {
    margin: 30px 0px;
    text-align: center;
    font-weight: 600;
}

#stats h2 {
    text-align: center;
    text-shadow: 3.5px 3.5px 0px green, 3px 3px 0px green, 2.5px 2.5px 0px green, 2px 2px 0px green, 1.5px 1.5px 0px green, 1px 1px 0px green, 0.5px 0.5px 0px green;
    font-size: 40px;
    margin: 10px 0px;
}

#stats p {
    text-align: center;
    font-size: 23px;
}

#stats #content {
    display: grid;
    max-width: 1000px;
    margin: 40px auto;
    /* grid-template-columns: repeat(4, 1fr); */
    grid-template-columns: repeat(2, 1fr);
}

#stats #content div {
    padding: 20px 30px;
    border-right: 1px dotted #aaaaaa;
}

#stats #content div:last-child {
    border-right: none;
}

/* @media (max-width: 750px) {
    #stats #content {
        grid-template-columns: repeat(2, 1fr);
    }

    #stats #content div:nth-child(2) {
        border-right: none;
    }

    #stats #content div:nth-child(1),
    #stats #content div:nth-child(2) {
        border-bottom: 1px dotted #aaaaaa;
    }
} */


@media (max-width: 450px) {
    #stats {
        padding: 40px 10px;
    }

    #stats #content div {
        padding: 20px;
    }

    #stats h2 {
        font-size: 35px;
    }

    #stats p {
        font-size: 19px;
    }
}






/* PORTFOLIO */

.portfolio {
    background: linear-gradient(to right, var(--green), black, var(--green));
    padding: 40px 20px;
}

.portfolio h3 {
    color: white;
    font-size: 50px;
    text-align: center;
    margin-top: 30px;
}

.portfolio .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 30px;
    max-width: 1000px;
    margin: 50px auto;
}

.portfolio .content .item-container {
    width: 30%;
    height: 200px;
    border-radius: 10px;
    cursor: pointer;
    
    background-position: center;
    background-size: cover;
    box-shadow: #ffffffdd 0px 0px 5px 1px;
}

.portfolio .content .item-container .item {
    background-color: #000000bb;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 25px;
    font-weight: 700;
    text-decoration: none;
    transition: 150ms;
}

.portfolio .content .item-container .item:hover {
    background-color: #000000cc;
}

.portfolio .content .item-container:nth-child(1) { background-image: url("/images/portfolio/3d.jpg") }
.portfolio .content .item-container:nth-child(2) { background-image: url("/images/portfolio/aftereffects.jpg") }
.portfolio .content .item-container:nth-child(3) { background-image: url("/images/portfolio/advertisement.jpeg") }
.portfolio .content .item-container:nth-child(4) { background-image: url("/images/portfolio/2d.jpeg") }
.portfolio .content .item-container:nth-child(5) { background-image: url("/images/portfolio/video.jpg") }
.portfolio .content .item-container:nth-child(6) { background-image: url("/images/portfolio/short.jpeg") }
.portfolio .content .item-container:nth-child(7) { background-image: url("/images/portfolio/short.jpeg") }
.portfolio .content .item-container:nth-child(8) { background-image: url("/images/portfolio/short.jpeg") }
.portfolio .content .item-container:nth-child(9) { background-image: url("/images/portfolio/reel.jpeg") }

@media (max-width: 750px) {
    .portfolio .content .item-container {
        width: 45%;
    }
}

@media (max-width: 500px) {
    .portfolio h3 {
        font-size: 35px;
    }
    
    .portfolio .content .item-container {
        width: 100%;
    }
}

@media (max-width: 300px) {
    .portfolio .content .item-container {
        height: 150px;
    }

    .portfolio .content .item-container .item {
        font-size: 20px;
    }
}