/* Include the Roboto font via Google Fonts, chosen for its readability */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Inter:wght@100..900&display=swap');

/* General styles */
body {
  font-family: 'Inter', sans-serif; /* WCAG compliant font */
  background-color: #faf8f6; /* WCAG compliant background color */
  color: #1D2129; /* WCAG compliant text color, contrast ratio > 4.5:1 */
  font-size: 16px;
  line-height: 24px !important;
}

.accessible #content {
    line-height: 24px;
}

a {
  color: #67BF47;
  text-decoration: none;
}

p {
  font-size: 16px;
  line-height: 24px !important;
}

ul {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 10px;
}

ul li {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 10px;
}

a:hover,
a:focus {
  color: #59B339; /* WCAG compliant hover/focus link color, contrast ratio > 4.5:1 */
  text-decoration: underline;
}

/* Job board header */
.job-board-header {
  background-color: #f5f5f5; /* WCAG compliant background color */
  padding: 1rem;
}

.job-board-title {
  font-family: 'Inter Tight';
  font-size: 50px;
  font-weight: bold;
}

/* Search and filters */
.search-and-filters {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  background-color: #e0e0e0; /* WCAG compliant background color */
}

.search-box {
  width: 50%;
}

#application {
  background-color: #F5F1ED;
}

.filters {
  display: flex;
}  

.filter {
  margin-left: 1rem;
}

/* Job listing */
.job-listing {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.job-listing .job {
  background-color: #f9f9f9; /* WCAG compliant background color */
  width: 100%;
  padding: 1rem;
  border: 1px solid #d6d6d6; /* WCAG compliant border color, contrast ratio > 3:1 */
  margin-bottom: 1rem;
  font-size: 30px;
}

.job-listing .job:hover,
.job-listing .job:focus {
  background-color: #e9e9e9; /* WCAG compliant hover/focus background color */
}

.job-title {
  font-size: 50px;
  font-size: 3rem; /* WCAG compliant large text size */
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.opening a {
  font-size: 24px;
  font-family: 'Inter Tight';
}

.app-title {
  font-size: 50px;
  line-height: 60px;
  font-family: 'Inter Tight';
  padding-bottom: 25px;
}

.job-location,
.job-type {
  font-size: 0.875rem; /* WCAG compliant text size */
}

.job-type {
  font-size: 1rem;
  font-weight: bold;
  margin-left: 0.5rem;
  color: #FF0000; /* WCAG compliant text color, contrast ratio > 4.5:1 */
}

#board_title {
  display: none;
  visibility: hide;
}

.img {
  display: none;
  visibility: hide;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.pagination a {
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  background-color: #005a9c; /* WCAG compliant background color */
  color: #ffffff; /* WCAG compliant text color, contrast ratio > 4.5:1 */
  border-radius: 4px;
}

.pagination a:hover,
.pagination a:focus {
  background-color: #00335a; /* WCAG compliant hover/focus background color */
}

.pagination .active {
  background-color: #00335a; /* WCAG compliant */
}
