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

html {
  scroll-behavior: smooth;
  font-size: 1.3rem;
  line-height: 1.3;
}

h1, h2, h3, #div-intro, button, input {
  font-family: 'Inconsolata', 'Courier New', Courier, monospace;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-snap-type: mandatory;
}

h1, h2 {
  margin-top: 0;
}

#title {
  font-family: 'Redressed', cursive;
  width: 100%;
  padding-top: 20vh;
  height: calc(80vh - 260px); 
  text-align: center;
  font-size: 5.4rem;
  line-height: 0.8;
}

.btn-round {
  width: 48px; 
  height: 48px; 
  border-radius: 50%;
  font-size: 30px;
}

.center {
  text-align: center;
}

#intro {
  background: #19191b;
}


.slide {
  width: 100vw;
  height: 100vh; 
  padding: 60px 2rem 1.5rem;
  box-sizing: border-box;
  border-bottom: 1px solid #fff;
  scroll-snap-align: start;
}

.content {
  padding: 60px 2rem 1.5rem;
  border-bottom: 1px solid #fff;
  margin: auto;
  max-width: 70%;
}

/* Intro div */

#div-intro {
  max-width: 960px;
  margin: auto;
}

/* Tutorial */

#img-tutorial {
  width: 100%;
}

/* Characters */

.div-char {
  min-height: 200px;
}

.div-char p {
  margin-right: 160px;
}

.img-char {
  float: right;
  height: inherit;
  width: 120px;
}

/* Start */

#start-auth, #start-ready {
  display: none;
}

#btn-start {
  font-size: 1.2rem;
  padding: 8px 14px;
}

#start-auth button, #start-auth input {
  font-size: 20px;
  width: 120px;
}

/* Animation */

.invisible {
  opacity: 0;
}

@keyframes fade-in {
  from {
    opacity: 0; 
    transform: scale(.8,.8);
  }
  25% {
    opacity: 0; 
    transform: scale(.8,.8);
  }
  to {
    opacity: 1;
  }
}
.fade-in {
  animation: fade-in 2.4s;
}