* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

html {
  font-family: 'Rubik', sans-serif;
  height: 100%;
  scroll-behavior: smooth; }

body {
  height: 100%;
  width: 100vw;
  overflow-x: hidden;
  background-color: #2F2148;
  overflow: overlay; }

::-webkit-scrollbar {
  width: .5rem; }

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3); }

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 1rem; }

.wrapper {
  max-width: calc(1500px + 3rem);
  padding: 0 1.5rem;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; }

@-webkit-keyframes appear {
  0% {
    opacity: 0; }
  100% {
    opacity: 1; } }

@keyframes appear {
  0% {
    opacity: 0; }
  100% {
    opacity: 1; } }

section {
  padding: 5rem 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  background-image: url("../img/gamedevSubpageBackground.png");
  background-size: cover;
  background-position: center; }
  section .wrapper h1 {
    opacity: 0;
    max-width: 100%;
    color: #fff;
    font-size: 4.5rem;
    font-weight: 900;
    text-align: center;
    width: 35rem;
    line-height: 4.7rem;
    margin-bottom: 1rem;
    -webkit-animation: appear 2s forwards;
    animation: appear 2s forwards; }
  section .wrapper > p {
    color: #c8c9cc;
    font-size: 1.2rem;
    text-align: center;
    width: 60rem;
    line-height: 2.2rem;
    max-width: 100%;
    opacity: 0;
    -webkit-animation: appear 2s 0.2s forwards;
    animation: appear 2s 0.2s forwards; }
  section .wrapper .container {
    max-width: 100%;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; }
    section .wrapper .container .subcontainer {
      width: 23rem;
      max-width: 100%;
      margin: 1rem 2rem;
      opacity: 0;
      transition: transform 0.3s;
      text-decoration: none; }
      section .wrapper .container .subcontainer:hover {
        transform: scale(1.1); }
      section .wrapper .container .subcontainer:nth-child(1) {
        -webkit-animation: appear 2s calc(0.2s + 0.2s * 1) forwards;
        animation: appear 2s calc(0.2s + 0.2s * 1) forwards; }
      section .wrapper .container .subcontainer:nth-child(2) {
        -webkit-animation: appear 2s calc(0.2s + 0.2s * 2) forwards;
        animation: appear 2s calc(0.2s + 0.2s * 2) forwards; }
      section .wrapper .container .subcontainer:nth-child(3) {
        -webkit-animation: appear 2s calc(0.2s + 0.2s * 3) forwards;
        animation: appear 2s calc(0.2s + 0.2s * 3) forwards; }
      section .wrapper .container .subcontainer .thumbnail {
        width: 100%;
        height: 15rem;
        border-radius: 0.5rem; }
      section .wrapper .container .subcontainer div {
        margin-top: 0.3rem;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap; }
        section .wrapper .container .subcontainer div p {
          max-width: 100%;
          color: #fff;
          font-size: 1.4rem;
          font-weight: 700; }

@media screen and (max-width: 1200px) {
  html {
    font-size: 0.9rem; } }

@media screen and (max-width: 480px) {
  section .wrapper h1 {
    font-size: 4rem;
    line-height: 4.3rem; }
  section .wrapper .container .subcontainer {
    margin: 1rem 0; } }
