/* inter-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url("../assets/fonts/inter-v12-latin-regular.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  src: url("../assets/fonts/inter-v12-latin-700.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  font-size: 1em;
  /*usually evaluates to 16px; adjust to set basic font-size (xem with x = (desired basic font size in px)/(16 px); all other font-sizes in rem*/
  box-sizing: border-box;
  --primary-bg-color: #091931;
  --secondary-bg-color: #2a3647;
  --subtle-bg-color: #f6f7f8;
  --accent-color: #29abe2;
  --decent-color: #a8a8a8;
  --hover-color-checkbox: #edf2fa;
  --error-color: #ff001f;
  --error-color-subtle: #ff8190;
  --fs-small: 0.875rem;
  --fs-normal: 1rem;
  --fs-tall: 2.25rem;
  --fs-taller: 2.938rem;
  --notification-top-target: 0;
}

@media (min-width: 820px) {
  :root {
    --fs-small: 1rem;
    --fs-normal: 1.25rem;
    --fs-taller: 3.813rem;
  }
}

*,
::before,
::after {
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/*use following template if any third-party components are used that require box-sizing: content-box	
.third-party-component {	
box-sizing: content-box;	}*/
body {
  margin: 0px;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-normal);
  background-color: var(--subtle-bg-color);
  color: var(--secondary-bg-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* scrollable without scrollbar */
body::-webkit-scrollbar {
  display: none;
}

main {
  flex: 1;
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

a {
  text-decoration: none;
  color: unset;
}

.text-link {
  color: var(--accent-color);
  text-decoration: none;
}

.btn {
  border: none;
  padding: 1em 2em;
  font-size: var(--fs-small);
  font-weight: 700;
  border-radius: 0.5em;
  cursor: pointer;
}

.btn-primary {
  color: white;
  background-color: var(--secondary-bg-color);
}

.btn-primary:disabled,
.btn-primary:disabled:hover {
  background-color: var(--decent-color);
  color: rgba(0, 0, 0, 0.6);
  box-shadow: none;
  cursor: auto;
}

.btn-primary:hover {
  background-color: var(--accent-color);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: ease-in-out 100ms;
}

.btn-secondary {
  color: var(--primary-bg-color);
  background-color: white;
  border: 1px solid var(--primary-bg-color);
}

.btn-secondary:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: ease-in-out 100ms;
}

.notification {
  background-color: var(--secondary-bg-color);
  color: white;
  padding: 1em 0.5em;
  min-width: 371px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  gap: 0.5em;
  top: 100vh;
  left: 50vw;
  transform: translate(-50%, 0);
  border-radius: 1em;
  z-index: 5;
}

.notification.triggered {
  top: var(--notification-top-target);
  transition: 200ms;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 2px rgba(150, 150, 150, 0.477);
  border-radius: 8px;
  margin-top: 16px;
  margin-bottom: 32px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--secondary-bg-color);
  border-radius: 8px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-bg-color);
}

/* Desktop Sider & Header */

#desktop_header {
  position: fixed;
  background-color: #ffffff;
  width: 100vw;
  height: 10vh;
  justify-content: space-between;
  align-items: center;
}

#desktop_header p {
  padding-left: 300px;
}

.Header_rightArea_d {
  padding-right: 2vw;
  align-items: center;
  justify-content: space-between;
  width: 123px;
  height: 56px;
}

#header_help_icon_d {
  width: 20px;
  height: 20px;
  margin-right: 20px;
  cursor: pointer;
}

#header_help_icon_d:hover {
  width: 25px;
  height: 25px;
  margin-right: 15px;
}

#header_svg:hover {
  fill: lightgrey;
  cursor: pointer;
}

.svg_mobile_txt {
  font: 500 24px sans-serif;
}

#desktop_sider {
  position: fixed;
  height: 100vh;
  width: 232px;
  z-index: 2;
  background-color: #2a3647;
  color: #cdcdcd;
  justify-content: space-around;
  align-items: center;
}

.Sider_Logo_d {
  width: 100px;
  height: 122px;
}

.Sider_main_links_d {
  margin-bottom: 100px;
  height: 229px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.Sider_main_links_d a {
  justify-content: left;
  width: 100%;
  padding-left: 45px;
}

.Sider_footer_links {
  color: white;
  text-decoration: none;
}

.Sider_Icons_d {
  width: 25px;
  height: 25px;
  position: relative;
  top: 20px;
  right: 12px;
}

.Sider_lower_links_d {
  bottom: -24px;
  width: 100%;
  align-items: flex-start;
  margin-left: 64px;
}

.Sider_lower_links_d a {
  text-decoration: none;
  color: #a8a8a8;
  margin-bottom: 14px;
}

.Sider_lower_links_d a:hover {
  font-weight: 600;
  color: var(--accent-color);
}

#header_menu_id {
  top: 100px;
  width: 150px;
  height: auto;
  background-color: #2a3647;
  color: #cdcdcd;
  z-index: 50;
  padding: 8px;
}

.float_in_menu {
  position: fixed;
  right: -100%;
  transition: 500ms;
  border-radius: 15px 0px 15px 15px;
}

.float_in_menu a {
  padding: 8px;
  border-radius: 14px;
}

@media (max-width: 900px) {
  #desktop_sider {
    width: 23vw;
  }

  .Sider_main_links_d a {
    justify-content: left;
    width: 100%;
  }

  #desktop_header p {
    padding-left: 242px;
  }
}

/* Mobile Header & Footer */

#mobile_header {
  background-color: #ffffff;
  justify-content: space-between;
  height: 80px;
  width: 100vw;
  padding: 20px 40px 20px 40px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
}

#header_logo_m {
  width: 32px;
  height: 40px;
}

#mobile_footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  height: 80px;
  background-color: #2a3647;
  color: #cdcdcd;
  z-index: 10;
}

#mobile_footer_links {
  justify-content: space-around;
  height: 100%;
  width: 100%;
}

.Footer_link_pack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 90px;
  border-radius: 16px;
}

.Footer_link_pack a {
  justify-content: center;
  align-items: center;
  font-size: var(--fs-small);
}

.Footer_link_pack p {
  margin: 8px;
}

.Footer_icon_m {
  width: 22px;
  height: 22px;
}

.MenuButton {
  opacity: 0.7;
}

.MenuButton:hover {
  opacity: 1 !important;
  background-color: #091931 !important;
}

.Choosen_field {
  opacity: 1 !important;
  background-color: #091931 !important;
}

@media (max-width: 820px) {
  .Header_menu {
    top: 85px;
  }
}

/* Help Side */

.Help_Container {
  margin: 100px 90px 16px 326px;
}

.Help_Container j {
  color: var(--accent-color);
}

.Back_Arrow {
  cursor: pointer;
  position: absolute;
  top: 130px;
  right: 124px;
}

.Help_Container h3 {
  margin-right: 6px;
}

@media (max-width: 820px) {
  .Help_Container {
    margin-left: 36px;
    margin-right: 36px;
  }

  .Back_Arrow {
    right: 50px;
  }
}

/* Date Input */
input[type="date"] {
  font-size: var(--fs-normal);
}

::-webkit-calendar-picker-indicator {
  object-fit: contain;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

/* Utility classes */

.d-none {
  display: none;
}

.d-flex {
  display: flex;
}

.justify-content-start {
  justify-content: start;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-space-btw {
  justify-content: space-between;
}

.flex-direction-col {
  flex-direction: column;
}

.p-relative {
  position: relative;
}

.align-items-start {
  align-items: start;
}

.align-items-center {
  align-items: center;
}

.w-100 {
  width: 100%;
}

.p-inline-1 {
  padding-inline: 0.5em;
}

.cursor-pointer {
  cursor: pointer;
}

.text-align-center {
  text-align: center;
}
