@font-face {
    font-family: 'Popins';
    src: url('../assets/fonts/popins/Poppins-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    /* color varialbes */
    --light-green-color: #d3ffea;
    --dark-green-color: #1e3932;
}

::selection {
    background-color: var(--light-green-color);
    color: var(--dark-green-color);
}

/* for text in body */
* {
    font-family: 'Popins', sans-serif;
}

.autohide {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}

.scrolled-down {
    transform: translateY(-100%);
    transition: all 0.3s ease-in-out;
}

.scrolled-up {
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}

/* header */
.nav-item:hover .dropdown-menu {
    display: block;
    transition: all 0.5s ease-in-out;
}

.navbar a{
    font-size: 13px;
}

.navbar .nav-link{
    color: #dddddd!important;
}

.navbar .nav-link:hover{
    color: white!important;
}

/* header icons */
.icons {
    color: var(--dark-green-color);
    border-radius: 40%;
}

.icons:hover {
    background-color: var(--light-green-color);
}

.poster-card {
    transition: all ease-in-out 0.3s;
    width: 25vw;
    height: 25vw;
    transform: scale(0.95);
}

.poster-card:hover {
    transform: scale(1);
    -webkit-box-shadow: 0px 12px 14px 0px rgba(0, 0, 0, 0.34);
    box-shadow: 0px 12px 14px 0px rgba(0, 0, 0, 0.34);
}

/* for green border button */
.greenborderbtn {
    transition: all 0.3s ease-in-out;
}

.greenborderbtn:hover {
    background-color: #198754;
    color: white !important;
}

/* for small text */
.text-sm {
    font-size: 12px;
    color: #ffffff9e;
}


/* FOR SWIPER */
.swiper {
    width: 100%;
    overflow: hidden;
}
.swiper-button-prev,
.swiper-button-next {
    color: white;
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px;
    transition: all .3s ease-in-out;
}
/* PAGINATION */
.swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    color: #000;
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
    &.swiper-pagination-bullet-active {
        color: #fff;
        background: var(--dark-green-color);
    }
}

@media only screen and (max-width: 640px) {
    .lead {
        font-size: smaller;
    }

    .poster-card {
        width: 40vw;
        height: 40vw;
    }
}

@media only screen and (max-width: 480px) {
    .poster-card {
        width: 80vw;
        height: 80vw;
    }
}
