body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #0D1B2A;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 0;
    flex-direction: column;
    font-size: 18px;
}

.title {
    text-align: center;
    margin-bottom: 20px;

    h1 {
        font-size: 2.5rem;
        margin-bottom: 0;
    }

    p {
        margin: 0;
        margin-top: 5px;
        color: #778DA9;
    }
}

.form {
    width: 700px;

    label {
        input[type="radio"] {
            display: none;
    
            &:checked + span {
                background-color: #415A77;
                color: white;
                border: 1px solid white;
            }
        }

        span {
            display: inline-block;
            padding: 10px 20px;
            margin: 5px;
            border-radius: 5px;
            cursor: pointer;
            background-color: #1B263B;
            color: #778DA9;
            transition: background-color 0.3s, color 0.3s;
        }
    }

    input[type="text"] {
        width: calc(100% - 40px);
        padding: 10px 20px;
        border-radius: 5px;
        border: 1px solid #415A77;
        background-color: #1B263B;
        font-size: 18px;
        color: white;
    }

    textarea {
        width: calc(100% - 50px);
        height: 72px;
        padding: 10px 20px;
        border-radius: 5px;
        border: 1px solid #415A77;
        background-color: #1B263B;
        font-size: 18px;
        color: white;
        margin: 5px;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    }

    button[type="submit"] {
        padding: 10px 20px;
        border-radius: 5px;
        border: none;
        background-color: #415A77;
        color: white;
        font-size: 18px;
        cursor: pointer;
        margin-top: 20px;
        width: 100%;
        transition: all 0.3s;

        &:hover {
            background-color: #1B263B;
            transition: all 0.3s;
        }

        &:disabled {
            opacity: 0.5;
            background-color: #415A77;
            color: #778DA9;
            cursor: not-allowed;
            transition: all 0.3s;
        }
    }
}

#examples {
    margin-top: 20px;

    > span.example {
        color: white;
        background-color: #1B263B;
        border-left: 3px solid white;
        padding: 10px 20px;
        border-radius: 5px;
    }
}

.loader {
    filter: invert();
    width: 15px;
    animation: spin .75s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}