* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
}

.navbar {
    font-family: 'Sen', sans-serif;
    height: 50px;
    width: calc(100% - 90px);
    display: flex;
    justify-content: space-around;
    padding: 0px 20px 0px 70px;
    background-color: black;
    position: fixed;
    transition: opacity 1s ease-in-out;
    z-index: 100;
}

.navbar.transparent{
    opacity: 0.5;
    transition: opacity 1s ease-in-out;
}

.navbar-logo {
    flex: 1;
    color: #0eb121;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.navbar-link {
    flex: 6;
}

.navbar-link ul {
    height: 100%;
    padding: 0 20px;
    list-style: none;
    display: flex;
    align-items: center;
}

.navbar-link a {
    padding: 0 7px;
    text-decoration: none;
    color: white;
    font-weight: bolder;
}

.navbar-link a:hover {
    color: rgb(238, 175, 175);
}

.navbar-profile {
    flex: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: white;
}

.navbar-dark {
    width: 40px;
    height: 20px;
    color: gold;
    background-color: white;
    border-radius: 10px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    position: relative;
}

.navbar-dark-toggle {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #ccc;
    border-radius: 50%;
    left: 0;
    cursor: pointer;
    transition: all 1s ease;
}


.navbar-profile img {
    background-color: white;
    height: 30px;
    width: 30px;
    object-fit: contain;
    border-radius: 50%;
}

#bars {
    display: none;
}

#bars.fa-bars-staggered {
    transition: all 1s ease;
}


.sidebar {
    height: 100vh;
    width: 50px;
    position: fixed;
    left: 0;
    top: 0;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    gap: 35px;
    color: white;
}

.sidebar i {
    cursor: pointer;
}

.container {
    padding-top: 50px;
    min-height: calc(100vh - 50px);
    background-color: #151515;
    width: calc(100% - 50px);
    padding-left: 50px;
}

.primemovie {
    height: 60vh;
    display: flex;
    padding-left: 40px;
    gap: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    margin-bottom: 20px;
}

.primemovie img {
    height: 70px;
    width: 200px;
    object-fit: contain;
}

.primemovie p {
    width: 50%;
}

.primemovie button {
    padding: .75rem 1rem;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background-color: #0eb121;
}

.primemovie button:hover{
    color: rgb(238, 175, 175);
}

.carousel-list-film h1 {
    color: #aaa;
}

.carousel-list-film {
    height: 300px;
    overflow: hidden;
    width: auto;
    padding: 0px 20px;
}



.list-film {
    position: relative;
    overflow: hidden;
}

.arrow {
    font-size: 200px;
    position: absolute;
    color: lightgray;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    cursor: pointer;
    opacity: 0.7;
    user-select: none;
}


.list-film-wrapper {
    gap: 15px;
    width: max-content;
    height: 250px;
    display: flex;
    align-items: center;
    transition: all 1s ease;
    overflow: hidden;
}

.list-film-item {
    min-height: 200px;
    min-width: 300px;
    position: relative;
    border-radius: 15px;
    display: flex;
    overflow: hidden;
    transition: all 1s ease-in-out;
}

.list-film-item img {
    height: 200px;
    width: 300px;
    object-fit: cover;
}

.hover-film {
    opacity: 0;
    position: absolute;
    color: #aaa;
    top: 0;
    left: 0;
    height: 200px;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: rgba(15, 15, 15, 0.6);
    transition: all 1s ease-in-out;
}

.hover-film p {
    text-align: center;
}

.hover-film button {
    background-color: #0eb121;
    padding: 5px 10px;
    outline: none;
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
}

.hover-film button:hover{
    color: rgb(238, 175, 175);
}

.list-film-item:hover {
    transform: scale(1.1);
    margin: 0px 30px;
}

.list-film-item:hover .hover-film {
    opacity: 1;
}


.container.active {
    background-color: white;
}

.sidebar.active {
    background-color: white;
    color: black;
}

.navbar.active {
    background-color: white;
}

.navbar-link a.active {
    color: black;
}

.navbar-profile.active {
    color: black;
}

.navbar-dark.active {
    background-color: black;
}

.navbar-dark-toggle.active {
    left: 20px;
}

@media screen and (max-width:675px) {
    #bars {
        display: block;
        cursor: pointer;
    }

    .navbar-link {
        transition: opacity 1s ease-out;
        opacity: 0;
        height: 0;
        overflow: hidden;
    }

    .navbar-link.active {
        position: absolute;
        flex-wrap: wrap;
        width: calc(100vw - 50px);
        background-color: rgba(170, 170, 170, 0.5);

        height: 50px;
        opacity: 1;
        top: 50px;
        left: 50px;
        transition: opacity 1s ease-in-out, height 1s ease;
    }

    .navbar-link.active ul{
        flex-wrap: wrap;
    }

    .primemovie{
        padding: 10px;
    }

    .primemovie p {
        width: 100%;
        font-size: 12px;
    }

    .carousel-list-film h1 {
        font-size: 25px;
    }

    .navbar-logo{
        padding-right: 10px;
    }
}


@media screen and (max-width: 410px) {
    .sidebar{
        width: 30px;
        font-size: 12px;
    }

    .container{
        padding-left: 30px;
    }

    .carousel-list-film{
        padding: 0px 5px;
    }

    .container {
        width: calc(100% - 30px);
    }

    .navbar-link.active {
        width: calc(100vw - 30px);
        left: 30px;
        font-size: 13px;
    }
    .arrow{
        font-size: 100px;
    }
}