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

body {
    font-family: "JetBrains Mono", monospace;
    background-color: #FCEFE3;
    text-align: center;
    padding: 20px;
    color: #D44B20;
}

nav {
    background-color: #dd3b26;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #eaaf2e;
}

header {
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #eaaf2e;
    text-shadow: 3px 3px #dd3b26;
}

.subtitle {
    font-size: 1.2rem;
    color: #dd3b26;
}

.info p {
    font-size: 1.2rem;
    margin: 10px 0;
}

.rules {
    background: #fff3e0;
    padding: 20px;
    border-radius: 12px;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.rules h2 {
    font-size: 1.5rem;
    color: #dd3b26;
    text-align: center;
}

.rules ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: center;
}

.rules li {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta {
    margin: 20px 0;
}

.register-btn {
    background-color: #eaaf2e;
    color: #fff;
    padding: 12px 20px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
    display: inline-block;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease;
}

.register-btn:hover {
    background-color: #faaf25;
    transform: scale(1.1);
}

.readme {
    margin: 20px 0;
}

.readme a {
    background-color: #dd3b26;
    color: #fff;
    padding: 12px 20px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
    display: inline-block;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease;
}

.readme a:hover{
    background-color: #dd3b20;
    transform: scale(1.1);
}


footer {
    margin-top: 30px;
    font-size: 1.1rem;
    color: #D44B20;
}

footer a{
    color: #eb3750;
    font-weight: bold;
}

@media (max-width: 768px) {
    .rules, .projects {
        max-width: 90%;
        text-align: center;
    }

    .rules ul {
        align-items: center;
    }

    .rules li {
        justify-content: center;
    }
}
