        body {     
            font: 100% sans-serif;                          
            display: flex;           
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 100vh;  
            margin: 0;            
            background-color: white;    
            /* MARCO EN TODA LA PAGINA. Define el borde: grosor, estilo y color */
    	    border: 5px solid #8B0000; /* 5px de grosor, línea sólida, color gris oscuro */
    	    /* Opcional: Añade espacio interno para que el contenido no se pegue al borde */
    	    padding: 20px;
    	    /* Opcional: Para que el borde no se recorte si el contenido es muy largo */
    	    margin: 0; /* Elimina márgenes por defecto del body */ 
            height:100%;  
        }

        .header {
            background-color: #8B0000;
            padding: 20px 40px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            margin-bottom: 20px;
            text-align: center;                      
        }

        .header h1 {
            color: white;            
            font-size: 30px;
            margin: 0;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        
        .mensaje {                    
            color: red;
            font-size: 20px;           
        }

        .texto2 {                    
            color: black;
            font-size: 30px;           
        }

        .texto3 {                    
            color: black;
            font-size: 20px;           
        }
        
        .texto4 {                    
            color: #8B0000;
            font-size: 30px;  
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);         
        }

        .texto5 {                    
            color: rgb(30, 180, 35);
            font-size: 30px;  
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);         
        }

        
        .login-container {            
            background-color: #8B0000;
            padding: 20px 30px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            width: 80%;
            max-width: 350px;           
        }

        .login-container h2 {
            text-align: center;
            margin-bottom: 20px;
            color: white;            
        }

        .login-container label {
            display: block;
            margin-bottom: 5px;
            color: #ffffff;
        }

        .login-container input[type="text"],
        .login-container input[type="date"],
        .login-container input[type="password"] {
            width: 100%;
            padding: 10px;
            margin-bottom: 15px;
            border: 1px solid #cccccc;
            border-radius: 5px;
            box-sizing: border-box;
        }

        .login-container input[type="submit"] {
            width: 100%;
            padding: 10px;
            background-color: #4CAF50;
            border: none;
            border-radius: 5px;
            color: white;
            font-size: 16px;
            cursor: pointer;
        }

        .login-container input[type="submit"]:hover {
            background-color: #45a049;
        }

        .btn-verde {
            background-color: #28a745;
            border: none;
            color: white;
            padding: 15px 32px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 16px;
            margin: 4px 2px;
            transition-duration: 0.4s;
            cursor: pointer;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .btn-rojo {
            background-color: #8B0000;
            border: none;
            color: white;
            padding: 15px 32px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 16px;
            margin: 4px 2px;
            transition-duration: 0.4s;
            cursor: pointer;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .btn-gris {
            background-color: #dddddd;
            border: none;
            color: black;
            padding: 15px 32px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 16px;
            margin: 4px 2px;
            transition-duration: 0.4s;
            cursor: pointer;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .btn-verde:hover {
            background-color: #218838;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
        }

        .btn-rojo:hover {
            background-color: #7a0000;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
        }

        .btn-gris:hover {
            background-color: #b8b8b8;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
        }
        @media (max-width: 800px) {

            body{
                width: 100%;
            }

            .header{
            width: 60%;
            margin-top: 30%;
            }

            .header h1{
                font-size: 20px;
            }

            .login-container,
            .login-container input{
                 width: 80%;            
            }

            .texto4{
                text-align: center;
                margin-left: 10%;
                margin-right: 10%;
            }

            .texto5{
                font-size: 20px;
                text-align: center;
                margin-left: 10%;
                margin-right: 10%;
            }

            .texto2{
                font-size: 20px;
                text-align: center;
                margin-left: 10%;
                margin-right: 10%;
            }

            .texto3{
                text-align: center;
            }  

        }
