@charset "UTF-8";

:root {
    --cool-dark-green: #1D3340;
    --font-primary: 'KyivTypeTitling', serif
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    font-family: KyivTypeTitling
}

@font-face {
    font-family: KyivTypeTitling;
    src: url("../../fonts/KyivTypeTitling-Bold.woff2") format('woff2'), url("../../fonts/KyivTypeTitling-Bold.woff") format('woff'), url("../../fonts/KyivTypeTitling-Bold.eot") format('eot'), url("../../fonts/KyivTypeTitling-Bold.ttf") format('TrueType');
    font-weight: 700;
    font-style: normal
}

.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: -webkit-image-set(url("../images/photo.avif"),
            url("../images/photo.webp"),
            url("../images/photo.png"));
    background-image: image-set(url("../images/photo.avif") type("image/avif"),
            url("../images/photo.webp") type("image/webp"),
            url("../images/photo.png") type("image/png"));
    background-size: cover;
    background-position: bottom;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.banner .clouds,
.site-title,
picture {
    position: absolute
}

.banner .clouds {
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    opacity: .6
}

.banner .clouds img {
    position: absolute;
    bottom: 0;
    min-width: 100%;
    -webkit-animation: animate calc(3s * var(--i)) linear infinite;
    animation: animate calc(3s * var(--i)) linear infinite
}

picture {
    top: 15px;
    left: 15px
}

@-webkit-keyframes animate {
    0% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    25%,
    75% {
        opacity: 1
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(3);
        transform: scale(3)
    }
}

@keyframes animate {
    0% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    25%,
    75% {
        opacity: 1
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(3);
        transform: scale(3)
    }
}

.banner-content {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    display: block;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    text-align: center;
    z-index: 2
}

.site-title {
    bottom: 0;
    right: 25px;
    text-shadow: 2px 0 0 #fff, 0 -1px 0 #fff, 0 1px 0 #fff, -1px 0 0 #fff;
    z-index: 1
}

h1 {
    color: var(--cool-dark-green) !important
}

@media (min-width:1200px) {
    .banner-content .site-title {
        font-size: 3rem
    }
}

@media only screen and (max-width:812px) and (orientation:landscape) {
    .banner .clouds img {
        bottom: -50vh
    }

    .banner-content .site-title {
        font-size: 2rem
    }
}

@media only screen and (max-width:812px) and (orientation:landscape) and (min-width:1200px) {
    .banner-content .site-title {
        font-size: 3rem
    }
}