/* Common Styles for AZKO Tarakan 5K Fun Run Pages */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Roboto', sans-serif;
}

body {
    background: linear-gradient(rgb(203 0 0 / 26%), rgb(203 0 0 / 26%)),
    url('../img/bg_registration.png') no-repeat center top fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding-top: 50px;
    color: #333;
}

.form-container {
    background: #ffffffcc;
    border-radius: 20px;
    padding: 40px 35px;
    width: 90%;
    box-shadow: 0 15px 35px rgba(203, 0, 0, 0.3);
    color: #3a3a3a;
}

h2 {
    text-align: center;
    color: #cb0000;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 25px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    margin: 10px auto 0;
    border-radius: 3px;
    background: linear-gradient(to right, #cb0000 0%, #cb0000 80%, #ffffff 80%, #ffffff 85%, #8c52ff 85%, #8c52ff 90%, #ffcc00 90%, #ffcc00 100%);
}

.footer {
    margin-top: 25px;
    font-size: 14px;
    text-align: center;
    color: #555;
}

.footer a {
    color: #8c52ff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #cb0000;
}

/* Media queries for mobile responsiveness */
@media (max-width: 767px) {
    body {
        padding-top: 30px;
    }

    .form-container {
        padding: 30px 15px;
    }

    h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .footer {
        font-size: 13px;
    }
}
