
.naglowek {
    position: absolute;  /* Absolutne pozycjonowanie napisu */
    color: white;  /* Kolor napisu */
    font-size: 3em;  /* Rozmiar tekstu, możesz dostosować */
    font-family: 'Merienda', sans-serif;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);  /* Cień dla lepszej widoczności */
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-image: url("/static/css/glowne.19295c3d5c39.jpg") !important;
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    background-color: black;
}

h1{
padding-left: 100px;
text-align: left;
border-top:none;
border-bottom: none;

  font-family: "Karma", serif;
  font-weight: 300;
  font-style: normal;

font-size: 90px;
margin-top: 20px;
}

.naglowek {
    text-align: center;
    margin-bottom: 2rem;
}

.main{
    float: left;
    padding: 60px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column ;
    background-color: #e8e8e8;
    margin-top: 250px;
    margin-left: 180px;
    border-radius: 40px;
    margin-bottom: 50px;
    width: 400px;
    border: 10px solid #b89a00;
}

.contact-info{
    margin-top:30px !important;
    font-size:0.95rem;
    margin-bottom:0px;
}

h2 {
    color: #b89a00;
    text-align: center;
    font-family: "Karma", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 40px;
}

.form-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-group label {
    position: absolute;
    top: 1.5rem;
    left: 0;
    font-size: 0.9rem;
    color: #333;
    transition: all 0.3s ease;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%; /* zmiana na 100% szerokości */
    border: none;
    border-bottom: 2px solid #333;
    padding-top: 2.5rem;
    margin-top: 0.6rem;
    font-size: 1rem;
    outline: none;
    background-color: transparent;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus {
    border-color: #4D6879;
}

.form-group input[type="text"]:focus + label,
.form-group input[type="password"]:focus + label {
    top: -1.5rem;
    left: 0;
    font-size: 0.75rem;
    color: #4D6879;
}

input[type="text"]:focus {
    background-color: #e8e8e8; /* lub ustawienie koloru tła formularza */
}

button {
    width: 100%; /* zmiana na 100% szerokości */
    padding: 0.5rem 0;
    font-size: 1rem;
    border: none;
    background-color: #b89a00;
    color: #FFF;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
    cursor: pointer;
    margin-top: 20px;
    font-weight: 400;

}

button:hover {
    background-color: #505050;
}

.messages {
    margin-top: 1rem;
    list-style-type: none;
    padding-left: 0;
}

.messages li {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

a{
    color: #4D6879;
    text-decoration: none;
    text-align: right;
    display: flex;
    justify-content: right;

}

a:hover {
    text-decoration: underline;
    color: #505050;
}

.p{
margin-top:15px;
display: flex;
justify-content: center;
}

a.button{
display: flex;
justify-content: center;
padding-top: 20px}

.komunikat{
margin-top: 10px;
margin-bottom: 10px;
color: red;
text-align: center;
}
.kom .komunikat2{
margin-top: 10px;
margin-bottom: 10px;
color: green;
text-align: center;
}

@media (max-width: 570px) {
h1 {
    padding-left: 0px;
    padding-top: 5px;
    font-size: 36px !important;
  }
.naglowek{
justify-content: center;
padding-left: 0px;
margin: auto;
width: auto;
position: static;
}
}

/* Dla urządzeń z szerokością ekranu większą niż 600px */
@media (min-width: 500px) {
  body {
    background-image: url("/static/css/tlo9.cf5b05605b0f.png");
  }
}

@media (max-width: 800px) {
  body {
    padding-left: 12%;
    padding-right: 12%;
  }

  .main {
    padding: 30px;
    display: flex;
    flex-direction: column;
    background-color: #e8e8e8;
    margin-top: 50px !important;
    margin-bottom: 10px !important;
    border-radius: 40px;
    width: 100%;
    margin: 0 auto; /* Ustaw na auto */

    border: 10px solid #b89a00;
  }

  .naglowek{
justify-content: center;
padding-left: 0px;
margin: auto;
width: auto;
position: static;
}

  h1 {
    padding-left: 0px;
    font-size: 36px;
  }
  h2 {
  font-size: 32px;
  }
}



@media (max-width: 1000px) {
h1 {
font-size: 50px;
}

}