:root {
  --text: black;
  --primary: #edf0ff;
  --secondary: #c3d2c0;
  --pink: #ea818b;

  --nav-height: 8vh;

  --footer-height: 20vh;
}

.dark-mode {
  --text: white;
  --primary: #565264;
  --secondary: #0e110e;
  --card: rgba(0, 0, 0, 0.158);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100vh;
  margin: 0;
}

body::-webkit-scrollbar {
  width: 0px;
  background: transparent; /* Optional: makes it invisible */
}

body {
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  background: var(--primary);
  color: var(--text);
  color-scheme: light;
}

button {
  border: none;
  cursor: pointer;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

ul {
  list-style: none;
  margin: 0;
}

.no-scroll {
  overflow: hidden;
  height: 100%;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  font-size: 1.2rem;
  padding-inline: 16px;
  background: #565264;
  color: var(--pink);
}

nav img {
  height: 35px;
}

nav a:hover {
  color: #c3d2c0;
}

.nav-buttons {
  display: flex;
  gap: 16px;
}

.nav-buttons button:not(.language-button) path,
.nav-buttons button:not(.language-button) svg {
  fill: white;
}

.nav-buttons.menu-shown #menuButton {
  z-index: 101;
}

.nav-buttons button {
  background: none;
  padding: 0;
}

.nav-buttons button:hover,
.nav-buttons button:active {
  background: initial;
}

.menu {
  position: absolute;
  right: -16rem;
  top: 0;
  z-index: 100;
  width: 16rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--secondary);
  transform: translateX(0%);
  transition: transform 0.3s ease;
}

.menu.shown {
  transform: translateX(-100%);
}

.nav-buttons.menu-shown #menuButton path {
  fill: var(--text);
}

.menu h2 {
  padding-left: 16px;
  height: calc(var(--nav-height) - 1px);
  display: flex;
  align-items: center;
  color: var(--text);
  font-size: 1.2rem;
  margin: 0;
}

.menu ul {
  width: 100%;
}

.menu li:first-of-type {
  border-top: solid 1px var(--text);
  padding-top: 8px;
}

.menu li {
  width: 100%;
  padding-left: 16px;
}

.menu a {
  color: var(--text);
}

.menu a:hover {
  color: var(--pink);
}

.page-content {
  display: flex;
  flex-direction: column;
}

.page-content {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--nav-height));
}

main {
  flex: 1;
}
/****** HEADER ******/
header.page-header {
  background-size: cover;
  background-position: center;
  height: 400px;
  width: 100%;
  position: relative;
}

.home header.page-header {
  background-image: url("../assets/hand-giving-heart.jpg");
}

.career-page header.page-header {
  background-image: url("../assets/job_apply.png");
}

.gray-background {
  background-color: rgba(9, 10, 10, 0.48);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

header h1 {
  padding: 1rem;
  text-align: center;
}

header.page-header h1 {
  color: white;
  font-size: 3rem;
  max-width: 800px;
  text-shadow: 2px 2px 4px var(--pink);
}

header:not(.page-header) h1 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

footer {
  background: var(--secondary);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--footer-height);
}

.footer-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

footer a {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--text);
}

footer svg {
  fill: var(--text);
}

footer a:hover {
  text-decoration: underline;
}

.legal-info main {
  padding-inline: 16px;
  max-width: 1250px;
  margin-inline: auto;
}

@media screen and (min-width: 650px) {
  .services-section h2,
  .services-section p,
  .text-section {
    width: 100%;
    max-width: 1250px;
    margin-inline: auto;
  }

  .dark-mode footer a {
    color: white;
  }

  .dark-mode footer svg {
    fill: white;
  }

  form {
    padding: 64px;
  }

  .footer-list {
    flex-direction: row;
  }
}

@media screen and (min-width: 780px) {
  #menuButton {
    display: none;
  }

  nav {
    gap: 16px;
    padding-inline: 32px;
  }

  nav a {
    color: white;
  }

  nav a:hover {
    color: #c3d2c0;
  }

  .nav-buttons {
    position: static;
    padding: 0;
  }

  .menu {
    position: static;
    transform: none;
    justify-content: space-evenly;
    width: 100%;
    transition: none;
    padding-top: 0;
    background-color: #565264;
  }

  .menu h2 {
    display: none;
  }

  .menu ul {
    display: flex;
    justify-content: space-evenly;
  }

  .menu li:first-of-type,
  .dark-mode .menu li:first-of-type {
    border-top: none;
    padding-top: 0;
  }

  .menu li {
    width: auto;
    padding: 0;
  }

  .menu a {
    color: white;
  }

  .menu a:hover {
    color: #b9b9b9;
  }

  .dark-mode .menu {
    border: none;
  }
}
