body {
  font-family: Arial, sans-serif;
  background-color: #e0e0e0;
  margin: 0;
  padding: 0;
}
.container {
  text-align: center;
  position: relative;
}
.header {
  background-color: #ffffff;
  width: 100%;
  height: 200px; /* Adjust height as needed */
  overflow: hidden;
  position: relative;
}
.header img.bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}
.logo {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  max-width: 350px; /* Adjust size as needed */
  z-index: 1;
}
.title-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.title {
  margin: 0;
  font-size: 36px;
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}
.vacancies {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}
.vacancy {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 380px;
  height: 480px;
  position: relative;
  overflow: hidden;
}
.vacancy img {
  width: 100%;
  display: block;
}
.vacancy h3 {
  font-size: 1.5em;
  color: #333;
  margin: 15px 0;
}
.vacancy button {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ff5722;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
}
.vacancy button:hover {
  background-color: #e64a19;
}


/* Media Queries */
@media (max-width: 768px) {
  .vacancies {
      flex-direction: column;
      align-items: center;
  }

  .header {
      flex-direction: column;
      align-items: center;
  }

  .logo{
    max-width: 110px;
    z-index:1;
  }

  .title{
    margin-left: -60px;  
    font-size: 26px;
    padding: 10px;
  }

  .image-container, .content {
      width: 80%;
      justify-content: center;
      padding:0 10px;
  }

  .image-container img {
      height: 200px;
      object-fit: cover;
  }
}

@media (max-width: 480px) {
  .titleVacante {
      font-size: 1.2em;
  }

  .btn {
      font-size: 0.9em;
  }
  .logo{
    max-width: 110px;
    z-index:1;
  }
}