/*говяшка*/
.margin-left-auto {
  margin-left: auto !important;
}

@font-face {
  font-family: Inter;
  src: url(../fonts/Inter-VariableFont_slnt,wght.ttf);
}

html {
  min-height: 100%;
  user-select: none;
}

body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  background: linear-gradient(to bottom right, #8bc5ad 60%, #ececec 40%) no-repeat;
}

/* INDEX */

.background-images {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.background-images img {
  filter: opacity(.05);
  position: absolute;
  top: 0;
  left: 0;
  width: 128px;
  height: 128px;
  object-fit: cover;
}

/*TODO: удалить в будущем если они все таки не пригодятся*/
.background-images img:nth-child(1) {
  top: 0;
  left: 72px;
}

.background-images img:nth-child(2) {
  top: 360px;
  left: 72px;
}

.background-images img:nth-child(3) {
  top: 720px;
  left: 72px;
}

.background-images img:nth-child(4) {
  top: 0;
  left: 1720px;
}

.background-images img:nth-child(5) {
  top: 360px;
  left: 1720px;
}

.background-images img:nth-child(6) {
  top: 720px;
  left: 1720px;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 80px 0 0;
}

.card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.40) 100%);
  width: 1280px;
  min-height: 32px;
  padding: 24px 24px;
  border-radius: 12px;
  box-shadow: 4px 4px 6px 0 rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0,0,0,0.1);
}

.button-hover:hover {
  filter: invert(100%);
}

.logo {
  width: 48px;
  height: 48px;
}

.card-text {
  font-family: Inter, sans-serif;
  font-style: normal;
  font-size: 24px;
  font-weight: 400;
  color: #000;
}

.card-footer img {
  width: 64px;
  height: 64px;
}

.card-footer-text {
  font-family: Inter, sans-serif;
  font-style: normal;
  font-size: 14px;
  color: #000;
  font-weight: 400;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.card-footer-button {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  width: 196px;
  height: 48px;
  padding: 0 12px;

  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.40) 100%);
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .05);
  backdrop-filter: blur(10px);
  transition: filter .25s ease-in-out;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 22px;
  width: 1280px;
}

.tab {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #FFF 0%, rgba(255, 255, 255, 0.70) 0.01%, rgba(255, 255, 255, 0.40) 100%);
  /*background: linear-gradient(135deg, rgba(242, 255, 247, 0.70) 0%, rgba(0, 204, 153, 0.30) 100%);*/
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .05);
  backdrop-filter: blur(10px);
  width: 396px;
  height: 500px;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,0.1);
}

.tab-content {
  display: flex;
  justify-content: space-around;
  flex-flow: column;
  height: 100%;
}

.tab-header {
  align-self: flex-end;
  cursor: pointer;
}

.tab-image {
  align-self: center;
}

.tab-image img {
  transform: scale(0.75);
}

.tab-title {
  font-family: Inter, sans-serif;
  font-style: normal;
  font-size: 24px;
  font-weight: 600;
  color: #000;
  height: 35%;
  width: 85%;
}

.tab-description {
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 300;
  color: #000;
  font-size: 18px;
  height: 15%;
}

.tab-button {
  text-align: center;
  align-self: center;
  font-family: Inter, sans-serif;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.40) 100%);
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .05);
  backdrop-filter: blur(10px);
  width: 364px;
  height: 48px;
  padding: 6px 24px;
  border-radius: 12px;
  line-height: 48px;
  cursor: pointer;
  transition: filter .25s ease-in-out;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 1);
  z-index: 999;
  display: none;
}

.modal-overlay.show {
  display: block;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal {
  display: none;
  position: fixed;
  font-family: Inter, sans-serif;
  z-index: 1000;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .05);
  padding: 12px;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  height: 80vh;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
  display: block;
  overflow-y: scroll;
}

.modal-content {
  text-align: left;
  font-size: 20px;
}

.modal-close {
  margin-top: 24px;
  color: #000;
  font-size: 20px;
  font-weight: 400;
  font-family: Inter, sans-serif;
  border: none;
  padding: 8px 16px;
  border-radius: 12px;
  cursor: pointer;
  width: 128px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.40) 100%);
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .05);
  transition: filter .25s ease-in-out;
}

/*BACK BUTTON*/
.back-button {
  font-family: Inter, sans-serif;
  backdrop-filter: blur(10px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.40) 100%);
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .05);
  border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  transition: filter .25s ease-in-out;
  margin-left: 32px;
}

/*INFORMATE MENU*/
.map-container {
  display: flex;
  justify-content: center;
}

.map-container img {
  border-radius: 12px
}

/*VIRTUAL TRAINING*/

.slideshow-button {
  text-align: center;
  margin-left: auto;
  font-family: Inter, sans-serif;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.40) 100%);
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .05);
  backdrop-filter: blur(10px);
  font-size: 20px;
  width: 96px;
  height: 28px;
  margin-top: auto;
  padding: 6px 24px;
  border-radius: 12px;
  line-height: 28px;
  cursor: pointer;
  transition: filter .25s ease-in-out;
}

.slideshow-button-inactive {
  cursor: default;
  filter: invert(100%);
}

.slideshow-text {
  text-align: justify;
}

.slideshow-slide-counter {
  font-family: Inter, sans-serif;
  font-size: 22px;
  margin-left: 32px;
}

/* QUIZ */

.card-header-text {
  font-family: Inter, sans-serif;
  font-size: 22px;
  margin-left: 32px;
}

.quiz-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: auto;
  gap: 32px;
}

.quiz-question {
  font-family: Inter, sans-serif;
  font-size: 22px;
  flex: 1;
  margin: auto; 
  
}

.quiz-answers {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  align-items: center;
}

.quiz-answer-button {
  position: relative;
  min-width: 256px;
  padding: 0 12px;
  height: 64px;
  font-family: Inter, sans-serif;
  font-size: 20px;
  text-align: center;
  line-height: 64px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.40) 100%);
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  transition: filter .25s ease-in-out;
  cursor: pointer;
}

.quiz-answered-icon {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  fill: currentColor;
}

.matching {
  background: linear-gradient(135deg, rgba(0, 255, 56, 0.60) 0%, rgba(0, 255, 56, 0.40) 100%);
}

.correct {
  background: linear-gradient(135deg, rgba(0, 255, 56, 0.60) 0%, rgba(0, 255, 56, 0.40) 100%);
}

.non-matching {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.60) 0%, rgba(255, 0, 0, 0.40) 100%);
}


.quiz-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.40) 100%);
  font-family: Inter, sans-serif;
  font-size: 24px;
  padding: 12px;
  border-radius: 12px;
}

.quiz-multiline-text {
  display: flex;
  flex-direction: column;
}

.quiz-accent-text-size {
  font-size: 40px;
}

.quiz-centered-button {
  display: flex;
  justify-content: center;
  text-align: center;
  margin: auto;
  font-family: Inter, sans-serif;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.40) 100%);
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .05);
  backdrop-filter: blur(10px);
  font-size: 20px;
  width: 96px;
  height: 28px;
  padding: 6px 24px;
  border-radius: 12px;
  line-height: 28px;
  cursor: pointer;
  transition: filter .25s ease-in-out;
}

/* MINI GAME */

.game-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
}

.game-row {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.game-button-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 192px;
  gap: 10px;
  padding: 16px;
  font-family: Inter, sans-serif;
  font-size: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.40) 100%);
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
}

.game-button {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.40) 100%);
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 6px 24px;
  cursor: pointer;
  transition: filter ease-in-out .25s;
}

.game-answer-button {
  min-width: 64px;
  padding: 0 12px;
  height: 64px;
  font-family: Inter, sans-serif;
  font-size: 20px;
  text-align: center;
  line-height: 64px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.40) 100%);
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  transition: filter .25s ease-in-out;
  cursor: pointer;
}

.video-playback {
  width: 100%; 
  border-radius: 12px;
  height: 100%; 
  object-fit: cover;
}