@import url(https://fonts.googleapis.com/css?family=Roboto);
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --active-bg-color: #8b5cf6;
    --active-bg-color-lighten: #7c3aed;
    --active-fg-color: #eee;
    --main-bg-color: #f8f9fa;
    --main-fg-color: #333;
}

html,
body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--main-bg-color);
    color: var(--main-fg-color);
    line-height: 1.5;
}

h1 {
    font-size: 4rem;
    margin: unset;
}

main {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

main section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

ol {
    max-width: 500px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #4c1d95;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #c4b5fd;
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #a78bfa;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

/* Buttons */
button,
.button {
    width: inherit;
    padding: 12px 16px;
    background: linear-gradient(
        135deg,
        var(--active-bg-color) 0%,
        var(--active-bg-color-lighten) 100%
    );
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover,
.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

button:active,
.button:active {
    transform: translateY(0);
}

button:disabled,
.button:disabled {
    opacity: 0.5;
}
