:root {
  --maincolor: #841ef9;
  --highlight: #e8d3ff;
  --offcolor: #5a12ad;
  --white: #fff;
}


/* YOUTUBE EMBED RESPONSIVE */

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.fotorama {
  margin: 0 0 32px;
}

#logo {
  width: 20vw;
  margin-bottom: 50px;
}

#info {
  text-align: center;
  margin-bottom: 50px;

  display: flex;
  justify-content: center;
  align-items: center;
  > p {
    width: 22vw;
  }
}

body {
  padding: 100px;
  background-color: var(--maincolor);
  perspective: 1500px;
  cursor: url("./img/Pointer.png"), auto;

  text-align: center;
  font-family: "Inter", sans-serif;
  color: var(--white);
}

h1 {
  margin: 0 0 32px 0;
}

p {
  font-size: 1.3em;
}

a {
  color: var(--white);
  text-decoration: underline;
}
a:hover {
  color: var(--highlight);
}

.footer-text {
  font-weight: 300;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

ul {
  text-align: left;
  font-size: 1.3em;
}

.game-card {
  width: 350px;
  height: 500px;
  background-color: var(--offcolor);
  border-radius: 10px;

  box-shadow: 0 1px 5px #00000099;

  position: relative;

  transition-duration: 300ms;
  transition-property: transform, box-shadow;
  transition-timing-function: ease-in-out;
  transform: rotate3d(0);
}

.game-card:hover {
  transition-duration: 150ms;
  transform: scale(1.05);
  box-shadow: 0 5px 20px 5px #ffffff44;
}

footer {
  margin-top: 120px;
}

button {
  background-color: var(--offcolor);
  color: var(--white);
  transform: scale(1);
  padding: 10px 16px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  box-shadow: 0 5px 20px 5px #ffffff00;
  transition: ease-in-out 0.2s;
}

button:hover {
  background-color: var(--highlight);
  color: var(--offcolor);
  transform: scale(1.1);
  border: none;
  box-shadow: 0 5px 20px 5px #ffffff44;
  cursor: pointer;
}

button:hover i {
  color: var(--offcolor);
}

i {
  color: var(--white);
  transform: scale(1);
  transition: 0.2s ease-in-out;
}

i:hover {
  transform: scale(1.1);
}

.card {
  font-weight: bold;
  padding: 1em;
  text-align: right;
  color: #181a1a;

  width: 300px;
  height: 400px;
  box-shadow: 0 1px 5px #00000099;

  border-radius: 10px;
  background-size: cover;

  position: relative;

  transition-duration: 300ms;
  transition-property: transform, box-shadow;
  transition-timing-function: ease-out;
  transform: rotate3d(0);
}

.card:hover {
  transition-duration: 150ms;
  box-shadow: 0 5px 20px 5px #00000044;
}

.card .glow {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;

  background-image: radial-gradient(circle at 50% -20%, #ffffff22, #0000000f);
}

@media only screen and (max-width: 1500px) {
  #logo {
    width: 30vw;
    margin-bottom: 50px;
  }

  #info {
    > p {
      width: 50vw;
    }
  }

  body {
    padding: 5vw;
  }

  footer {
    margin-top: 32px;
  }
}

@media only screen and (max-width: 900px) {
  #logo {
    width: 50vw;
    margin-bottom: 50px;
  }

  #info {
    > p {
      width: 80vw;
    }
  }

  body {
    padding: 5vw;
  }

  footer {
    margin-top: 32px;
  }

  .flex-center {
    display: block;
  }
}
