body {
    background-color: rgb(2, 89, 177) !important;
    transition: background-color 0.5s ease;
}

.container h1 {
    color: white;
    text-align: center;
    font-size: 400%;
    margin-top: 60px;
    margin-bottom: 20px;
}

.container p {
    color: white;
    font-size: 150%;
}

.card-body .card-text {
    color: black;
    font-size: 100%;
}

.album h2 {
    color: white !important;
    text-align: center;
    font-size: 350%;
    color: #333;
    margin-top: 60px;
    margin-bottom: 20px;
}

.cards-sports {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 5px;
}

.cards-sports .card {
    width: 30%;
    margin: 10px;
    margin-right: 50px;
    background-color: #f9f9f9;
}

.cards-sports .card img {
    width: 100%; /* Altera para 100% da largura disponível */
    height: auto; /* Mantém a proporção da imagem */
    border-radius: 8px;
    display: block;
    cursor: pointer;
    border: solid 10px #ddd;
}

/* Modal de imagem */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

/* A imagem dentro do modal agora ocupará mais espaço */
.modal-img {
    margin: auto;
    display: block;
    width: 90%; /* Aumenta a largura para 90% da tela */
    max-width: 1000px; /* Ajusta a largura máxima para um valor maior */
    height: auto; /* Garante que a altura seja ajustada automaticamente */
    border-radius: 8px;
    box-shadow: 0 0 25px 10px #000;
}

/* Fechar o botão */
.fechar {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
}

/* Responsividade - Tamanho da imagem no modal em dispositivos menores */
@media screen and (max-width: 768px) {
    .modal-img {
        width: 95%; /* Reduz a largura da imagem em dispositivos menores */
        max-width: 100%;
    }
}

/* Responsividade - Ajustes para telas muito pequenas */
@media screen and (max-width: 480px) {
    .modal-img {
        width: 100%; /* A imagem ocupa 100% da tela em telas pequenas */
        max-width: 100%;
    }
}
