body {
    font-family: Arial, sans-serif;
    background: #f7f9fc;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px
}

h2 {
    color: #333;
    margin-bottom: 20px
}

form {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
    width: 100%;
    max-width: 400px;
    display: none;
    opacity: 0;
    transition: .3s;
}

form.active {
    display: flex;
    opacity: 1;
    flex-direction: column;
    align-items: center; 
}

input[type=email],
input[type=text] {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box
}

button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    width: 120px;
    text-align: center;
}

button:hover {
    background: #0056b3;
}

.message {
    background: #e0f3ff;
    border-left: 4px solid #007bff;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    width: 100%;
    max-width: 400px
}