@import url("../../assets/css/root.css");
@import url("../../css/navbar.css");
@import url("../../css/footer.css");

.contenedor {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    overflow: hidden;
    padding: 2rem;
}

.tabla-contenedor {
    max-height: 100%;
    width: 800px;
    max-width: 100%;
    overflow-x: auto;
    padding: 0 10px;
    margin: 0 auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(to right, var(--quaternary), rgba(71, 144, 75, 0.4));
    color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

th,
td {
    padding: 12px;
    text-align: center;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding: 10px;
    font-size: 1em;
}

th {
    background-color: var(--tertiary);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}


tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.1);
}

tr:hover {
    background-color: rgba(0, 0, 0, 0.2);
    transform: scale(1.01);
    transition: all 0.2s ease;
}

td img.equipo-logo {
    width: 50px;   
    height: 50px;  
    margin-right: 10px;  
    aspect-ratio: 1/1;
}


td:nth-child(2), th:nth-child(2) {
    font-weight: 600;  
    text-align: left;  
}

/* BREAKPOINTS */
@media (max-width: 768px) {
    main{
        padding-top: 120px;
    }
}
