body {
    background-image: url("../frontend/imagenes/pexels-steven-van-elk-9757164-18474454.jpg");
    background-size: cover; /* Ajusta para que cubra toda la pantalla */
    background-position: center center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que se repita */
    
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

.container {
    width: 100%; /* Los contenedores ocupan todo el ancho por defecto */
    max-width: 1000px; /* Limita el ancho máximo */
    margin: 100px;
    padding: 30px;
    background-color: #ffffff;
    border: 5px solid #000000;
    border-radius: 30px;
    box-sizing: border-box;  
}

.container h1 {
    background-color: lightblue;
    text-align: center;
}

#fileInput {
    background-color: rgb(200, 200, 200);
    width: 570px;
    font-size: 25px;
    margin-top: 5%;
    margin-left: 15%;
}

label[for="lineCount"] {
    font-size: 25px;
    margin-left:20%;
}

#lineCount {
    padding: 10px;
    font-size: 20px;
    margin-top: 2%;
    border-color: rgb(255, 17, 64);
    width: 10%;
}

label[for="splitWord"] {
    font-size: 25px;
    margin-left: 15%;
}

#splitWord {
    padding: 10px;
    font-size: 20px;
    margin-top: 2%;
    border-color: rgb(250, 9, 57);
    width:350px;
    
}

button {
    background-color: rgb(254, 242, 76);
    margin-left: 27%;
    font-size: 30px;
    border-radius: 50px;
    margin-top: 2%;
    width: 50%;
    padding: 10px;
}

button:hover {
    background-color: rgb(122, 251, 83);
}

.email {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 10px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 27px;
    margin-left: 25px;
}

.email:hover {
    background-color: rgb(129, 224, 253);
}

/* Media Queries para pantallas más pequeñas */

/* Pantallas de 768px o menos (tabletas y móviles en apaisado) */
@media (max-width: 768px) {
    body {
        flex-direction: column; /* Los contenedores se apilan verticalmente */
        justify-content: flex-start;
    }

    .container {
        width: 90%; /* Ocupan el 90% del ancho de la pantalla */
        margin: 10px 0;
       
    }

    #fileInput {
        width: 100%;
        margin-left: 0;
        font-size: 20px;
    }

    button {
        width: 80%;
        font-size: 25px;
        margin-left: 10%;
    }

    .email {
        font-size: 22px;
        margin-left: 10px;
    }
}

/* Pantallas de 480px o menos (móviles pequeños) */
@media (max-width: 480px) {
    body {
        flex-direction: column; /* Los contenedores se apilan verticalmente */
    }

    .container {
        width: 95%; /* Ocupan el 95% del ancho de la pantalla */
        margin: 5px 0;
    }

    #fileInput {
        width: 100%;
        font-size: 18px;
    }

    button {
        width: 90%;
        font-size: 22px;
    }

    .email {
        font-size: 20px;
    }
}