﻿/*--------------------------------------------------------------
# Intro Section
--------------------------------------------------------------*/
#intro {
    width: 100%;
    height: 60vh;
    background: #000;
    position: relative;
}

    #intro .intro-content {
        position: absolute;
        position: absolute;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

        #intro .intro-content h2 {
            color: var(--primary);
            margin-bottom: 30px;
            font-size: 64px;
            font-weight: 700;
            position: relative; /* required for shine effect */
            overflow: hidden; /* required for shine effect */
        }
            /* hover shine */
            #intro .intro-content h2::after {
                content: "";
                position: absolute;
                top: 0;
                left: -100%;
                width: 100%;
                height: 100%;
                background: linear-gradient( 120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100% );
                transform: skewX(-20deg);
                transition: left 0.7s ease;
            }

            #intro .intro-content h2:hover::after {
                left: 100%;
            }

            #intro .intro-content h2 span {
                color: var(--secondary);
                text-decoration: underline;
            }

@media (max-width: 767px) {
    #intro .intro-content h2 {
        font-size: 34px;
    }
}

#intro .intro-content .btn-get-started, #intro .intro-content .btn-projects {
    font-family: "Raleway", sans-serif;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 32px;
    border-radius: 2px;
    transition: 0.5s;
    margin: 10px;
    color: #fff;
}

#intro .intro-content .btn-get-started {
    background: var(--primary);
    border: 2px solid var(--primary);
}

    #intro .intro-content .btn-get-started:hover {
        background: none;
        color: var(--primary);
    }

#intro .intro-content .btn-projects {
    background: var(--secondary);
    border: 2px solid var(--secondary);
}

    #intro .intro-content .btn-projects:hover {
        background: none;
        color: var(--secondary);
    }

#intro #intro-carousel {
    z-index: 8;
}

    #intro #intro-carousel::before {
        content: '';
        background-color: rgba(255, 255, 255, 0.7);
        position: absolute;
        height: 100%;
        width: 100%;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        z-index: 7;
    }

    #intro #intro-carousel .item {
        width: 100%;
        height: 60vh;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        -webkit-transition-property: opacity;
        transition-property: opacity;
    }
