* {
  font-family: Arial, 'Calibri', sans-serif;
}

.content-main h1 {
  margin-top: 6vh;
  text-align: center;
}

.job-search-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  padding: 10px;
  width: 100%;   
}

#jobSearch {
  flex: none;
  width: 60%;
  max-width: 400px;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

#jobSearch:focus {
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.2);
  outline: none;
}

.btn1 {
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  transition: background-color 0.3s ease;
  color: #fff;
  background-color: rgb(134, 0, 0);
}

.btn1:hover {
  background-color: #420000;
}

.content-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin: 20px 2%; /* Slight horizontal margin for better spacing */
  width: 96%; /* Adjust for the horizontal margin */
}

.vacancy {
  background-color: #fbfafa;
  padding: 15px;
  margin-bottom: 20px; /* Only bottom margin for vertical spacing */
  text-align: left;
  width: calc(50% - 20px); /* Slightly less than half to account for gaps */
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 15px;
}

.vacancy div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.vacancy p {
  margin-left: 6px;
  margin-right: 6px;
}

.vacancy:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.vacancy img {
  display: block;
  width: 120px;
  height: auto;
  border-radius: 4px;
}

h2 {
  text-align: center;
}

.location {
  text-align: center;
}

.apply-link {
  text-align: center;
}

a {
  text-decoration: none;
  color: inherit;
}



@media (max-width: 1000px) { /* Switching to single column at a slightly larger breakpoint for better layout */
  .vacancy {
      width: 100%;
  }
}
