*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI';
}

body
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1em;
    height: 100dvh;
    background-color: hsl(0, 0%, 0%);
    background-image: url(background.png);
}

#titulo
{
    color: white;
    font-size: 0.4em;
    letter-spacing: 5px;
    text-shadow: 1px 1px 2px rgb(155, 179, 0);
}

#ventana-ayuda-contenedor
{
    display: flex;
    /* background-color: white; */
    position: absolute;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: rgba(0,0,0,0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#ventana-ayuda-contenedor button
{
    border: none;
    padding: 5px 50px;
    border-radius: 0px 0px 10px 10px;
    font-size: 20px;
    color: white;
    background-color: hsl(0, 0%, 5%);
    border-bottom: 4px solid gold;
    border-left: 4px solid gold;
    border-right: 4px solid gold;
    cursor: pointer;

    -webkit-box-shadow: 3px 3px 10.5px 3px #383838;
    -moz-box-shadow: 3px 3px 10.5px 3px #383838;
    box-shadow: 3px 3px 10.5px 3px #383838;

    transition: transform 0.1s;
}

#ventana-ayuda-contenedor button:hover
{
    transform: scaleY(1.05) translateY(1px);
}

.ventana-ayuda-contenido
{
    color: white;
    background-color: hsl(0, 0%, 5%);
    border: 4px solid rgba(0, 255, 255, 0.8);
    border-radius: 10px;
    height: 50%;
    width: 50%;
    padding: 3em;
    font-size: clamp(0.9rem, 3vw, 1.2em);
    letter-spacing: 2px;

    -webkit-box-shadow: 3px 3px 10.5px 3px #383838;
    -moz-box-shadow: 3px 3px 10.5px 3px #383838;
    box-shadow: 3px 3px 10.5px 3px #383838; 
}

@media (max-width: 1200px)
{
    .ventana-ayuda-contenido
    {
        height: 70%;
        width: 80%;
    }
}
@media (max-width: 769px)
{
    .ventana-ayuda-contenido
    {
        height: 80%;
        width: 90%;
    }

    .calculadora
    {
        transform: scale(0.8);
    }
}

#btn-ayuda
{
    background-color: gray;
}

.btn-naranjo
{
    background-color: orange;
    color: white;
}

.btn-naranjo:hover
{
    background-color: hsl(39, 100%, 40%);
}

.btn-negro-claro
{
    background-color: hsl(0, 0%, 15%);
    color: white;
}

.btn-negro-claro:hover
{
    background-color: hsl(0, 0%, 10%);
}

.btn-gris-oscuro
{
    background-color: hsl(0, 0%, 80%);
}

.btn-gris-oscuro:hover
{
    background-color: hsl(0, 0%, 70%);
}

.calculadora
{
    width: 25em;
    height: fit-content;
    border-radius: 20px;
    padding: 1em;
    padding-top: 2em;
    border: 3px solid hsl(0, 0%, 50%, 0.1);

    background: rgba(0,0,20%,0.5);
    -webkit-backdrop-filter: blur(5);
    backdrop-filter: blur(5px);
}

#output-auxiliar-texto
{
    display: block;
    width: 100%;
    text-align: end;
    font-size: 40px;
    color: gray;
    overflow: scroll;
    text-wrap: nowrap;
}

#input-output-texto
{
    display: block;
    width: 100%;
    text-align: end;
    font-size: 40px;
    color: white;
    overflow: scroll;
    font-size: 80px;
    text-wrap: nowrap;
}

.calculadora-botones
{
    /* border: 1px solid white; */
    border-radius: 20px;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-items: center;
    gap: 10px;
}

.calculadora-botones button
{
    border: none;
    height: 80px;
    width: 80px;
    border-radius: 100%;
    font-size: 40px;
    cursor: pointer;
}