@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #ecf0f3; /* Fondo con efecto de suavidad */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    width: 100%;
    max-width: 600px;
    transition: transform 0.3s ease;
}

.container:hover {
    transform: translateY(-3px); /* Pequeño efecto flotante */
}

h1 {
    color: #2c3e50; /* Azul oscuro elegante */
    font-weight: 600;
    margin-bottom: 20px;
}

textarea {
    width: 100%;
    height: 150px;
    border: 2px solid #bdc3c7;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    margin-bottom: 20px;
    outline: none;
    resize: none;
    background-color: #fdfdfd;
    transition: all 0.3s ease;
}

textarea:focus {
    border-color: #f39c12; /* Dorado */
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.5);
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

button {
    padding: 12px 18px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: #2c3e50; /* Azul oscuro */
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #34495e;
    transform: scale(1.05);
}

button:active {
    background-color: #1a252f;
    transform: scale(0.98);
}

#output {
    margin-top: 20px;
    font-size: 18px;
    color: #2c3e50;
    background-color: #fafafa;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #bdc3c7;
    word-wrap: break-word;
    min-height: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}