:root {
    font: 16px Public Sans, sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    /* height: 100%; */
    background-color: #00021F;
    background-image: url(https://kd.spacebird.studio/wp-content/uploads/2025/02/UB-10YO-bg.svg);
    background-position: bottom center;
    background-size: cover;
}

.hidden {
    display: none;
}

.wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.wrapper img {
    width: 635px;
    height: auto;
    max-width: 90%;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    z-index: 1000;
    margin: 0;
    margin-top: 1rem;
    width: auto;
}

.menu li {
    list-style: none;
    margin: 0 .75rem;
    min-width: 100px; /* Set a minimum width */
    text-align: center;
}

@media (max-width: 768px) {
    .menu li:last-child {
        flex-basis: 100%;
        text-align: center;
        margin-top: 2rem;
    }

    .menu li {        
        text-align: left;
    }

    .menu {
        width: 100%;
        margin: 0 auto;
    }
}

.menu li a {
    text-decoration: none;
    font-size: 1.5rem;
    text-transform: uppercase;
    transition: all 0.3s;
    color: #4169e1;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3em;
}

.register {
    background-color: #034DA2;
    color: #ffffff !important;
    border-radius: 5px;
    font-family: "Public Sans", Sans-serif;
    font-size: 1rem;
    line-height: 1.3em;
    padding: 0.75rem 1.3rem;
    border-style: none;
    border-radius: 0px 0px 0px 0px;
    transition: all 0.3s;
}

.register:hover {
    background-color: #000F44;
}

.banner {
    margin-top: 7rem;
}

.agenda {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 90%;
    width: 480px;
	
}

.agenda li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
    color: #fff;
    line-height: 1.3rem;
	text-align: left; /* Zapobiega centrowaniu tekstu */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centruje listę na środku */
}

.time {
    font-size: 1.2rem;
    font-weight: bold;
}

h2, h3, h4, .time {
    color: rgb(209, 209, 209);
    text-align: center;
}

.desc {
    color: rgb(177, 177, 177);
    font-size: 1.1rem;
    padding: 0;
    margin-top: 1rem;
    margin-bottom: 0;
}

h2 {
    font-size: 3rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: left;
    padding: .75rem 0;
}

.info {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    margin-top: 1rem;
    margin-bottom: 4rem;
    width: 1120px;
    max-width: 90%;
    color: #fff;
    box-sizing: border-box;
    text-align: left;
    gap: 1.5rem;
}

.info div {
    margin-top: 0;
    box-sizing: border-box;
    flex: 1;
}

.info span {
    font-style: italic;
    font-size: 0.85rem;
}

.info p,
.info span {
    color: rgb(177, 177, 177);
}

@media (max-width: 768px) {
    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .time {
        font-size: 1.1rem;
    }

    .info {
        flex-direction: column;
    }

    .menu {
        margin-top: 3rem;
    }

    footer .inner {
        flex-direction: column;
        text-align: center;
    }

    footer .inner div:last-child {
        margin-top: .5rem;
    }

    .info h4 {
        font-size: 1.2rem;
    }

    .info p {
        font-size: 1rem;
    }

    .agenda,
    .form form {
        width: unset !important;
    }

    .form form {
    max-width: 100%;
    width: 400px; /* zmiana wprowadzona przez MK */
}
}

@media (min-width: 769px) {
    h4 {
        margin-top: 0 !important;
    }
}

.form {

}

.form form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 10rem;
    max-width: 90%;
    width: 480px;
}

.form form input[type=text],
.form form select {
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    border: 1px solid #00021F;
    border-radius: 5px;
    font-size: 1rem;
    font-family: "Public Sans", sans-serif;
    outline: none !important;
    border: 0 !important;
    border-radius: 0;
    background: #F0F0F0;
}

.form form input[type=submit] {
    background-color: #034DA2;
    color: #ffffff !important;
    border-radius: 5px;
    font-family: "Public Sans", Sans-serif;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.3em;
    padding: 1rem 2rem;
    border-style: none;
    border-radius: 0px 0px 0px 0px;
    transition: all 0.3s;
    text-transform: uppercase;
    cursor: pointer;
    outline: none !important;
    border: 0 !important;
    border-radius: 0;
}

.form form input[type=submit]:hover {
    background-color: #000F44;
}

.form label {
    text-transform: uppercase;
    color: rgb(209, 209, 209);
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 0.875rem;
}

.submit-wrapper {
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
    margin-top: 3rem;
}

.field {
    width: 100%;
    padding: 0.5rem 0;
    margin: 0.5rem 0;
}

.field.checkbox {
    align-items: center;
    gap: 0.5rem;
}

.field.checkbox input {
    width: 18px;
    height: 18px;
}

.file-upload {
    display: none;
    flex-grow: 1;
}

input[type=checkbox]:checked ~ .file-upload {
    display: flex !important;
}


footer {
    background: #F0F0F0;
    width: 100%;
    font-size: 0.875rem;
}

footer .inner {
    margin: 0  auto;
    max-width: 90%;
    width: 1120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0;
}

footer img {
    height: 35px;
}

.agenda-wrapper {
    margin-top: 4rem;
    margin-bottom: 4rem;
	display: flex;
    flex-direction: column;
    align-items: center; /* Wyśrodkowanie poziome */
    text-align: center; /* Wyśrodkowanie tekstu */
}

.thankyou {
    display: none;
    margin-top: 3rem;
    margin-bottom: 5rem;
    font-size: 1.5rem;
    color: rgb(209, 209, 209);
}

a {
    text-decoration: none;
    color: #000;
}

.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    border: 3px solid #fff;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.icon svg {
    fill: #fff;
}

input[type=file] {
    /* padding: 1rem; */
}

.optional {
    width: 100%;
}

.error {
    display: flex;
    color: pink;
    font-size: 0.8rem;
}

.resignation,
.hasherror {
    margin: 0 auto;
    text-align: center;
    display: flex;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: #fff;
}

.resignation {
    flex-direction: column;
}