.error-page .button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.error-page .button:hover {
    background-color: #0056b3;
}

.error-page {
    text-align: center;
    padding: 50px 20px;
}

.error-page h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.error-page p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}


.error404 #masthead {
  display: none;
}
.error-bx.not-found {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.error-bx.not-found {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Espacio entre los elementos */
    height: 100vh; /* Hace que la sección ocupe toda la altura de la ventana */
    padding: 0; /* Elimina márgenes y padding adicionales */
}

.error-bx .page-content {
    text-align: center; /* Centra horizontalmente el contenido */
}



.error-bx .page-content a.button {
    display: inline-block; /* Hace que el botón sea un bloque en línea */
    margin-top: 15px; /* Espacio superior para separarlo del párrafo */
    padding: 10px 20px; /* Tamaño del botón */
   background-color: #ff0000; /* Color del fondo del botón */
    color: #fff; /* Color del texto */
    text-decoration: none; /* Quita subrayado */
    border-radius: 5px; /* Bordes redondeados */
    transition: background-color 0.3s; /* Transición al pasar el cursor */
}

.error-bx .page-content a.button:hover {
    background-color: #0056b3; /* Color más oscuro en hover */
}
#error-404 {
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
}
#error-404 p{
  text-align: center;
}