/* General Styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Varela Round, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif !important;
}

body {
    display: flex;
    flex-direction: column;
}

.container_navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 1rem;
    background-color: #333;
}

.logo {
    height: 50px;
    width:auto;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container_navbar {
        flex-direction: column;
        align-items: center;
    }

    .logoX{
        width: 50%; /* Adjust the width as needed */
        margin-bottom: 1rem; /* Add margin to separate from nav */
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    nav ul li {
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .container_navbar {
        flex-direction: column;
        align-items: center;
        padding: 0.5rem;
    }

    .logoX {
        width: 25%; /* Adjust the width as needed */
        margin-bottom: 1rem; /* Add margin to separate from nav */
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    nav ul li a {
        font-size: 0.9rem;
    }
}

main {
    flex: 1;
}

.container {
    width: 80%;
    margin: 0 auto;
    font-size: 1.25rem;
}
.container_inn {
    width: 80%;
    margin: 20px auto;
    font-size: 1.25rem;
    text-align: justify;   
}
.container_img {
    width: 80%;
    margin: 20px auto;
    font-size: 1.25rem;
    text-align: justify;   
}
.container_img img{
    opacity: 0.5;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    font-size: 1.5rem;
}

.hero {
    background-color: #f4f4f4;
    padding: 0px 0;
    text-align: center;
    height: 100%;
}

.hero h1 {
    margin: 0;
    font-size: 2.5em;
}

.hero p {
    margin: 10px 0;
    font-size: 1.2em;
}

.btn {
    display: inline-block;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    background-color: #333;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    appearance: none;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-control {
    display: inline-block;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #423737;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    appearance: none;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.events {
    padding: 50px 0;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 0px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}
footer div.container {
    width: 80%;
    margin: 0 auto;
    font-size: 0.7rem;
}

form {
    background-color: #f4f4f4; /* Match the .container background color */
    padding: 20px;
    border-radius: 5px;
}
table {
border-collapse: collapse;
}
input[type=text]{
	border: 1px solid #696969;
	border-radius: 3px;
}

table.table_fama tr td{
    padding: 5px;
}
table.table_fama tr th{
    font-size: 14px;
    
}

table.table_fama_listastartowa tr th{
    padding: 2px 5px;
    text-align: left;
    font-weight: normal;
    border-bottom: 2px solid black;
}
table.table_fama_listastartowa tr td{
    padding: 5px;
    white-space: nowrap;
}

table.table_fama_listastartowa tr td.proby{
    width: 100px;
    border: 1px solid black;
}
table.table_fama_listastartowa tr td.wzwyz{
    width: 100px;
    border: 1px solid black;
}
table.table_fama_listastartowa tr td.biegi{
    width: 100px;
    border: 1px solid black;
}
table.table_fama_listastartowa tr td.rozbieg{
    width: 100px;
    border: 1px solid black;
}

div.div_listastartowa{
    font-size: 16px;
    position: relative;
}
div.div_listastartowa H1{
    margin: 20px 0px 20px 0px;
}
div.div_listastartowa H2{
    margin: 0px;
}
div.div_listastartowa H3{
    margin: 0px;
}
div.div_listastartowa H4{
    margin: 20px 0px 20px 0px;
}


li.pogrubione a{
    font-weight: bold;
    color: #f19494;
}
table.regulamin{
    max-width: 1000px;
    width: 100%;
}
table.regulamin td{
    vertical-align: top;
    padding: 10px 0px;
}
table.regulamin td td{
    padding: 2px 50px 2px 0px;
}
div.podcarou{
    font-size: 0.5em;
    margin-top: 20px;
}
table.harmonogram th{
    text-align: left;
    padding: 0px 10px 0px 0px;
}
