/* google fonts */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

:root {
  --nav-bg-color: #ffffff;
  --nav-text-color: #333333;
  --nav-hover-color: #007bff;
  --nav-padding: 10px 20px;
  --nav-font-family: 'Quicksand', sans-serif;
  --nav-font-size: 0.9em;
  --nav-link-spacing: 2px;
  --nav-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body {
  margin: 20px 40px;
  font-size: 1.2rem;
  letter-spacing: 1px;
  background: #fafafa;
}

h1, h2, h3, h4, ul, li, a, p, input, label, button, div, footer {
  margin: 0;
  padding: 0;
  font-family: 'Quicksand', sans-serif;
  color: #444;
}



a {
  text-decoration: none;
}

/* Navigation styles */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--nav-padding);
  background-color: var(--nav-bg-color);
  box-shadow: var(--nav-box-shadow);
  font-family: var(--nav-font-family);
  margin-bottom: 50px;
}

nav ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav li {
  margin-left: 20px;
}

nav li a {
  text-transform: uppercase;
  font-weight: 700;
  font-size: var(--nav-font-size);
  color: var(--nav-text-color);
  display: block;
  padding: 10px 16px;
  letter-spacing: var(--nav-link-spacing);
  transition: color 0.3s ease, background-color 0.3s ease;
}

nav li a:hover,
nav li a:focus {
  color: var(--nav-hover-color);
  background-color: rgba(0, 123, 255, 0.1);
  border-radius: 4px;
}

.btn {
  border-radius: 36px;
  background: #FEE996;
}

form h2 {
  font-size: 24px; /* Change the font size as needed */
  font-weight: 900;
  margin-bottom: 20px; /* Reduce margin-bottom for tighter spacing */
}

form {
  max-width: 360px; /* Use max-width instead of width for responsiveness */
  margin: 0 auto;
  padding: 20px; /* Reduce padding for a more compact look */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Adjust box shadow */
  border-radius: 8px; /* Reduce border radius for a sleeker appearance */
  background: #f9f9f9; /* Use a light background color */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

/* Ensure input elements do not overflow */
form input, form textarea, form select, form button {
  width: 100%;
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  margin-bottom: 10px; /* Add some space between elements */
}

@media (max-width: 768px) {
  form {
    max-width: 100%;
    padding: 15px; /* Adjust padding for smaller screens */
  }

  form h2 {
    font-size: 20px; /* Adjust font size for smaller screens */
    margin-bottom: 15px; /* Adjust margin for smaller screens */
  }
}

@media (max-width: 480px) {
  form {
    padding: 10px; /* Further adjust padding for very small screens */
  }

  form h2 {
    font-size: 18px; /* Further adjust font size for very small screens */
    margin-bottom: 10px; /* Further adjust margin for very small screens */
  }
}


input {
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid #ddd;
  font-size: 1em;
  width: 100%;
}

label {
  display: block;
  margin: 20px 0 10px;
}

button {
  margin-top: 30px;
  border-radius: 36px;
  background: #FEE996;
  border: 0;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8em;
  display: block;
  padding: 10px 16px;
  letter-spacing: 2px;
}

.error {
  color: #ff0099;
  margin: 10px 2px;
  font-size: 0.8em;
  font-weight: bold;
}

header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
}

header img {
  width: 250px;
  margin-right: 40px;
}

header h2 {
  font-size: 3em;
  margin-bottom: 10px;
}

header h3 {
  font-size: 1.6em;
  margin-bottom: 10px;
  margin-left: 2px;
  color: #999;
}

header .btn {
  margin-top: 20px;
  padding: 12px 18px;
  text-transform: uppercase;
  font-weight: bold;
  display: inline-block;
  font-size: 0.8em;
}

.recipes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 30px;
  row-gap: 80px;
  margin: 80px auto;
  max-width: 1200px;
}

.recipe {
  display: inline-block;
  border-radius: 20px;
  background: white;
  position: relative;
  text-align: center;
  padding: 0 20px 30px 20px;
}

.recipe img {
  width: 100px;
  margin: -30px auto 20px;
}

footer {
  text-align: center;
  margin-top: 120px;
  color: #aaa;
}

.container2 {
  display: grid;
}

.content2 {
  justify-self: end;
}

.green-button {
  background-color: green;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.green-button:hover {
  background-color: darkgreen;
}

/* Base button styles */
.btn {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: bold;
}

/* Small button styles */
.small-btn {
  font-size: 12px;
}

/* Green button */
.green-btn {
  background-color: #8BC34A;
  color: white;
}

/* Blue button */
.blue-btn {
  background-color: #2196F3;
  color: white;
}

/* Hover effects for both buttons */
.btn:hover {
  opacity: 0.8;
}

.navbar {
  background-color: #f8f9fa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.navbar {
  background-color: #f4f4f4;
  text-align: center;
}

.nav-link {
  display: block;
  margin: 10px auto;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 5px;
}

.selected {
  background-color: #4CAF50;
  color: white;
}

.leaderboard-container {
  max-width: 600px;
  margin: 0 auto;
}

.job-title {
  margin-top: 20px;
  margin-bottom: 10px;
}

.leaderboard {
  list-style-type: none;
  padding: 0;
}

.leaderboard-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.leaderboard-info {
  flex-grow: 1;
  margin-right: 10px;
}

.leaderboard-link {
  font-size: 20px;
  color: #007bff;
  text-decoration: none;
}

.jobs-container {
  max-width: 600px;
  margin: 0 auto;
}

.job-title {
  margin-top: 20px;
  margin-bottom: 10px;
}

.jobs {
  list-style-type: none;
  padding: 0;
}

.job-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.job-info {
  flex-grow: 1;
  margin-right: 10px;
}

.details-btn {
  font-size: 14px;
  color: #007bff;
  background-color: transparent;
  border: 1px solid #007bff;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.details-btn:hover {
  background-color: #007bff;
  color: #fff;
}

.candidates-container {
  max-width: 800px;
  margin: 0 auto;
}

.candidate {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.candidate-info {
  margin-right: auto;
}

.candidate h4 {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
  margin-bottom: 5px;
}

.candidate p {
  margin: 0;
}

.profile-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-content {
  margin-bottom: 20px;
}

.buttons {
  margin-bottom: 20px;
}

.buttons .btn {
  margin-right: 10px;
}

.profile-analysis {
  margin-bottom: 20px;
}

.profile-buttons {
  margin-top: 20px;
}

.btn {
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  background-color: #007bff;
  color: white;
}

.btn:hover {
  background-color: #0056b3;
}

.download-resume,
.download-full-profile {
  background-color: #007bff;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
}

.download-resume:hover,
.download-full-profile:hover {
  background-color: #0056b3;
}

.select-candidate {
  background-color: #4CAF50;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
}

.select-candidate:hover {
  background-color: #388E3C;
}

.selected-candidate {
  background-color: #ff4141;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
}

.selected-candidate:hover {
  background-color: #fa4343;
}

.justified-text {
  text-align: justify;
}

/* Section styles */
section {
  margin-bottom: 40px;
}



.benefits ul {
  list-style: none;
  padding: 0;
}

.benefits li {
  margin: 10px 0;
}

/* Flow styles */
.flow {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.flow-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.flow-step {
  flex: 1 1 45%;
  margin: 10px;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.flow-step h3 {
  margin-bottom: 10px;
}

/* Media Queries for Responsiveness */

@media (max-width: 1200px) {
  body {
    margin: 10px 20px;
  }
  
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .recipes {
    grid-template-columns: 1fr 1fr;
  }

  .container {
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .recipes {
    grid-template-columns: 1fr;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  nav li {
    margin-left: 0;
    margin-bottom: 10px;
  }

  header img {
    width: 500px;
   
  }

  header h2 {
    font-size: 2.5em;
  }

  header h3 {
    font-size: 1.4em;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header .smoothie img {
    width: 350px;
    margin-bottom: 20px;
  }

  .flow-container {
    flex-direction: column;
  }

  .flow-step {
    flex: 1 1 100%;
  }

  .profile-container {
    padding: 10px;
  }

  .profile-content, .buttons, .profile-analysis {
    margin-bottom: 10px;
  }

  .btn {
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  body {
    margin: 5px 10px;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
  }

  nav li {
    margin: 10px 0;
    width: 100%;
  }

  nav li a {
    padding: 10px;
    width: 100%;
    text-align: center;
  }


  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header .smoothie img {
    width: 350px;
    margin-left: 30px;
    margin-bottom: 20px;
  }

  .flow-container {
    flex-direction: column;
  }

  .flow-step {
    flex: 1 1 100%;
  }

  .recipe {
    padding: 0 10px 20px 10px;
  }

  .recipe img {
    width: 80px;
  }

  footer {
    margin-top: 60px;
  }

  .btn {
    padding: 6px 12px;
  }
}
