@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    color-scheme: light dark;
    --bg-blue: light-dark(#ecf5ed, #384B55);
    --bg-yellow: light-dark(#fef2d5, #45443c);
    --bg-green: light-dark(#f3f5d9, #3c4841);
    --bg: light-dark(#fffdf7, #131719);
    --bg-hard: light-dark(#fffbef, #272e33);
    --fg: light-dark(#5c6a72, #d3c6aa);
    --fg-hard: light-dark(##2e3539, ##e9e2d4);
    --red: light-dark(#f85552, #e67e80);
    --orange: light-dark(#f59d26, #e69875);
    --yellow: light-dark(#dfa000, #dbbc7f);
    --green: light-dark(#8da101, #a7c080);
    --blue: light-dark(#3a94c5, #7fbbb3);

    --border-green: 3px solid var(--green);
    --border-blue: 3px solid var(--blue);
    --border-yellow: 3px solid var(--yellow);
}

body {
    background: var(--bg);
}

#try-out-now {
    text-align: center;
    background: linear-gradient(0deg,var(--bg-yellow) 0%, var(--bg-blue) 100%);
}

.green-blue-gradient {
    text-align: center;
    background: linear-gradient(0deg,var(--bg-blue) 0%, var(--bg-green) 100%);
    height: 50px;
}

#game-link {
    background: var(--bg-green);
    color: var(--green);
    border: none;
    font-weight: 700;
    font-style: normal;
    font-size: 2rem;
    padding: 10px;
    text-align: right;
}

.header-box {
    background: var(--bg-green);
    display: flex;
    justify-content: space-between;
    border-top: var(--border-green);
    border-bottom: var(--border-green);
}

@media (max-width: 600px) {
  .header-box {
    flex-direction: column;
    height: auto;
  }
}

.my-big-header {
    background: var(--bl-green);
    color: var(--green);
    display: inline-flex;
    padding: 10px;
    font-size: 3rem;
}

.blue-bg {
    padding: 10px;
    background: var(--bg-blue);
}

.main-content-box {
    padding: 0px;
    margin: 0px;
    display: flex;
    justify-content: space-between;
    border: var(--border-blue);
    border-radius: 20px;
    background: var(--bg-blue);
}

#abra-image {
    overflow: hidden;
}

#abra-image-container {
    display: flex;
    background: var(--bg-yellow);
    border: var(--border-yellow);
    border-radius: 10px;
    height: 500px;
    width: auto;
    margin: 10px;
}

@media (max-width: 1200px) {
  .main-content-box {
    flex-direction: column;
    height: auto;
  }
  #abra-image {
      max-height: 100%;
      height: initial;
      width: auto;
      margin-left: auto;
      margin-right: auto;
  }
}
@media (max-width: 750px) {
    #abra-image-container {
	height: 200px;
  }
}
#about-me-paragraph {
    padding: 10px;
    display: flex;
    color: var(--fg);
    margin: 0;
    flex-direction: column;
    font-family: "Space Grotesk", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
}

* {
  font-family: "Space Grotesk", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
}

h1 {
    margin: 0;
    font-family: "Space Mono", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2rem;
    color: var(--fg-hard);
    text-shadow: 5px 5px 5px var(--bg-hard);
}

body {
    padding: 0;
    border: 0;
    margin: 0;
    background: var(--bg);
}

#game-box {
    background: var(--bg);
}

#game-list {
    background: var(--bg-yellow);
    display: flex;
}

.game-entry-thumbnail {
    border-radius: 10px;
    border: 3px solid var(--yellow);
    width: 20em;
    height: 20em;
    align-self: flex-end;
    transition-duration: 0.4s;
}

.game-entry-thumbnail:hover {
    border: 3px solid var(--bg);
}

@media (max-width: 666px) {
    .game-entry-thumbnail {
	width: 15em;
	height: 15em;
    }
}

.game-entry {
    display: flex;
    padding: 5px;
    padding-bottom: 0;
    margin: 10px;
    background: var(--bg-yellow);
    color: var(--fg);
    border: 3px solid;
    border-radius: 20px;
    border-color: var(--yellow);
    width: 50%;
}

.game-entry-short-description {
    padding: 5px;
    margin: 0px;
    font-size: 1.5rem;
}

@media (max-width: 1250px) {
    #game-list {
	flex-direction: column;
	height: auto;
    }
    .game-entry {
	width: auto;
    }
}

@media (max-width: 500px) {
    * {
	font-size: 12px;
    }
}

a {
    color: unset;
    text-decoration: none;
}

.entry-header {
    color: var(--fg-hard);
    margin-left: 10px;
    font-weight: bold;
    font-size: 2.0rem;
    transition-duration: 0.4s;
    text-decoration: underline;
}

.entry-header:hover {
    text-shadow: 5px 5px 5px var(--yellow);
    text-decoration: wavy underline;
}

.game-entry-text-box {
    width: 100%;
}


#bevy-canvas {
    border-radius: 10px;
    margin: 5px;
    border: 5px solid var(--blue);
    width: 70%;
    height: auto;
}

p {
    color: var(--fg);
    font-size: 1.1rem;
}

span.highlight_warning {
    font-weight: bold;
    color: var(--fg-hard);
    text-shadow: 0px 0px 5px var(--yellow);
}

span.bold {
    font-weight: bold;
    color: var(--fg-hard);
}

span.bold {
    font-weight: bold;
    color: var(--fg-hard);
}

#game-warning {
    max-width: 500px;
}

#game-description {
    height: fit-content;
    margin: 5px;
    background: var(--bg-blue);
    border: 5px solid var(--blue);
    border-radius: 10px;
    width: 30%;
    padding: 5px;
    font-size: 1rem;
}

#canvas-parent {
    background: var(--bg-blue);
    display: flex;
    height: 100vh;
}

@media (max-width: 1200px) {
    #canvas-parent {
	flex-direction: column;
    }
    #game-description {
	width: auto;
    }
    #bevy-canvas {
	background: red;
	width: unset;
	height: 100%;
    }
}

button {
    transition-duration: 0.4s;
    background: var(--bg-yellow);
    border: 3px solid var(--yellow);
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
}

button:hover {
    background: var(--bg);
    border-color: var(--green);
    border-radius: 10px;
}

button:disabled {
    background: var(--fg);
    border-color: var(--bg-hard);
    color: var(--bg);
    border-radius: 10px;
}


#replace_by_game {
    height: fit-content;
    padding: 5px;
    margin: 5px;
    background: var(--bg-green);
    border-radius: 10px;
    border: 4px solid var(--green);
}

#base64-mail {
}
