@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  background: url("./images/charlie-garcia-unsplash.jpg") center/cover no-repeat;
  background-color: hsla(0, 0%, 100%, 0.75);
  background-blend-mode: overlay;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

}

h1,
h2 {
  font-family: "Playfair Display", serif;
}


header a {
  padding: 1rem;
  background-color: #e7e3dc;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  .mahjong_logo {
    font-size: 6rem;
  }
  p {
    padding-top: 1rem;
    font-style: italic;
  }
}
main {
  padding: 1rem;
  flex: auto;
  section {
    padding: 2rem 1rem 0;
    margin: 0 2rem;
    ul {
      list-style: inside square;
      /* padding: 1rem 1rem 0; */
    }
  }
}

footer, header {
  background-color: hsl(38, 19%, 88%);
  text-align: center;
  padding: 1rem;
}

footer {
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  .mahjong {
    font-size: 3rem;
  }
  .copyright {
    font-size: 1rem;
  }
}



/* Animações */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.fade-in.delay-500 {
  animation-delay: 0.5s;
}

.fade-in.delay-1000 {
  animation-delay: 1s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
