:root {
    /* COLORS */
    --primary: #737adb;
    --black: #050505;
    --white: #FFFFFF;
    --text-white: #FFFFFF;
    --light-grey: #f5f5f5;
    --medium-grey: #E7EAEE;
    --dark-grey: #909090;
    --background-grey: #F6F7F9;
    --purple: #2F38EF40;
    --green: #60FFBD;
    --light-green: #ddfee9;
    --dark-green: #115e3a;
    
    /* BORDER RADIUS */
    --radius-5: 5px;
    --radius-10: 10px;
    --radius-14: 14px;
    --radius-16: 16px;
    --radius-24: 24px;
    --radius-36: 36px;
    --radius-57: 57px;

    /* PADDINGS AND MARGINS*/
    --padding-5: 5px;
    --padding-10: 10px;
    --padding-15: 15px;
    --padding-24: 24px;
    --padding-32: 32px;
    --padding-btn: 11px 25px;
    --margin-top-cont: 40px;
    --gap-in-40: 40px;
    --gap-in-30: 30px;
    --gap-in-20: 20px;
    --gap-in-10: 10px;
    --gap-in-5: 5px;

    /* FONTS */
    --h2-size: 36px;
    --p-size: 16px;
    --clash-display: 'Clash Display', sans-serif;
    --figtree: 'Figtree', sans-serif;    
    
    /* DESIGN */
    --trans-sec-5: .5s;
    --trans-sec-2: .2s;
}

@media (max-width: 1920px) {
    :root {
    }
}

@media (max-width: 1200px) {
    :root {
    }
}

@media (max-width: 900px) {    
    :root {
    }
}

@media (max-width: 768px) {    
    :root {
    }
}

@font-face {
    font-family: 'Clash Display';
    src: url('/fonts/CashDisplay-Light.woff2') format('woff2'),
        url('/fonts/ClashDisplay-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Display';
    src: url('/fonts/ClashDisplay-Medium.woff2') format('woff2'),
        url('/fonts/ClashDisplay-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Display';
    src: url('/fonts/ClashDisplay-Extralight.woff2') format('woff2'),
        url('/fonts/ClashDisplay-Extralight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Display';
    src: url('/fonts/ClashDisplay-Bold.woff2') format('woff2'),
        url('/fonts/ClashDisplay-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Display';
    src: url('/fonts/ClashDisplay-Regular.woff2') format('woff2'),
        url('/fonts/ClashDisplay-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Display';
    src: url('/fonts/ClashDisplay-Semibold.woff2') format('woff2'),
        url('/fonts/ClashDisplay-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

html,
body {
    border: 0;
    margin: 0;
    height: 100%;
}

p {
    margin: 0 !important;
}

.container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    width: max-content;
    position: relative;
    z-index: 1;
    gap: 20px;
    padding-left: 55px;
}

.partidos-block {
    border-radius: var(--radius-14);
    background: #ffffff29;
    display: flex;
    overflow: hidden;
}

.fecha-partidos {
    padding: var(--padding-15) var(--padding-24);
}

.partidos {
    padding: calc(var(--padding-15) / 2);
}

.partidos-block > .fecha-partidos {
    background: var(--primary);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partidos-block > .fecha-partidos > .dia {
    text-align: center;
    font-size: 45px;
    line-height: 1;
}

.partidos-block > .fecha-partidos > .mes {
    font-weight: 700 !important;
    font-size: 15px;
    line-height: 14px;
    padding-top: 5px;
}

.partidos-block > .fecha-partidos > .dia, 
.partidos-block > .fecha-partidos > .mes {
    font-family: var(--clash-display);
    font-weight: 500!important;
    text-transform: capitalize;
}

.escudos {
    height: 30px;
    aspect-ratio: 1 / 1;
    min-width: 22px;
    min-height: 22px;
    border-radius: 100px;
    padding: 3px;
    background: #fff;
}

.partidos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.partido {
    position: relative;
    display: flex;
    align-items: center;
}

.partido:after {
    content: '';
    height: 75%;
    width: 1px;
    background: var(--white);
    position: absolute;
    left: -6px;
}

.partido:first-child::after {
    display: none;
}

.partido:first-child {
    border: none;
}

.partido > a {
    text-decoration: none;
    color: inherit;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, auto);
    text-align: center;
    gap: var(--gap-in-5);
    padding: 7px 12px;
    border-radius: var(--radius-10);
    transition: var(--trans-sec-2);
    background: #ffffff00;
}

.partido > a:hover {
    background: #ffffff30;
}

.partido > a > .hora {
    margin-top: -5px;
    margin-bottom: -5px;
}

.partido > a > .competicion {
    display: none;
    position: absolute;
    bottom: 0;
    background-color: white;
    border-radius: 25px;
    padding: 3px 5px;
}

.partido > a > .competicion > span {
    font-size: 8px;
}

.partido p,
.partido .puntuacion,
.partido span {
    font-family: var(--figtree);
    font-size: 14px;
    color: var(--white);
    font-weight: 400;
    padding-left: 10px;
}

.partido .puntuacion {
    font-family: var(--clash-display);  
    font-weight: 500;
    font-size: 25px;
}

.partido .hora span {
    font-family: var(--clash-display)!important;
}

.partido .hora span:nth-child(2):after {
    content: ' h';
}

.local,
.visitante {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}

.nombre {
    text-align: center;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 135px;
    display: block;
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: absolute;
    height: 100%;
    top: 0;
    z-index: 11111;
    pointer-events: none;
}

.pagination-button:disabled {
    opacity: .5;
    pointer-events: none;
}

.pagination button {
    border: var(--border-gray);
    border-radius: 100px;
    background-color: var(--light-grey);
    padding: 10px;
    cursor: pointer;
    border-color: var(--dark-grey);
    width: 46px;
    aspect-ratio: 1/1;
    pointer-events: all;
}


.pagination button:hover {
    color: var(--white); 
    background: var(--black);
}

.live {
    width: 10px;
    height: 10px;
    background-color: var(--dark-green);
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
    animation: parpadeo 1.5s infinite alternate;
}

.puntuacion.livep {
    animation: parpadeo 1.5s infinite alternate;
}

@keyframes parpadeo {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .pagination button {
        width:35px;
    }
    
    .container {
        padding-left: 30px;
    }
    
    .escudos {
        height: 20px;
    }
    
    .partidos-block > .fecha-partidos > .dia {
        font-size: 35px;
    }
}