body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
}

.bg {
    /* Задаем фоновую картинку */
    background-image: url('../images/background.png');

    /* Настройки фона */
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    /* Это нужно, чтобы наш слой-затемнение работал правильно */
    position: relative;
}

/* Вот он, наш слой-затемнение */
.bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Черный цвет с прозрачностью 50% */
    background-color: rgba(0, 0, 0, 0.8);
}

.content {
    /* Эти свойства размещают контент поверх слоя-затемнения */
    position: relative;
    z-index: 1;

    /* Центрирование текста */
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; /* Чтобы текст не прилипал к краям на узких экранах */
}

.content img {
    width: 150px; /* Размер логотипа */
    margin-bottom: 20px;
}
