body {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  min-height: 100vh;
}

.info {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* header*/
nav {
  font-size: 3rem;
}

#logo {
  height: 8rem;
  width: 8rem;
}

#main-nav {
  margin-right: 0;
}

#main-nav p {
  font-size: inherit;
}

/*splash*/

#splash {
  position: relative;
  background-color: var(--red4);
  height: 100vh;
}

#splash-bottom {
  height: 6rem;
  background-color: var(--red3);
  width: 100%;
  position: absolute;
  bottom: 0;
}

#splash svg {
  bottom: 5rem;
  position: absolute;
}

#title,
#tagline {
  color: var(--red1);
  position: absolute;
  text-align: center;
  padding: 0;
  margin: 0;
}

#title {
  width: 95%;
  font-size: 4rem;
  top: 2rem;
  height: 4.3rem;
  left: 2.5%;
}

#tagline {
  top: 7rem;
  width: 90%;
  font-size: 5rem;
  left: 5%;
  animation: pulse 7.5s infinite;
}

#tagline span {
  max-width: 35ch;
  margin: auto;
  display: block;
}

#splash-message {
  bottom: 2.2vw;
  position: absolute;
  width: 95%;
  font-size: 2rem;
  left: 2.5%;
}

#splash-mini {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/*body*/

.info svg {
  width: 40vw;
  max-height: 70vh;
}

.card {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 3rem;
  height: 70vh;
}

@media screen and (max-width: 80vh) {
  .card {
    flex-direction: column;
  }
  .info svg {
    width: 90vw;
    max-height: 70vh;
  }
}

h2 {
  font-size: 3rem;
}

p {
  font-size: 4rem;
  text-align: center;
}

img {
  max-height: 70vh;
}

/*------------------------ animation------------*/

@keyframes fadeInUp {
  0% {
    margin-top: 50px;
    opacity: 0;
  }
  50% {
    margin-top: 0px;
    opacity: 0;
    opacity: 1;
  }
  100% {
    margin-top: 50px;
    opacity: 0;
    opacity: 0;
  }
}

.fade-on-scroll {
  margin-left: 1rem;
  animation: 7.5s infinite fadeInUp;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  95% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
