@import "../../styles/variables";

.hero {
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;

    &-logo {
        position: relative;
        z-index: 4;
        display: flex;
        align-items: center;
        margin-bottom: 50px;

        img {
            max-width: 300px;
            width: 100%;
        }

        h3 {
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding-left: 60px;
            font-size: 9rem;
            font-weight: $bold;
            color: $color-white;
            line-height: 1;
            text-transform: uppercase;
            text-align: center;
            padding-top: 20px;

            span {
                display: block;
                font-size: 11rem;
            }
        }
    }

    h1 {
        font-size: 5rem;
        font-weight: $bold;
        color: $color-white;
        position: relative;
        z-index: 4;
    }

    .bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: $color-black;
        opacity: 0.8;
        z-index: 3;
        height: 100%;
        width: 100%;
    }

    .bg-img {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        background-image: url(https://cdn.pixabay.com/photo/2015/03/08/21/06/cycling-664753_960_720.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;

        @media (min-width: 992px) {
            display: none;
        }
    }

    video {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;

        @media (max-width: 991px) {
            display: none;
        }
    }
}

.home {
    padding-top: 60px;

    &.events {
        background-image: url('../../assets/img/girl-bg.jpg');
    }

    .event-content {
        min-height: 180px;
    }
}