body {
    background-color: white;
    display: flex;
    flex-direction: column; /* Disponer el contenido de manera vertical */
    font-family: 'Press Start 2P' !important;
}

main {
    flex: 1; /* Permitir que el main ocupe el espacio restante */
}

html, body {
    height: 100%; /* Asegúrate de que el html y body ocupen toda la altura */
    margin: 0; /* Eliminar márgenes predeterminados */
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    font-size: 20px;
    background-color: #B22222;
    color: white;
}

.contendor {
    margin: 20px;
}
body {
    font-family: 'Press Start 2P', cursive;
}
.card {
   background-color: #8B0000;
    border: 2px solid #8B0000;
    text-align: center;
    overflow: hidden; /* Ocultar el contenido que desborda */
}

/* .finish{
    position: absolute;
    bottom: 10px;
    left: 20px;
} */
.card-title, .card-text, .btn {
    font-size: 0.8rem;
}
.btn-danger {
    background-color: #FF4040;
    border: none;
}
.btn-danger:hover {
    background-color: #B22222;
}

footer {
    background-color: #B22222; /* Color de fondo claro */
    position: relative; /* Para que el footer no flote */
    bottom: 0;
    width: 100%;
    font-family: 'Press Start 2P', cursive; /* Usando la misma fuente pixelada */
    color: white; /* Color de texto negro */
}

@keyframes pixelDisintegrate {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0);
        opacity: 0;
        filter: blur(5px);
    }
}

.card {
    position: relative; /* Para posicionar el pseudo-elemento */
}

.card.pixeled {
    animation: pixelDisintegrate 0.5s forwards; /* Aplicar la animación */
}

.img{
    margin-top: 10px !important;
    width: 115px !important;
    height: 115px;
    display: block;
    margin: auto;
}