@import url(bebas-neue.css);

* {
    margin: 0;
    padding: 0;
}

body, html {
    height: 100vh;
    width: 100vw;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden; /* чтобы контент не выходил за границы */
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../video/krasnoyarsk.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(45%); /* здесь задается затемнение */
}

.main-img {
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: center;
    align-items: center;
}

.main-img h1 {
    display: block;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    color: #fff;
    font-size: 48px; 
    font-weight: 400;
    letter-spacing: 10px; /* межбуквенный интервал */
    margin: 0 auto;
    max-width: 880px;
    word-wrap: break-word; 
    white-space: normal;
}

.main-transfer-to-site {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    text-decoration: none;
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 5px;
    text-align: center;
}

.main-transfer-to-site:hover svg {
    filter: drop-shadow(2px 4px 6px rgb(0 0 0 / 0.7));
}

@media screen and (max-width: 881px) {
    .main-img h1 {
        font-size: 24px;
        letter-spacing: 4px;
    }
}