* {
    /* outline: 1px dotted red; */

    padding: 0;
    margin: 0;

}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;

    /* padding: 0;
    margin: 0; */
}

h1 {
    font-family: "Yeseva One", serif;
    font-weight: 400;

    &.title {
        font-size: 25px;
        line-height: 30px;
        margin-bottom: 1rem;
    }

    &.big {
        font-size: 30px;
        line-height: 34px;
        text-align: center;
        margin-block: 5rem;
    }

    &.credits {
        margin-bottom: 3rem;
    }
}

h2 {
    font-family: "futura-pt", sans-serif;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    opacity: 0.7;
}

p strong {
    font-weight: 700;
}

.pozadina {
    position: fixed;
    background: url(img/desktop-background-manja-2.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.content, 
.content-2 {
    position: relative;
    display: grid;
    justify-items: center;
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}
.content-2 {
    mix-blend-mode: normal;
}

.full-width,
.solo,
.fotka-plus-text {
    justify-self: stretch;

    img,
    video {
        width: 100%;
    }
}

.inset-width {
    width: 80%;

    img,
    video {
        width: 100%;
    }

    .solo,
    .fotka-plus-text,
    .samo-text {
        justify-self: stretch;
        margin-block: 11rem;

        img,
        video {
            width: 100%;
        }
    }

    &.rounded-outline {
        margin-block: -12% 0;
        border: 1.5rem solid #fff;
        background: #000;
        border-radius: 4rem;
        overflow: hidden;
        padding: 0;

        video {
            width: 100%;
            margin-block: 0;
            padding: 0;
			display: block;
        }
    }
}

.center {
    text-align: center;
}

.potpis-pod-sliku {
    margin: 1rem auto;
    width: 80%;
    font-size: 0.7rem;
    line-height: 1.4;
}

.polaroid {
    background: url(img/polaroid.webp);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 3rem 2rem 5rem;
    position: relative;

    .polaroid-content {
        width: 100%;
        overflow-x: clip;

        video {
            position: relative;
            height: 100%;
            width: 170%;
            left: 50%;
            transform: translateX(-50%);
        }
    }

    .logo-video-3 {
        position: absolute;
        width: 160px;
        bottom: 3.3rem;
        left: 50%;
        transform: translate(-50%, 50%);
        mix-blend-mode: multiply;
    }
}

.fotka-plus-text {
    display: grid;
    gap: 2rem;

    &.credits {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 3rem;
        font-style: italic;
        line-height: 1.8;
    }

    .before {
        display: block;
    }

    .after {
        display: none;
    }
}

.site-title {
    width: 90%;
    position: absolute;
    /* top: 50%; */
    top: 60vw;
    left: 50%;
    transform: translateX(-50%);

    &.screen {
        mix-blend-mode: screen;
        font-size: 4vw;
    }

    video {
        width: 100%;
    }

    h2 {
        font-size: 7.8vw;
        color: white;
        line-height: 1.2;
        text-align: center;
    }
}

.invert {
    filter: invert(1);
}

.custom-img {

    &.img-02 {
        width: 100vw;
        margin-left: -12.5%;
    }

    &.img-06a {
        width: 100vw;
        margin-left: -12.5%;
        /* margin-inline: 0; */
        margin-bottom: 5px;
    }

    &.img-06b {
        position: relative;
        width: 100vw;
        margin-left: -12.5%;
        /* margin-inline: 0; */
        margin-top: 5px;

        h2 {
            position: absolute;
            text-align: right;
            color: white;
            font-size: 8.3vw;
            bottom: 11.2%;
            right: 7.9%;
            line-height: 1.1;
        }
    }

    &.img-09a {
        width: 100vw;
        /* margin-inline: 0; */
        margin-left: -12.5%;
        margin-bottom: -7px;
    }

    &.img-09b {
        width: 100vw;
        /* margin-inline: 0; */
        margin-top: 1px;
        margin-left: -12.5%;
    }
}

.credits-and-footer {

    h1 {    
        &.big {
            margin-block: 6rem;
        }
    
        &.credits {
            margin-bottom: 3rem;
        }
    }

    .fotka-plus-text {
        gap: 1rem;

        p {
            font-size: 16px;
            line-height: 1.4;
    
            &.right {
                text-align: right;
            }
        }
    }


}


.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;

    .video-pozadina {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #535353b0;
        backdrop-filter: blur(2px);
    }

    video {
        display: block;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        margin: 0 auto;
    }

    video.uspravni-video {
        width: 85%;
    }
}

.vise {
    cursor: pointer;
    text-align: center;
    margin-block: 4rem;
    text-decoration: underline;
}


footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;

    .gg {
        margin-bottom: 7rem;
    }

    .prava {
        display: none;
    }
}

/* ************************************************************************************** */
@media (min-width: 540px) {
    
    .popup {
        video.uspravni-video {
            width: 70%;
        }
    }
}


@media (min-width: 768px) {

    h1 {

        &.title {
            font-size: 36px;
            line-height: 42px;
            margin-bottom: 2rem;
        }
        
        &.big {
            font-size: 40px;
            line-height: 52px;
            margin-block: 8rem;
        }
    }

    .polaroid {
        padding: 4rem 4rem 8rem;
        position: relative;

        .logo-video-3 {
            bottom: 4.8rem;
        }
    }

    .popup {
        video.uspravni-video {
            width: 60%;
        }
    }

}


@media (min-width: 1024px) {

    .fotka-plus-text {
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem;

        .before {
            display: none;
        }

        .after {
            display: block;
        }
    }

    .pozadina {
        background-size: cover;
    }

    h1 {
        &.title {
            font-size: 43px;
            line-height: 48px;
            margin-bottom: 3rem;
        }

        &.big {
            font-size: 56px;
            line-height: 68px;
            margin-block: 10rem 11rem;
        }
    }

    .inset-width {
        width: 880px;

        &.credits-and-footer {
            width: 840px;
        }
    }

    .potpis-pod-sliku {
        margin: 0;
        width: 100%;
        font-size: 0.75rem;
        line-height: 1.45;
    }

    .full-width {
        .potpis-pod-sliku {
            margin: 1.2rem 0 0 2rem;
            width: 90%;
        }
    }

    .polaroid {
        padding: 4.2rem 5rem 8.2rem;
        margin-inline: -2rem;

        .polaroid-content {
            width: 100%;

            video {
                width: 100%;
            }
        }

        .logo-video-3 {
            width: 226px;
            bottom: 4.7rem;

            video {
                margin-top: -15%;
            }
        }
    }

    .custom-img {
        overflow: hidden;

        &.img-01 {
            aspect-ratio: 19.2 / 9;

            img {
                margin-top: -11%;
            }
        }

        &.img-02 {
            aspect-ratio: 1 / 1.16;
            margin-inline: 0;
            width: auto;

            img {
                margin-top: -10%;
            }
        }

        &.img-03 {
            aspect-ratio: 1 / 1.27;

            img {
                margin-top: -3%;
            }
        }

        &.img-04 {
            aspect-ratio: 1 / 1.23;

            img {
                margin-top: -5%;
            }
        }

        &.img-05 {
            /* aspect-ratio: 1 / 1.11; */

            img {
                margin-top: -15%;
            }
        }

        &.img-06a {
            aspect-ratio: 3 / 1;
            width: auto;
            margin-left: 0;
            margin-bottom: 5px;

            img {
                margin-top: -5%;
            }
        }

        &.img-06b {
            aspect-ratio: 1.45 / 1;
            width: auto;
            margin-left: 0;

            img {
                margin-top: -10%;
            }

            h2 {
                font-size: 3.1vw;
                bottom: 8%;
                line-height: 1.3;


            }
        }

        &.img-07 {
            aspect-ratio: 1.21 / 1;

            img {
                margin-top: -24%;
            }
        }


        &.img-09a {
            aspect-ratio: 1 / 1.1;
            width: auto;
            margin-left: 0;
            margin-bottom: 5px;

            img {
                margin-top: -18%;
            }
        }

        &.img-09b {
            aspect-ratio: 1.98 / 1;
            width: auto;
            margin-left: 0;

            img {
                margin-top: -8%;
            }
        }
    }

    
.site-title {
    width: 50%;
    position: absolute;
    /* top: 50%; */
    top: 15vw;
    left: 50%;
    transform: translateX(-50%);

    &.screen {
        mix-blend-mode: screen;
    }

    video {
        width: 100%;
    }

    h2 {
        font-size: 4.3vw;
        color: white;
        line-height: 1.2;
        text-align: center;
    }
}

    footer .prava {
        display: block;
        font-size: 75%;
    }

    .credits-and-footer {

        .fotka-plus-text {
            p {
                font-size: 20px;
            }
        }
    }

}

@media (min-width: 1280px) {

    .popup {

        video {
            width: 74%;
        }

        video.uspravni-video {
            width: 26%;
        }
    }

}

@media (min-width: 1400px) {

    body {
        font-size: 18px;
        line-height: 30px;
    }

    .inset-width {
        width: 920px;
    
        &.credits-and-footer {
            width: 920px;
        }
    }

    .polaroid {
        padding: 4.6rem 5rem 10rem;
        margin-inline: -3.5rem;

        .polaroid-content {
            width: 100%;

            video {
                width: 100%;
            }
        }

        .logo-video-3 {
            bottom: 4.5rem;

            video {
                margin-top: -15%;
            }
        }
    }

}

@media (min-width: 1921px) {

    body {
        font-size: 22px;
        line-height: 33px;
    }

    .inset-width {
        width: 1100px;
    }

    h1 {

        &.big {
            font-size: 66px;
            line-height: 80px;
            margin-block: 12rem 13rem;
        }

    }

    .polaroid {
        padding: 5rem 6rem 11.2rem;

        .polaroid-content {
            width: 100%;

            video {
                width: 100%;
            }
        }

        .logo-video-3 {
            width: 300px;
            bottom: 5.5rem;

            video {
                margin-top: -15%;
            }
        }
    }

}