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

.contenedor {
    font-family: var(--font-madimi);
    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);

    /* background: radial-gradient(circle at 10% 10%, #3e73f0 5%, transparent 5%),
        radial-gradient(circle at 90% 10%, #3e73f0 5%, transparent 5%),
        radial-gradient(circle at 90% 90%, #3e73f0 5%, transparent 5%),
        radial-gradient(circle at 10% 90%, #3e73f0 5%, transparent 5%);
    background-size: 20px 20px; */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    background-color: var(--quaternary);
}

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(--quinternary);
    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;
}

/* .team-name {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
} */

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;
    }
}
