
/* IMPOSTAZIONI STANDARD */

:root{
    --color_body: #181818;
    --navbar:#000;
    --message: #fff;
    --logoblue: #00b4c4;
    --gradient: radial-gradient(circle at right bottom, #12909b , #181818);
    --black_trasparent: rgba(0,0,0,0.6);
    --black_trasparent_light:  rgba(0,0,0,0.2);
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body,
html{
    background: var(--gradient);
    font-family: 'roboto', sans-serif;
    width: 100%;
    position: relative;
}


/* NAVBAR */


.logo{
    height: 85%;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.navbar{
    width: 100%;
    height: 60px;
    position: fixed;
    z-index: 9;
    top: 0;
    padding: 0 2.5vw;
    background: var(--navbar);
    display: flex;
    align-items: center;
}

.nav-box{
    width: fit-content;
    display: flex;
    justify-content: center;
    height: auto;
    margin-left: auto;
    align-items: center;
}

.nav-msg{
    font-size: 14px;
    text-transform: uppercase;
    color: var(--message);
    position: relative;
    display: inline-block;
    cursor: none;
}
 
 .nav-msg:after {
   content: '';
   position: absolute;
   width: 100%;
   transform: scaleX(0);
   height: 2px;
   bottom: 0;
   left: 0;
   background-color:var(--logoblue);
   transform-origin: bottom right;
   transition: transform 0.25s ease-out;
 }
 
 .nav-msg:hover:after {
   transform: scaleX(1);
   transform-origin: bottom left;
 }

.btn{
    height: 35px;
    padding: 0 10px;
    margin-left: 10px;
    border: 1px solid var(--message);
    color: var(--message);
    border-radius: 2px;
    background: transparent;
    text-transform: uppercase;
    cursor: pointer;
}

.btn:hover{
    color: var(--logoblue);
    border: 1px solid var(--logoblue);

}

/* MODALS */

.modal-try{
    display: none;  
    position: fixed; 
    z-index: 1; 
    padding-top: 100px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto;  
    background-color: var(--black_trasparent);
    
}

.form{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: url("https://nientepopcorn.b-cdn.net/wp-content/uploads/2017/10/netflix_share.jpg");
    margin: auto;
    padding: 20px 20px;
    width: 40%;
    height: auto;
    border-radius: 20px;

}

.email{
    background: var(--color_body);
    color: var(--message);
    border: none;
    height: 30px;
}

.title_form,
.text{
    color: var(--message);
    background: var(--black_trasparent_light);
}

.title_form{
    
    font-size: 35px;
    text-transform: uppercase;
}

.text{

    font-size: 16px;
    width: 50%;
    margin-top: 20px;
    gap: 10px;

}

.first{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.second{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.send{
    background: var(--black_trasparent);
}

.close{
    color: var(--message);
    padding-left: 90%;
}

.close:hover{
    color: var(--logoblue);
    cursor: pointer;
}


/* HEADER - CARDS */

.header{

    position: relative;
    margin-top: 60px;
    width: 100%;
    padding: 40px 2.5vw;
    color: var(--message);
}

.heading{
    font-size: 45px;
    text-transform: capitalize;
    font-weight: 900;
    color: var(--logoblue);
}

.info{
    font-size: 14px;
    width: 50%;
    margin-top: 10px;
}

.movie-list{
    width: 100%;
    height: 250px;
    margin-top: 40px;
    position: relative;
}

.movie-category{
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.movie-container{
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-behavior: smooth;
}


.movie-category::-webkit-scrollbar{
    display: none;
}

.movie{
    position: relative;
    flex: 0 0 auto;
    width: 24%;
    height: 200px;
    text-align: center;
    margin-right: 10px;
    cursor: pointer;
}

.movie:hover{
    color: var(--logoblue);
    animation: fadeIn 2s;
}

@keyframes fadeIn{
    0% { 
        opacity: 0.1;
    } 100% {
        opacity: 1;
    }
}

.movie img{
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.movie p{
    text-transform: capitalize;
    height: 20px;
    overflow: hidden;
}

/* Bottoni Slider */

.pre-btn img,
.nxt-btn img{
    height: 20px;
    width: 20px;
    object-fit: contain;
    filter: invert();
}

.pre-btn img:hover,
.nxt-btn img:hover{
    height: 25px;
    width: auto;
    transition: 0.4s;
    cursor: pointer;
    filter: invert(100);
    
}

.pre-btn,
.nxt-btn{
    height: 150px;
    position: absolute;
    outline: none;
    width: 2.5vw;
    top: 50%;
    border: none;
    transform: translateY(-50%);
    background: none;
    opacity: 0;
    cursor: pointer;

}

.pre-btn:hover,
.nxt-btn:hover{
    opacity: 1;
}

.pre-btn{
    left: -2.5vw;
}

.nxt-btn{
    right: -2.5vw;
}
