@keyframes movingBackground {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: -20px -20px;
  }

  100% {
    background-position: 0 0;
  }
}

body,
html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  overflow-y: hidden;
}

.landing {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 105vh;
  background-image: linear-gradient(
      rgba(39, 129, 130, 0.9),
      rgba(39, 129, 130, 0.95)
    ),
    url("./images/background.jpg");
  background-repeat: no-repeat;
  background-size: 120%;
  color: white;
  padding-left: 40px;
  padding-right: 40px;
  animation: movingBackground 10s infinite;
}

.logo {
  position: absolute;
  top: 20px;
  left: 40px;
  width: 160px;
  height: auto;
}

.landing h1,
.landing h2 {
  margin: 0;
}

.separator {
  width: 150px;
  height: 5px;
  background-color: #ff6900;
  margin: 20px 0;
}

.footer {
  position: absolute;
  bottom: 0;
  background-color: #ff6900;
  height: 50px;
  width: 100%;
  opacity: 0.5;
}

h1 {
  color: #ff6900;
}

h2 {
  color: #ff6900;
  margin-top: 20px;
}

p {
  margin: 10px 0;
}

.note {
  font-style: italic;
  color: white;
}

button {
  border-radius: 4px;
  background-color: #fb553a;
  border: none;
  color: #fff;
  text-align: center;
  font-size: 16px;
  padding: 14px 20px;

  transition: all 0.5s;
  cursor: pointer;
  margin-top: 16px;
}

button {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

button:after {
  content: "»";
  position: absolute;
  opacity: 0;
  top: 14px;
  right: -20px;
  transition: 0.5s;
}

button:hover {
  padding-right: 24px;
  padding-left: 8px;
}

button:hover:after {
  opacity: 1;
  right: 10px;
}

@media (max-width: 1240px) {
  .landing {
    animation: none;
    background-size: cover;
    background-attachment: fixed;
  }
}

/* Media query per tablet */
@media (max-width: 768px) {
  body {
    overflow-y: scroll;
  }

  h1 {
    margin-top: 80px !important;
  }
  .landing {
    padding-left: 20px;
    padding-right: 20px;
    animation: none;
    background-size: cover;
    background-attachment: fixed;
    height: unset;
  }

  button {
    margin-bottom: 40px;
  }

  .footer {
    position: relative;
  }

  .logo {
    width: 120px;
    left: 10px;
  }

  h1,
  h2 {
    font-size: 1.5rem;
  }
}

/* Media query per mobile */
@media (max-width: 480px) {
  body,
  html {
    overflow-y: scroll;
  }
  .landing {
    padding-left: 10px;
    padding-right: 10px;
    animation: none;
    background-size: cover;
    background-attachment: fixed;
  }

  .logo {
    width: 100px;
  }

  h1,
  h2 {
    font-size: 1.2rem;
  }
}
