@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

/************************OGÓLNE************************/


html{

    min-height: 100%;
    background: url('zdjecia/szkola.png') center fixed no-repeat;
    background-size: cover;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    overflow: auto;
}

  

body {
    color:black;
    margin: 0;
    padding: 0;
    font-family: "Outfit", serif;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

  p {
    white-space: pre-wrap;
    text-wrap: wrap;
    margin: 1%;
  }
  
  
  a {
    white-space: pre;
  }
  
  img {
    margin: 0;
    padding: 0;
  }
  
  .bold {
    font-weight: bold;
  }
  
  .link {
    text-decoration: none;
  }
  
  .link:hover {
    text-decoration: underline;
  }
  
  
  /************************NAGŁÓWEK I MENU************************/

#formularz {
    width: 80vw;
    max-width: 600px;
    background-color: rgba(33, 32, 32, 0.75);
    color: white;
    margin: 20px 0;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#formularz h1 {
    font-size: 2em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#formularz form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    text-align: left;
    width: 100%;
}

#formularz label {
    margin-top: 10px;
    font-weight: normal;
    font-size: 1em;
    color: rgba(255, 255, 255, 0.9);
}

#formularz input[type="text"],
#formularz input[type="tel"],
#formularz input[type="email"],
#formularz input[type="number"],
#formularz textarea {
    padding: 12px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 2px solid rgba(255, 255, 255, 0.546);
    border-radius: 10px;
    font-size: 1em;
    font-family: "Outfit", serif;
    background-color: rgba(33, 32, 32, 0.6);
    color: white;
    transition: all 0.3s ease;
}

#formularz textarea {
    resize: vertical;
    min-height: 100px;
}

#formularz input:focus,
#formularz textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(33, 32, 32, 0.8);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

#formularz input:valid,
#formularz textarea:valid {
    border-color: rgba(92, 184, 92, 0.5);
}



#formularz button.btn {
    background-color: rgba(181, 181, 181, 0.8);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

#formularz button.btn:hover {
    background-color: rgba(128, 128, 128, 0.9);
}

#formularz a.btn {
    background-color: rgba(181, 181, 181, 0.8);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    text-decoration: none; /* Usuwa podkreślenie */
    display: inline-block; /* Umożliwia ustawienie paddingu i marginu */
    margin-top: 15px; /* Dodaje odstęp od góry */
}

#formularz a.btn:hover {
    background-color: rgba(128, 128, 128, 0.9);
}