:root{
    --color1: #ff00bf;
    --color2: #003cff;
}

@keyframes flotar{
    0%   { transform: rotate(10deg) translateY(0) translateX(0px); }
    50%  { transform: rotate(10deg) translateY(-5px) translateX(1.5px);}
    100% { transform: rotate(10deg) translateY(0) translateX(0px); }
}
@keyframes flotar2{
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-3px); }
    100% { transform: translateY(0); }
}
@keyframes color{
    0%   { box-shadow: 0 0 5px var(--color2), 0 0 10px var(--color2), 0 0 20px var(--color2), inset 0 0 5px var(--color2), inset 0 0 10px var(--color2), inset 0 0 20px var(--color2) }
    50%  { box-shadow: 0 0 5px var(--color1), 0 0 10px var(--color1), 0 0 20px var(--color1), inset 0 0 5px var(--color1), inset 0 0 10px var(--color1), inset 0 0 20px var(--color1); }
    100% { box-shadow: 0 0 5px var(--color2), 0 0 10px var(--color2), 0 0 20px var(--color2), inset 0 0 5px var(--color2), inset 0 0 10px var(--color2), inset 0 0 20px var(--color2); }
}
@keyframes color2{
    0%   { box-shadow: 0 0 5px var(--color1), 0 0 10px var(--color1), 0 0 20px var(--color1), inset 0 0 5px var(--color1), inset 0 0 10px var(--color1), inset 0 0 20px var(--color1) }
    50%  { box-shadow: 0 0 5px var(--color2), 0 0 10px var(--color2), 0 0 20px var(--color2), inset 0 0 5px var(--color2), inset 0 0 10px var(--color2), inset 0 0 20px var(--color2); }
    100% { box-shadow: 0 0 5px var(--color1), 0 0 10px var(--color1), 0 0 20px var(--color1), inset 0 0 5px var(--color1), inset 0 0 10px var(--color1), inset 0 0 20px var(--color1); }
}
@keyframes color3{
    0%   { text-shadow: 0 0 5px var(--color1), 0 0 10px var(--color1), 0 0 20px var(--color1), 0 0 30px var(--color1); }
    50%  { text-shadow: 0 0 5px var(--color2), 0 0 10px var(--color2), 0 0 20px var(--color2), 0 0 30px var(--color2); }
    100% { text-shadow: 0 0 5px var(--color1), 0 0 10px var(--color1), 0 0 20px var(--color1), 0 0 30px var(--color1); }
}
@keyframes brillo{
    0%   { text-shadow: 0 0 7px white, 0 0 20px white; color: white; }
    50%  { text-shadow: 0 0 3px white, 0 0 12px white; color: rgb(230, 230, 230); }
    100% { text-shadow: 0 0 7px white, 0 0 20px white; color: white; }
}

body{
    margin: 0;
    padding: 0;
    position: relative;
    height: 100vh;
    /*overflow: hidden;*/
    background: linear-gradient(30deg, var(--color2) -50%, black 30%, black 70%, var(--color1) 150%);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.marca_agua{
    position: absolute;
    top: 10%;
    left: 10%;
    max-width: 33%;
    min-width: 280px;
    height: auto;
    pointer-events: none;
    z-index: -2;
    opacity: 0.6;
    box-sizing: border-box;
    animation: flotar 2s infinite ease-in-out;
}
.encabezado{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    box-sizing: border-box;
    margin: 1% 0px;
}

/*Ganador*/
#Title{
    font-size: 34px;
    animation: color3 2s infinite ease-in-out;
    margin-bottom: 15px;
}
.ganador{
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    margin: 0px 3%;
}
h2{
    font-family: 'Trebuchet MS';
    font-size: 26px;
    color: white;
    text-shadow: 0 0 7px white, 0 0 20px white;
    text-align: center;
    margin: 10px;
    animation: brillo 1s infinite ease-in-out;
}
#n1, #n2, #n3{
    border-radius: 60px;
    padding: 12px 5px 12px 5px;
    cursor: pointer;
}
.ganadores{
    display: flex;
    align-items: center;
    flex-direction: column;
}
.G2y3{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    width: 200px;
}
/*El logo*/
.TKTK{
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    margin: 0px 3%;
}
h1{
    font-family: 'Trebuchet MS';
    font-size: 40px;
    color: white;
    text-shadow: 0 0 5px var(--color1), 0 0 10px var(--color1), 0 0 20px var(--color1), 0 0 30px var(--color1);
}
.logo{
    width: 70px;
    animation: flotar2 2s infinite ease-in-out;
}

/*El anuncio sobre hacerse viral*/
.anuncio{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: end;
    box-sizing: border-box;
    margin: 0px 3%;
}
.aviso{
    background-color: black;
    color: white;
    text-shadow: 0 0 15px white;
    font-family: 'Trebuchet MS';
    font-size: 14px;
    text-align: center;
    width: 290px;
    padding: 25px 20px;
    border: 3px solid white;
    border-radius: 20px;
    box-shadow: 0 0 5px var(--color2), 0 0 10px var(--color2), 0 0 20px var(--color2), inset 0 0 5px var(--color2), inset 0 0 10px var(--color2), inset 0 0 20px var(--color2);
    z-index: 1;
    animation: color 2.5s infinite ease-in-out;
}
button{
    background-color: black;
    color: white;
    font-family: 'Trebuchet MS';
    font-size: 18px;
    padding: 10px 15px 10px 15px;
    border: 2px solid white;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: -2px -2px 2px var(--color2), -2px -2px 6px var(--color2), -2px -2px 12px var(--color2), inset 2px 2px 2px var(--color2), inset 2px 2px 6px var(--color2), inset 2px 2px 12px var(--color2), 2px 2px 2px var(--color1), 2px 2px 6px var(--color1), 2px 2px 12px var(--color1), inset -2px -2px 2px var(--color1), inset -2px -2px 6px var(--color1), inset -2px -2px 12px var(--color1);
    transition: 0.3s ease;
}
button:hover{
    text-shadow: 0 0 10px white;
    box-shadow: -2px -2px 4px var(--color2), -2px -2px 8px var(--color2), -2px -2px 18px var(--color2), inset 2px 2px 4px var(--color2), inset 2px 2px 8px var(--color2), inset 2px 2px 18px var(--color2), 2px 2px 4px var(--color1), 2px 2px 8px var(--color1), 2px 2px 18px var(--color1), inset -2px -2px 4px var(--color1), inset -2px -2px 8px var(--color1), inset -2px -2px 18px var(--color1);
}
#abrir{
    z-index: 2;
    position: relative;
    margin: 0px 0px 0px -80px;
}

/*Donde salen los usuarios verificados*/
.verificados{
    display: flex;
    margin: 70px 5% 40px 34%;
}
.pestaña{
    background-color: black;
    color: white;
    font-family: 'Trebuchet MS';
    font-size: 16px;
    padding: 10px 15px 10px 15px;
    border: 3px solid white;
    border-radius: 20px;
    box-shadow: 0 0 5px var(--color2), 0 0 10px var(--color2), 0 0 20px var(--color2), inset 0 0 5px var(--color2), inset 0 0 10px var(--color2), inset 0 0 20px var(--color2);
    position: absolute;
    z-index: 2;
    margin: -30px -16px -30px -36px;
    animation: color 3s infinite ease-in-out;
}
.contenedor{
    display: flex;
    flex-direction: row;
    background-color: black;
    border: 3px solid white;
    width: 780px;
    height: 260px;
    margin: 0px;
    padding: 20px 0px;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 5px var(--color1), 0 0 10px var(--color1), 0 0 20px var(--color1), inset 0 0 5px var(--color1), inset 0 0 10px var(--color1), inset 0 0 20px var(--color1);
    animation: color2 3s infinite ease-in-out;
}
.container{
    margin: 0px;
    width: 780px;
    height: 260px;
    overflow: hidden;
    position: relative;
}

.carrusel{
    display: flex;
    transition: transform 0.5s ease;
}

.pagina{
    display: grid;
    grid-template-rows: repeat(3, 80px);
    grid-template-columns: repeat(8, 80px);
    padding-right: 18px;
    margin-right: 59px;
    gap: 9px;
    height: 260px;
    flex-shrink: 0;
}
.flecha1, .flecha2, .f1, .f2{
    user-select: none;
    padding: 0px 10px;
    border-radius: 5px;
    color: white;
    font-family: Arial;
    font-size: 32px;
    cursor: pointer;
    margin: 0px;
    align-self: center;
    transition: 0.25s;
}
.flecha1:hover, .flecha2:hover, .f1:hover, .f2:hover{
    text-shadow: 0 0 5px var(--color1), 0 0 10px var(--color1), 0 0 20px var(--color1);
}
.flecha1.disabled:hover, .flecha2.disabled:hover .f1.disabled:hover, .f2.disabled:hover{
    text-shadow: none;
}
.disabled{
    color: #555;
    pointer-events: none;
    cursor: default;
}
.user{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5px;
    padding: 3px;
    width: 80px;
    height: 60px;
    background-color: #000000;
    border-radius: 10px;
    border: 1px solid rgb(110, 110, 110);
    transition: 0.3s ease;
}
.user:hover{
    box-shadow: 0 0 5px var(--color1), 0 0 10px var(--color1), 0 0 20px var(--color1), inset 0 0 5px var(--color1), inset 0 0 10px var(--color1), inset 0 0 20px var(--color1);
    border: 1px solid white;
    z-index: 2;
}

.ico{
    user-select: none;
    width: 25px;
    margin: 3px 0px 0px 0px;
}

.users{
    margin: 5px 0px 0px 0px;
    max-width: 90%;
    font-family: 'Trebuchet MS';
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
}

/*El popup*/
#popup, #popup2, #popup_paypal{
    background: linear-gradient(30deg, var(--color2) -50%, black 30%, black 70%, var(--color1) 150%);
    box-shadow: 0 0 5px var(--color2), 0 0 10px var(--color2), 0 0 20px var(--color2), inset 0 0 5px var(--color2), inset 0 0 10px var(--color2), inset 0 0 20px var(--color2);
    border: 3px solid white;
    border-radius: 10px;
    width: 350px;
    flex-direction: column;
}
#cerrar, #cerrar2, #cerrar_paypal{
    user-select: none;
    display: flex;
    width: 20px;
    align-self: end;
    justify-content: center;
    margin: 0px;
    padding: 0px 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    color: white;
    cursor: pointer;
    transition: 0.3s ease;
}
#cerrar:hover, #cerrar2:hover, #cerrar_paypal:hover{
    text-shadow: 0 0 5px var(--color1), 0 0 10px var(--color1), 0 0 20px var(--color1);
}
.items{
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 0px 20px 20px 20px;
}
.items form, .items2{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 260px;
}
.input{
    background-color: black;
    border: 1.5px solid rgb(120, 120, 120);
    border-radius: 5px;
    color: white;
    font-family: 'Trebuchet MS';
    font-size: 18px;
    padding: 10px;
    margin: 10px;
    transition: 0.3s ease;
}
.input:focus{
    outline: none;
    border: 1.5px solid rgb(255, 255, 255);
    box-shadow: 0 0 5px var(--color1), 0 0 10px var(--color1), 0 0 20px var(--color1), inset 0 0 5px var(--color1), inset 0 0 10px var(--color1), inset 0 0 20px var(--color1);
}
.input::placeholder{
    color: rgb(120, 120, 120);
    transition: 0.3s ease;
}
.input:focus::placeholder{
    color: rgb(190, 190, 190);
}
.tlf, .buscar{
    display: flex;
    flex-direction: row;
}
.select{
    position: relative;
}
#telefono, #busqueda{
    width: 100%;
}
#pais{
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    color: white;
    background-color: black;
    font-family: 'Trebuchet MS';
    font-size: 16px;
}
#visible{
    outline: none;
    appearance: none;
    padding: 10px;
    font-family: 'Trebuchet MS';
    color: rgb(120, 120, 120);
    font-size: 18px;
    background-color: black;
    border-radius: 5px;
    margin: 10px;
    border: 1.5px solid rgb(120, 120, 120);
    transition: color border box-shadow 0.3s ease;
}

.select:focus-within #visible{
    border: 1.5px solid rgb(255, 255, 255);
    color: rgb(190, 190, 190);
    box-shadow: 0 0 5px var(--color1), 0 0 10px var(--color1), 0 0 20px var(--color1), inset 0 0 5px var(--color1), inset 0 0 10px var(--color1), inset 0 0 20px var(--color1);
}

/*Ranking*/
.resenas{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px 0px 40px 0px;
    padding: 0px;
}
.contenedor2{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 1192px;
    height: 370px;
    margin: 20px 0px;
    padding: 20px 0px;
    background-color: black;
    border: 3px solid white;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 5px var(--color1), 0 0 10px var(--color1), 0 0 20px var(--color1), inset 0 0 5px var(--color1), inset 0 0 10px var(--color1), inset 0 0 20px var(--color1);
    animation: color2 4s infinite ease-in-out;
}
.container2{
    margin: 10px 0px;
    padding-left: 0px;
    width: 98%;
    height: 350px;
    overflow: hidden;
    position: relative;
}
.carrusel2{
    display: flex;
    transition: transform 0.5s ease;
}
.pagina2{
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    justify-content: center;
}
.bloque{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 8px 20px;
    width: 200px;
    padding: 20px;
    background-color: black;
    border: 1.5px solid rgb(120, 120, 120);
    z-index: 2;
    transition: 0.5s ease;
}
.bloque:hover{
    border: 1.5px solid rgb(255, 255, 255);
    box-shadow: 0 0 5px var(--color2), 0 0 10px var(--color2), 0 0 20px var(--color2), inset 0 0 5px var(--color2), inset 0 0 10px var(--color2), inset 0 0 20px var(--color2);
    transform: translateY(-3px);
}
.comentario{
    color: white;
    font-size: 14px;
    font-family:'Trebuchet MS';
    margin: 0px 0px 5px 0px;
    text-align: center;
    cursor: default;
}
/*Estrellas estáticas*/
.estrella{
    font-size: 24px;
    color: rgb(121, 121, 121);
    pointer-events: none;
}
.estrella.activa{
    color: white;
    text-shadow: 0 0 5px var(--color1), 0 0 10px var(--color1), 0 0 20px var(--color1);
}
.Estrellas{
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin: 0px;
    padding: 10px;
    width: 200px;
}
/*Para el popup de reseñas*/
.resena{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0px 20px 20px 20px;
}
.resena form{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 260px;
}
.textarea{
    background-color: black;
    border: 1.5px solid rgb(120, 120, 120);
    border-radius: 5px;
    padding: 0px;
    margin: 10px;
    position: relative;
    display: inline-block;
    
}
textarea{
    background-color: transparent;
    color: white;
    border: none;
    font-family: 'Trebuchet MS';
    font-size: 18px;
    padding: 10px;
    margin: 0px 0px 15px 0px;
    resize: none;
    overflow: hidden;
    transition: 0.3s ease;
}
.textarea.activo{
    border: 1.5px solid rgb(255, 255, 255);
    box-shadow: 0 0 5px var(--color1), 0 0 10px var(--color1), 0 0 20px var(--color1), inset 0 0 5px var(--color1), inset 0 0 10px var(--color1), inset 0 0 20px var(--color1);
}
textarea:focus{
    outline: none;
}
.textarea textarea::placeholder{
    color: rgb(120, 120, 120);
    transition: 0.3s ease;
}
.textarea textarea:focus::placeholder{
    color: rgb(190, 190, 190);
}
#caracteres{
    position: absolute;
    bottom: 5px;
    right: 10px;
    color: rgb(190, 190, 190);
    font-family: 'Trebuchet MS';
    pointer-events: none;
}
.texto{
    font-size: 18px;
    margin: 0px 1px 0px 13px;
    color: white;
    font-family: 'Trebuchet MS';
}
.estrellas{
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    margin: 0px;
    padding: 10px;
    width: 200px;
}
.estrellas input{
    display: flex;
    margin: 5px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    appearance: none;
    border: none;
}
.estrellas input::before{
    content: '\2605';
    font-size: 30px;
    color: rgb(121, 121, 121);
    transition: 0.3s;
}
.estrellas input:checked ~ input::before, .estrellas input:checked::before, .estrellas input:hover ~ input::before, .estrellas input:hover::before{
    color: white;
    text-shadow: 0 0 5px var(--color1), 0 0 10px var(--color1), 0 0 20px var(--color1);
}

/*Idioma*/
footer{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    background-color: black;
    padding: 5px;
}
.footer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
footer form{
    display: flex;
    justify-content: end;
    margin-top: -50px;
}
/*Aquí se modifica la apariencia si tiene tamaño de teléfono*/
@media screen and (max-width: 710px){
    /*Encabezado*/
    #abrir{
        margin: -30px 0px 0px 0px;
    }
    .anuncio{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .encabezado{
        flex-direction: column-reverse;
        margin: 0px;
    }
    .anuncio, .TKTK, .ganador{
        margin: 5% 0%;
    }
    /*Footer*/
    footer form{
        justify-content: center;
        margin-top: 0px;
    }
    /*Carrusel usuarios verificados*/
    .verificados{
        margin: 70px 3% 40px 3%;
        justify-content: center;
    }
    .pestaña{
        margin: -30px 0px;
    }
    .contenedor{
        width: 334px;
    }
    .container{
        width: 334px;
    }
    .contenedor2{
        width: 344px;
    }
    .pagina{
        grid-template-columns: repeat(3, 80px);
        margin-right: 58px;
    }
}

@media screen and (max-width: 950px) and (min-width: 710px){
    /*Encabezado*/
    #abrir{
        margin: -30px 0px 0px 0px;
    }
    .anuncio{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .anuncio, .TKTK, .ganador{
        margin: 5% 5%;
    }
    /*Carrusel usuarios verificados*/
    .verificados{
        margin: 70px 4% 40px 4%;
        justify-content: center;
    }
    .pestaña{
        margin: -30px 0px;
    }
    .contenedor{
        width: 692px;
    }
    .container{
        width: 692px;
    }
    .contenedor2{
        width: 627px;
    }
    .resenas{
        margin: 80px 0px 80px 0px;
    }
    .pagina{
        grid-template-columns: repeat(7, 80px);
        margin-right: 60.1px;
    }
}
@media screen and (max-width: 1220px) and (min-width: 950px){
    .verificados{
        margin: 70px 4% 40px 4%;
        justify-content: center;
    }
    .pestaña{
        margin: -30px 0px;
    }
    .contenedor2{
        width: 909.5px;
    }
}