@keyframes fadeOut {
    0%, 50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    0%, 50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeInOut {
    0%, 25% {
        opacity: 0;
    }

    45%, 65% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

html, body {
    height: 100%;
}

.intro {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    opacity: 0;
    position: relative;
    animation: fadeIn 5s linear forwards;
}

.logo {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.logo__letters {
    color: white;
}

.logo__letters_size_xl {
    font-size: 40px;

}

.logo__letters_size_s {
    font-size: 12px;
    margin: 8px 5px 0;
}

.intro-block {
    width: 50%;
    height: 50%;
    display: flex;
    line-height: 1;
    transition: width 1s linear, height 1s linear;
    position: relative;
    overflow: hidden;
    background: #EFF8E2;
    animation: fadeIn 1s;
    transition: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.intro-back {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.intro-back {
    transition: transform .3s linear;
}

.overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .15);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    transition: background-color .4s ease;
}

.overlay-text {
    color: white;
    font-size: 30px;
    margin: auto;
    opacity: 0;
}

.intro-block:hover .overlay {
    background-color: rgba(239, 248, 226, .05);
}

.intro-block:hover .overlay-text {
    opacity: 1;
    transition: opacity .3s ease;
}

.intro-block:hover .intro-back {
    transform: scale(1.01, 1.01);
}

.preload {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    backface-visibility: hidden;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: fadeInOut 6s;
    /*animation: fadeIn 2s;*/
}

.above-cover {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0%;
    left: 0%;
    background-image: url(../images/preloaders/iskra.gif);
    background-size: cover;
    background-position: center;
    mix-blend-mode: screen;
    pointer-events: none;
}

.place-name {
    color: white;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: normal;
}

.place-name__letters_size_xl {
    opacity: 0;
    animation: fadeIn 1s linear 2s forwards;
    font-size: 350px;
    padding-bottom: 70px;
}

.place-name__letters_size_s {
    opacity: 0;
    animation: fadeIn 1s linear 1s forwards;
    font-size: 30px;
    margin: 40px 100px 0;
}

.footer_page_index {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.footer__text_page_index {
    color: white;
    font-size: 12px;
    text-align: center;
}

.footer a::after {
    display: none;
}

@media screen and (max-width: 1100px) {
    .place-name__letters_size_xl {
        font-size: 220px;
    }

    .place-name__letters_size_s {
        font-size: 20px;
        margin: -5px 50px 0;
    }
}

@media screen and (max-width: 812px) {
    .place-letter {
        font-size: 50px;
        display: none;
    }
    .parma {
        width: 50px;
        height: 50px;
    }
    .place-name {
        font-size: 50px;
        text-align: center;
    }
    .overlay-text {
        opacity: 0;
        font-size: 18px;
        animation: fadeIn 1s linear 2s forwards;
    }
    .place-name__letters_size_xl {
        font-size: 75px;
        padding-bottom: 0;
    }
    
    .place-name__letters_size_s {
        opacity: 0;
        animation: fadeIn 1s linear 1s forwards;
        font-size: 14px;
        margin: 12px 15px 0;
    }
}

@media (max-width: 480px) {
    .place-name__letters_size_xl {
        font-size: 90px;
        padding-bottom: 0;
    }

    .place-name__letters_size_s {
        margin: 25px 15px 0;
    }

    .footer_page_index {
        padding: 0 0 15px;
    }
    .footer__text_page_index {
        font-size: 10px;
        padding: 0 40px;
    }
}