﻿/*==================================
    HERO
==================================*/

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('/images/hero/hero.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #d8e7f7;
    overflow: hidden;
    /* Espacio para el navbar fijo */
    padding-top: 110px;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255,255,255,.18);
    }

/*==================================
    HERO TEXT
==================================*/

.hero-text {
    position: relative;
    margin-left: 10%;
    margin-top: 180px;
    width: 100%;
    max-width: 470px;
    background: rgba(153,33,28,.90);
    padding: 24px 30px;
    z-index: 5;
}

    .hero-text h2 {
        margin: 0;
        color: #fff;
        font-size: 22px;
        line-height: 1.35;
        font-weight: 700;
        text-transform: uppercase;
    }

/*==================================
    MAIN
==================================*/

main {
    padding-top: 110px;
}

/*==================================
    RESPONSIVE
==================================*/

@media (max-width:991px) {

    .hero {
        min-height: 85vh;
        padding-top: 90px;
        background-size: cover;
    }

    .hero-text {
        margin: 120px auto 0;
        max-width: 90%;
        padding: 22px;
    }

        .hero-text h2 {
            font-size: 18px;
            text-align: center;
        }
}

@media (max-width:576px) {

    .hero {
        min-height: 70vh;
        padding-top: 80px;
    }

    .hero-text {
        margin-top: 90px;
        padding: 18px;
    }

        .hero-text h2 {
            font-size: 16px;
            line-height: 1.45;
        }
}
