@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap'); 

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

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

ul{
    list-style: none;

}

img{
    width: 100%;
    height: auto;
    display: block;
}

.wrapper{
    display: flex;
}

header {
    max-width: 425px;
    background-color: black;
    padding: 20px;
    height: 100vh;
}

header .logo {
    border-bottom: 2px solid white;
    margin-bottom: 20px;
}

header #personajes li {
    cursor: pointer;
    color: white;
    font-size: 150%;
    font-weight: 700;
    padding: 10px;
    
}

header #personajes li:hover{
    color: black;
    background-color: #FFE919;

}

header .botones{
    display: flex;
    justify-content: space-between;
   
}

header .botones div{
    border: 1px solid #FFE919;
    color: #FFE919;
    padding: 10px;
    cursor: pointer;
    margin-top: 5px;
    display: none;
}

header .botones div:hover{
    border: 1px solid black;
    color: black;
    background-color: #FFE919;
}

main{
    padding: 20px;
}

main #vistaPersonaje{
    padding: 20px;
    border: 1px solid black;
    width: 80vw;
    height: auto;

}

main h2 {
    margin: 20px 0;
    text-decoration: underline;
}

main #vistaPersonaje .peliculas {
    display: flex;
    flex-wrap: wrap;
}

main #vistaPersonaje .peliculas article {
    width: 30%;
    background-color: black;
    color: white;
    padding: 20px;
    margin: 2px;
    border: 2px solid #FFE919;
}

main #vistaPersonaje .peliculas article h3{
    color: #FFE919;

}

@media(max-width: 600px){
    .wrapper{
        display: flex;
        flex-wrap: wrap;
    }

    header {
        max-width: 600px;
        height: 100%;
    }

    main #vistaPersonaje{
        width: auto;
        height: auto;
    
    }

    main #vistaPersonaje .peliculas article {
        width: 97%;
        margin: 1% 1.5%;
    }

}