@import url('https://fonts.googleapis.com/css2?family=Abel&family=Dancing+Script&family=Varela+Round&display=swap');

:root {
  --primary-color: #ff3135;
  --secondary-color: #35b2ff;
}

body {
  background-color: white;
  margin: 0;
  padding: 0;
  font-family: Abel, 'Arial Narrow', Arial, sans-serif;
  font-size: 22px;
}

em {
  display: inline-block;
  font-family: 'Dancing Script', 'Arial Narrow', Arial, sans-serif;
  color: var(--secondary-color);
  vertical-align: top;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: #ffffff;
  border-bottom: 1px solid #cccccc;
  transition: all 0.3s;
  z-index: 999;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

nav {
  margin-right: 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 100px;
  transition: all 0.3s;
}

#logo-text {
  display: flex;
  flex-grow: 1;
  margin-top: 20px;
  margin-left: 10px;
  font-size: 32px;
  transition: all 0.3s;
  font-family: 'Varela Round', 'Arial Narrow', Arial, sans-serif;
  color: var(--primary-color);
}

#container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 70vw;
  max-width: 1200px;
  margin: 0 auto;
}

main {
  flex-grow: 1;
  margin-top: 110px; /* To push the content below the fixed header */
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  font-size: 16px;
  color: var(--primary-color)
}

.shrink {
  height: 60px !important;
}

.shrink .logo img {
  height: 60px !important;
}

.shrink .logo-text {
  margin-top: 12px;
  font-size: 24px !important;
}

a, a:visited, a:active {
  color: var(--secondary-color);
  text-decoration: none;
}

a:hover {
  filter: brightness(85%);
}

.letter {
  display: inline-block;
  transition: transform 0.3s;
  margin: 0 5px;
}

.letter:hover {
  transform: rotate(360deg);
}

.burger-icon {
  display: none; /* Hide the burger icon on desktop */
  cursor: pointer;
}

.menu {
  display: flex;
  list-style: none;
  justify-content: flex-end;
}

.menu li {
  margin-right: 10px;
}

.burger-icon .bar {
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);;
  margin-bottom: 4px;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.burger-icon.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-icon.open .bar:nth-child(2) {
  opacity: 0;
}

.burger-icon.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

#games-bg {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust the height as needed */
  background-image: url('../img/bg.png');
  background-size: cover;
  background-position: center;
}

.game {
  position: absolute;
  width: 128px; /* Adjust the size as needed */
  height: 128px; /* Adjust the size as needed */
  background-size: contain;
}

.game1 {
  top: 50px; /* Adjust the position as needed */
  left: 50px; /* Adjust the position as needed */
  background-image: url('../img/game-ict.png');
}

.game2 {
  top: 150px; /* Adjust the position as needed */
  right: 50px; /* Adjust the position as needed */
  background-image: url('../img/game-td.png');
}

.game3 {
  bottom: 50px; /* Adjust the position as needed */
  left: 250px; /* Adjust the position as needed */
  background-image: url('../img/game-tdx.png');
}

.press-links {
  display: flex;
  justify-content: space-around;
}

#apps {
  display: flex;
  flex-direction: column;
  row-gap: 70px;
}

.app-data {
  display: flex;
  column-gap: 20px;
}

.app-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 20px;
}

.store-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  row-gap: 10px;
}


@media (max-width: 768px), (-webkit-device-pixel-ratio: 3) {
  .burger-icon {
    display: block;
  }

  .menu {
    display: none;
    position: fixed;
    top: 35px;
    right: 0; /* Move the menu to the right */
    width: 100%;
    height: 30%;
    background-color: #fff;
    z-index: 2;
    flex-direction: column; /* Stack menu items vertically */
    justify-content: space-around; /* Center align menu items */
    align-items: center; /* Right align menu items */
  }

  .menu.open {
    display: flex;
  }

  .press-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
  }

  .app-data {
    display: flex;
    row-gap: 20px;
    flex-direction: column;
  }
}