/*=========================================
            HERO
=========================================*/

.hero{
    position:relative;
    width:100%;
    height:65vh;      /* Desktop */
    min-height:350px;
    max-height:650px;
    overflow:hidden;
}

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

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.65),
        rgba(0,0,0,.15),
        rgba(0,0,0,.05)
    );
}

.hero-content{
    position:absolute;
    left:50%;
    bottom:60px;
    transform:translateX(-50%);
    width:90%;
    text-align:center;
    color:#fff;
    z-index:2;
}

.hero-content h1{
    font-size:clamp(2rem,5vw,4rem);
    margin-bottom:10px;
}

.hero-content p{
    font-size:1rem;
    opacity:.9;
}

/* Tablet */

@media(max-width:768px){

.hero{
    height:50vh;
    min-height:280px;
}

}

/* Mobile */

@media(max-width:480px){

.hero{
    height:38vh;
    min-height:220px;
}

.hero-content{
    bottom:25px;
}

.hero-content h1{
    font-size:1.8rem;
}

.hero-content p{
    font-size:.9rem;
}

}