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

html {
    scroll-behavior: smooth;
}
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Rubik', sans-serif;
}
nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 1em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2em;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}
nav a:hover {
    color: #0077aa;
}
.section {
    padding: 60px 20px;
    text-align: center;
}
.section h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
}
.section p, .section li {
    font-size: 1.1em;
    line-height: 1.6em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.hero {
    background: url('img/DJI_0010.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero .overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 2em;
    color: white;
    border-radius: 10px;
}
.info {
    background: #f0f0f0;
    color: #222;
}
.about {
    background: white;
}
.form {
    background: url('img/3U9A7952.jpg') center/cover no-repeat;
    background-attachment: fixed;
    color: #000;
}
form {
    background: rgba(255,255,255,0.9);
    display: inline-block;
    padding: 2em;
    border-radius: 10px;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
form input, form button {
    padding: 0.75em;
    margin: 0.5em 0;
    width: 100%;
    font-size: 1em;
    box-sizing: border-box;
}
form button {
    background-color: #0077aa;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}
form button:hover {
    background-color: #005577;
}
.teams {
    background: #f9f9f9;
}
#team-list ul {
    list-style: none;
    padding: 0;
}
#team-list li {
    padding: 5px 0;
    font-size: 1.1em;
}
.map iframe {
    width: 90%;
    max-width: 900px;
    height: 400px;
    border: none;
    border-radius: 8px;
}
footer {
    background: #222;
    color: white;
    padding: 2em;
    text-align: center;
}


.info ul {
    list-style: none;
    padding: 0;
    margin: 1em auto;
    max-width: 700px;
    text-align: left;
}
.info ul li {
    padding: 0.3em 0;
    position: relative;
}
.info ul li::before {
    content: "✔";
    color: #0077aa;
    margin-right: 10px;
}


footer a {
    color: #88ccff;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

.goal {
    background: #ffffff;
    color: #222;
}
.goal p {
    max-width: 800px;
    margin: 0.8em auto;
    font-size: 1.1em;
    line-height: 1.7em;
    text-align: left;
}


.goal {
    position: relative;
    background: #ffffff;
    color: #222;
    overflow: hidden;
}
.goal::before {
    content: "";
    background: url('img/LOGO-OSTOJA-ZWYMIAROWANE-150.jpg') center/contain no-repeat;
    opacity: 0.05;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}
.goal * {
    position: relative;
    z-index: 1;
}

#team-list table {
    margin: 1em auto;
    border-collapse: collapse;
    width: 90%;
    max-width: 700px;
    font-size: 1em;
}
#team-list th, #team-list td {
    border: 1px solid #ccc;
    padding: 0.6em;
    text-align: left;
}
#team-list th {
    background: #0077aa;
    color: white;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    font-size: 1.5em;
    margin-bottom: 2em;
}
.countdown-timer div {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5em 1em;
    border-radius: 10px;
    color: #fff;
    text-align: center;
}
.countdown-timer div span {
    display: block;
    font-size: 0.6em;
    color: #ddd;
}

.countdown-title {
    color: #fff;
    font-size: 1.2em;
    margin-top: 1em;
    text-align: center;
}
