@charset "UTF-8";
body {
  font-family: "Forum", serif;
  font-weight: 300;
  font-size: 1.3em;
  background-color: #F9F2DC;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

input {
  font-family: "Forum", serif;
  font-weight: 300;
}

h2 {
  font-weight: 600;
}

h3 {
  padding: 0px;
  margin: 1rem 0 0 0;
  font-family: Manrope;
  font-weight: bold;
}

h4 {
  font-family: Manrope;
  font-size: 90%;
  color: rgba(0, 0, 0, 0.75);
}
h4.progress {
  margin: 2rem 0 0 0;
}

a {
  color: #344A98;
}

blockquote {
  margin-top: 0px;
  margin-bottom: 0px;
}

main {
  margin: 5vh auto 100px auto;
  position: relative;
  padding: 0 10px 300px 10px;
  box-sizing: border-box;
  max-width: 720px;
  width: 100%;
  min-width: 355px;
  line-height: 1.5;
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
}

nav {
  position: fixed;
  top: 0px;
  left: 10px;
  width: 180px;
  font-size: 80%;
  padding: 40px 30px 10px 0px;
  height: 100vh;
  overflow-y: auto;
  z-index: 1000;
  transition: opacity 0.8s ease-in-out;
}
nav a {
  display: block;
  margin: 0.5rem 0;
  padding: 0.5rem;
  color: #bbb;
  text-decoration: none;
  border-left: 1px solid transparent;
  transition: border-color 0.3s;
}
nav a.active {
  border-left-color: rgba(0, 0, 0, 0.2);
  font-weight: bold;
  color: #666;
}

@keyframes pulsate {
  0% {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  }
  100% {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
}
#profile-container {
  position: fixed;
  top: 0;
  left: calc(50% + 360px + 40px);
  width: 240px;
  font-size: 80%;
  padding: 40px 0px 0px 10px;
  height: 100vh;
  overflow-y: auto;
  z-index: 1000;
  color: #bbb;
}
#profile-container ul {
  margin: 0px;
  padding-left: 0px;
}
#profile-container ul li {
  list-style-type: none;
  padding-top: 5px;
}
#profile-container #achievement {
  width: 220px;
  padding: 0px;
  margin-top: 20px;
  color: #000;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s, transform 0.5s;
  z-index: 1000;
  cursor: pointer;
}
#profile-container #achievement.visible {
  opacity: 1;
  transform: translateY(0);
}
#profile-container #achievement.bronze {
  background-color: rgba(205, 127, 50, 0.2);
  border: 1px solid #cd7f32;
}
#profile-container #achievement.bronze h3 span {
  color: #cd7f32;
}
#profile-container #achievement.silver {
  background-color: rgba(192, 192, 208, 0.2);
  border: 1px solid #c0c0d0;
}
#profile-container #achievement.silver h3 span {
  color: #c0c0d0;
}
#profile-container #achievement.gold {
  background-color: rgba(255, 215, 0, 0.2);
  border: 1px solid #ffd700;
}
#profile-container #achievement.gold h3 span {
  color: #ffd700;
}
#profile-container #achievement.pulsating {
  animation: pulsate 1s infinite;
}

@media (max-width: 960px) {
  nav {
    display: none;
  }
  #profile-container {
    display: none;
  }
}
header {
  font-size: 120%;
  font-weight: bold;
  /* Animation Keyframes */
}
header span {
  background: linear-gradient(45deg, #ff6b6b, #f4d35e, #00bcd4, #f67280, #d4a5a5);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: prismMove 8s ease infinite;
  color: #EB701E;
  font-family: "Manrope", sans-serif;
  font-weight: bold;
}
@keyframes prismMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

menu {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin: 0px 0px 10px 0px;
  padding: 0px;
}
menu a {
  color: black;
  padding: 0;
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px dotted;
}
menu a.selected {
  cursor: default;
  border-bottom: none;
  font-weight: bold;
}

.separator {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 10px;
}

.language-selector {
  margin-top: 15px;
  width: 100%;
  font-size: 85%;
  cursor: pointer;
}

.contacts .contacts-inner {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
}
.contacts .contacts-inner a {
  display: inline-block;
}

.magic-block {
  padding: 2rem 0 0 0;
}
.magic-block .quote {
  position: relative;
  max-height: 480px;
  overflow: hidden;
  padding: 1.5rem;
  border: 1 px solid rgba(0, 0, 0, 0.2);
}
.magic-block .quote.thescope {
  background: #DBEAD7;
}
.magic-block .quote .the-scope-meta {
  font-family: "Manrope", sans-serif;
  font-size: 75%;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 1rem;
}
.magic-block .quote .the-scope-meta a {
  color: rgba(0, 0, 0, 0.75);
}
.magic-block .quote .the-scope-meta span::before {
  content: "·";
  padding: 0 0.4rem;
}
.magic-block .quote .moment-number {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  margin-top: 0;
}
.magic-block .quote figure {
  margin: 1rem 0;
}
.magic-block .quote picture,
.magic-block .quote img {
  display: block;
  max-width: 100%;
}
.magic-block .quote img {
  height: auto;
}
.magic-block .quote.citadel {
  background: #FADBC6;
  overflow: visible;
  position: relative;
}
.magic-block .quote.expanded {
  max-height: none;
}
.magic-block .quote.overflowing .reveal-link {
  display: block;
  z-index: 999;
}
.magic-block .quote.overflowing::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px; /* Height of the gradient overlay */
  background: linear-gradient(to top, #DBEAD7, 70%, rgba(255, 255, 255, 0));
  pointer-events: none;
}
.magic-block .quote span.guess {
  padding: 2px 5px;
  background: rgba(255, 255, 255, 0.4);
  border-bottom: 1px currentColor dotted;
  cursor: pointer;
  position: relative;
}
.magic-block .quote span.guess .dropdown {
  display: none;
  position: absolute;
  top: 100%; /* Position dropdown below the text */
  left: 0;
  margin-top: 5px;
  min-width: 160px;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  z-index: 1;
}
.magic-block .quote span.guess .dropdown div {
  padding: 8px;
  cursor: pointer;
}
.magic-block .quote span.guess .dropdown div:hover {
  background-color: #EB701E;
}
.magic-block .quote .reveal-link {
  display: none; /* Hidden by default */
  position: absolute;
  bottom: 10px;
  left: 25px;
  color: #EB701E;
  border-bottom: 1px currentColor dotted;
  cursor: pointer;
}
.magic-block .quote .meta {
  display: none;
}
.magic-block .quote .meta.revealed {
  display: block;
}
.magic-block .project {
  margin: 0px 0px;
  padding: 0px 0px;
}

.text-answer {
  border: 1px solid #ddd;
  padding: 10px;
  margin: 0 0 20px 0;
  cursor: pointer;
}
.text-answer:hover {
  border: 1px solid black;
  background-color: #eeeeee;
}
.text-answer.correct {
  border: 1px solid black;
  background-color: #cceecc;
}
.text-answer.wrong {
  border: 1px solid black;
  background-color: #eecccc;
}

.picture-container {
  width: 100%;
}

.picture-answer {
  border: 5px solid white;
  padding: 5px;
  margin: 0 20px 20px 0;
  display: inline-block;
  min-width: 270px;
  height: 270px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #eeeeee;
  cursor: pointer;
}
.picture-answer:hover {
  border: 5px solid black;
}
.picture-answer.correct {
  border: 5px solid #55dd55;
}
.picture-answer.wrong {
  border: 5px solid #dd5555;
}

.links {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
  margin-bottom: 1em;
}

.hidden {
  display: none !important;
}

.preloading {
  opacity: 0;
}

.blue {
  color: #344A98;
}

span.silver {
  color: #c0c0d0;
}

span.bronze {
  color: #cd7f32;
}

span.gold {
  color: #ffd700;
}

span.subtitle {
  color: #666;
}

button {
  font-family: Manrope;
  padding: 20px;
  background-color: none;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.progress-bar {
  flex: 1 1 150px;
  height: 25px;
  position: relative;
  margin-left: 0px;
  overflow: hidden;
}
.progress-bar progress {
  height: 100%;
  width: 100%;
  flex: 1 1 200px;
  height: 25px;
  font-size: 120%;
  position: relative;
  border: none;
  border-radius: 10px;
}
.progress-bar progress::-webkit-progress-value {
  background-color: #EB701E;
}
.progress-bar progress.completed::-webkit-progress-value {
  background-color: #6FAB5F;
}
.progress-bar progress::-webkit-progress-bar {
  background-color: rgba(0, 0, 0, 0.2);
}
.progress-bar span {
  position: absolute;
  right: 3px;
  top: 3px;
  font-weight: 200;
  font-size: 0.7em;
  font-family: "Manrope";
  color: black;
}

footer {
  margin: 3rem 0 0rem 0;
  width: 100%;
  display: flex;
  align-items: flex-end;
  color: #bbb;
}
footer div {
  font-family: Manrope;
  font-size: 75%;
  padding: 10px 0;
}

#puzzle-container {
  display: grid;
  width: 100%;
  position: relative;
  border: 1px solid #333;
  box-sizing: border-box;
}

.tile {
  width: 100%;
  height: 100%;
  background-size: cover;
  transition: opacity 0.2s ease, transform 0.3s ease;
  cursor: pointer;
}

.tile.correct {
  opacity: 1;
  cursor: default;
}

.tile.incorrect {
  opacity: 0.8;
  filter: sepia(40%);
  border: 1px solid #333;
  box-sizing: border-box;
}

.tile.selected {
  opacity: 1;
  animation: pulse 1.5s infinite ease-in-out;
  transform: scale(1.05);
  z-index: 100;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1.05);
  }
  50% {
    transform: scale(1);
  }
}

/*# sourceMappingURL=mkalashnikov.css.map */
