/* RESET CSS */
* {
    box-sizing: border-box;
}
html{
    user-select: none;
}
ul,
li {
    padding: 0;
    margin: 0;
    list-style: none;
}

h1,
h2,
h3 {
    text-align: center;
}

audio {
    display: inline-block;
}

a {
    user-select: none;
    text-decoration: none;
}

img {
    display: block;
}
/* **************************************** */

/* ESTILOS PARA LA PÁGINA DEL INDEX CON EL MENÚ LATERAL OCULTO */
body {
    background-image: url(../img/controls.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.menu ul {
    position: fixed;
    top: 48px;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    transform: translateX(100%);
    transition: 0.8s;
    z-index: 100;
}

.menu ul li {
    text-align: center;
}

.menu ul.mostrar {
    transform: translateX(0);
}

.fa-ellipsis-v {
    position: fixed;
    top: 15px;
    right: 10px;
    font-size: 1.2em;
    cursor: pointer;
}

.fa-ellipsis-v:hover {
    color: #ffffff;
    transition: all 0.3s;
}

.fa-times {
    position: absolute;
    top: 0.5em;
    left: 0.5em;
    cursor: pointer;
    font-size: 1.5em;
}

.fa-times:hover {
    color: crimson;
    transform: rotate(90deg);
    transition: all 0.5s;
}

.main-container {
    display: flex;
    flex-direction: column;

}
.main-container #filtro {
    position: fixed;
    top: 10px;
    left: 10px;
    color: #ffffff;
    background-color: #dc143c;
    font-size: 1em;
    padding: 0.5em;
    border-radius: 5px;

}
#main-head {
    font-family: 'Roboto', sans-serif;
    color: #fff;
    cursor: default;
}

#main-head .fa-record-vinyl {
    font-size: 0.7em;
    color: black;
}

#main-head:after {
    content: "";
    display: block;
    height: 3px;
    width: 20%;
    background-color: crimson;
    margin: 10px auto;
}

.box-news {
    overflow: hidden;
    background-color: red;
    position: relative;
    width: 100%;
    margin: auto;
    border: 1px solid white;
    margin-bottom: 0.5em;
    z-index: -1;
    animation: colorear 30s infinite ease-in-out;
}

.box-news span {
    animation: moveToLeft 20s infinite linear;
    color: #000;
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    color: white;
    white-space: nowrap;
}

.box-news p {
    padding: 0.1em;
    display: flex;
    align-items: center;
}

.fa-itunes-note {
    font-size: 0.8em;
    color: #FA1800;
}

.container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1em;
}

.container input {
    padding: 5px;
}


select {
    padding: 10px;
    font-size: 1.1em;
    background-color: crimson;
    color: white;
    display: block;
    border-radius: 20px;
    width: 100%;
}

select option {
    background-color: black;
}

input[type='submit'] {
    display: block;
    margin: 10px 0;
    padding: 10px;
    border: 0;
    font: 1.1em;
    cursor: pointer;
    background-color: black;
    color: white;
    width: 100%;
    border-radius: 20px;
    text-transform: uppercase;
}
#linkBack {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    margin: 0;

    display: inline-block;
    text-decoration: none;
    padding: 8px 15px;
    font-size: 0.9em;

    background-color: #555555;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

/* *********************************************************** */
/*ESTILOS PARA LA PÁGINA DE VER RESULTADOS*/
/* Los estilos para esta página están en vista-rdos.css */
/* ************************************************************ */

/*ESTILOS PÁGINA DE LA VERSIÓN Y LA PÁGINA DE CONTACTOS*/
.fa-arrow-left {
    font-size: 1.2em;
    cursor: pointer;
}

.page-version {
    height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

dl,
dt,
dd {
    margin: 0;
    padding: 0;
    color: white;
}

dt {
    font-weight: bold;
    font-size: 1.2em;

}

dd {
    margin-bottom: 20px;
    font-size: 1.em;


}

#copy {
    color: crimson;
    font-family: Helvetica, sans-serif;
}

.page-contact dl {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

.page-contact dt {
    margin-bottom: auto;
    background-color: white;
    width: 80%;
    text-align: center;
    padding: 20px;
    box-shadow: 2px 2px 18px 5px rgba(202, 189, 189, 0.75);
}

/*ESTILOS TITULOs Y ENLACES A MENU ADMIN.*/
#gestion a {
    color: black;
    text-transform: uppercase;

}
#gestion p {
    text-align: center;
    padding: 0.5em;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
    background-color: lightgray;
    color: steelblue;
}

.menu .info {
    color: #000;
    display: inline-block;
    padding: 1.6em 0;
}
/* *********************************************** */



/*ESTILOS PARA LAS PÁGINAS DE RESPUESTAS*/


p {
    width: 100%;
    padding: 20px;
    text-align: center;
    color: white;
    font-size: 1.1em;
}

/***************************************************/
/*ESTILOS GALERIA IMAGENES DEL INDEX*/
#galeria {
    display: flex;
    flex-wrap: wrap;
    padding: 3px;
    max-width: 1000px;
    margin: auto;
    border: 2px solid red;
    background-color: crimson;
    border-radius: 5px;


}

#galeria li {
    flex: 1 1 auto;
    padding: 3px;
    position: relative;

}

#galeria img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}
#galeria span {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 0.5em;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8),
                 -1px -1px 0 rgba(0, 0, 0, 0.8),
                  1px -1px 0 rgba(0, 0, 0, 0.8),
                 -1px  1px 0 rgba(0, 0, 0, 0.8),
                  1px  1px 0 rgba(0, 0, 0, 0.8);
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}

#galeria li:nth-child(4n + 1) {
    width: 250px;
}

#galeria li:nth-child(4n + 2) {
    width: 325px;
}

#galeria li:nth-child(4n + 3) {
    width: 180px;
}

#galeria li:nth-child(4n + 4) {
    width: 380px;
}


/*ESTILOS DE LA PÁGINA DE ESTADÍSTICAS*/
.cont-gr {
    text-align: center;
    max-width: 800px;
    margin: auto;
}

.cont-gr h1 {
    border-bottom: 2px solid crimson;
    display: inline;
    font-family: monospace;
}

.cont-gr .fa-ranking-star {
    font-size: 0.9em;
    padding-left: 0.5em;

}

.cont-gr p {
    background-color: crimson;
    width: 80%;
    margin: 1rem auto;
    padding: 0.5rem;
    font-size: 1.5em;
    color: #fff;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.container-stats,
.container-stats2 {
    width: 80%;
    margin: auto;
    font-family: sans-serif;
    border: 2px solid black;
    border-radius: 20px;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.3);
}

.container-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1em;
    margin-bottom: 2em;
    width: 100%;

}

.container-stats2 {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;


}


.in_container .head {
    color: antiquewhite;
    background-color: black;

}

.in_container p {
    color: #fff;
    background-color: rgb(101, 96, 96, 0.5);
    border: 1px solid white;
    width: 80%;
    margin: 1em auto;

}

.in_container span {
    color: yellowgreen;
    font-weight: bold;
    display: inline-block;
}

.container-stats2 .in_container span {
    color: yellowgreen;
    font-weight: bold;
    display: inline-block;

}

/*ESTILOS PARA EL BOTÓN DE FLECHA ARRIBA*/
.go-top-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    width: 3.3rem;
    height: 3.3rem;
    z-index: -1;
}

.go-top-button {
    width: 0rem;
    height: 0rem;
    background: rgba(220, 20, 60, 0.6);
    border-radius: 50%;
    cursor: pointer;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.go-top-button i {
    position: absolute;
    font-size: 1.5rem;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: #fff;
    transition: .2s;
}

.show {
    z-index: 10;
}

.show .go-top-button {
    animation: popup .3s ease-in-out;
    width: 3.3rem;
    height: 3.3rem;
    z-index: 11;
}

.show i {
    transform: translate(-50%, -50%) scale(1);
}

@keyframes popup {
    0% {
        width: 0rem;
        height: 0rem;
    }

    50% {
        width: 6rem;
        height: 6rem;
    }

    100% {
        width: 3.3rem;
        height: 3.3rem;
    }
}

/*DISEÑO RESPONSIVEL*/
@media (max-width: 600px) {
    .main-container {
        margin-top: 4em;
    }
     #galeria {
        max-width: 80%;
        margin-top: 5em;
        padding: 0;
        border: 1px solid #dc143c;



    }

    #galeria li:nth-child(2),
    #galeria li:nth-child(3),
    #galeria li:nth-child(4),
    #galeria li:nth-child(5),
    #galeria li:nth-child(6),
    #galeria li:nth-child(7),
    #galeria li:nth-child(8) {
        display: none;
    }


    .container-stats {
        position: relative;

    }

    .container-stats h2 {
        background-color: rgba(224, 17, 17, 0.61);
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    .container-stats .in_container #g {
        top: 500px;
        border-radius: 0;


    }

    .in_container {
        font-size: 1.1em;

    }

    .disclaimer {
        display: none;
    }


}

@media (min-width: 768px) {
    .container-stats {
        grid-template-columns: 1fr 1fr;

    }
}

@media (min-width: 1052px) {
    .disclaimer {
        display: none;
    }

    .box-news {
        overflow: hidden;
        background-color: red;
        position: relative;
        width: 62.3em;
        margin: auto;
        margin-bottom: 0.5em;

    }

    .box-news span {
        animation: moveToLeft 40s infinite linear;
        color: #000;
        position: absolute;
        top: 8px;
        left: 0;
        width: 50%;
        color: white;
        white-space: nowrap;

    }

    .box-news p {
        padding: 0.1em;

    }


}

@keyframes moveToLeft {
    0% {
        transform: translateX(100%);

    }

    100% {
        transform: translateX(-525%);

    }
}

@keyframes colorear {
    from {
        background-color: black;
    }

    to {
        background-color: crimson;
    }

}