@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/*
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
} */

:root {
    --text: #0F0F0F;
    --background: #F2EFEA;
    --accent: #84a8d1;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
}

.call {
    background-color: var(--accent);
    border: 0 solid var(--background);
    box-sizing: border-box;
    color: var(--text);
    display: flex;
    font-size: 1.25rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1.618rem;
    padding: .75rem 1.65rem;
    position: relative;
    text-align: center;
    text-decoration: none var(--text) solid;
    text-decoration-thickness: auto;
    width: 100%;
    max-width: 460px;
    position: relative;
    cursor: pointer;
    transform: rotate(-2deg);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.call:focus {
    outline: 0;
}

.call::after {
    content: '';
    position: absolute;
    border: 1px solid var(--text);
    bottom: 4px;
    left: 4px;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
}

.call:hover::after {
    bottom: 2px;
    left: 2px;
}

@media (min-width: 768px) {
    .call {
        padding: .75rem 3rem;
    }
}

.noDisplay {
    display: none !important;
}

.videoPlay {
    display: flex !important;
}

#vc {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    background-color: #000;
}

#v {
    width: 100%;
    height: 100%;
}



.hero {
    height: calc(100vh - 16px);
    width: calc(100vw - 16px);
    display: grid;
    padding: 8px;
    gap: 8px;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: repeat(6, 1fr);
    background-color: var(--background);
    /*
    opacity: 0;
    animation: fadeIn 0.5s;
    animation-timing-function: ease-in;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
    */
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    grid-column: 2;
    grid-row: 3 / span 2;
}

.title {
    color: var(--text);
    font-optical-sizing: auto;
    text-align: center;
    font-weight: 900;
    font-size: 6.85rem;
    letter-spacing: -0.022rem;
    line-height: 1.129;
    margin: 8px;
}


.img1 {
    background-image: url("starter.webp");
    background-size: cover;
    background-position: center 60%;
    grid-row: 1 / span 4;
    grid-column: 1;
}
.img2 {
    background-image: url("malunas.webp");
    background-size: cover;
    background-position: center center;
    grid-row: 3 / span 4;
    grid-column: 3;
}
.img3 {
    background-image: url("Tiltas.webp");
    background-size: cover;
    background-position: center 30%;
    grid-row: 1 / span 2;
    grid-column: 2 / span 2;
}
.img4 {
    background-image: url("vistien.webp");
    background-size: cover;
    background-position: center 40%;
    grid-row: 5 / span 2;
    grid-column: 1 / span 2;
}

.mobilePhoto {
    display: none;
}

/*
@media (max-width: 768px) {
    .img1, .img2 {
        display: none;
    }
    .hero {
        grid-template-columns: 1fr;
    }
    .img3 {
        grid-column: 1;
    }
    .content {
        grid-column: 1;
    }
}
*/


@media (max-width: 768px) {
    .title {
        font-size: 5.235rem;
    }
    .hero {
        display: flex;
        flex-direction: column;
    }
    .content {
        height: 38.2%;
    }
    .mobilePhoto {
        display: block;
        height: 61.8%;
        background-image: url("a.webp");
        background-size: cover;
        background-position: center;
    }

    .img1, .img2, .img3, .img4 {
        display: none;
    }
}


/* toliau, kad patvarkyt video aspect ratio */
/* vidosas 16/9 */
/*
@media (max-aspect-ratio: 16/9) {
    #v {
        width: 100%;
        height: auto;
    }
}
*/