@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&family=Titan+One&display=swap');
* {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

header {
    margin: 0;
}

.open-menu {
    display: block;
    border: 0;
    font-size: 1.2rem;
    background-color: transparent;
    cursor: pointer;
    color: #1F0441;
    font-family: 'Titan One', sans-serif;
}

select {
    margin: 0;
    width: 165px;
    font-family: 'Courier New', Courier, monospace;
    border-radius: 5px;
    font-size: 14px;
    color: white;
    cursor: pointer;
    background-color: #1F0441;
    text-align: center;
}

.title {
    padding-top: 15px;
    width: 100vw;
    height: 65px;
    color: #1F0441;
    background-color: #FCAB10;
    text-align: center;
    font-family: 'Titan One', sans-serif;
    font-size: 15px;
}

.inputs {
    position: absolute;
    display: none;
    flex-direction: column;
    width: 200px;
    background-color: #FCAB10;
    font-family: 'Roboto Mono', monospace;
    align-items:flex-end;
    padding: 9px;
    font-size: 14px;
    color: #1F0441;
    border-radius: 0 0 10px 0;
    gap: 0.5rem;
}

body {
    flex-grow: 1;
    background-color: #1F0441;
    color: #1F0441;
}

.cards {
    width: 290px;
    padding: 15px;
    border-radius: 10px;
    margin: 7px;
    box-sizing: border-box;
    background-color: #0CE3E8;
    text-align: center;
    font-size: 16px;
    font-family: 'Roboto Mono', monospace;
}

img {
    height: 17vw;
    margin-bottom: 15px;
    border-radius: 10px;
}

ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.name-movie {
    font-size: 20px;
    margin-bottom: 3px;
}

.info-movie {
    margin-bottom: 15px;
}

.year-movie {
    font-size: 16px;
    margin-bottom: 10px;
}

#btn {
    margin: 30px 10px 10px 10px;
    border-radius: 5px; 
    background-color: transparent;
    color: #1F0441;
    font-family: 'Titan One', sans-serif;
    border-color: #1F0441;
    padding: 2px;
    cursor: pointer;
}

.cards-two {
    background-color: #0CE3E8;
    width: 260px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
    font-family: 'Roboto Mono', monospace;
    margin-top: 120px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 111px;
}

.cards-menu {
    margin-left: 200px;
}

footer {
    background-color: #FCAB10;
    color:#1F0441;
    width: 100vw;
    text-align: center;
    padding: 5px;
    font-family: 'Titan One', sans-serif;
    position: relative;
    bottom:0px;
    bottom: 0;
    left:0px;
}

h2{
    margin-top: 15px;
    color: white;
    font-size: 20px;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
}

h4{
    color: white;
    font-size: 20px;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
}

@media (max-width: 600px) {
    * {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }
    
    header {
        margin: 0;
    }
    .title {
        padding-top: 7px;
        width: 100vw;
        height: 65px;
        color: #1F0441;
        background-color: #FCAB10;
        text-align: center;
        font-family: 'Titan One', sans-serif;
        font-size: 10px;
    }
    
    body {
      background-color: white;
      color: #1F0441;
      flex-grow: 1;
    }

    .inputs {
        position: absolute;
        display: none;
        flex-direction: column;
        width: 130px;
        background-color: #FCAB10;
        font-family: 'Roboto Mono', monospace;
        align-items:flex-end;
        padding: 9px;
        font-size: 12px;
        color: #1F0441;
        border-radius: 0 0 10px 0;
        gap: 0.3rem;
    }

    img {
        height: 14vw;
        margin-bottom: 10px;
        border-radius: 7px;
    }
    .cards {
        width: 260px;
        padding: 10px;
        border-radius: 7px;
        margin: 7px;
        box-sizing: border-box;
        background-color: #0CE3E8;
        text-align: center;
        font-size: 12px;
        font-family: 'Roboto Mono', monospace;
        flex-direction: column;
    }

    ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        padding: 20px;
        align-content: center;
    }
    h2{
        margin-top: 15px;
        color: #1F0441;
        font-size: 15px;
        text-align: center;
        font-family: 'Courier New', Courier, monospace;
    }
    
    h4{
        color: #1F0441;
        font-size: 15px;
        text-align: center;
        font-family: 'Courier New', Courier, monospace;
    }

    select {
        margin: 0;
        width: 120px;
        font-family: 'Courier New', Courier, monospace;
        border-radius: 5px;
        font-size: 12px;
        color: #1F0441;
        cursor: pointer;
        background-color: white;
        text-align: center;
    }

    .cards-two {
        background-color: #0CE3E8;
        width: 160px;
        padding: 15px;
        border-radius: 10px;
        text-align: center;
        font-size: 13px;
        font-family: 'Roboto Mono', monospace;
        margin-top: 120px;
        margin-left: 160px;
        margin-bottom: 111px;
    }

  }
