/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


body{
    background:#080808;
    color:#fff;
    font-family:Arial, Helvetica, sans-serif;
}


/* HEADER */

header{
    width:100%;
    background:#000;
    padding:20px 40px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:sticky;
    top:0;
    z-index:10;
}


.logo{
    font-size:32px;
    font-weight:bold;
    color:#e50914;
}



/* KORISNIK */

.user-menu{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:12px;
}


.welcome{
    font-size:17px;
    font-weight:bold;
    color:#fff;
}


.menu-links{
    display:flex;
    gap:10px;
    align-items:center;
}


.menu-links a{
    background:#181818;
    color:white;
    text-decoration:none;
    padding:10px 16px;
    border-radius:8px;
    transition:.3s;
}


.menu-links a:hover{
    background:#e50914;
}



/* DUGMAD */

button,
.btn{

    background:#e50914;
    color:white;
    border:none;
    padding:12px 20px;
    border-radius:7px;
    cursor:pointer;
    text-decoration:none;
    font-weight:bold;

}


button:hover,
.btn:hover{

    background:#b20710;

}



/* GLAVNI SADRZAJ */

.container{

    padding:40px;

}


h2{

    margin:35px 0 20px;
    border-left:5px solid #e50914;
    padding-left:15px;
    font-size:26px;

}



/* FILMOVI */

.movies{

    display:flex;
    flex-wrap:wrap;
    gap:25px;

}



.movie{

    width:260px;
    background:#181818;
    border-radius:12px;
    overflow:hidden;
    transition:.3s;

}


.movie:hover{

    transform:scale(1.05);

}



.movie img{

    width:100%;
    height:350px;
    object-fit:cover;

}



.info{

    padding:15px;

}



.info h3{

    margin-bottom:10px;

}



.info p{

    color:#ccc;
    font-size:14px;
    line-height:1.4;

}



/* OBAVIJEST */

.notice{

    background:#181818;
    border-left:5px solid #e50914;
    padding:20px;
    border-radius:10px;
    margin-bottom:30px;

}



/* LINKOVI */

a{

    color:white;

}



/* LOGIN */

.login-box,
.register-box,
.profile{

    width:400px;
    max-width:90%;
    margin:60px auto;
    background:#181818;
    padding:35px;
    border-radius:15px;

}



.login-box h1,
.register-box h1,
.profile h1{

    text-align:center;
    color:#e50914;
    margin-bottom:20px;

}



input{

    width:100%;
    padding:14px;
    margin:10px 0;
    background:#111;
    color:white;
    border:1px solid #333;
    border-radius:8px;

}



input:focus{

    outline:none;
    border-color:#e50914;

}



/* ADMIN / KARTICE */

.card{

    background:#181818;
    padding:20px;
    border-radius:12px;

}



/* MOBITEL */

@media(max-width:700px){


header{

    flex-direction:column;
    gap:20px;

}


.user-menu{

    align-items:center;

}


.menu-links{

    flex-wrap:wrap;
    justify-content:center;

}


.container{

    padding:20px;

}


.movie{

    width:100%;

}


}