.hero {
    position: relative;
    text-align: center;
    font-family: var(--heading-font-family);
}

.hero-inner {
    width: 100%;
    position: relative;
}

.hero-content {
    width: 100%;
    z-index: 1;
    display: flex;
    font-size: 22px;
    min-height: 100vh;
    line-height: 1.5;
    padding: 135px 0;
    font-weight: 400;
    position: relative;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: var(--color-white);
    animation: fade-out 8s both 2s;
    transition: var(--speed-default);
}

.hero-content h1 {
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 1px;
    color: var(--color-light);
}

.hero-content + .hero-content {
    left: 0;
    bottom: 0;
    position: absolute;
    animation: fade-in 10s 10s both;
}

.hero-content span {
    left: 0;
    width: 100%;
    bottom: 100px;
    display: block;
    font-size: 27px;
    font-weight: 300;
    position: absolute;
    color: var(--color-gray);
    font-family: var(--font-family-mukta);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    animation: fade-in 1s both;
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: bottom center;
}

.admin-bar .hero-content {
    min-height: calc(100vh - 46px);
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fade-out {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@media screen and (min-width: 768px) {
    .hero-content {
        font-size: 27px;
        padding: 155px 0;
    }

    .hero-content h1 {
        line-height: 1.1;
        letter-spacing: 2px;
    }

    .hero-content span {
        bottom: 70px;
        font-size: 45px;
    }
}

@media screen and (min-width: 782px) {
    .admin-bar .hero-content {
        min-height: calc(100vh - 32px);
    }
}