@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Alata&family=Comfortaa&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@200&family=Montserrat:wght@200;300&family=Poppins&display=swap");

* {
  margin: 0;
  padding: 0;
}

body {
  /* background: url("../images/hero-gradient.png"); */
  background-color: #000000;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

.joblist {
  display: flex;
  flex-direction: column;
}

/* navbar part */
.navbar {
  display: flex;
  justify-content: space-between;
  max-height: 4.375rem;
  align-items: center;
  color: rgb(255, 255, 255);
  font-family: "Alata", sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.313rem 1.25rem;
  /* background-color: rgb(167 116 245); */
  background-color: rgba(8, 7, 7, 0.4);
  z-index: 210;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(90, 123, 128, 0.3);
}

.logo span {
  font-weight: 600;
  margin-left: 0.313rem;
  font-family: "Comfortaa", cursive;
}

.nav-content {
  gap: 3rem;
  list-style-type: none;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.nav-icon {
  display: flex;
  align-items: center;
  margin-right: 4.6rem;
}

/* Main container */
.container {
  display: flex;
  font-family: "Poppins", sans-serif;
  margin-top: 4.6rem;
}

/* Sidebar */
.sidebar {
  position: fixed;
  width: 200px;
  padding: 20px;
  background-color: #141414;
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: auto;
  transition: max-height 0.3s ease;
}

.sidebar {
  overflow-y: auto;
}

.sidebar:hover {
  transition: 1s ease-in;
  max-height: 500px;
  overflow-y: auto;
}

/* Hide the scrollbar */
.sidebar::-webkit-scrollbar {
  width: 0.1em;
}

.sidebar::-webkit-scrollbar-track {
  background-color: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: transparent;
}

/*----------------------
Custom Scrollbar 
------------------------*/
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background-color: rgb(103, 52, 169);
}

::-webkit-scrollbar-thumb {
  background-color: rgb(184, 138, 237);
}


.main-content {
  flex: 1;
  /* Use flex: 1 to make the main content occupy remaining space */
  margin-left: 230px;
  /* Add a margin to push it right next to the sidebar */
  padding: 20px;
  /* Add some padding to the main content */
  overflow: auto;
  /* Enable scrolling within the main content */
}

/* Heading style */
.sidebar h2 {
  margin-top: 0;
  margin-bottom: .5rem;
}

.sidebar h3 {
  margin-top: 0;
  font-size: medium;
}

/* Checkbox list */
.checkbox-list label {
  display: block;
  margin-bottom: .9rem;
  margin-top: .9rem;
  font-size: medium;

}

/* Custom checkboxes */
.checkbox-list input[type="checkbox"] {
  display: none;
}

/* Checkbox styles */
.checkbox-list label:before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 10px;
  border: 1px solid #000000;
  border-radius: 100px;
  background-color: #fff;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* Checkbox checked styles */
.checkbox-list input[type="checkbox"]:checked+label:before {
  background-color: #476cff;
  transition: .2s ease-in-out;
}

/* Card */
.card {
  background: linear-gradient(0.25turn, #565657, #524e58, #252525e5);
  color: #fff;
  border: .1px solid #fff;
  border-radius: 18px;
  padding: 40px 15px 40px 15px;
  margin-bottom: 10px;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
}

.card h3 {
  padding-bottom: 10px;
}

/* Cards container */
.cards-container {
  display: flex;
  justify-content: space-between;
  font-family: "Poppins", sans-serif;
  flex-direction: row;
  padding-left: 25px;
}

/* Card */
.card-search {
  box-shadow: rgba(255, 255, 255, 0.2) 0px 7px 29px 0px;
  /* background-color: #e5dbf6; */
  background-color: #000000;
  color: #ffffff;
  padding: 20px 20px;
  border-radius: 18px;
  border: none;
  width: 250px;
}

/* Card title */
.card-search h3 {
  margin-top: 0;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Card input field */
.card-search input {
  width: 85%;
  padding: 10px 20px;
  letter-spacing: 1.5px;
  margin-top: 8px;
  border-radius: 70px;
  border: none;
  background-color: #fff;
  box-shadow: 0px 2px 3px rgba(0,0,0, 0.9);
    margin-left: -5px;
  color: #000000;
  font-family: "Poppins", sans-serif;
}

.card-search input:enabled {
  border: 3px solid #ffffff;
  transition: linear
}

/* Range selector */
.range-selector {
  display: flex;
  flex-direction: column;
  color: #010000;
  float: right;
  margin-top: 40px;
}

.range-selector input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 1px;
  background-color: #8a2be2;
  outline: none;
  border-radius: 10px;
}

.range-selector input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  background-color: #8a2be2;
  cursor: pointer;
  border-radius: 100%;
}

.range-selector input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background-color: #8a2be2;
  cursor: pointer;
  border-radius: 100%;
}

/* Recommended Jobs */
.recommended-jobs {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.recommended-jobs h2 {
  margin-left: 30px;
  margin-top: 70px;
  color: #fff;
}

/* apply filters */
.btn {
  background-color: rgb(167 116 245);;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  padding: 10px 20px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 50px;
  cursor: pointer;
  width: 20%;
  border: none;
}

.btn:hover {
  background-color: #d6d1fd;
  color: black;
  transition: 0.3s ease-in;
}

/* Job Card */

.job-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
  margin-top: 20px;
  font-family: "Poppins", sans-serif;
  padding-left: 30px;
  flex-direction: row;
}

/* .job-card {
  background-color: #222;
  padding: 20px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid black;
} */

.job-card p {
  display: flex;
  flex-direction: column;
  margin-top: 0;
  margin-bottom: 5px;
  font-size: medium;
}

.inner-card {
  padding: 30px 15px;
  border-radius: 15px;
  background-color: #eaece1;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.inner-card h3 {
  font-size: x-large;
}

.job-info {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  margin-right: 30px;
}

.logo img {
  max-width: 60px;
  /* Adjust the size as needed */
}

.details {
  flex: 1;
}

.inner-card .details-buttons {
  background-color: #000;
  color: #ffffff;
  border: 1px solid #fff;
  width: 100%;
  font-size: 1.2em;
  cursor: pointer;
  border-radius: 50px;
  padding: 10px 20px;
  margin-top: 20px;
  float: right;
}

.inner-card .details-buttons:hover {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
  transition: 0.2s ease-in;
}