* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    text-align: center;
    background:
        linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)),
        /* Degradado blanco semitransparente */
        url('/background.jpg') no-repeat center center;
    /* Imagen de fondo */
    background-size: cover;
    /* Ajusta la imagen para que cubra el fondo */
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Asegura que el body ocupe toda la altura de la ventana */
}


header,
.header {
    background-color: #182632;
    padding: 20px 0;
}


header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header h2 {
    margin: 5px 0 0;
    font-size: 1.5rem;
}

.bold {
    font-weight: bold;
}

.container {
    margin: auto;
    padding: 30px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    max-width: 90%;
    /* Cambiado a 90% para responsividad */
    /*width: 50vh; /* Ancho máximo */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.container>span {
    display: block;
}

.clasificacion {
    font-size: 1.2rem;
}

.nombre {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.estatus {
    font-size: 2rem;
    font-style: bold;
    margin-top: 10px;
}

.half-lines {
    padding: 0.1rem 0rem 0.8rem;
}

.half {
    display: inline-block;
    width: 45%;
}

.half.half-left {
    left: 0px;
    float: left;
}

.half.half-right {
    right: 0px;
    float: right;
}

hr.red-line {
    border: 1px solid #e31d24;
}

hr.yellow-line {
    border: 1px solid #f1cd22;
}

.pensionado-container {
    margin: auto;
    padding: 1rem 0rem 0rem;
    width: fit-content;
}

.pensionado-text {
    padding: 0rem 0.6rem;
}

.text-xl {
    font-size: 1rem !important;
}

.lowercase {
    text-transform: capitalize;
}

footer,
.footer {
    background-color: #182632;
    color: white;
    padding: 0px 0px 20px 0px;
    /* Aumentar el padding superior e inferior */
    width: 100%;
    margin-top: auto;
    /* Asegura que el footer se mantenga al final */
}

footer p,
.footer p {
    margin: 0;
    font-size: 0.7rem;
}

header img,
.header img {
    width: 30%;

}

/* Responsividad */
@media (max-width: 700px) and (orientation: portrait) {

    header img,
    .header img {
        width: 60%;
        height: auto;

    }

    header h1 {
        font-size: 2rem;
        /* Reducir tamaño en móviles */
    }

    header h2 {
        font-size: 1.2rem;
        /* Reducir tamaño en móviles */
    }

    .container {
        padding: 20px;
        /* Menor padding en móviles */
    }

    .nombre {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 1rem;
        /* Reducir tamaño en móviles */
    }

    .estatus {
        font-size: 1.2rem;
        /* Reducir tamaño en móviles */
    }

    footer p,
    .footer p {
        margin: 0;
        font-size: 0.8em;
    }

}

.badge {
    border-radius: 5px;
    padding: 0.3rem 0.8rem;
    color: white;
}

.black {
    color: #182632;
}

.green-badge {
    background-color: #28b281;
}

.red-badge {
    background-color: #b12028;
}

.white {
    color: #fff;
}

/* Responsividad */
@media (orientation: landscape) {

    header img {
        width: 30%;
        height: auto;

    }

    header h1 {
        font-size: 2rem;
        /* Reducir tamaño en móviles */
    }

    header h2 {
        font-size: 1.2rem;
        /* Reducir tamaño en móviles */
    }

    .container {
        padding: 20px;
        /* Menor padding en móviles */
        margin-top: 3rem;
        margin-bottom: 3rem;
        max-width: 50%;
    }

    .nombre {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 1rem;
        /* Reducir tamaño en móviles */
    }

    .estatus {
        font-size: 1.4rem;
        /* Reducir tamaño en móviles */
    }

    footer p,
    .footer p {
        margin: 0;
        font-size: 0.7rem;
    }

}

.flex-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.flex-header {
    flex-grow: 0;
}

.flex-content {
    flex-grow: 1;
}

.flex-footer {
    flex-grow: 0;
}

.vertical-container {
    height: 100%;
}

.vertical-content {
    top: 50%;
    position: relative;
    left: 50%;
    border: 1px solid transparent;
    transform: translate(-50%, -50%);
}
.footer p, .footer p a {
    text-decoration: none !important;
    color: white;
}