@import url(/assets/css/global.css);

.filtro {
    display: flex; 
    flex-direction: row;
    align-items: center;
    margin-bottom: 1rem;
}

.filtro input {
    margin: 0.5rem;
}

/*Main, Eventos*/
.container-dinamico {
    display: flex;
    flex-direction: column;
}
.container-eventos {
    flex: 1;
    display: flex;
    flex-direction: row;
    margin: 0 2rem;
    border: 1px solid grey;
    border-radius: 10px;
}

/*Imagem e Data evento*/
.data-img {
    display: flex;
    flex-direction: row;
    width: 15%;
}

/*Data evento*/
.data-evento {
    display: flex;
    width: 40%;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    background-color: #f8f8f8;
    border-radius: 10px 0 0 10px;
}

.dia-evento {
    font-weight:700;
    font-size: 3rem;
}
.mes-evento {
    font-weight:100;
    font-size:medium ;
}

.ano-evento {
    font-weight: 500;
    font-size: 2rem;
}

.dia-evento,
.mes-evento,
.ano-evento {
    text-shadow: .2rem .2rem .2rem rgba(253, 2, 2, 0.521)
}

/*Imagem Evento*/
.img-evento {
    display: flex;
    width: 60%;
    border-left: 1px solid grey;
    background-color: #f8f8f8;
    cursor: pointer;
}

/*IMG*/
.img-mini {
    object-fit: contain;
    width: 100%;
    height: 100%;
    padding: 0.3rem;
    border-radius: 8px;
}

/*Informações do evento*/
.info-eventos {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-left: 1px solid grey;
    border-radius: 0 10px 10px 0;
}

.titulo {
    background-color: black;
    color: white;
    display: flex;
    width: 100%;
    justify-content: space-around;
    padding: 0.3rem 0.5rem;
    border-bottom: 1px solid grey;
    border-radius: 0 10px 0 0;
}

#categoria {
    text-transform: capitalize;
}

.sub-titulo {
    display: flex;
    width: 100%;
    background-color: #f8f8f8;
    justify-content: space-around;
    padding: 0.3rem 0.5rem;
    border-bottom: 1px solid grey;
}

/*Apoiadores*/
.apoiadores {
    padding: 0.3rem 0.5rem;
    background-color: #f8f8f8;
    border-bottom: 1px solid grey;
    ul {
        margin: 0;
    }
}

.apoios {
    list-style-type: none;
    padding: 0;
    margin-top: 0; /* Espaçamento entre a mensagem e a lista de patrocinadores */
    columns: 5; /* Quebra a lista em quatro colunas */
    -webkit-columns: 5; /* Chrome, Safari, Opera */
    -moz-columns: 5; /* Firefox */
}

/*DIV Botões*/
.status-aguardando {
    color: orange;
    font-weight: bold;
}
.status-abertas {
    color: green;
    font-weight: bold;
}
.status-encerradas,
.status-cancelado {
    color: red;
    font-weight: bold;
}

.botoes {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #f8f8f8;
    border-radius: 0 0 10px 0;
    height: 100%;
    button {
    margin: 0.3rem;
    border: 2px solid red;
    border-radius: 5px;
    background-color: black;
    color: white;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    }
}

.botoes button:hover {
    background-color: rgb(122, 122, 122);
    color: white;
    transform: translateY(-2px); /* Eleva ligeiramente o botão */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Adiciona sombra para efeito de elevação */
}

.botoes button:active {
    transform: translateY(1px); /* Simula o botão sendo pressionado */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Reduz a sombra para efeito de pressionamento */
}

/*Texto modificado eventos não FPESP*/
#nao-fpesp {
    display: flex;
    flex-direction: column;
    max-width: 50%;
    font-size: x-small;
    padding: 0.3rem 0.5rem;
    margin-bottom: 0;
}

.info-botoes {
    display: flex;
    flex-direction: row;
}

#aviso {
    text-align: center;
    color: red;
}

/* Modais de Inscrição */
#modal-jogadores {
    background-color:rgb(170, 170, 170);
    font-size: small;
}

#modal-equipes-inscritas {
    font-size:small;
}

table th,
table td {
    text-align: center;
    overflow: hidden;
}

.table-responsive {
    overflow-x: auto;
    overflow-y: auto;
    height: auto;
    padding: 1rem;
}

/*Telas menores*/
@media(max-width: 992px) {
    #titulo-pagina {
        padding: 1rem 0 0 0;
        margin: 0 1rem;
    }
    /*Input Radio*/
    .filtro {
        flex-direction: column;
        align-items: flex-start;
    }
    /*Container eventos*/
    .container-eventos {
        flex-direction: column;
        margin: 0 1rem;
        height: auto;
    }
    .data-img {
        width: 100%;
        justify-content: space-around;
    }    
    .data-evento {
        width: 50%;
        justify-content: space-around;
    }
    .img-evento {
        width: 50%;
    }
    .titulo {
        flex-direction: column;
        border-radius: 10px 10px 0 0;
    }
    .sub-titulo {
        flex-direction: column;
    }

    /*Apoiadores*/
    .apoios {
        list-style-type: none;
        padding: 0;
        margin-top: 0; /* Espaçamento entre a mensagem e a lista de patrocinadores */
        columns: 2; /* Quebra a lista em quatro colunas */
        -webkit-columns: 2; /* Chrome, Safari, Opera */
        -moz-columns: 2; /* Firefox */
    }
    /*Botões*/
    .botoes {
        flex-direction: column;
        button {
            width: 95%;
        }
    }
    .table-responsive {
        padding: 0.5rem;
    }
    .modal-body{
        padding: 0.5rem;
    }
}