.hero-slider{
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    opacity:0;
    transition:opacity 1s ease-in-out;
}

.slide.active{
    opacity:1;
    z-index:1;
}

.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);
}

.content{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    
    text-align:center;
    width:90%;
    max-width:800px;
    z-index:2;
}

.content h1{
    font-size:60px;
    margin-bottom:20px;
    color:white;
    font-family: 'Poppins', sans-serif;  
    font-weight:700;   
    text-transform:uppercase;
}

.content p{
    font-size:22px;
    margin-bottom:35px;
    line-height:1.6;
    color: #FFDF00;
}

.btn{
    display:inline-block;
    padding:15px 35px;
    background:#FFDF00;
    color:#275026;
    text-decoration:none;
    border-radius:40px;
    transition:.3s;
}

.btn:hover{
    background:#fff;
    color:#000;
}

.prev,
.next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:55px;
    height:55px;
    border:none;
    background:rgba(255,255,255,.25);
    color:#fff;
    font-size:28px;
    cursor:pointer;
    z-index:5;
    border-radius:50%;
    transition:.3s;
}

.prev:hover,
.next:hover{
    background:#FFDF00;
}

.prev{
    left:25px;
}

.next{
    right:25px;
}

/* Tablet */

@media(max-width:991px){

.content h1{
    font-size:42px;
}

.content p{
    font-size:18px;
}

}

/* Mobile */

@media(max-width:768px){

.hero-slider{
    height:80vh;
}

.content h1{
    font-size:30px;
}

.content p{
    font-size:16px;
}

.btn{
    padding:12px 28px;
}

.prev,
.next{
    width:45px;
    height:45px;
    font-size:22px;
}

}