.home .carousel-item{
    min-height: 80vh;
    background-position:center ;
    background-size: cover;
    position: relative;
    z-index: 1;
}
.carousel-inner nav{
    
    
}

.home .carousel-item::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}
.home .carousel-item .container{
    
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    
}

.home .carousel-item h2{
    font-size: 50px;
    color: #ffffff;
    margin: 0 0 10px;
    opacity: 0;
}
.home .carousel-item p{
    font-size: 30px;
    margin: 0;
    color: #eeeeee;
    opacity: 0;
}

.home .carousel-item.active h2{
    animation: fadeInLeft 0.5s ease forwards;
}
.home .carousel-item.active p{
    animation: fadeInRight 0.5s ease forwards;
}

@keyframes fadeInLeft{
    0%{
        opacity: 0;
        transform: translateX(-30px);
    }

    100%{
        opacity: 1;
        transform: translateX(0px);
    }
}


@keyframes fadeInRight{
    0%{
        opacity: 0;
        transform: translateX(30px);
    }

    100%{
        opacity: 1;
        transform: translateX(0px);
    }
}

.home .carousel-controls{

    position: absolute;
    left: 50%;
    bottom: 40px;
    z-index: 10;
    transform: translateX(-50%);
}

.home .carousel-indicators{
    position: relative;
    margin: 0;

}

.home .carousel-indicators button{
    height: 70px;
    width: 70px;
    margin: 0 5px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.home .carousel-indicators button.active{
    border-color: #0d6efd;
    transform: scale(1.2);
}
.home .carousel-control-next,
.home .carousel-control-prev{
    height: 60px;
    width: 60px;
    transition: all 0.3s ease;
    border-radius: 50%;
    opacity: 1;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
}

.home .carousel-control-next{
    right: -90px;
}

.home .carousel-control-prev{
    left: -90px;
}

.home .carousel-control-prev:hover,
.home .carousel-control-next:hover{
    box-shadow: 0 0 10px #0d6efd;
}

.float{
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}
.my-float{
    margin-top: 16px;
}

.home{
    margin-bottom: 120px;
}


.margin{
    margin-top: 200px;
    padding-top: 100px;
}

/*responsive*/

@media(max-width: 767px){
    .home .carousel-control-prev,
    .home .carousel-control-next{
        display: none;
    }
    .home .carousel-indicators button{
        height: 60px;
        width: 60px;
    }
    .home .carousel-item h2{
        font-size: 45px;
    }
    .home .carousel-item p{
        font-size: 22px;
    }
    
}