*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
html{
    scroll-behavior:smooth;
}
body{
    font-family:"Poppins",sans-serif;
    background:#192335;
    color:white;
    overflow-x:hidden;
    line-height:1.8;
}
h1,h2,h3,h4{
    font-weight:600;
}
.estrellas{
    position:fixed;
    inset:0;
    overflow:hidden;
    pointer-events:none;
    z-index:-1;
}
.estrella{
    position:absolute;
    background:white;
    border-radius:50%;
    box-shadow:0 0 10px white;
    animation:caer linear infinite;
}
@keyframes caer{
    0%{
        transform:translateY(-120px);
        opacity:0;
    }
    20%{
        opacity:1;
    }
    80%{
        opacity:1;
    }
    100%{
        transform:translateY(100vh);
        opacity:0;
    }
}
.header{
    position:sticky;
    top:0;
    z-index:1000;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
    background:rgba(24,35,133,.92);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(255,255,255,.15);
}
.logo{
    display:flex;
    align-items:center;
    gap:15px;
}
.logo img{
    width:65px;
    height:65px;
    border-radius:50%;
    border:2px solid white;
    transition:.3s;
}
.logo img:hover{
    transform:scale(1.08) rotate(5deg);
}
.logo-texto h1{
    font-size:28px;
}
.logo-texto span{
    color:#dbeafe;
    font-size:14px;
}
.menu{
    display:flex;
    gap:15px;
}
.menu a{
    color:white;
    text-decoration:none;
    padding:10px 18px;
    border-radius:12px;
    transition:.3s;
}
.menu a:hover,
.menu .activo{
    background:#3b82f6;
    transform:translateY(-3px);
}
.hero{
    padding:80px 10%;
    text-align:center;
}
.hero-texto{
    max-width:900px;
    margin:auto;
}
.hero h1{
    font-size:45px;
    margin-bottom:20px;
}
.hero h1 i{
    color:#3b82f6;
}
.hero p{
    font-size:19px;
    color:#e5e7eb;
}
.teclado{
    padding:70px 10%;
    background:rgba(13,29,49,.85);
    text-align:center;
}
.teclado h2{
    font-size:35px;
    margin-bottom:15px;
}
.teclado p{
    font-size:18px;
    color:#ddd;
}
.teclado-grid{
    display:grid;
    grid-template-columns:repeat(2,140px);
    gap:20px;
    justify-content:center;
    margin:40px auto;
}
.boton{
    width:140px;
    height:140px;
    border-radius:50%;
    border:none;
    background:#0d1d31;
    color:white;
    font-size:35px;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(0,0,0,.4);
    transition:.3s;
}
.boton:hover{
    transform:scale(1.08);
    background:#2563eb;
}
.boton.activo{
    background:#3b82f6;
    color:white;
}
.panel{
    margin-top:40px;
}
.control{
    padding:14px 25px;
    margin:10px;
    border:none;
    border-radius:12px;
    background:#3b82f6;
    color:white;
    font-size:16px;
    cursor:pointer;
    transition:.3s;
}
.control:hover{
    background:#2563eb;
    transform:translateY(-3px);
}
.contraste{
    background:#22c55e;
}
.contraste:hover{
    background:#16a34a;
}
#texto{
    margin:35px auto;
    width:70%;
    min-height:60px;
    padding:20px;
    border-radius:15px;
    background:#030912;
    font-size:32px;
    color:white;
    box-shadow:0 10px 30px rgba(0,0,0,.4);
}
.explicacion{
    padding:80px 15%;
    text-align:center;
}
.explicacion h2{
    font-size:35px;
    margin-bottom:20px;
}
.explicacion p{
    font-size:19px;
    color:#e5e7eb;
}
.footer{
    background:#030912;
    padding:70px 0;
}
.contenedor{
    width:90%;
    max-width:1200px;
    margin:auto;
}
.footer-row{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
}
.footer-links{
    width:250px;
}
.footer-links h4{
    margin-bottom:20px;
    padding-bottom:10px;
    border-bottom:2px solid #00c3ff;
}
.footer-links ul li{
    margin-bottom:12px;
}
.footer-links a{
    color:white;
    text-decoration:none;
    transition:.3s;
}
.footer-links a:hover{
    color:#66d1ff;
    padding-left:6px;
}
.social-link{
    display:flex;
    gap:10px;
    margin-top:20px;
}
.social-link a{
    width:40px;
    height:40px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#0d1d31;
    color:white;
    transition:.3s;
}
.social-link a:hover{
    background:#3e8cff;
}
.alto{
    background:black !important;
    color:yellow !important;
}
.alto .boton{
    background:black;
    border:2px solid yellow;
    color:yellow;
}
.alto #texto{
    background:black;
    color:yellow;
}
@media(max-width:900px){
.header{
    flex-direction:column;
    gap:20px;
}
.menu{
    flex-wrap:wrap;
    justify-content:center;
}
.hero h1{
    font-size:35px;
}
.boton{
    width:110px;   
    height:110px;
}

.teclado-grid{
    grid-template-columns:repeat(2,110px);
}
#texto{
    width:90%;
}
.footer-row{
    flex-direction:column;
    gap:40px;
}
}