*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Source Sans Pro', Arial, sans-serif;
    background: #032541;
    color: #f6f9fc;
    font-size: 18px;
}
html{
    scroll-behavior: smooth;
}
header{
    width: 100%;
}
nav{
    width: 100%;
    height: 10vh;
    background: #032541da;
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3em;
    z-index: 10;
    border-bottom: 1px solid #053d6b;
}
.logo{
    font-family: 'Asap Condensed', sans-serif;
}
.logo a{
    text-decoration: none;
    color: #2fbccf;
}
.logo h1{
    text-transform: uppercase;
    font-size: 30px;
    letter-spacing: 2px;
    font-weight: bold;
}
.light-dark{
    display: flex;
    align-items: center;
}
.light{
    display: flex;
    align-items: center;
    width: 110px;
    height: 40px;
    border: 0.1em solid #f6f9fc;
    justify-content: center;
    border-radius: 30px;
    cursor: pointer;
}
.light img{
    height: 30px;
}
.light p{
    margin-left: 5px;
    font-size: 16px;
}
.dark{
    display: none;
    align-items: center;
    width: 110px;
    height: 40px;
    border: 0.1em solid #f6f9fc;
    justify-content: center;
    border-radius: 30px;
    cursor: pointer;
}
.dark img{
    height: 30px;
}
.dark p{
    margin-left: 5px;
    font-size: 16px;
}
.light:focus{
    border: 0.1em solid #2fbccf;
}
.container{
    width: 100%;
    height: 50vh;
    background: linear-gradient(rgba(3,37,65,0.5), rgba(3,37,65,0.5)), url(./Images/background.jpg) no-repeat;
    background-size: cover;
    background-position:center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 0 3em;
    margin: 10vh 0 0 0;
}
.container h1{
    font-size: 2.5em;
}
.container h3{
    font-size: 1.5em;
}
.search{
    display: flex;
    align-items: center;
    margin: 2em 0;
    position:relative;
}
.search input{
    width: 50vw;
    height: 40px;
    border: none;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    outline: none;
    padding: 0 1em;
    font-size: 18px;
    border-radius: 30px;
    color: rgb(140, 140, 140);
}
.search button{
    width: 120px;
    height:40px;
    border: none;
    outline: none;
    background: #032541;
    font-size: 18px;
    border-radius: 30px;
    cursor: pointer;
    position: absolute;
    right: 0;
    color: #f6f9fc;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    border: 0.1em solid #2fbccf;
}
.movie{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1em 1em;
}
.item{
    margin: 1em;
}
.title-date{
    width: 300px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #053d6b;
    padding: 1em 0.5em;
    text-align: center;
}
.title-date h1{
    font-size: 18px;
    font-family: 'Source Sans Pro', Arial, sans-serif;
}
.date{
    padding: 0.5em 0;
}
.title-date button{
    width: 120px;
    height: 40px;
    /* background: #2fbccf; */
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    color: #f6f9fc;
    border-radius: 30px;
    background: none;
    border: 0.1em solid #2fbccf;
    margin: 0.25em 0;
}
#trailer{
    background: #032541;
}
.title-date button:focus{
    background: #2fbccf;
}
.item{
    position: relative;
}
.more{
    width: 100%;
    height: 100vh;
    background: #032541;
    position: fixed;
    top: 0;
    z-index: 20;
    transition: 0.3s;
    transform: translateX(-100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10vh 1em;
}
.show-more{
    transform: translateX(0%);
    transition: 0.3s;
}
.close{
    position: absolute;
    top: .5em;
    right: .5em;
    width: 40px;
    height: 40px;
    background: rgb(48, 48, 48);
    border-radius: 5px;
    cursor: pointer;
}
.close img{
    height: 40px;
}
.more-text h1{
    padding: 0.5em 0;
}
.more-text img{
    border-radius: 5px;
}
.rate-value{
    width: 70px;
    height: 30px;
    background: orangered;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 30px;
}
#rate-number{
    margin-left: 5px;
}
.lang{
    display: flex;
    align-items: center;
}
.rate{
    display: flex;
    align-items: center;
    padding: 0.5em 0;
}
.rate p{
    margin-left: 0.5em;
}
.another{
    width: 50%;
    height: auto;
    overflow-y: scroll;
    padding: 1em;
}
.trailer-movie{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    z-index: 10;
    transform: translateX(-100%);
    transition: 0.3s;
    background: #032541;
    overflow-y: scroll;
    padding: 3em 1em;
}
.show-trailer{
    transform: translateX(0%);
    transition: 0.3s;
}
.player iframe{
    width: 400px;
    height: 300px;
}
.player h1{
    font-size: 20px;
    padding: 1em 0;
}
.video-trailer{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}
.line{
    width: 50%;
    height: 0.1em;
    background: #2fbccf;
    margin: auto;
}
.player{
    padding: 1em 0;
}
.direction{
    width: 100%;
    height: auto;
    padding: 1em 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.direction p{
    padding: 0.5em;
    background: #053d6b;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 0.25em;
}
.pagination{
    width: 100%;
    padding: 0.5em 0;
    display: flex;
    align-items: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}
.pagination p{
    padding: 0.5em 0;
}
.pagination input{
    width: 100px;
    height: 40px;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    border-radius: 30px;
    padding: 0 1em;
    color: rgb(140, 140, 140);
    background: none;
    border: 0.1em solid #2fbccf;
}
.stuck{
    overflow: hidden;
}
.change{
    background: #f6f9fc;
}
.block{
    display: flex;
}
.err{
    width: 100%;
    height: 30vh;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-align: center;
}
.err h1{
    font-size: 1.5em;
}
.pn-color{
    color: #000;
    font-size: 18px;
}
button, input{
    background: #f6f9fc;
}
.error{
    color: #000;
}
footer{
    width: 100%;
    height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1em;
    border-top: 1px solid #053d6b;
    background: #032541;
}
footer p{
    font-size: 18px;
}
footer a{
    color: #2fbccf;
}
.item{
    border: 1px solid #053d6b;
    border-radius: 5px;
}
.container p{
    padding: 0.5em;
    background: red;
    border-radius: 30px;
    display: none;
}
.top{
    width: 50px;
    height: 50px;
    background: #032541;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.1em solid #053d6b;
    position: fixed;
    right: .5em;
    bottom: 21vh;
    border-radius: 5px;
}
.top img{
    height: 30px;
}
.pageOn{
    color: #000;
}
@media (max-width: 900px) {
    .another{
        width: 100%;
    }
    .search input{
        width: 60vw;
    }
}
@media (max-width: 700px) {
    nav{
        padding: 0 1em;
    }
    .container{
        padding: 0 1em;
    }
    .search input{
        width: 80vw;
    }
}