/*Universales*/
*{
    margin: 0 auto;
    padding: 0 auto;
    box-sizing: border-box;
}
/*header*/
.menu-lista ul {
    list-style-type: none;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center; 
    width: 100%;
}

.menu-lista li {
    display: inline-block;
    flex-wrap: wrap;
}

.menu-lista li a {
    display: block; 
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-family: Arial, sans-serif;
    transition: background-color 0.3s;
}

.menu-lista li a:hover {
    background-color: #4d8797;
}

/*Grid*/
.blog {
    padding: 2rem;
    background: #f84b4b;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

/*card*/
.container {
    display: flex;
    background: #2b2f38;
    border-radius: 10px;
    overflow: hidden;
    color: #fff;
}
.card img {
    width: 100px;
    object-fit: cover;
    border-radius: 10px;
}
.card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.card-title a {
    color: white;
    text-decoration: none;
}

.card-title a:hover {
    text-decoration: underline;
}

/*estado vivo o muerto*/
.status {
    font-weight: bold;
    font-size: 1.0rem;
}

.status.dead {
    color: #ff5c5c;
}

.status.alive {
    color: #4cd964;
}

.status.missed {
    color:#e6d461;
}
.info span {
    color: #9aa0aa;
    font-weight: 600;
}

.info p {
    font-size: 0.85rem;
    line-height: 1.4;
}

/*API*/
.card-api {
    width: 250px;
    padding: 1rem;
}

.api-img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

/*Titulos*/
h1{
    text-align: center;
    text-decoration: overline;
}
.top{
    margin-top: 40px;
}
.bottom{
    margin-bottom: 40px;
}
h2{
    text-align: center;
    margin-bottom: 40px;
    color: black;
    text-decoration: overline;
}

.alert{
    color: #ffff;
}

/*Footer*/
footer .top{
    margin-top: 40px;
    text-align: center;
}
footer p{
    text-align: center;
}