/* Link Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Ubuntu+Mono:wght@400;700&display=swap');

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
   background-color: rgb(18, 33, 80);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
}

a {
    text-decoration: none;
}
ul {
    list-style: none;
}



/* Header */

header {
    width: 100%;
    position: fixed;
    z-index: 320000;
    background-color: #0f0c05;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    box-shadow: 0px 3px 3px -1px  rgba(51, 50, 50, 0.377);
    margin-right: auto;
    margin-left: auto;
    border-bottom: 1px solid rgba(116, 114, 114, 0.185);
}

.logo img {
    font-family: 'Mochiy Pop P One', sans-serif;
    font-size: 1.3rem;
    cursor: pointer;
    color: rgb(245, 7, 19);
    margin-left: 1rem;
    margin-top: 1rem;
}



header ul {
    display: flex;
}

header ul li {
    margin: 2rem;
}

header ul li a {
    font-family: 'Permanent Marker', cursive;
    padding: 1rem;
    color: rgb(200, 5, 5);
}

header ul li a.ativate {
    border-bottom: 2px solid #f00;
}


header ul li a:hover {
    
    border-bottom: 2px solid #f00;
}

header .icon-close {
    display: none;
}

header .icon-open {
    font-size: 1.7rem;
    margin-right: 1rem;
    cursor: pointer;
    color: #fff;
}

header #icon-search {
    color: #fff;
    font-size: 1.2rem;
    margin-right: 1rem;
    cursor: pointer;
}

/* Menu-mobile */

nav {
    width: 100vw;
}

nav .menu-mobile {
    display: none;
   
}

nav .menu-mobile a {
    color: rgb(200, 5, 5);
}

.input {
    display: none;
    animation-name: enterSearch;
    animation-duration: 2s ease-in-out ;
  
}

.input h3 {
    text-align: center;
    margin-bottom: 6rem;
    font-size: 1.5rem;
    color: #f00;
    font-family: 'Ubuntu Mono',sans-serif;
    animation-name: enterSearch;
    animation-duration: 3s  ;
    align-items: center;
    letter-spacing: 0.2rem;

}

.input.open-search {
    display:flex;
    background-color: rgb(42, 38, 38);
    width: 100vw;
    justify-content: center;
    padding: 10rem;
    margin-top: 2rem;
    justify-content: center;
    position: absolute;
    z-index: 120000;
}

input {
    color: #fff;
    border: none;
    background-color: transparent;
    width: 20rem;
    border: 2px solid rgb(11, 27, 73);
    padding: 1rem;
    outline: none;
    font-family: 'Ubuntu Mono',sans-serif;
    font-size: 1rem;
    animation-name: enterSearch;
    animation-duration: 3s  ;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    z-index: 2000;
    margin-top: 4rem;
}



 input.open-search {
    height: 2.4rem;
    color: #fff;
    border-radius: 0.4rem;
    position: absolute;
    z-index: 20000;
    margin-top: 1rem;
}

.input.open-search input:nth-child(3) {
    background-color: #f00;
    width: 10rem;
    border: none;
    padding: 0.5rem;
    height: 3.2rem;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    position: absolute;
    z-index: 200002;
    margin-top: 8rem;
}
.menu-mobile.show {
    display:flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    background-color: #fffefc;
    box-shadow: 0px 3px 3px -1px  rgba(109, 109, 109, 0.733);
    padding: 2rem;
    animation-name: enterMenu;
    animation-duration: 1s ;
    
}



.menu-mobile.show li {
    text-align: center;
    align-items: center;
    margin-top: 4rem;
    cursor: pointer; 
}

.menu-mobile.show li a {
    font-size: 1rem;
    font-family: 'Permanent Marker', cursive;
    transition-duration: all 3s ease-in-out;
}

.menu-mobile.show li a:hover {
    border-bottom: 2px solid rgb(231, 40, 7);
}

.filmes {
    display: flex;
    margin-top: 6rem;
    width: 10rem;
    margin-left: 2rem;
    border-bottom: 2px solid #f00;
    margin-bottom: 1rem;
}

.filmes h2 {
    margin-left: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-family:  'Permanent Marker', cursive;
    color:rgb(245, 7, 19) ;
}

.filmes .icon-film {
    color:#fff;
    font-size: 2rem;
    margin-left: 1rem;
    margin-top: 2.1rem;
}

.allmovies {
    position: relative;
}

.baner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 5rem;
}

.baner-single {
    padding: 1rem;
    margin:0.2rem;
 
  
}

.voted {
    display: flex;
    position:absolute;
    z-index: 30000;
    background-color: rgba(255, 250, 250, 0.466);
    border-radius: 0.2rem;
    margin-top: 0.3rem;
    margin-left: 0.3rem;
    padding: 0.3rem;
    object-fit: content;
    
}

.voted a {
    font-family: 'Ubuntu Mono',sans-serif;
}

.baner-single img {
    max-width: 300px;
    max-height: 300px;
    position: relative;
    z-index: 1000;
    border-radius:0.3rem;
}
.title-movie .voted {
    display: flex;
    position: absolute;
    z-index: 10000;
  
}

.baner-single .title {
    display: flex;
    width: 200px;
    justify-content: center;
    margin-top: -0.2rem;
    text-align: center;
    background-color: rgb(224, 11, 11);
}

.baner-single .title span {
    padding: 1rem;
    color: #ffff;
    font-family: 'Ubuntu Mono',sans-serif;
    font-size: 0.9rem;
}

.baner-single .title-movie {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 1rem;
    letter-spacing: 0.1rem;
}



.baner-single .title i {
  
    color:rgb(201, 255, 4);
    font-size:0.9rem;
    font-weight: bold;
    margin-right: 0.3rem;
    
}

.baner-single a.green {
    color: green;
    font-weight: bold;
}

.baner-single a.orange {
    color: orange;
    font-weight: bold;
}

.baner-single a.red {
    color: red;
    font-weight: bold;
}





@keyframes enterSearch {
    from {
        opacity: 0;
        transform: translateY(-0.2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0.2rem);
        
    }
}


@keyframes enterMenu {
    from {
        opacity: 0;
        transform: translateY(-0.1rem);
       
    }

    to {
        opacity: 1;
        transform: translateY(0.1rem);
    }
}

footer {
    z-index: 200002;
    display: flex;
    position: fixed;
    width: 100%;
    bottom:0;
    padding: 1rem;
    background-color: rgb(42, 38, 38);
    justify-content: center;
}

footer i {
    color: #fff;
    font-size: 1.3rem;
}

footer p {
    text-align: center;
    color: #fff;
    margin-left: 0.2rem;
    font-family: 'Permanent Marker', cursive;
}

@media screen and (min-width:910px){
    header .icon-open {
        display: none;
    }
    .menu-mobile.show {
        display: none;
    }
}

@media  screen and (max-width:897px) {
    header ul {
        display: none;
    }
    .menu-mobile.show {
        display: grid;
        flex-direction: column;
    }

    .menu-mobile.show a.ativate {
       border-bottom: 2px solid #f00;
    }

    .menu-mobile.show a:hover {
        border-bottom: 2px solid #f00;
    }
   
}







