/* montserrat-100 - cyrillic-ext_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100;
  src: url('/assets/fonts/Montserrat/montserrat-v31-cyrillic-ext_latin-ext-100.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-100italic - cyrillic-ext_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 100;
  src: url('/assets/fonts/Montserrat/montserrat-v31-cyrillic-ext_latin-ext-100italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-200 - cyrillic-ext_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200;
  src: url('/assets/fonts/Montserrat/montserrat-v31-cyrillic-ext_latin-ext-200.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-200italic - cyrillic-ext_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 200;
  src: url('/assets/fonts/Montserrat/montserrat-v31-cyrillic-ext_latin-ext-200italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-300 - cyrillic-ext_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('/assets/fonts/Montserrat/montserrat-v31-cyrillic-ext_latin-ext-300.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-300italic - cyrillic-ext_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 300;
  src: url('/assets/fonts/Montserrat/montserrat-v31-cyrillic-ext_latin-ext-300italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

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

/* montserrat-italic - cyrillic-ext_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  src: url('/assets/fonts/Montserrat/montserrat-v31-cyrillic-ext_latin-ext-italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-500 - cyrillic-ext_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('/assets/fonts/Montserrat/montserrat-v31-cyrillic-ext_latin-ext-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-500italic - cyrillic-ext_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 500;
  src: url('/assets/fonts/Montserrat/montserrat-v31-cyrillic-ext_latin-ext-500italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-600 - cyrillic-ext_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('/assets/fonts/Montserrat/montserrat-v31-cyrillic-ext_latin-ext-600.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-600italic - cyrillic-ext_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 600;
  src: url('/assets/fonts/Montserrat/montserrat-v31-cyrillic-ext_latin-ext-600italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

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

/* montserrat-700italic - cyrillic-ext_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 700;
  src: url('/assets/fonts/Montserrat/montserrat-v31-cyrillic-ext_latin-ext-700italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-800 - cyrillic-ext_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  src: url('/assets/fonts/Montserrat/montserrat-v31-cyrillic-ext_latin-ext-800.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-800italic - cyrillic-ext_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 800;
  src: url('/assets/fonts/Montserrat/montserrat-v31-cyrillic-ext_latin-ext-800italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-900 - cyrillic-ext_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  src: url('/assets/fonts/Montserrat/montserrat-v31-cyrillic-ext_latin-ext-900.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-900italic - cyrillic-ext_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 900;
  src: url('/assets/fonts/Montserrat/montserrat-v31-cyrillic-ext_latin-ext-900italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

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

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

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

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

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

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

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

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


*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*:focus {
  outline: none;
}

html,
body,
* {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;

  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  touch-action: pan-x pan-y;
}

html {
  font-size: 16px;
  scrollbar-width: none;
}

body {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
}

img {
  -webkit-user-drag: none;
}

/* Chrome, Safari, Edge */
::-webkit-scrollbar {
  display: none;
}

/* Header */
.header {
  width: 100%;
  max-width: var(--container-width);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 910px;
  height: 158px;
  flex-shrink: 0;
}

.time-date-frame {
  width: 400px;
  height: 158px;
  border-radius: var(--radius-time-frame);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  flex-shrink: 0;
}

.time {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-time);
  line-height: var(--line-height-time);
  color: var(--header-text);
  text-align: right;
}

.date {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-date-header);
  line-height: var(--line-height-date-header);
  color: var(--subheader-text);
  text-align: right;
  width: 100%;
  height: 49px;
}

/* Footer */
.footer {
  display: flex;
  z-index: 2;
  flex-direction: column;
  width: 1880px;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 140px;
  bottom: 140px;
  background-color: transparent;
}

.footer-wrapper {
  display: flex;
  flex-direction: row;
  height: 196px;
  align-items: center;
  justify-content: space-between;
  padding: 0px 60px;
  position: relative;
  align-self: stretch;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 35px;
  box-shadow: 0px 16px 48px #11111a1a, 0px 8px 24px #11111a1a, 0px 1px 0px #11111a1a;
  backdrop-filter: blur(5px) brightness(100%);
  -webkit-backdrop-filter: blur(5px) brightness(100%);
  flex: 0 0 auto;
}

.footer-nav-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  position: relative;
  flex: 0 0 auto;
}

.footer-icon-1 {
  position: relative;
  width: 100px;
  height: 100px;
  aspect-ratio: 1;
}

.footer-icon-2 {
  position: relative;
  width: 97px;
  height: 100px;
  aspect-ratio: 0.97;
}

.footer.mobility-enabled {
  transform: scale(0.75);
  transform-origin: center bottom;
  transition: transform 0.5s ease-in-out;
}

main.mobility-enabled,
.memory-book-container.mobility-enabled,
.classroom-layout.mobility-enabled,
.schedule-screen.mobility-enabled {
  transform: scale(0.75) translateY(33%);
  transform-origin: top;
  transition: transform 0.5s ease-in-out;
}

body.mobility-enabled,
.applicant-screen.mobility-enabled {
  transform: scale(0.75) translateY(33%);
  transform-origin: top;
  transition: transform 0.5s ease-in-out;
}

/* Blind Accessibility Mode - монохромний режим для всіх сторінок */

/* Єдиний режим: Монохромний (чорно-білий), без зламу fixed footer */
body.blind-monochrome {
  /* використовується як state-клас */
}

/* Фільтр для всього основного контенту сторінки */
body.blind-monochrome>*:not(.footer) {
  filter: grayscale(100%) contrast(1.2);
  transition: filter 0.3s ease-in-out;
}

/* Окремо фарбуємо в монохром контент футера,
   щоб не чіпати fixed-позиціонування самої .footer */
body.blind-monochrome .footer-wrapper {
  filter: grayscale(100%) contrast(1.2);
  transition: filter 0.3s ease-in-out;
}

/* Error screen */
.error-screen-container {
  background-color: #ffffff;
  width: 100%;
  min-width: 2160px;
  min-height: 3840px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-screen-container .error-screen-wrapper {
  display: flex;
  height: 3560px;
  width: 1880px;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 105px;
  background-color: #dfecff;
  border-radius: 50px;
  overflow: hidden;
}

.error-screen-container .error-screen-icon {
  position: relative;
  width: 727px;
  height: 600px;
  aspect-ratio: 1.21;
}

.error-screen-container .error-screen-text-container {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  flex: 0 0 auto;
}

.error-screen-container .text-header {
  width: 1314px;
  margin-top: -1.00px;
  font-family: var(--font-family-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 120px;
  position: relative;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
}

.error-screen-container .text-subheader {
  align-self: stretch;
  font-family: var(--font-family-primary);
  font-weight: 500;
  font-style: italic;
  color: var(--header-text);
  font-size: 40px;
  position: relative;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
}

.error-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  position: relative;
  border-radius: 20px;
  border: 2px solid;
  border-color: var(--header-text);
}

.error-home-btn .error-btn-arrow {
  position: relative;
  width: 40px;
  height: 40px;
  aspect-ratio: 1;
}

.error-home-btn .error-btn-text {
  position: relative;
  width: fit-content;
  font-family: var(--font-family-primary);
  font-weight: 500;
  color: #000000;
  font-size: 28px;
  letter-spacing: 0;
  line-height: normal;
}