:root {
  --main-color: #ffdd57;
  --second-color: #ff6f61;
}

body {
  margin: 0;
  font-family: sans-serif;
  background: linear-gradient(120deg, #caffbf, #9bf6ff);
  color: #333;
}

.navbar {
  text-align: center;
  padding: 20px;
  background: var(--main-color);
  animation: float 3s infinite ease-in-out;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.container {
  padding: 1rem 2rem;
}

.job-listings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.image {
  display: flex;
  justify-content: center;
}

.header2 {
  display: flex;
  justify-content: center;
}

.job-card {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.job-card button {
  background: var(--second-color);
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  margin-top: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.job-card button:hover {
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .job-listings {
    grid-template-columns: 1fr;
  }

  .navbar {
    font-size: 0.9rem;
  }
}

@media (max-width: 1258px) {
  .header2 h1 {
    text-align: center;
  }
}

@media (max-width: 568px) {
  .header2 h1 {
    font-size: 20px;
  }
}
