body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
    margin: 0;
    padding: 20px;
}

*{
    border: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}



#preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(249,249,249,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.pl {
    display: block;
    width: 6.25em;
    height: 6.25em;
}

.pl__ring, .pl__ball {
    animation: ring 2s ease-out infinite;
}

.pl__ball {
    animation-name: ball;
}

/* Dark theme  */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: hsl(var(--hue),10%,10%);
        --fg: hsl(var(--hue),10%,90%);
    }
}

/* Animation */
@keyframes ring {
    from {
        stroke-dasharray: 0 257 0 0 1 0 0 258;
    }
    25% {
        stroke-dasharray: 0 0 0 0 257 0 258 0;
    }
    50%, to {
        stroke-dasharray: 0 0 0 0 0 515 0 0;
    }
}

@keyframes ball {
    from, 50% {
        animation-timing-function: ease-in;
        stroke-dashoffset: 1;
    }
    64% {
        animation-timing-function: ease-in;
        stroke-dashoffset: -109;
    }
    78% {
        animation-timing-function: ease-in;
        stroke-dashoffset: -145;
    }
    92% {
        animation-timing-function: ease-in;
        stroke-dashoffset: -157;
    }
    57%, 71%, 85%, 99%, to {
        animation-timing-function: ease-out;
        stroke-dashoffset: -163;
    }
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header img {
    max-width: 150px;
}

header h1 {
    margin: 10px 0;
}

header h2 {
    margin: 0;
    color: #6c757d;
}

.description {
    text-align: center;
    margin-bottom: 20px;
}

.description p {
    max-width: 600px;
    margin: 0 auto 20px;
}

.description button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.description button:hover {
    background-color: #0056b3;
}

.form-section {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.form-section form {
    display: flex;
    flex-direction: column;
}

.form-section label {
    margin-bottom: 5px;
}

.form-section input,
.form-section select {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.form-section button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.form-section button:hover {
    background-color: #0056b3;
}

.service-questions {
    display: none;
}

/* Aligning label and input/select in one line */
.form-section label, .form-section select, .form-section input {
    display: inline-block;
    width: calc(100% - 22px);
}

.form-section label {
    width: 25%;
    margin-right: 10px;
}

.form-section input,
.form-section select {
    width: 70%;
}

.encrypted {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.encrypted img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5em;
    }
    header h2 {
        font-size: 1.2em;
    }
    .description p {
        max-width: 100%;
        padding: 0 20px;
    }
    .form-section {
        padding: 10px;
    }
    .form-section label,
    .form-section input,
    .form-section select {
        width: 100%;
    }
    .form-section label {
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    header h1 {
        font-size: 1.2em;
    }
    header h2 {
        font-size: 1em;
    }
}

/* Footer styling */
footer {
    text-align: center;
    margin-top: 20px;
    padding: 10px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

footer p {
    font-size: 14px;
    color: #6c757d;
}

footer a {
    color: #007bff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}