@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('../../node_modules/bootstrap-icons/font/bootstrap-icons.css');

html {
    font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media(prefers-reduced-motion: no-preference) {
    .hidden {
        transition: all 1s;
      }
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: 'Poppins', sans-serif;
    padding: 0;
    margin: 0;
    box-shadow: inset 0 0 5rem rgb(0 0 0 / 50%);
}

section {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 100vh;
    min-width: 100%;
    padding:0;
    margin:0;
}

section#story {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: auto;
    min-width: 100%;
    padding:0;
    margin:0;
}

section#how-games-are-made {
    /* display: grid; */
    /* place-items: center;
    align-content: center; */
    min-height: auto;
    min-width: 100%;
    padding:0;
    margin:0;
}

#storycontainer {
    display: grid;
    place-items: center;
    min-height: 35vh;
    max-height: fit-content;
}

.hidden {
    opacity: 0;
    transition: all 1s;
    filter: blur(5px);
    transform: translateX(-100%);
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
    transform: translateX(0);
}

.services {
    display: flex;
}

.card .img-thumbnail {
    opacity: 1;
    transition: opacity 0.5s ease;
  }
  
  .card:hover .img-thumbnail {
    opacity: 0.5;
  }
  .card:hover .button-text {
    display: block;
  }

.button-text {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(206, 88, 20);
    font-size: 2rem;
    font-weight: 800;
}

.card:nth-child(1) {
    transition-delay: 200ms;
}
.card:nth-child(2) {
    transition-delay: 400ms;
}
.card:nth-child(3) {
    transition-delay: 600ms;
}
.card:nth-child(4) {
    transition-delay: 800ms;
}

.img-thumbnail {
    padding: 0;
}

@keyframes fadein {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

#how-games-are-made {
    height: 100%;
    width: 100%;
    padding: 0;
}

#how-games-are-made h1 {
    color: black;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
    padding-bottom: 100px;
}

#how-games-are-made li {
    text-align:center;
}

#contact {
    height: 100%;
    width: 100%;
    padding: 0;
}

#contact h1 {
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.486);
}

.services p {
    text-align: center;
    color: black;
    font-size: large;
}

#story {
    font-weight: 400;
    padding-left: 10%;
    padding-right: 10%;
    text-align: center;
}

p span.inventor {
    color: #ffb937;
    font-size: x-large;
}

p span.mob {
    color: red;
    font-size: larger;
}

p span.machine {
    color: cyan;
    font-size: x-large;
}

p span.play {
    color: rgb(0, 196, 0);
    font-size: xx-large;
}

p span.huge {
    font-size: 52px;
}

.storyline:nth-child(1) {
    animation-delay: 200ms;
}
.storyline:nth-child(2) {
    animation-delay: 400ms;
}
.storyline:nth-child(3) {
    animation-delay: 600ms;
}
.storyline:nth-child(4) {
    animation-delay: 800ms;
}

.gradient-text {
    background-image: linear-gradient(45deg, #437e96, black, #965213);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    animation: fadein 1s;
    animation-fill-mode: backwards;
}

#formbox {
    height: 27lh;
}

#how-games {
    padding-top: 90px;
}

#copy-email {
    cursor: pointer;
}