@font-face {
  font-family: "PacManSenior";
  src: url("/static/fonts/PacManSenior/PacManSenior-Regular.otf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "WebPlus_IBM";
  src: url("/static/fonts/WebPlus_IBM/web_ibm_mda.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  color: #dfdfdf;
  font-family: "WebPlus_IBM";
  background-color: #0f0f0f;
}

body {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.header_wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header {
  height: 30px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 3px solid #dfdfdf;
  color: #dfdfdf;
}

.header_logo h1 {
  word-spacing: normal;
  font-size: 32px;
}

.header_logo {
  color: #dfdfdf;
  text-decoration: none;
  text-shadow: 0 0 8px #ab12e7;
}

.header_logo:hover {
  cursor: pointer;
  color: #ffffff;
  text-shadow: 0 0 14px #c83eff;
}

.nav {
  display: flex;
  gap: 30px;
  font-size: 28px;
}

.nav_link_about {
  color: #dfdfdf;
  text-decoration: none;
  text-shadow: 0 0 8px #cf0a0a;
}

.nav_link_about:hover {
  cursor: pointer;
  color: #ffffff;
  text-shadow: 0 0 14px #ff1b1b;
}

.nav_link_games {
  color: #dfdfdf;
  text-decoration: none;
  text-shadow: 0 0 8px #07a32e;
}

.nav_link_games:hover {
  cursor: pointer;
  color: #ffffff;
  text-shadow: 0 0 12px #07f543;
}

.nav_link_posts {
  color: #dfdfdf;
  text-decoration: none;
  text-shadow: 0 0 8px #0a47ca;
}

.nav_link_posts:hover {
  cursor: pointer;
  color: #ffffff;
  text-shadow: 0 0 12px #1d62f7;
}

.main {
  display: flex;
  flex-direction: column;
  gap: 75px;
  padding: 40px;
  flex-grow: 1;
  /* min-height: calc(100vh - 120px); */
  color: #242424;
}

.main_content_wrapper {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  gap: 70px;
}

.hello_block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 24px;
}

.hello_block h2 {
  margin-bottom: 20px;
}

.index_game_link {
  text-decoration: none;
  color: #07a32e;
}

.index_about_link {
  text-decoration: none;
  color: #c40707;
}

.index_posts_link {
  text-decoration: none;
  color: #0a47ca;
}

.castle_games_link {
  width: fit-content;
  align-self: center;
}

.link_to_games_mobile {
  display: none;
}

.index_img {
  width: 520px;
}

@keyframes change_brightness {
  0%,
  100% {
    filter: brightness(1.3);
  }
  50% {
    filter: brightness(0.8);
  }
}

.index_img {
  animation: change_brightness 3s ease-in-out infinite;
  transition: filter 0.3s ease;
}

.index_img:hover {
  cursor: pointer;
  -webkit-box-shadow: 0px 0px 30px -10px rgba(198, 107, 242, 0.78);
  -moz-box-shadow: 0px 0px 30px -10px rgba(198, 107, 242, 0.78);
  box-shadow: 0px 0px 30px -10px rgba(198, 107, 242, 0.78);
}

.about_block {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about_block h2 {
  font-size: 36px;
}

.about_info {
  display: flex;
  gap: 20px;
}

.about_img {
  width: 250px;
  -webkit-box-shadow: 4px 4px 8px 0px rgba(255, 255, 255, 0.2);
  -moz-box-shadow: 4px 4px 8px 0px rgba(255, 255, 255, 0.2);
  box-shadow: 4px 4px 8px 0px rgba(255, 255, 255, 0.2);
}

.about_text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 22px;
}

.about_text_row {
  display: flex;
  gap: 10px;
}

.about_text_row_left {
  color: #fff;
}

.stack_heading {
  font-size: 30px;
}

.stack_icons_block {
  display: flex;
  gap: 10px;
}

.stack_icon {
  width: 50px;
}

.posts_block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
}

.posts_block h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.posts_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.posts_list li {
  list-style-type: none;
  display: flex;
  align-items: center;
}

.post_link_wrapper {
  display: flex;
  gap: 20px;
  align-items: center;
}

.post_link_marker {
  width: 10px;
  height: 10px;
  background-color: #dfdfdf;
  -webkit-box-shadow: 0px 0px 17px 0px rgba(13, 57, 177, 0.78);
  -moz-box-shadow: 0px 0px 17px 0px rgba(13, 57, 177, 0.78);
  box-shadow: 0px 0px 17px 0px rgba(13, 57, 177, 0.78);
}

.post_link_wrapper:hover .post_link_marker {
  background-color: #fff;
  -webkit-box-shadow: 0px 0px 17px 2px rgba(22, 73, 212, 0.78);
  -moz-box-shadow: 0px 0px 17px 2px rgba(22, 73, 212, 0.78);
  box-shadow: 0px 0px 17px 2px rgba(22, 73, 212, 0.78);
}

.posts_list a {
  text-decoration: none;
  font-size: 28px;
  text-shadow: 0 0 12px #0a47ca;
  color: #dfdfdf;
}

.posts_list a:hover {
  text-shadow: 0 0 12px #1d62f7;
  color: #fff;
}

.post_content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14px;
}

.games_block {
  display: flex;
  flex-direction: column;
  gap: 10px;

  font-size: 14px;
}

.games_block h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.games_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.games_list li {
  list-style-type: none;
  display: flex;
  align-items: center;
}

.game_link_wrapper {
  display: flex;
  gap: 20px;
  align-items: center;
}

.game_link_wrapper:hover .game_link_marker {
  background-color: #fff;
  -webkit-box-shadow: 0px 0px 17px 2px rgba(7, 163, 46, 0.78);
  -moz-box-shadow: 0px 0px 17px 2px rgba(7, 163, 46, 0.78);
  box-shadow: 0px 0px 17px 2px rgba(7, 163, 46, 0.78);
}

.game_link_marker {
  width: 10px;
  height: 10px;
  background-color: #dfdfdf;
  -webkit-box-shadow: 0px 0px 17px 0px rgba(7, 163, 46, 0.78);
  -moz-box-shadow: 0px 0px 17px 0px rgba(7, 163, 46, 0.78);
  box-shadow: 0px 0px 17px 0px rgba(7, 163, 46, 0.78);
}

.games_list a {
  text-decoration: none;
  font-size: 28px;
  text-shadow: 0 0 12px #07a32e;
  color: #dfdfdf;
}

.games_list a:hover {
  text-shadow: 0 0 12px #07f543;
  color: #fff;
}

.next_page,
.prev_page {
  color: #fff;
  background-color: #1b5b42;
  text-decoration: none;
  padding: 10px;
  border-radius: 5px;
}

.article {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.article_wrapper {
  margin-top: 30px;
  width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  border-top: 3px solid #dfdfdf;
  padding: 10px;
  color: #dfdfdf;
}
