body {
  font-family: sans-serif;
  margin: 0;
}

.banner {
  background-image: url("./images/job-header.jpg");
  background-size: cover;
  background-position: center;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.banner-text {
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

.banner-subtext {
  color: #fff;
  font-size: 1.3rem;
  margin-top: 20px;
}

#body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}
.container {
  display: flex;
  width: 100%;
  margin: 20px auto;
}
.new-job {
  background-color: blue;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
  margin: 10px 7.4rem;
  display: block;
}
.sidebar {
  width: 25%;
  padding: 20px;
  border-right: 1px solid #ccc;
}
.sidebar h3 {
  font-weight: bold;
}
.sidebar ul {
  list-style: none;
  padding: 0;
}
.sidebar ul li {
  margin: 5px 0;
  font-size: 18px;
}
.job-list {
  width: 75%;
  padding: 20px;
}
.job-list h2 {
  font-size: 22px;
  font-weight: bold;
}
.search-bar {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}
.job-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.job-card {
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 5px;
  background: #f9f9f9;
  width: 90%;
}
.job-card h4 {
  margin: 0;
  font-weight: bold;
  font-size: 16px;
}
.job-card p {
  margin: 5px 0;
  font-size: 14px;
}
.job-card strong {
  display: block;
  font-size: 14px;
  font-weight: bold;
}
.job-card small {
  color: gray;
  font-size: 12px;
}

@media (max-width: 1024px) {
  .job-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .job-cards {
    grid-template-columns: repeat(1, 1fr);
  }
}

a {
  color: blue;
  text-decoration: none;
  font-size: 14px;
}

#ft {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #f0f0f0;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links,
.footer-info,
.footer-logo {
  display: flex;
}

.footer-links a,
.footer-info a {
  margin: 0 10px;
  color: #666;
  text-decoration: none;
  font-weight: bolder;
}

.footer-logo a {
  color: #000;
  text-decoration: none;
}

.new-job{
    width: 10rem;
    border-radius: 20px;
    margin-left: 30px
}
.new-job-container {
  display: none; /* Change from column to row */
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  max-width: 60%; /* Adjusted width */
  width: 100%;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  z-index: 100;
}

.new-job-container.show {
  display: flex;
}

.section {
  width: 48%; /* Set width for each section to fit horizontally */
  background-color: #fff;
  border-radius: 5px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.section-header h3 {
  margin-right: 10px;
}

.section-header .new {
  background-color: #007bff;
  color: #fff;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
}

.btn {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}
.close-btn:hover {
    color: red;
}