main {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: Helvetica, sans-serif;
    margin: auto;
}

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

.card {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border: 1px solid gray;
    border-radius: 5px;
    box-sizing: border-box;
}

.card button {
    text-transform: uppercase;
    min-height: 40px;
    background-color: white;
    border: 1px solid black;
    border-radius: 5px;
    color: black;
}

.card button:active {
    background-color: black;
    color: white;
}

.card textarea {
    width: 100%;
    height: 400px;
    resize: none;
    box-sizing: border-box;
}

.card p {
    text-transform: capitalize;
    text-align: center;
}

.loader {
    width: 100%;
    height: 8px;
    border: 1px solid black;
    border-radius: 5px;
    box-sizing: border-box;
    overflow: hidden;
}

.loader-slider {
    width: 20%;
    height: 100%;
    background-color: black;
    animation: slide 1.5s ease-in-out infinite;
    border-radius: 5px;
}

@keyframes slide {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(500%);
    }
}

[hidden] {
    display: none;
}

