.hero-za-poslodavce {
  background: url("/images/hero/za-poslodavce.jpg");
  height: 55vh;
}

.hero-za-poslodavce.hero-global::before {
  background-color: rgba(0, 0, 0, 0.35); 
}

.hero-za-poslodavce h1 {
  letter-spacing: 5px;
  font-weight: 400;
  font-family: "Lato";
  margin: 0;
}

.hero-za-poslodavce span {
  letter-spacing: 16px;
  font-weight: 500;
  font-family: "Lato";
}

.hero-za-poslodavce p {
  width: 60%;
  letter-spacing: 2px;
  line-height: 31px;
}

.za-poslodavce-main {
  position: relative;
  z-index: 8;
  min-height: 100vh;
}

.custom-form-container {
  display: flex;
  justify-content: center;
}

.custom-form {
  width: 1440px;
  padding: 50px 0;
  position: relative;
}

.form-heading {
  font-family: "Oswald";
  font-weight: 700;
  color: #112234;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.form-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.form-group {
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.custom-label {
  font-family: "Oswald";
  font-weight: 500;
  color: #112234;
  display: block;
  margin-bottom: 5px;
}

.custom-input,
.custom-select {
  width: 100%;
  margin: 5px 0;
  background-color: #f1f1f1;
  font-family: "Oswald";
  font-weight: 500;
  padding: 15px 20px;
  border: none;
  letter-spacing: 2px;
  color: #112234;
  border-radius: 10px;
}

.custom-select {
  width: 110%;
  background: #f1f1f1 url("/images/downarrow.png") no-repeat scroll right 15px
    center/8px auto;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 55px;
  padding-right: 40px; /* Add padding to make room for the icon */
}
.custom-input::placeholder,
.custom-select {
  color: #112234;
}

.custom-button {
  background-color: #ad1929;
  height: 50px;
  width: 180px;
  position: static;
  font-family: "Lato";
  font-size: 20px;
  border-radius: 20px;
  border: none;
  color: #fff;
  z-index: 10;
  align-self: center;
  margin-bottom: 10px;
  transition: 0.3s;
}

.custom-button:hover {
  opacity: 0.8;
  transition: 0.3s;
  border-radius: 15px;
  cursor: pointer;
}

@media (max-width: 1600px) {
  .custom-form {
    width: 1200px;
  }

  .form-group {
    width: 29%;
  }

  .custom-select {
    width: 112%;
  }

  .hero-za-poslodavce {
    height: 60vh;
  }
}
@media (max-width: 1400px) {
  .custom-form {
    width: 1100px;
  }
  .form-group {
    width: 28%;
  }
  .custom-select {
    width: 113%;
  }
  .hero-za-poslodavce {
    height: 60vh;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .custom-form {
    width: 800px;
  }

  .form-group {
    width: 28%;
  }

  .custom-select {
    width: 117%;
  }

  .za-poslodavce-main {
    min-height: 80vh;
  }
}

@media only screen and (max-width: 768px) {
  .hero-za-poslodavce {
    height: 70vh;
  }

  .hero-za-poslodavce p {
    width: 90%;
    line-height: 28px;
  }

  .custom-form-container {
    display: flex;
    justify-content: center;
  }

  .custom-form {
    width: 90%;
  }

  .form-row {
    flex-direction: column;
  }

  .form-group {
    width: 90%;
  }

  .custom-button {
    margin-top: 20px;
    align-self: start;
  }
}

@media (max-width: 376px) {
  .hero-za-poslodavce {
    height: 95vh;
  }
}
