:root {
  --background-color: #fff;
  --secondary-background-color: #f6f7f8;
  --text-color: #000;
  --text_color_grey: #42526e;
  --blue: #2a3647;
  --dark-blue: #091931;
  --light-blue: #29abe2;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --white-text-color: #fff;
  --logo-light-blue: #4589ff;
  --corner_offset: 40px;
  --logo_start_width: 220px;
  --logo_corner_scale: 0.35;
  --border_color: #d1d1d1;
  --warning_red: #e60026;
  --line-color: #e0e0e0;
  --shadow-soft: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.25);
  --accent-pink: #ff8190;
  --prio-urgent: #ff3d00;
  --prio-medium: #ffb800;
  --prio-low: #7ae229;
  --user_c_1: #ff7a00;
  --user_c_2: #6e52ff;
  --user_c_3: #9327ff;
  --user_c_4: #00bee8;
  --user_c_5: #1fd7c1;
  --user_c_6: #ff745e;
  --user_c_7: #ffa35e;
  --user_c_8: #ff5eb3;
  --user_c_9: #fc71ff;
  --user_c_10: #ffc701;
  --user_c_11: #0038ff;
  --user_c_12: #c3ff2b;
  --user_c_13: #ffe62b;
  --user_c_14: #ff4646;
  --user_c_15: #ffbb2b;
  --svg_hover_main: #2a3647;
  --div_hover_main: #fff;
  --hover-scale: 1.05;
  --hover-duration: 180ms;
  --inner_svg_main: #fff;
  --text-light: #ffffff;
  --nav-icon: var(--border_color);
  --nav-icon-active: var(--white-text-color);
  --summary-divider: #28aae2;
  --user_c_active: #ffbb2b;
  --navbar-color: #cdcdcd;
  --policy-link-color: #a8a8a8;
  --board-light-grey: #e7e7e7;
}

@font-face {
  font-family: "Inter";
  src: url(../assets/font/static/Inter_18pt-Medium.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Inter";
  src: url(../assets/font/static/Inter_24pt-Bold.ttf) format("truetype");
  font-weight: 700;
  font-style: bold;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: Inter, sans-serif;
  text-decoration: none;
  scrollbar-width: thin;
  scrollbar-color: #a8a8a8 transparent;
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: #a8a8a8;
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

html {
  background-color: var(--secondary-background-color);
  font-size: 16px;
}

body {
  min-height: 100vh;
  background: var(--secondary-background-color);
  width: 100%;
  margin: 0;
}

input,
textarea,
select {
  font-size: 20px;
  font-weight: 400;
}

label {
  font-size: 20px;
  font-weight: 400;
}

.blue_text {
  color: var(--blue);
}

svg {
  vertical-align: middle;
}

::placeholder {
  color: var(--border_color);
  font-size: 20px;
  font-weight: 400;
  opacity: 1;
}

.display_grid {
  display: grid;
  grid-template-columns: 232px 1fr;
  grid-template-rows: 96px 1fr;
  grid-template-areas:
    "nav header"
    "nav main";
  height: 100dvh;
  overflow: hidden;
}

.navbar_shell {
  grid-area: nav;
  background-color: var(--blue);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

::-moz-placeholder {
  color: var(--border_color);
  font-size: 20px;
  font-weight: 400;
  opacity: 1;
}

:-ms-input-placeholder {
  color: var(--border_color);
  font-size: 20px;
  font-weight: 400;
}

.d_none {
  display: none;
}

.sec_backg_col {
  background-color: var(--secondary-background-color) !important;
}

.main_content {
  grid-area: main;
  overflow: auto;
  min-height: 0;
  min-width: 0;
}

.header_join {
  grid-area: header;
}

.nav_logo {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 64px;
  align-items: center;
  padding-bottom: 120px;
}

.nav_icon {
  display: inline-flex;
  color: var(--border_color);
}

.nav_logo_icon {
  display: inline-flex;
  color: var(--white-text-color);
}

.standard_input_box {
  border-radius: 10px;
  border: 1px solid var(--border_color);
  height: 48px;
  font-size: 20px;
  font-weight: 400;
  padding-left: 21px;
  padding-right: 21px;
  outline: none;
}

.standard_input_box:focus {
  border-color: var(--light-blue);
}

.standard_input_box.is-invalid {
  border: 2px solid var(--warning_red);
}

.standard_input_box.is-valid {
  border: 1px solid var(--border_color);
}

.link_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal {
  border-radius: 16px;
}

.policy_links {
  margin-top: auto;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-left: 64px;
}

.policy_links a {
  color: var(--policy-link-color);
}

.modal {
  border: none;
  padding: 0;
  background: transparent;
  transform: translateX(100vw);
  opacity: 0;
  overflow: hidden;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.35);
}

.add_task_modal_content {
  width: min(1064px, 92vw);
  height: 870px;
  max-height: 90vh;
  padding: 24px;
  background: var(--background-color);
  border-radius: 30px;
  border: none;
  outline: none;
  box-shadow: 0 8px 24px var(--shadow-color);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  scrollbar-width: thin;
  scrollbar-color: #a8a8a8 transparent;
}

.add_task_modal_content::-webkit-scrollbar {
  width: 8px;
}

.add_task_modal_content::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.add_task_modal_content::-webkit-scrollbar-track {
  background: transparent;
  margin: 18px 0;
  border-radius: 0px;
}

.add_task_modal_content::-webkit-scrollbar-thumb {
  background: #a8a8a8;
  border-radius: 0px;
}

.add_task_modal_content::-webkit-scrollbar-corner {
  background: transparent;
}

.add_task_modal_close {
  /* position: absolute;
  top: 16px;
  right: 16px; */
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-color);
}

.modal[open] {
  margin: auto;
  animation: slideInFromRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100vw);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 1200px) {
  .add_task_modal_content {
    width: min(1116px, 92vw);
    height: min(870px, 90vh);
  }
}

.navbar {
  display: flex;
  flex-direction: column;
  background-color: var(--blue);
  min-height: 100dvh;
}

.nav_link {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  padding: 8px 0 8px 56px;
  gap: 24px;
  margin-bottom: 8px;
  cursor: pointer;
  color: var(--navbar-color);
}

.nav_link .nav_icon {
  color: var(--border_color);
  justify-self: center;
}

.nav_link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav_link.active {
  background-color: var(--dark-blue);
}

.nav_link.active .nav_icon {
  color: var(--nav-icon-active);
}

.nav_logo_icon {
  color: var(--white-text-color);
}

.nav_logo_icon,
.nav_logo_icon svg {
  color: var(--white-text-color);
}

.nav_link.active .nav_icon {
  color: var(--white-text-color);
}
.nav_link .nav_icon {
  color: var(--navbar-color);
}

.svg-icon {
  display: inline-flex;
  align-items: center;
}

.input_icon {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
}

.svg-icon svg {
  vertical-align: middle;
}

.task_success_box {
  width: 260px;
  height: 56px;
  background: var(--dark-blue);
  color: white;
  border-radius: 12px;

  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 600;

  transform: translateY(60vh);
  opacity: 0;
}

.landscape-message {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 9999;
  text-align: center;
  padding-top: 20%;
}

@media (orientation: landscape) and (max-width: 926px) {
  .landscape-message {
    display: block;
  }
  body > * {
    display: none;
  }
}

@media (max-width: 880px) {
  input,
  textarea,
  select {
    font-size: 18px;
  }

  label {
    font-size: 18px;
  }

  ::placeholder {
    font-size: 18px;
  }
  .display_grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 80px 1fr 80px;
    grid-template-areas:
      "header"
      "main"
      "nav";
  }

  .navbar_shell {
    min-height: auto;
  }

  .nav_logo {
    display: none;
  }

  .navbar {
    flex-direction: row;
    min-height: auto;
    justify-content: space-around;
  }

  .nav_link {
    display: flex;
    flex-direction: column;
    width: 80px;
    gap: 8px;
    padding-left: 0;
    padding-right: 0;
    height: 80px;
    justify-content: center;
  }

  .nav_link.active {
    border-radius: 16px;
  }

  .policy_links {
    display: none;
  }

  .privacy_policy_main {
    margin: 16px 0 16px 8px;
  }

  .legal_notice_main {
    margin: 16px 0 16px 8px;
  }
}

@media (max-width: 450px) {
  input,
  textarea,
  select {
    font-size: 16px;
  }

  label {
    font-size: 16px;
  }

  ::placeholder {
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .display_grid {
    grid-template-rows: 70px 1fr 80px;
  }
}

@media (max-width: 350px) {
  .display_grid {
    grid-template-rows: 60px 1fr 80px;
  }
}
