@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@700&display=swap');

:root {
  --color1: #464D77;
  --color2: #0E9594;
  --color3: #FE621D;
  --color3-hovered: #FE7134 ;
  --color4: #ABABAB;
  --color-text1: black;
  --color-text1-hovered: #ABABAB;
  --color-text2: white;
  --color-text3: #464D77;

  --general-font: "Open Sans", sans-serif;
}

body {
  margin: 0px;
}

#page {
  background-color: var(--color4);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

#page-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  width: 100%;
}

#homepage-title {
  font-family: var(--general-font);
  margin-bottom: 0px;
  color: var(--color-text1);
  font-size: 5em;
}

#homepage-subtitle {
  font-family: var(--general-font);
  color: var(--color-text1);
  font-size: 2em;
}

.fade-in {
  animation-name: title-fade-in;
  animation-duration: 3s;
}

@keyframes title-fade-in {
  from {opacity: 0;}
  to {opacity: 1;}
}

#game-canvas {
  margin-top: 20px;
  height: 360px;
  width: 640px;
  background-color: red;
}

#page-title {
  font-family: var(--general-font);
  color: var(--color-text1);
  font-size: 1.7em;
}

.page-textbox {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-textbox p {
  font-family: var(--general-font);
  margin: 0px;
  color: var(--color-text1);
  font-size: 1em;
}

.page-textbox a {
  font-family: var(--general-font);
  text-decoration: none;
}

#game-holders {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-holder {
  margin: 24px 0px;
  width: 60%;
  height: 180px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.desc-and-button {
  height: 85%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  align-items: center;
}

.desc-and-button p {
  font-family: var(--general-font);
  font-size: 0.9em;
  width: 80%;
  margin: 0px;
}

.desc-and-button a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--general-font);
  text-decoration: none;
  color: var(--color-text1);
  background-color: var(--color3);
  border: none;
  font-size: 1.2em;
  height: 30%;
  width: 60%;
}

.desc-and-button a:hover {
  background-color: var(--color3-hovered);
}

#page-normal-text {
  font-family: var(--general-font);
}

.highlighted-text {
  color: var(--color-text3);
}

header {
  font-family: var(--general-font);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 45px;
  background-color: var(--color1);
}

#header-links {
  display: flex;
  flex-direction: row;
  justify-content: right;
  align-items: center;
}

#header-links a {
  font-size: 1.1em;
  margin-right: 60px;
  text-decoration: none;
  color: var(--color-text1);
}

#header-links a:hover {
  color: var(--color-text1-hovered);
}

#header-logo {
  margin-left: 20px;
  color: var(--color-text2);
  font-size: 2em;
}

footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 45px;
  background-color: var(--color1);
}

#copyright-mark {
  margin-left: 20px;
  font-size: 0.8em;
  font-family: var(--general-font);
}

#twitter-logo-social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 48px;
}

#twitter-logo-social-icon img {
  height: 27px;
  width: 32px;
}

#itch-logo-social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 48px;
}

#itch-logo-social-icon img {
  height: 27px;
  width: 32px;
}

.social-media-wrapper {
  margin-right: 20px;
}

