﻿:root {
    --crema: #ac9478;
    --cremalight: #E7DFD3;
    --bbq: #30271D;
    --salsa: #de4501;
}

*,
p,
h1,
h2,
h3,
h4,
h5,
h6.a {
    padding: 0;
    margin: 0;
    text-decoration: none;
}

@font-face {
    font-family: "Montserrat-Light";
    src: url(../fonts/Montserrat-Light.otf);
}

@font-face {
    font-family: "Montserrat-Bold";
    src: url(../fonts/Montserrat-Bold.otf);
}

.oculto {
    visibility: hidden;
}

.centrado {
    margin: 0 auto;
}

html {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Montserrat-Light, serif;
    padding: 0;
    margin: 0;
    width: 100%;
    min-height: 100%;
    background-image: url(../img/fondoResultados.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.lista {
    position: relative;
    padding-bottom: 10px;
    display: grid;
    grid-auto-rows: auto auto 1fr;
}

.dos {
    grid-auto-rows: auto 1fr;
}

body::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #00000080;
    backdrop-filter: blur(10px);
}

.header {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    color: white;
    font-size: 15px;
    background-color: var(--bbq);
    height: 25px;
    padding: 12px;
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    justify-content: space-between;
    z-index: 10;
    height: 50px;
    border-bottom: 1px solid var(--crema);
}


    .header p,
    .header a img,
    .header a {
        padding: 0;
        margin: 0;
        height: 20px;
    }

.contenedor {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 15px;
    max-width: 425px;
    margin: auto;
    justify-content: space-evenly;
    position: relative;
    z-index: 1;
}

.cntrpin {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto;
    width: calc(100% - 40px);
    padding: 10px;
}

.contenedor > p {
    text-align: center;
    color: white;
    font-size: 15px;
    padding: 10px;
}

.grid-numpad {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.contenedor img {
    height: 250px;
    align-self: center;
}

.contenedor p {
    color: white;
    text-align: center;
    padding: 0;
    margin: 0;
}

.contenedor .pin {
    letter-spacing: 10px;
    font-size: 30px;
    min-height: 40px;
    padding: 10px;
}


form button,
form input[type="button"] {
    background: var(--bbq);
    height: 60px;
    border-width: 0;
    border-radius: 100px;
    font-size: 25px;
    color: var(--cremalight);
    border: 1px solid var(--crema);
    margin: 5px;
    cursor: pointer;
}

.lista-equipos {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.equipo {
    background-color: var(--salsa);
    border-width: 1px;
    border-color: #f8f7de;
    border-style: solid;
    display: grid;
    grid-template-columns: 80px auto 1fr;
    height: 100px;
    align-content: center;
    /* column-gap: 10px; */
    border-radius: 3px;
    text-shadow: 2px 2px 1px black;
    font-weight: bolder;
    transition: background 0.2s ease-in-out, opacity 0.2s ease-in-out;
    z-index: 1;
}

    .equipo h2 {
        margin: auto;
        /* margin-left: 25px; */
        font-family: Montserrat-Bold, serif;
        color: white;
        font-size: 35px;
    }

.separador {
    width: 2px;
    height: 95%;
    background-color: #f8f7de;
}

.datos-equipo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    gap: 8px;
    padding-left: 10px;
    border-left: 3px solid #f8f7de;
}

    .datos-equipo p {
        text-align: left;
        color: #fff480;
    }

.equipo-calificado {
    opacity: 0.6;
    background-color: #c75643;
}

.no-scroll {
    overflow: hidden !important;
    height: 100%;
}

.ver-detalles {
    margin: 0 auto;
    display: flex;
    gap: 5px;
}

.tiemporest {
    display: flex;
    gap: 5px;
    text-align: center;
    position: sticky;
    top: 50px;
    z-index: 2;
    background-color: var(--salsa);
    padding: 10px;
    justify-content: center;
}

    .tiemporest p {
        background-image: url(../img/tiempo.png);
        padding-left: 30px;
        background-position: left;
        background-size: 20px;
        background-repeat: no-repeat;
        font-weight: 900;
        color: white;
    }

.periodo-evaluacion {
    margin: auto auto 15px auto;
    display: flex;
    gap: 5px;
    justify-content: center;
}

.bold {
    font-family: Montserrat-Bold, serif;
}

.puntuacion {
    margin: 0 auto;
    width: 90%;
    display: flex;
    justify-content: space-between;
    padding: 10px 0 5px 0;
}

    .puntuacion h3 {
        font-family: Montserrat-Bold, serif;
        color: white;
    }

.ver-detalles img,
.periodo-evaluacion img {
    height: 20px;
}

.calificacion {
    height: 180px;
    width: 180px;
    background-color: var(--salsa);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
}

    .calificacion h2 {
        font-family: Montserrat-Bold, serif;
        color: white;
        font-size: 40px;
    }

.contenedor > div > h2 {
    font-family: 'Courier New', sans-serif;
    color: white;
    font-size: 40px;
    text-align: center;
}

.contenedor > div > p {
    font-family: Montserrat-Bold, serif;
    color: white;
    text-align: center;
}

.hora-inicio h2 {
    font-family: Montserrat-Bold, serif;
    color: #fff480;
    font-size: 30px;
    text-align: center;
    margin: 5px 0;
}

.contenedor a {
    margin: 0 auto;
}

.footer {
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    margin: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 0 10px 0;
    z-index: 3;
    background-color: var(--bbq);
    height: 60px;
    border-top: 1px solid var(--crema);
}

    .footer p {
        color: white;
    }

.evaluacion {
    /* margin: 65px 15px 0 15px; */
    /* display: grid;
    grid-template-columns: 1fr 1fr; */
    color: var(--cremalight);
    padding: 30px 30px 120px 30px;
    position: relative;
    z-index: 1;
    /* border: 1px solid gray; */

    text-align: center;
}

    .evaluacion hr {
        margin: 30px 0;
        border: 2px solid var(--cremalight);
    }

    .evaluacion h3:first-of-type {
        font-family: 'Courier New';
        font-size: 2.2rem;
        font-weight: 900;
    }

.elemento-evaluacion {
    display: grid;
    grid-template-columns: 1fr 50px;
    grid-template-rows: auto 15px;
    grid-template-areas:
        "t p"
        "s p";
    gap: 10px;
    padding: 10px 0;
    margin-top: 10px;
}

    /* .elemento-evaluacion:first-of-type {
    margin-top: 40px;
} */

    .elemento-evaluacion p:first-of-type {
        grid-area: t;
        font-family: 'Courier New', Courier, monospace;
        font-size: 22px;
        font-weight: 900;
    }

    .elemento-evaluacion p:last-of-type {
        grid-area: p;
        box-sizing: border-box;
        background-color: var(--bbq);
        border: 1px solid var(--crema);
        color: white;
        line-height: 3;
        font-weight: 900;
        height: 50px;
        width: 50px;
        margin: auto;
    }

.elemento-evaluado {
    grid-column: span 2;
    padding: 10px 0;
    margin-top: 10px;
}

    .elemento-evaluado p {
        font-family: 'Courier New', Courier, monospace;
        font-size: 22px;
        font-weight: 900;
    }

.slider {
    grid-column: span 2;
    background: transparent;
}


input[type="range"],
progress {
    -webkit-appearance: none;
    margin-right: 15px;
    width: 100%;
    height: 3px;
    background: var(--salsa);
    border-radius: 5px;
    background-size: 70% 100%;
    background-repeat: no-repeat;
    margin: auto;
}

    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        height: 20px;
        width: 20px;
        border-radius: 50%;
        background: var(--salsa);
        cursor: ew-resize;
        box-shadow: 0 0 2px 0 #555;
        transition: background .3s ease-in-out;
    }

    input[type="range"]::-moz-range-thumb {
        -webkit-appearance: none;
        height: 20px;
        width: 20px;
        border-radius: 50%;
        background: #847a2b;
        cursor: ew-resize;
        box-shadow: 0 0 2px 0 #555;
        transition: background .3s ease-in-out;
    }

    input[type="range"]::-ms-thumb {
        -webkit-appearance: none;
        height: 20px;
        width: 20px;
        border-radius: 50%;
        background: #847a2b;
        cursor: ew-resize;
        box-shadow: 0 0 2px 0 #555;
        transition: background .3s ease-in-out;
    }

    input[type="range"]::-webkit-slider-thumb:hover {
        background: #847a2b;
    }

    input[type="range"]::-moz-range-thumb:hover {
        background: #847a2b;
    }

    input[type="range"]::-ms-thumb:hover {
        background: #847a2b;
    }

input[type=range]::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

input[type=range]::-moz-range-track {
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

input[type="range"]::-ms-track {
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

progress::-moz-progress-bar {
    background: var(--salsa);
    height: 5px;
}

progress::-webkit-progress-value {
    background: var(--salsa);
    height: 5px;
}

progress {
    color: var(--salsa);
    height: 5px;
}


.overlay {
    background-image: url(../img/logoFca2022Grande.png), url(../img/fondoResultados.jpg);
    background-repeat: no-repeat;
    background-size: auto 50%, cover;
    background-position: center;
    background-color: #00000080;
    background-blend-mode: normal, overlay;
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10;
}


.instalar {
    border-radius: 10px;
    padding: 20px;
    color: white;
    background-color: var(--salsa);
    font-size: large;
    white-space: nowrap;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sticky {
    background-color: var(--cremalight);
    position: sticky;
    top: 50px;
    padding: 10px;
    z-index: 2;
    font-weight: 600;
}
