@font-face {
  font-family: fntMerelThin;
  src: url(assets/fonts/merel_thin.otf);
}
@font-face {
  font-family: fntMerelLight;
  src: url(assets/fonts/merel_light.otf);
}
@font-face {
  font-family: fntMerel;
  src: url(assets/fonts/merel.otf);
}
@font-face {
  font-family: fntMerelMedium;
  src: url(assets/fonts/merel_medium.otf);
}
@font-face {
  font-family: fntMerelBold;
  src: url(assets/fonts/merel_bold.otf);
}
.tooltip {
  position: relative;
  display: inline;
}

.tooltip .tooltiptext {
  visibility: hidden;
  opacity: 0;
  width: 140px;
  background-color: #ffffff;
  color: #000000;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 120%;
  left: 50%;
  margin-left: -70px;
  transition: all 0.2s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #ffffff transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.platform-icon {
  width: 40px;
  height: 40px;
  background-size: contain;
  display: inline-block;
}
.platform-icon.github {
  background-image: url(/assets/platform_logos/github_white.png);
}
.platform-icon.twitter {
  background-image: url(/assets/platform_logos/twitter_white.png);
}
.platform-icon.bluesky {
  background-image: url(/assets/platform_logos/bluesky_white.png);
}
.platform-icon.instagram {
  background-image: url(/assets/platform_logos/instagram_white.png);
}
.platform-icon.facebook {
  background-image: url(/assets/platform_logos/facebook_white.png);
}
.platform-icon.youtube {
  background-image: url(/assets/platform_logos/youtube_white.png);
}
.platform-icon.tiktok {
  background-image: url(/assets/platform_logos/tiktok_white.png);
}
.platform-icon.steam {
  background-image: url(/assets/platform_logos/steam_white.png);
}
.platform-icon.itch {
  background-image: url(/assets/platform_logos/itch_white.png);
}
.platform-icon.newgrounds {
  background-image: url(/assets/platform_logos/newgrounds_white.png);
}
.platform-icon.gamejolt {
  background-image: url(/assets/platform_logos/gamejolt_white.png);
}
.platform-icon.gxgames {
  background-image: url(/assets/platform_logos/gxgames_white.png);
}
.platform-icon.twitch {
  background-image: url(/assets/platform_logos/twitch_white.png);
}
.platform-icon.discord {
  background-image: url(/assets/platform_logos/discord_white.png);
}
.platform-icon.web {
  background-image: url(/assets/platform_logos/web_white.png);
}
.platform-icon.bandcamp {
  background-image: url(/assets/platform_logos/bandcamp_white.png);
}
.platform-icon.spotify {
  background-image: url(/assets/platform_logos/spotify_white.png);
}
.platform-icon.apple {
  background-image: url(/assets/platform_logos/apple_white.png);
}
.platform-icon.googlePlay {
  background-image: url(/assets/platform_logos/google_play_white.png);
}
.platform-icon.xbox {
  background-image: url(/assets/platform_logos/xbox_white.png);
}
.platform-icon.switch {
  background-image: url(/assets/platform_logos/switch_white.png);
}
.platform-icon.playstation {
  background-image: url(/assets/platform_logos/playstation_white.png);
}
.platform-icon.linkedin {
  background-image: url(/assets/platform_logos/linkedin_white.png);
}
.platform-icon.icon-black.github {
  background-image: url(/assets/platform_logos/github_black.png);
}
.platform-icon.icon-black.twitter {
  background-image: url(/assets/platform_logos/twitter_black.png);
}
.platform-icon.icon-black.bluesky {
  background-image: url(/assets/platform_logos/bluesky_black.png);
}
.platform-icon.icon-black.instagram {
  background-image: url(/assets/platform_logos/instagram_black.png);
}
.platform-icon.icon-black.facebook {
  background-image: url(/assets/platform_logos/facebook_black.png);
}
.platform-icon.icon-black.youtube {
  background-image: url(/assets/platform_logos/youtube_black.png);
}
.platform-icon.icon-black.tiktok {
  background-image: url(/assets/platform_logos/tiktok_black.png);
}
.platform-icon.icon-black.steam {
  background-image: url(/assets/platform_logos/steam_black.png);
}
.platform-icon.icon-black.itch {
  background-image: url(/assets/platform_logos/itch_black.png);
}
.platform-icon.icon-black.newgrounds {
  background-image: url(/assets/platform_logos/newgrounds_black.png);
}
.platform-icon.icon-black.gamejolt {
  background-image: url(/assets/platform_logos/gamejolt_black.png);
}
.platform-icon.icon-black.gxgames {
  background-image: url(/assets/platform_logos/gxgames_black.png);
}
.platform-icon.icon-black.twitch {
  background-image: url(/assets/platform_logos/twitch_black.png);
}
.platform-icon.icon-black.discord {
  background-image: url(/assets/platform_logos/discord_black.png);
}
.platform-icon.icon-black.web {
  background-image: url(/assets/platform_logos/web_black.png);
}
.platform-icon.icon-black.bandcamp {
  background-image: url(/assets/platform_logos/bandcamp_black.png);
}
.platform-icon.icon-black.spotify {
  background-image: url(/assets/platform_logos/spotify_black.png);
}
.platform-icon.icon-black.apple {
  background-image: url(/assets/platform_logos/apple_black.png);
}
.platform-icon.icon-black.googlePlay {
  background-image: url(/assets/platform_logos/google_play_black.png);
}
.platform-icon.icon-black.xbox {
  background-image: url(/assets/platform_logos/xbox_black.png);
}
.platform-icon.icon-black.switch {
  background-image: url(/assets/platform_logos/switch_black.png);
}
.platform-icon.icon-black.playstation {
  background-image: url(/assets/platform_logos/playstation_black.png);
}
.platform-icon.icon-black.linkedin {
  background-image: url(/assets/platform_logos/linkedin_black.png);
}
@media screen and (max-width: 640px) {
  .platform-icon {
    width: 32px;
    height: 32px;
  }
}

.navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  height: 96px;
  background: #8465EC;
  color: white;
}
@media screen and (max-width: 640px) {
  .navbar {
    flex-direction: column;
    height: auto;
  }
}
.navbar .site-info {
  display: flex;
  width: 96px;
  height: 96px;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 640px) {
  .navbar .site-info {
    width: 100%;
    text-align: center;
    margin-top: 8px;
    margin-bottom: -8px;
  }
}
.navbar .site-info img {
  height: 48px;
  width: auto;
}
.navbar nav {
  margin-right: 12px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 640px) {
  .navbar nav {
    margin-right: 0;
    margin-bottom: 16px;
    width: 100%;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
  }
}
.navbar nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: fntMerelLight;
  font-size: 24px;
  text-decoration: none;
  padding-left: 20px;
  padding-right: 20px;
  text-transform: uppercase;
}
@media screen and (max-width: 640px) {
  .navbar nav a {
    margin-top: 8px;
    font-size: 20px;
    padding-left: 10px;
    padding-right: 10px;
  }
}
.navbar nav a:hover {
  text-shadow: 0px 0px 0 white;
}

.footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  background: #8465EC;
  color: white;
}
.footer .footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 700px;
}
.footer .footer-content .footer-links {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  height: 96px;
}
.footer .footer-content .footer-info {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  font-size: 14px;
  font-family: fntMerelLight;
  text-transform: uppercase;
}
.footer .footer-content .footer-info a {
  color: #ffffff;
  text-decoration: none;
}
.footer .footer-content .footer-info a:hover {
  text-shadow: 0px 0px 0 #ffffff;
}
.footer .footer-content p {
  width: 100%;
  text-align: center;
}

.games {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  row-gap: 20px;
}
@media screen and (max-width: 640px) {
  .games {
    flex-direction: column;
  }
}

.button-container {
  width: 200px;
  height: auto;
  gap: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-button {
  width: 150px;
  height: auto;
  position: relative;
  filter: drop-shadow(0px 6px 0px #5E8CF7);
}
.game-button img {
  width: 100%;
  height: auto;
  filter: brightness(0);
}
.game-button .game-button-background {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  -webkit-mask-image: url(/assets/buttons/game_button_01_mask.png);
  mask-image: url(/assets/buttons/game_button_01_mask.png);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  display: flex;
  background-color: #8465EC;
  background-size: cover;
  justify-content: center;
  align-items: center;
}
.game-button .game-button-background img {
  height: 60%;
  width: auto;
  filter: none;
  transition: height 0.2s ease-in-out;
}
.game-button .game-button-background img:hover {
  height: 70%;
}
.game-button .game-button-2 {
  -webkit-mask-image: url(/assets/buttons/game_button_02_mask.png);
  mask-image: url(/assets/buttons/game_button_02_mask.png);
}
.game-button .game-button-3 {
  -webkit-mask-image: url(/assets/buttons/game_button_03_mask.png);
  mask-image: url(/assets/buttons/game_button_03_mask.png);
}
.game-button .game-button-4 {
  -webkit-mask-image: url(/assets/buttons/game_button_04_mask.png);
  mask-image: url(/assets/buttons/game_button_04_mask.png);
}
.game-button .game-button-5 {
  -webkit-mask-image: url(/assets/buttons/game_button_05_mask.png);
  mask-image: url(/assets/buttons/game_button_05_mask.png);
}
.game-button .game-button-6 {
  -webkit-mask-image: url(/assets/buttons/game_button_06_mask.png);
  mask-image: url(/assets/buttons/game_button_06_mask.png);
}

.projectGroup {
  max-width: 100%;
  margin: .5em;
  border: 1px solid #a2a2a2;
  -webkit-box-shadow: 0 0 14px 0 black;
  -moz-box-shadow: 0 0 14px 0 black;
  box-shadow: 0 0 14px 0 black;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.main_img {
  width: 200px;
  max-width: 100%;
  max-height: 100%;
}

.projectGroup:hover {
  background-color: black;
}

.main_img:hover {
  opacity: 0.8;
}

.game-banner {
  height: 200px;
  text-align: center;
  margin-bottom: 32px;
}
.game-banner img {
  height: 100%;
  width: auto;
}

.game-content .trailer {
  text-align: center;
}
.game-content .franchise-link {
  text-align: center;
  margin: 8px;
}

.game-links {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  height: 96px;
}

.game-screenshots {
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}
@media screen and (max-width: 640px) {
  .game-screenshots {
    flex-direction: column;
  }
}
.game-screenshots img {
  width: 32%;
  height: auto;
  padding-bottom: 12px;
}
@media screen and (max-width: 640px) {
  .game-screenshots img {
    width: 100%;
    height: auto;
  }
}

.game-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 20px;
  width: 100%;
  align-items: center;
}
.game-team .game-team-member {
  margin-left: 20px;
  margin-right: 20px;
  text-align: center;
}
.game-team .game-team-member img {
  width: 80px;
  height: 80px;
  border-radius: 80px;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  font-family: fntMerel;
  color: #000000;
}

.page {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-header {
  width: 100%;
  text-align: center;
  font-family: fntMerelBold;
  font-weight: bolder;
  font-size: 48px;
}

.header-image {
  width: 100%;
  max-width: 400px;
  padding: 32px;
}

.main {
  max-width: 900px;
  width: 100%;
  height: 100%;
}

.main-content {
  margin-left: 24px;
  margin-right: 24px;
}

.main-logo {
  width: 100%;
  max-width: 200px;
  padding: 32px;
}

.franchise-logo {
  height: 200px;
  padding: 32px;
}

.photo-collage {
  display: flex;
  flex-direction: row;
  width: 100%;
}
@media screen and (max-width: 640px) {
  .photo-collage {
    flex-direction: column;
  }
}
.photo-collage img {
  width: 32%;
  height: auto;
}
@media screen and (max-width: 640px) {
  .photo-collage img {
    width: 100%;
    height: auto;
  }
}
