body{
    width:100%;
    background: #eff1fa;
}

header {
    display: flex;
    padding-left: 2rem;
    padding-top: 2rem;
}

.contglobal{
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.input{
    width: 40%;
    display: flex;
    flex-direction: column; 
    justify-content: space-between;
    padding-bottom: 10px;   
}

.ingresotexto{
    width: 100%;
    height: 300px;
    resize: none;
    border: none;
    outline: none;
    background: none;
    font-size: 1.5rem;    
}

.ingresotexto::placeholder {
    color: black;
    font-size: 1.25rem;
}

.caja1botones{
    margin-bottom: 1rem;
    font-family: monospace;
    font-size: 1rem;    
}

.soloBotones {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    margin-top: 5px;

}

#boton1{    
    color:white;
    background:#052051;
    transition: 0.5s;
    width: 200px;
    height: 50px;
    border-radius: 1rem;
    font-size: 22px;
    box-shadow: 1px 1px 5px #757fb2;
    border:none;
    cursor: pointer;
}

#boton1:hover{
    transform:scale(1.1);
    background:#757fb2;
}

#boton2{    
    color:white;
    background:#757fb2;
    transition: 0.5s;
    width: 200px;
    height: 50px;
    border-radius: 1rem;
    font-size: 22px;
    box-shadow: 1px 1px 5px #052051;
    border:none;
    cursor: pointer;
}

#boton2:hover{
    transform:scale(1.1);
    background:#aab2d5;
}

.output{
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 1rem;
    padding: 0 2rem 2rem 2rem;   
}

.imagen-muñeco {
    position: absolute;
    display: flex;
    width: 250px;
    margin-top: 3rem;
}

.output h2 {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    font-family: monospace;
}

.output p {
    margin-top: 1rem;
    font-size: 17px;
    text-align: center;
    font-family: monospace;
}

.salidatexto{
    width: 100%;
    height: 300px;
    resize: none;
    border-radius: 1rem;
    outline: none;
    border: none;
    padding: 2rem;
    font-size: 1.5rem;
}

#boton3{    
    color:black;
    background:#aab2d5;
    transition: 0.5s;
    width: 180px;
    height: 50px;
    border-radius: 1rem;
    font-size: 20px;
    box-shadow: 1px 1px 5px #052051;
    border:none;
    margin-top: 1rem;
    cursor: pointer;
    visibility: hidden;

}

#boton3:hover{
    transform:scale(1.1);
    background:#eff1fa;
}

footer {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
}

.footer-leyenda {
    text-align: center;
}

@media screen and (max-width:768px){
    body {
        width: 100%;
    }

    .contglobal {
        flex-wrap: wrap;
    }

    .ingresotexto {
        height: 250px;
    }

    .input {
        width: 90%;
        margin: 1rem;
    }

    .salidatexto {
        height: 250px;
    }

    .output {
        width: 90%;
        margin: 1rem;
    }

    .imagen-muñeco {
        display: none;
    }
}

@media screen and (max-width: 400px) {
   
    .salidatgexto {
        height: auto;
    }

    .soloBotones {
        flex-wrap: wrap;
    }

    #boton1, #boton2 {
        width: 300px;
    }

    #boton2 {
        margin-top: 10px;
    }

    footer {
        margin-bottom: 10px;
    }
}

