@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

html {
    scroll-behavior: smooth;
}

.font-regular {
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.font-bold {
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.font-black {
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
}

/* containers */

.lets-film-container {
    background-color: hsl(0, 0%, 95%);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 20rem;
    width: 100%;
    font-size: 1rem;
    padding-top: 4rem;
}

/* header */

.header-container {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#header-logo {
    width: 100%;
    max-width: 30rem;
}

.nav-box {
    font-size: 1.1rem;
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
    font-size: .8rem;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;

    & a {
        text-decoration: none;
        color: black;
    }

    & a:hover {
        text-decoration: underline;
    }
}

#header-video-section {
    position: absolute;
    width: 100%;
    overflow: hidden;
    z-index: -10;
    height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    margin-inline: auto;
}

.header-vid {
    height: 100%;
}

#video-cover {
    background: radial-gradient(circle, hsla(0, 0%, 100%, 0) 5%, #ffffff 60%);
    position: absolute;
    height: 100vh;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

@media only screen and (max-width: 1000px) {
    #video-cover {
        background: radial-gradient(circle, hsla(0, 0%, 100%, 0) 5%, #ffffff 75%);
    }
}

/* projects */

.project-container {
    background-color: #1A1A1A;
    padding: 3rem 0;
    color: hsl(0, 0%, 95%);
}

.project-grid {
    display: grid;
    padding: 0 2rem;
    column-gap: 2rem;
    max-width: 100%;
    row-gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
}

@media only screen and (max-width:500px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
}

.project-box {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.img-box {
    max-width: 100%;
    position: relative;

    & img {
        width: 100%;
        border-radius: 0.5rem;
    }
}

.can-click-img {
    transition: opacity 0.1s;
}

.img-box-play {
    content: url(/images/play-btn.png);
    position: absolute;
    margin: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 50%;
    z-index: 1;
    transition: opacity 0.1s;
}

.img-box:hover .can-click-img {
    opacity: 20%;
}

.img-box:hover .img-box-play {
    opacity: 90%;
}

.project-blurb {

    & p {
        text-align: justify;
        hyphens: auto;
    }

    & h2 {
        font-size: 1.2rem;
    }
}

/* contact */

#concat {
    display: flex;

    & h4 {
        font-weight: normal;
    }
}

.social-container {
    width: 100%;
    height: 4rem;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;

    & img {
        height: 100%;
        padding: .2rem;
        transition: padding .1s;
    }

    & img:hover {
        padding: 0;
    }

}

/* Animations */

.fade-in {
    opacity: 0;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
    animation-duration: 0.5s;
}

.fade-in-1 {
    opacity: 0;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
    animation-duration: 0.8s;
}

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}