body {
    margin:0;
    padding:0;
    font-family:'bebas neue', sans-serif;
    color:#ffffff;
    background-color: #0A1E46;
}

header {
    display: flex;
    justify-content: left;
    align-items: center;
    padding-left: 20px;
    background-color: #46ffbc;
    height: 100px;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
}

h1 {
    font-size: 40px;
    text-transform: uppercase;
    text-align:center;
    padding-top: 30px;
}

h2 {
    font-size:30px;
}

#tiempo {
    font-size: 50px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; 
}

#contenedor-instrucciones {
    max-width: 600px; 
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align:center;
}

.link-boton {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;    
}

.button {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    color: #0A1E46;
    background-color: white;
    border: 2px solid #0A1E46;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer; 
    transition: all 0.3s ease; 
    display: block;
    margin: 20px 0px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.botones {
    display: flex;               
    justify-content: flex-start; 
    gap: 20px;
    margin:0px;
    padding:0px;                   
}

footer {
    background-color:#0A1E46;
    height: 50px;
    justify-content: center;
    padding-top: 5px;
    text-align: center;
}

footer p {
    margin: 5px 0;
    text-align:center;
    font-size: 12px;
    color: white;
}

.icono-corazon {
    text-align: center;
    width: 15px; 
    height: 15px;
}

#area-juego{
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
    justify-content: space-between;
    align-items: center;
    width: 50%;
    margin: 0 auto;
}

#area-juego::before {
    content: "PASAPALABRA";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 150px;
    color: rgba(200, 200, 200, 0.2); 
    z-index: 0;
    white-space: nowrap;
    pointer-events: none;
}

.area-circulo {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

#tiempo {
    font-size: 80px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: white;
}

.circulo {
    width:400px ;
    height:400px ;
    border-radius: 50%;
    list-style: none;
    padding: 0;
    position:relative;
    margin-right: 30px; 
    justify-content: center;
    align-items: center;  
}

.area-pregunta-respuesta {
    display: flex;
    flex-direction: column; 
    justify-content: flex-start;
    align-items: flex-start; 
    width: 100%;  
    padding: 50px;
    position: relative;
}

.area-pregunta {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: left;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 50px;
    background-color: rgba(16, 36, 78, 0.8); 
    color: white;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.5); 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(70, 255, 188, 0.3); 
    backdrop-filter: blur(0px); 
    position: relative;
}
.contenedor-pregunta {
    height: 150px;
    padding-bottom:10px;

}
.contenedor-respuesta {
    min-height: 200px;
}
.letra {
    color:white;
}

.respuesta {
    width: 100%;
    max-width: 400px;  
    padding: 10px 15px; 
    font-size: 16px;  
    border: 2px solid #46ffbc;  
    border-radius: 8px;  
    background-color: #0A1E46;  
    color: #ffffff;  
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  
    transition: all 0.3s ease; 
}

.respuesta::placeholder {
    color: #a0a0a0;  
    font-style: italic;  
}

.respuesta:focus {
    border-color: #ffffff; 
    box-shadow: 0 4px 8px rgba(70, 255, 188, 0.5);  
    outline: none;  
    background-color: #073174;  
}
.circulo .letra {
    position: absolute;
    top:45%;
    left:50%;
    transform-origin: 0 0;
    transform: translate(-50%, -50%);
    font-size: 22px;
    color: white;
    width: 30px;  
    height: 30px;
    border: 2px solid white; 
    border-radius: 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
}
.circulo .letra:nth-child(1)  { transform: rotate(-82deg) translate(180px) rotate(82deg); }
.circulo .letra:nth-child(2)  { transform: rotate(-68deg) translate(180px) rotate(68deg); }
.circulo .letra:nth-child(3)  { transform: rotate(-54deg) translate(180px) rotate(54deg); }
.circulo .letra:nth-child(4)  { transform: rotate(-40deg) translate(180px) rotate(40deg); }
.circulo .letra:nth-child(5)  { transform: rotate(-26deg) translate(180px) rotate(26deg); }
.circulo .letra:nth-child(6)  { transform: rotate(-12deg) translate(180px) rotate(12deg); }
.circulo .letra:nth-child(7)  { transform: rotate(2deg) translate(180px) rotate(-2deg); }
.circulo .letra:nth-child(8)  { transform: rotate(16deg) translate(180px) rotate(-16deg); }
.circulo .letra:nth-child(9)  { transform: rotate(30deg) translate(180px) rotate(-30deg); }
.circulo .letra:nth-child(10) { transform: rotate(44deg) translate(180px) rotate(-44deg); }
.circulo .letra:nth-child(11) { transform: rotate(58deg) translate(180px) rotate(-58deg); }
.circulo .letra:nth-child(12) { transform: rotate(72deg) translate(180px) rotate(-72deg); }
.circulo .letra:nth-child(13) { transform: rotate(86deg) translate(180px) rotate(-86deg); }
.circulo .letra:nth-child(14) { transform: rotate(100deg) translate(180px) rotate(-100deg); }
.circulo .letra:nth-child(15) { transform: rotate(114deg) translate(180px) rotate(-114deg); }
.circulo .letra:nth-child(16) { transform: rotate(128deg) translate(180px) rotate(-128deg); }
.circulo .letra:nth-child(17) { transform: rotate(142deg) translate(180px) rotate(-142deg); }
.circulo .letra:nth-child(18) { transform: rotate(156deg) translate(180px) rotate(-156deg); }
.circulo .letra:nth-child(19) { transform: rotate(170deg) translate(180px) rotate(-170deg); }
.circulo .letra:nth-child(20) { transform: rotate(184deg) translate(180px) rotate(-184deg); }
.circulo .letra:nth-child(21) { transform: rotate(198deg) translate(180px) rotate(-198deg); }
.circulo .letra:nth-child(22) { transform: rotate(212deg) translate(180px) rotate(-212deg); }
.circulo .letra:nth-child(23) { transform: rotate(226deg) translate(180px) rotate(-226deg); }
.circulo .letra:nth-child(24) { transform: rotate(240deg) translate(180px) rotate(-240deg); }
.circulo .letra:nth-child(25) { transform: rotate(254deg) translate(180px) rotate(-254deg); }
.circulo .letra:nth-child(26) { transform: rotate(268deg) translate(180px) rotate(-268deg); }


.letra-actual{
    background-color: orange;
    color: white;
}

.acierto{
    background-color: green;
    color: white;
}
.fallo{
    background-color:red;
    color: white;
}

#A {
    margin-left: 6px;  
}

#Z {
    margin-right: 8px;  
}

#pista {
font-size: 25px;
}

#pregunta {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@media (max-width: 480px) {
    header {
        height: 100px;
        padding-left: 30px;
    }

    h1 {
        font-size: 24px;
        padding-top: 15px;
    }

    #area-juego {
        width: 95%;
        flex-direction: column;
        align-items: center;
        margin: 0;
        margin-bottom: 20px;

    }

    .circulo {
        width: 220px; 
        height: 220px; 
        margin:0px;
        padding:30px;

    }

    .circulo .letra {
        font-size: 16px; 
        width: 25px;
        height: 25px;    
        border: 2px solid white; 
    }

.circulo .letra:nth-child(1)  { transform: rotate(-82deg) translate(130px) rotate(82deg); }
.circulo .letra:nth-child(2)  { transform: rotate(-68deg) translate(130px) rotate(68deg); }
.circulo .letra:nth-child(3)  { transform: rotate(-54deg) translate(130px) rotate(54deg); }
.circulo .letra:nth-child(4)  { transform: rotate(-40deg) translate(130px) rotate(40deg); }
.circulo .letra:nth-child(5)  { transform: rotate(-26deg) translate(130px) rotate(26deg); }
.circulo .letra:nth-child(6)  { transform: rotate(-12deg) translate(130px) rotate(12deg); }
.circulo .letra:nth-child(7)  { transform: rotate(2deg) translate(130px) rotate(-2deg); }
.circulo .letra:nth-child(8)  { transform: rotate(16deg) translate(130px) rotate(-16deg); }
.circulo .letra:nth-child(9)  { transform: rotate(30deg) translate(130px) rotate(-30deg); }
.circulo .letra:nth-child(10) { transform: rotate(44deg) translate(130px) rotate(-44deg); }
.circulo .letra:nth-child(11) { transform: rotate(58deg) translate(130px) rotate(-58deg); }
.circulo .letra:nth-child(12) { transform: rotate(72deg) translate(130px) rotate(-72deg); }
.circulo .letra:nth-child(13) { transform: rotate(86deg) translate(130px) rotate(-86deg); }
.circulo .letra:nth-child(14) { transform: rotate(100deg) translate(130px) rotate(-100deg); }
.circulo .letra:nth-child(15) { transform: rotate(114deg) translate(130px) rotate(-114deg); }
.circulo .letra:nth-child(16) { transform: rotate(128deg) translate(130px) rotate(-128deg); }
.circulo .letra:nth-child(17) { transform: rotate(142deg) translate(130px) rotate(-142deg); }
.circulo .letra:nth-child(18) { transform: rotate(156deg) translate(130px) rotate(-156deg); }
.circulo .letra:nth-child(19) { transform: rotate(170deg) translate(130px) rotate(-170deg); }
.circulo .letra:nth-child(20) { transform: rotate(184deg) translate(130px) rotate(-184deg); }
.circulo .letra:nth-child(21) { transform: rotate(198deg) translate(130px) rotate(-198deg); }
.circulo .letra:nth-child(22) { transform: rotate(212deg) translate(130px) rotate(-212deg); }
.circulo .letra:nth-child(23) { transform: rotate(226deg) translate(130px) rotate(-226deg); }
.circulo .letra:nth-child(24) { transform: rotate(240deg) translate(130px) rotate(-240deg); }
.circulo .letra:nth-child(25) { transform: rotate(254deg) translate(130px) rotate(-254deg); }
.circulo .letra:nth-child(26) { transform: rotate(268deg) translate(130px) rotate(-268deg); }

.area-pregunta-respuesta {
    padding: 30px 20px;
    margin:0px;
    width:80%;
}

.area-pregunta {
    padding: 20px;
    margin-bottom: 10px;
}

#pregunta {
        font-size: 18px;
        margin-bottom: 10px;
    }

.respuesta {
        font-size: 14px;
        padding: 6px 10px;
        width: 70%;
        margin-bottom: 20px;
}

    .button {
        font-size: 16px;
        padding: 12px 24px;
        margin-bottom: 20px;
    }

    footer {
        font-size: 12px;
        padding: 0px;
    }
}
