:root {
    /* COLORS */
    --primary: #083d77;
    --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;
    --size-escudo-mobile: 17px;
}

@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%;
    display: flex;
    justify-content: center;
    width: 100%;
}

p {
    margin: 0 !important;
}

.container {
    max-width: calc(100% - 110px);
    position: relative;
    z-index: 1;
    gap: 10px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 10px;
}

.partidos-block {
    background: #ffffff29;
    width: max-content;
    display: flex;
    flex-direction: row;
    border-radius: var(--padding-15);
    overflow: hidden;
}

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

.partidos-block > .fecha-partidos > .mes {
    font-weight: 700 !important;
    font-size: 15px;
    line-height: 1.2em;
}

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

.partidos-block > .fecha-partidos > .dia {
    text-align: center;
    font-size: 35px;
    font-weight: 500!important;
    line-height: 1;
}

.escudos {
    height: 25px;
    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: 10px;
    padding: 20px calc(var(--padding-15) / 2);
}

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

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

.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: 8px;
    border-radius: var(--radius-10);
    transition: var(--trans-sec-2);
    background: #ffffff00;
}

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

.partido > a > .hora {
    margin-top: -10px;
    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;
}

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

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

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

.local,
.visitante {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--gap-in-5);
}

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

.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 .btnSurfaces {
    display: none!important;
}

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

.pagination-button:after {
    content: url('../images/icons/nav-arrow.svg');
    font-size: 0;
    padding-left: 12%;
}

.pagination-button:first-child {
    rotate: 180deg;
}

.pagination button {
    background-color: var(--light-grey);
    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;
    font-size: 0;
}


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

.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) {
}

@media (max-width: 768px) {
    .partidos-block > .fecha-partidos .dia {
        font-size: 25px;
    }
    
    .partidos-block > .fecha-partidos .mes {
        font-size: 15px;
    }    

    .partidos {
        padding: 5px!important;
        width: max-content;
    }

    .partido > a,
    .partido {
        padding: 2px;
        gap: 3px;
    }

    .partido > a:hover {
        background: #ffffff00;
    }
    
    .partido .escudos {
        height: var(--size-escudo-mobile);
    }
    
    .partido .hora {
        padding-left: var(--size-escudo-mobile);
    }

    .container {
        width: max-content;
        max-width: calc(100% - 86px);
    }

    .partidos-block {
         flex-direction: column;   
    }

    .partidos-block > .fecha-partidos {
        flex-direction: row;
        align-items: center;
        padding: 3px;
        gap: 5px;
    }

    .partido p, .partido .puntuacion, .partido span {
        font-size: 13px;
        max-width: 36vw;
    }  
    
    .partido .hora span {
        font-size: 12px;
    }
    
    .partido .puntuacion {
        font-size: 20px
    }
}