* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #000;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px
}

.site-header {
    height: 78px;
    max-width: 810px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1
}

.brand span {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .8px
}

.brand small {
    font-size: 8px;
    color: #777;
    margin-top: 4px;
    font-weight: 700
}

nav {
    display: flex;
    gap: 34px;
    align-items: center
}

nav a {
    color: #eee;
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: 15px
}

nav a:hover {
    color: #10a5c0
}

.portfolio {
    margin: auto;
    padding: 0 10px 105px
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px 13px
}

.project {
    text-align: center
}

.video-trigger {
    position: relative;
    cursor: pointer
}

.video-thumb {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    background: #000
}

.project img,
.video-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 1.82;
    object-fit: cover
}

/* .play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    display: block;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    border: 2px solid rgba(255, 255, 255, .9);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    z-index: 2;
    pointer-events: none;
} */


/* .play-button {
    position: absolute;
     left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); 
    left: 15px;
    bottom: 15px;
    top: auto;
    transform: none;
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.9);

    color: #fff;
    font-size: 15px;
    line-height: 1;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 2;
    pointer-events: none;
} */

.project {
    position: relative;
}

.project img {
    display: block;
    width: 100%;
}




.play-button {
    position: absolute;
    left: 15px;
    bottom: 15px;

    width: 60px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;
    background: #000;
    border: none;

    color: #fff;
    font-size: 18px;
    line-height: 1;

    box-shadow: none;
    z-index: 2;
    pointer-events: none;
}

.video-trigger:hover .play-button {
    background:white;
    color: black;
}

.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    place-items: center;
    opacity: 1;
    transition: opacity .2s ease
}

.video-lightbox.hidden {
    opacity: 0;
    pointer-events: none
}

.video-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .8)
}

.video-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(90vw, 980px);
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 20px 70px rgba(0, 0, 0, .6)
}

.video-lightbox-content,
.video-lightbox-content iframe,
.video-lightbox-content video {
    width: 100%;
    height: 100%;
    display: block
}

.video-lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #000;
    font-size: 18px;
    cursor: pointer;
    z-index: 2
}

.video-lightbox-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    background: #111;
    font-size: 18px
}


.subtitle {
    font-size: 15px;
}

.project h2 {
    font-size: 17px;
    line-height: 1.45;
    color: #079bb7;
    margin: 8px 0 0;
    font-weight: 700
}

.project-text {
    padding-top: 4px
}

.project-text h2 {
    text-align: left;
    padding-left: 45px;
    margin: 0
}

.about-page {
    max-width: 1146px;
    margin: auto;
    padding: 0 12px 90px
}

.about-intro {
    display: grid;
    grid-template-columns: 526px 1fr;
    gap: 78px;
    align-items: center
}

.about-intro img {
    width: 526px;
    display: block;
    filter: grayscale(1)
}

.bio {
    font-size: 17px;
    color: #777;
    line-height: 1.55;
    max-width: 420px
}

.bio .wia {
    color: #ffb900;
    font-weight: 700
}

.other-work {
    max-width: 700px;
    margin: 42px auto 0
}

.other-work h1 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 25px
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 75px
}

.work-grid article {
    text-align: center;
    min-height: 130px
}

.work-grid article:nth-child(odd) {
    transform: translateX(-50px)
}

.work-grid article:nth-child(even) {
    transform: translateX(50px)
}

.work-grid h2 {
    font-size: 18px;
    color: #ffb900;
    margin: 0 0 22px
}

.work-grid p {
    color: #777;
    line-height: 1.55;
    font-size: 10px
}

.work-grid b {
    color: #ffb900;
    font-weight: 400
}

.work-grid span {
    color: #00a6c5
}

footer {
    height: 125px;
    background: #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px
}

footer>a {
    color: #d6df00;
    text-decoration: none;
    font-size: 15px
}

.imdb {
    font-size: 15px;
    font-weight: 900;
    color: #111;
    background: #ffd400;
    border-radius: 2px;
    padding: 2px 4px
}

.socials {
    display: flex;
    gap: 8px;
    margin-top: 3px
}

.socials a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700
}

.ig {
    background: #f50078
}

.in {
    background: #0877b9
}

.fb {
    background: #1769e0
}

.tw {
    background: #19a9eb
}

.whatsapp {
    position: fixed;
    left: 12px;
    bottom: 14px;
    width: 52px;
    height: 52px;
    background: #19d36b;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 30px
}

.top {
    position: fixed;
    right: 12px;
    bottom: 14px;
    width: 40px;
    height: 40px;
    background: #000;
    color: #fff;
    border: 0;
    font-size: 10px;
    cursor: pointer
}

.empty-page {
    min-height: calc(100vh - 203px);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 20px
}

.empty-page h1 {
    color: #ffb900
}

.empty-page p {
    color: #777
}

.back {
    color: #00a6c5
}

@media(max-width:800px) {
    .site-header {
        height: auto;
        padding: 20px;
        align-items: flex-start;
        gap: 25px
    }

    .site-header nav {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: flex-end
    }

    .portfolio-grid {
        grid-template-columns: 1fr 1fr
    }

    .project-text {
        display: none
    }

    .about-intro {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .about-intro img {
        width: 100%;
        max-width: 526px;
        margin: auto
    }

    .bio {
        margin: auto
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .work-grid article:nth-child(n) {
        transform: none
    }
}

@media(max-width:520px) {
    .site-header {
        display: block;
        text-align: center
    }

    .brand {
        align-items: center;
        margin-bottom: 18px
    }

    nav {
        justify-content: center !important
    }

    .portfolio-grid {
        grid-template-columns: 1fr
    }

    .project-text {
        display: none
    }

    .about-page {
        padding-top: 10px
    }

    .work-grid h2 {
        font-size: 17px
    }
}

.work-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    margin-bottom: 70px;
    gap: 50px;
}

.work-item img {
    width: 48%;
    max-width: 526px;
    display: block;
    object-fit: cover;
}

.work-info {
    flex: 1;
}

.work-info.left {
    text-align: left;
}

.work-info.right {
    text-align: right;
}

.work-info h2 {
    color: #ffb900;
    font-size: 25px;
    margin: 0 0 25px;
}

.work-info p {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.work-info b {
    color: #ffb900;
    font-weight: 400;
}

.work-info span {
    color: #00a6c5;
}