*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: sans-serif;
    background: linear-gradient(to right,
    #1e3c72, #2a5298, #00c6fb, #1e3c72
    );
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40%;
    height: 400px;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.16);
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    margin: 20px auto;
    border-radius: 5px;
}

.container h2{
    text-align: center;
    text-decoration: underline;
    margin: 30px auto;
}

#result{
    background: linear-gradient(168deg, #ff9a9e, #fad4c0);
    height: 300px;
    width: 90%;
    border: 1px solid #333;
    margin-bottom: 30px;
    padding: 40px 50px;
    border-radius: 5px;
    overflow-y: auto;
    overflow-x: hidden;
    line-height: 1.5;
}

#result::-webkit-scrollbar {
    width: 6px;
}

#result::-webkit-scrollbar-track {
    background: transparent;
}

#result::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.button-container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

button{
    font-size: 20px;
    height: 80px;
    width: 80px;
    border-radius: 50%;
    color: #fff;
    background: indigo;
    outline: none;
    border: none;
    animation: pulse 1.5s infinite alternate;
    cursor: pointer;
}

button:hover{
    background-color: darkblue;
}

@keyframes pulse {
    from{
        transform: scale(1);
    }
    to{
        transform: scale(1.1);
    }
}