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

body {
  font-family: 'DM Sans', sans-serif;
  color: rgb(255, 255, 255);
  display: grid;
  grid-auto-rows: 100vh;
  margin: 0;

}

@media screen and (min-width: 600px) {
  section{
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: top;
    display: grid;
    grid-template-columns: 3fr 2fr 1fr;
    grid-template-rows: 1fr 1fr 2fr;
  }
}

/* On screens that are 600px or less, set the background color to olive */
@media screen and (max-width: 600px) {
  section{
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: top;
    display: grid;
    grid-template-columns: 3fr auto 1fr;
    grid-template-rows: 1fr 1fr 2fr;
  }
}

div{
  grid-column: 2;
  grid-row: 2;
  overflow: visible;
  transition: 0.4s 0.1s ease-out;
  word-wrap: break-word;
  
  max-width: 80vw;
  padding: 10px;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
h1 {
  font-size: 75px;
  margin: 0px 0px 0px 20px;
  font-weight: bold;
}
a{
  color: white;
  /* text-decoration: none; */
  font-size: 22px;
  margin: 10px 0px 0px 20px;
  font-weight: normal;
}

h2 {
  font-size: 22px;
  margin: 10px 0px 0px 20px;
  font-weight: normal;
}

@media screen and (max-width: 600px) {
  h1 {
    font-size: 25px;
  }
  
  h2 {
    font-size: 18px;
  }
  
  a {
    font-size: 18px;
  }
}
.text:nth-child(2){
  transition-delay: 1s;
}

.hidden{
  transform: translateY(25%);
  filter: blur(5px);
  opacity: 0;
}
.show{
  transform: translateY(0);
  filter: blur(0);
  opacity: 1;
}