/*banner*/
.banner{
    background-image: url('../image/destinations-banner.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 520px;
    position: relative;
    margin-top: -60px;
    z-index: 3;
}
.banner__text{
    text-align: center;
}
.banner__text h2{
    font-size: 30px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 39px;
}
.banner__text p{
    font-size: 18px;
    color: #fff;
    line-height: 30px;
    width: 60%;
    margin: auto;
}
/*end banner*/

/*destinations*/
.destinations{
    margin-top: 50px;
    margin-bottom: 30px;
}
.main__destinations{
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
}
.list__destinations{
    display: block;
    width: 25%;
    padding: 0 15px;
    margin-bottom: 30px;
}
.destinations__inner{
    position: relative;
    overflow: hidden;
}
.destinations__image{
    position: relative;
}
.destinations__image::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #36363666;
    opacity: 0;
    z-index: 1;
    transition: all ease-in-out 0.3s;
}
.destinations__inner img{
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: all ease-in-out 0.3s;
}

.destinations__inner:hover img{
    transform: scale(1.1);
    transition: all ease-in-out 0.3s;
}
.destinations__inner:hover .destinations__image::before{
    opacity: 1;
    transition: all ease-in-out 0.3s;
}
.destinations__inner h3{
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    color: #fff;
    line-height: 40px;
    z-index: 2;
}
/*end destinations*/


@media only screen and (max-width: 1200px){
    .banner{
        position: static;
        height: 300px;
        margin-top: 0;
    }
    .banner__text h2{
        font-size: 26px;
    }
    .main__destinations{
        width: 95%;
    }
    .list__destinations{
        width: 50%;
    }


}

@media only screen and (max-width: 767.98px){
    .banner__text p{
        display: none;
    }
    .banner{
        height: 200px;
    }
    .banner__text h2{
        font-size: 20px;
    }
    .list__destinations{
        width: 100%;
    }
    


}