* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url(https://wallpaper-mania.com/wp-content/uploads/2018/09/High_resolution_wallpaper_background_ID_77700426272.jpg);
    background-size: cover;
}

header {
    background-color: #232b30;
    color: white;
    text-align: center;
    padding: 1em;
}

ul {
    padding: 0;
    display: flex;
    justify-content: center;
}

li {
    list-style-type: none;
    margin-right: 20px;
    border: 6px solid #fec56242;
    padding: 10px;
}

a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s;
}

a:hover {
    color: #ff6f61;
}

.contenido {
    width: 100%;
    color: white;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f993;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.Overlay {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.container {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    overflow-x: auto;
}

.card {
    display: inline-block; 
    vertical-align: top; 
    object-fit: cover;
    min-height: 500px;
    width: 200px;
    margin: 10px;
    background-color: rgba(144, 144, 144, 0.592);
    padding: 10px;
    border-radius: 5px;
    text-align: left;
    color: #ffffff;
    overflow: hidden; /* me va a ayudar a esconder el texto que sobra del rectangulo */
    flex: 0 0 auto;
}

.info-movie {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-container {
    height: 310px;
    margin: 0 auto; /* imagen centrada horizontal */
    overflow: hidden; /* para que no se desborde la imagen del rectangulo */
}

.text_container {
    margin: 0; 
    flex-wrap: nowrap;
}


#form {
    font-size: 14px;
    width: 300px;
    background: lightgray;
    border: 1px solid grey;
    border-radius: .5rem;
    margin: 2rem;
    padding: 1rem;
}
input, textarea {
    width: 100%;
    border: 1px solid grey;
    border-radius: .25rem;
    padding: 6px;
    margin-bottom: 8px;
}
.boton {
    cursor: pointer;
    border-radius: 3px;
    min-width: 96px;
    min-height: 28px;
    border: none;
    color: white;
    background-color: cornflowerblue;
    font-weight: bold;
    letter-spacing: 1.25px;
}
span {
    color: brown;
    font-weight: bold;
    font-size: 18px;
}
#trucazo{
    opacity: 0;
}


@media screen and (min-width: 350px) and (max-width: 750px) {
    body {
        width: 70%;
        height: 70%;
    }

    header {
        width: 100%;
        height: 100%;
    }

    .card {
        width: 90%;
        display: inline-block; 
        width: 80%;
        margin: 5px;
        padding: 5px;
        border-radius: 5px;
        overflow: hidden; /* me va a ayudar a esconder el texto que sobra del rectangulo */
    }

    .container {
        display: block;
        height: 100%;
    }

    .contenido {
        overflow: hidden;
    }

    li {
        list-style-type: none;
        margin-right: 6px;
        border: 2px solid #fec56242;
        padding: 1px;
    }
    
    a {
        color: white;
        text-decoration: none;
        font-size: 0.8em;
        transition: color 0.3s;
    }


}

