@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    height: 100vh;
    width: 100vw;
    padding: 10px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: antiquewhite;
}

.container {
    max-height: 100%;
    width: 90%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(240, 252, 253);
    border-radius: 25px;
    padding: 1.5rem;
    margin: auto;
}

h2 {
    margin: 0.5rem;
    font-size: 1.5rem;
    text-align: center;
}

#field {
    position: relative;
    min-height: 30px;
    width: 100%;
    margin: 0.5rem 0;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 1rem;
    font-weight: 400;
    box-sizing: border-box;
}

#Quote {
    width: 100%;
    padding: 1.5rem;
    word-break: break-word;
    text-align: center;
}

#author {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 0.9rem;
    color: #333;
}

#btn {
    font-size: 1rem;
    padding: 0.7rem 1rem;
    margin: 1rem 0;
    width: 60%;
    max-width: 180px;
    border-radius: 25px;
    background-color: rgb(63, 63, 179);
    color: aqua;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

#btn:hover {
    background-color: rgb(45, 45, 150);
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.2rem;
    }

    #field {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    #author {
        font-size: 0.8rem;
        bottom: 8px;
        right: 8px;
    }

    #btn {
        font-size: 0.95rem;
        width: 80%;
    }
}