footer{
    margin-top: 85vh;
    font-family: 'Corbel';
    text-align: center;
    color: #9e9e9e;
    z-index: 1;
}

.background-container {
  position: absolute;
  flex-shrink: 0;
  height: 60vh;
  width: 100%;
  background: url(../../images/background.jpg) no-repeat center center fixed;
  background-size: cover;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

.contact-form-container {
  position: relative;
  width: 100%;
  padding: 2vh;
  box-sizing: border-box;
  background-color: transparent;
  z-index: 1;
  margin-top: 2vh;
  display: block;
}

.contact-form {
  max-width: 35vw;
  margin: 0 auto;
  background-color: transparent;
  border: 0.1vh solid transparent;
  padding: 2vh;
  border-radius: 0.8vh;
  box-shadow: 0 0 1vh rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  margin-bottom: 2vh;
  color: #fff;
  font-family: 'NewYork';
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1vh;
  margin-bottom: 1.5vh;
  border: none;
  border-bottom: 0.2vh solid #5c5c5c;
  background-color: transparent;
  color: #fff;
  font-family: 'Poppins';
  font-size: 1.7vh;
  transition: border-bottom-color 0.4s;
}

.contact-form textarea {
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #5c5c5c;
  opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: #fff;
  outline: none;
}

.contact-form button {
  padding: 1.5vh 3.5vh;
  border: none;
  background-color: #212121;
  color: #fff;
  cursor: pointer;
  font-family: 'Poppins';
  font-size: 1.3vh;
  font-weight: normal;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #555;
}

.contact-info {
  background-color: transparent;
  justify-content: center;
  text-align: center;
  padding: 2vh;
  color: #fff;
  font-family: 'Poppins';
  z-index: 1;
  position: relative;
  margin-top: 55vh;
}

.contact-info p {
  justify-content: center;
  text-align: center;
  font-size: 2.2vh;
  margin: 1vh 0;
  display: flex;
  align-items: center;
}

.contact-info p i {
  margin-right: 1vh;
  font-size: 2.5vh;
}

.contact-info .icons {
  display: flex;
  gap: 2vh;
  justify-content: center;
}

.contact-info .socialicons {
  margin-top: 5vh;
}

.contact-info .socialicons a{
  font-size: 6.5vh;
  color: #5a5a5a;
  text-decoration: none;
  transition: color 0.3s;
  margin: 0 2vh;
  border-bottom: 0.2vh solid #5a5a5a;
}

.contact-info a {
  transition: color 0.3s;
  color: white; /* Kolor tekstu dla linków */
  text-decoration: none; /* Usuwa podkreślenie linków */
}

.contact-info a:hover {
  color: #5a5a5a;
  transition: color 0.3s;
  text-decoration: none; /* Usuwa podkreślenie podczas najechania kursorem */
}


.contact-info .socialicons a:hover {
  border-bottom: 0.2vh solid #fff;
  color: #fff;
}

#formMessage{
  font-family: 'Poppins';
  margin-top: 1vh;
  font-size: 2vh;
}

footer {
  margin-top: 5vh;
  padding-bottom: 2vh;
  text-align: center;
  color: #9e9e9e;
  font-family: 'Corbel';
}

.contact-form label {
  width: 100%;
  display: flex;
  align-items: center;
  font-size: 1vh;
  color: #fff;
  font-family: 'Poppins';
  margin-bottom: 3vh;
  margin-top: 2vh;
}

.contact-form input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 2vh; /* Zwiększ rozmiar checkboxa */
    height: 2vh;
    border: 1px solid #5c5c5c; /* Szara ramka */
    background-color: transparent; /* Przezroczyste tło */
    cursor: pointer;
    margin-right: 10px;
    
    transition: background-color 0.3s, border-color 0.3s;
    position: relative;
}

.contact-form input[type="checkbox"]:checked {
    background-color: #fff; /* Białe wypełnienie gdy zaznaczone */
    border-color: #fff; /* Zmiana koloru ramki gdy zaznaczone */
}

.contact-form input[type="checkbox"]:checked::before {
    content: "✔"; /* Znak zaznaczenia */
    font-size: 1.3vh;
    color: #000; /* Kolor znaku zaznaczenia */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.contact-form label {
  width: 100%;
  display: flex;
  align-items: flex-start; /* Wyrównanie checkboxa do góry tekstu */
  font-size: 1vh;
  color: #fff;
  font-family: 'Poppins';
  margin-bottom: 3vh;
  margin-top: 2vh;
}

.contact-form input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 2.5vh; /* Zwiększ rozmiar checkboxa */
    height: 2vh;
    border: 1px solid #5c5c5c; /* Szara ramka */
    background-color: transparent; /* Przezroczyste tło */
    cursor: pointer;
    margin-right: 10px;
    
    transition: background-color 0.3s, border-color 0.3s;
    position: relative;
    vertical-align: top; /* Ustawienie checkboxa na górze */
}

.contact-form input[type="checkbox"]:checked {
    background-color: #fff; /* Białe wypełnienie gdy zaznaczone */
    border-color: #fff; /* Zmiana koloru ramki gdy zaznaczone */
}

.contact-form input[type="checkbox"]:checked::before {
    content: "✔"; /* Znak zaznaczenia */
    font-size: 1.3vh;
    color: #000; /* Kolor znaku zaznaczenia */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.contact-form label span {
  line-height: 2vh; /* Dopasowanie linii tekstu do checkboxa */
}
@media only screen and (max-width: 1000px) {

  .contact-form input[type="checkbox"] {
    width: 6.5vh; /* Zwiększ rozmiar checkboxa */
    height: 3vh;
  }

  .contact-form label {
    margin-bottom: 4vh;
    margin-top: 0vh;
  } 


  #formMessage{
    font-size: 3vh;
  }

  .contact-info {
    font-size: 6vh;
    margin-top: 65vh;
  }

  .contact-form {
    max-width: 100vw;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 2vh;
    padding: 0.2vh;
    padding-left: 1vh;
    margin-bottom: 4vh;
  }

  .contact-form button {
    padding: 2vh 3.5vh;
    font-size: 1.5vh;
  }

  h2 {
    font-size: 12vw;
  }

  .contact-info p {
    font-size: 2.5vh;
  }

  .contact-info p i {
    margin-right: 1.5vh;
    font-size: 2.5vh;
  }

  .contact-info .socialicons {
    margin: 0 2vh;
    font-size: 8vh;
  }

  #formMessage{
    font-family: 'Poppins';
    margin-top: 1.1vh;
    font-size: 1.6vh;
  }

}
