@import url('https://fonts.googleapis.com/css2?family=Viga&display-swap');

:root {
  --main-bg-color: #875D4A;
  --main-text-color: #FCB829;
  --header-text-color: #FCB829;
  --game-outline-color: #FCB829;
  --game-hover-color: #FCB829;
  --main-bg-tex: url("/assets/img/pattern_green.png");
  /* #899D03, #FCB829, #875D4A, #FE7126, #F04D32 */
}

* {
  box-sizing: border-box
}

body,
html {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
}

body {
  background-color: var(--main-bg-color);
  background-image: var(--main-bg-tex);
  font-family: 'Viga', sans-serif;
}

.page_container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  vertical-align: flex-start;
  margin: 0 auto;
  justify-content: space-between;
  min-height: 100vh;
  width: 95vw;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2vh;

  a {
    color: var(--header-text-color);
    text-decoration: none;
  }

  ul {
    list-style: none;
  }
}

footer{
  height: 5.4vh;
}

h1 {
  color: var(--header-text-color);
  font-weight: 700;
  font-size: min(6vw, 3rem);
  white-space: nowrap;
  text-align: center;
  font-family: 'Viga', sans-serif;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
}

h2 {
  color: var(--main-text-color);
  font-weight: 700;
  font-size: min(5vw, 2rem);
  white-space: nowrap;
  text-align: center;
  font-family: 'Viga', sans-serif;
  text-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2);
  
  a {
    color: var(--main-text-color);
    text-decoration: none;
  }
}

h3 {
  color: var(--main-text-color);
  font-weight: 700;
  font-size: min(4vw, 1.5rem);
  /* white-space: nowrap; */
  max-width:1000px;
  text-align: center;
  font-family: 'Viga', sans-serif;
  text-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2);
}

body {
  color: var(--main-text-color);
  font-size: min(3vw, 1.33rem);
  text-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2);
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.banner_element {
  outline: 2px solid var(--game-outline-color);
}

.social {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
  font-size: min(2.5vw, 1.2rem);
  text-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2);

  img {
    height: 2rem;
  }

  a {
    padding: .2rem;

    img {
      transition: all .125s ease-out;
      filter: drop-shadow(0px 3px 4px rgba(0, 0, 0, 0.2));
    }
  }

  a:hover img {
    transform: scale(1.25);
  }

  li {
    display: flex;
    margin: 0.5rem;
  }
}

.steam {
  display: flex;
  align-items: center;

  img {
    padding: .5rem;
    height: 4rem;
    /* transition: all .125s ease-out; */
  }

  /* :hover {
    transform: scale(1.25);
  } */
}

.image_group {
  max-width: 1000px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  text-decoration: none;
}

.image_element {
  display: flex;
  object-fit: cover;
  height: 18rem;
  outline: 2px solid var(--game-outline-color);
}

.game-cards {
  max-width: 1000px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.game {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  transition: all .125s ease-out;
  text-align: center;
  white-space: nowrap;
  padding: 1rem;
  text-decoration: none;
  /* outline: 4px solid black; */
}

.game-logo {
  height: 20rem;
  object-fit: cover;
  outline: 2px solid var(--game-outline-color);
}

.game-gif {
  object-fit: cover;
  overflow: auto;
  height: 20rem;
  outline: 2px solid var(--game-outline-color);
}

.upcoming-left {
  border-radius: 1.5rem 0 0 1.5rem;
}

.upcoming-right {
  border-radius: 0 1.5rem 1.5rem 0;
}

.associated {
  border-radius: 1.5rem;
}

a.game:hover {
  transform: scale(1.05);
  text-decoration: none;

  /* .game-logo {
    outline: 2px solid var(--game-hover-color);
  }
  .game-gif {
    outline: 2px solid var(--game-hover-color);
  } */
}

/* .steamwidgetdiv {
  display: flex;
} */

.steamwidget {
  /* display: flex;
  flex-shrink: 1; */
  width: 646;
  height: 190;
}

.about span {
  white-space: nowrap;
}

.spacer {
  height: 1.1vh;
}

.newsletter {
  color: white;
  width: 450px;
  margin: 2rem 0;
}

.newsletter-text {
  color: white;
  font-size: 20px;
  text-align: center;
  width: 100%;
}

input[type=text], input[type=button], input[type=submit], button {
  appearance: none;
  -webkit-appearance: none; /* make these stylable in safari */
  margin: 0;
}

.submit {
  border: none;
  font-family: Viga;
  padding: 0 30px;
  font-size: 16px;
  background-color: #551c09;
  cursor: pointer;
  border-radius: 5px;
  height: 38px;
  color: var(--main-text-color);
}

.submit:hover {
  background-color: #66220b;
}

.email {
  width: 100%;
  font: inherit;
  color: black;
  border-radius: 5px;
  height: 38px;
  padding: 6px 10px;
  background-color: #fff;
  border: 1px solid #D1D1D1;
}

.email::placeholder {
  font-family: 'Viga', sans-serif;
}

@media (min-width: 1250px) {
  .page_container {
    width: 1200px;
  }
}

@media (max-width: 1100px) {
  .image_group {
    display: grid;
  }
}

@media (max-width: 1000px) {
  header {
    flex-direction: column;
    align-items: center;
  }
  
  .social li {
    margin: 0.25rem;
  }
}

@media (max-width: 700px) {
  .bottom {
    flex-direction: column;
    align-items: center;
  }

  .archive {
    margin-top: 1rem;
    text-align: right;
  }
}

@media (max-width: 661px) {
  .steamwidget {
    transform: scale(0.75);
  }
}

@media (max-width: 640px) {
  .game-logo {
    height: 16rem;
  }

  .game-gif {
    height: 16rem;
  }
}

@media (max-width: 549px)
{
  .image_element {
    height: 15rem;
  }

  .squeeze
  {
      text-align: right;
  }

  .squeeze>*:first-child
  {
      width: 100%;
      border-bottom-right-radius: 0;
      margin-bottom: 0;
  }

  .squeeze>*:last-child
  {
      border-top-left-radius: 0;
      border-top-right-radius: 0;
  }
}

@media (max-width: 520px)
{
  .steamwidget {
    transform: scale(0.64);
  }

  .game-logo {
    height: 12.8rem;
  }

  .game-gif {
    height: 12.8rem;
  }
}

@media (max-width: 440px)
{
  .steamwidget {
    transform: scale(0.57);
  }
  .image_element {
    height: 12.8rem;
  }
}

@media (min-width: 550px)
{
    .squeeze
    {
        display: flex;
        flex-direction: row;
    }

    .squeeze>*:not(:first-child)
    {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .squeeze>*:not(:last-child)
    {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
}
