main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-size: 2rem;
    text-wrap: balance;
    text-align: center;
}

.roboto-custom {
     font-family: "Roboto", serif;
     font-optical-sizing: auto;
     font-weight: 500;
     font-style: normal;
     font-variation-settings: "wdth" 100;
}

@keyframes ovalMotion {
    0% {
        transform: translate(40px, 0); /* Start at the rightmost point */
    }
    25% {
        transform: translate(0, 20px); /* Topmost point */
    }
    50% {
        transform: translate(-40px, 0); /* Leftmost point */
    }
    75% {
        transform: translate(0, -20px); /* Bottommost point */
    }
    100% {
        transform: translate(40px, 0); /* Back to the start */
    }
}

.main-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.button-container {
    padding: 2rem;
}

#message {
    display: none;
    animation: ovalMotion 4s linear infinite;
}

#input-container {
    display: flex;
    align-items: center;
}

input, button{
    width: 300px;
    font-size: 1.5rem;
    padding: .25rem .5rem ;
    border-radius: .75rem;
    border: 1px solid lightseagreen;
    box-sizing: border-box;
    outline: none;
}

input {
    box-shadow: 0 0 4px lightseagreen;

}

input::placeholder {
    color: lightgray;
}

#message-input:focus {
    box-shadow: 0 1px 5px lightseagreen; /* Subtle box shadow on focus */
}

button {
    width: 100px;
    margin-left: .5rem;
    background-color: lightseagreen;
    color: white;
}

#new-message-button {
    padding: 1rem;
    width: auto;
    border-radius: .75rem;
}


button:hover {
    cursor: pointer;
    opacity: 0.9;
}

@media(max-width: 450px) {
    #input-container {
        flex-direction: column;
        align-items: stretch;
        min-width: 300px;
    }

    button {
        margin-left: 0; /* Remove left margin */
        margin-top: 1rem; /* Add top margin for spacing */
        width: 100%; /* Make button 100% width */
    }

    #message-input{
        width: 100%;
    }

    #message {
        font-size: 2rem;
    }

}
