/* Default styling starts */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  color: white;
  font-size: 62.5%; /* 62.5% is chosen since 1rem is 16px; therefore, 16px*0.625=10px. Now according to this calculation, 2.2rem=22px. */
}
/* Default styling ends */

.fixed-height {
  position: relative;
  height: 100vh;
}

.cover-image {
  /* background-image: url(https://images.unsplash.com/photo-1484176141566-3674cda218f0?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjIwNzM2fQ); */
  background-image: url(assets/bg.jpeg);
  background-size: cover;
  background-position: top center;
  background-attachment: scroll;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.main-heading {
  /* border: 2px dashed blue; */
  font-family: "poppins", sans-serif;
  font-size: 8rem;
  font-weight: 600;
  letter-spacing: -0.5rem;
  line-height: 9.2rem;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 60rem;
  margin: 0 auto;
  padding: 2rem;
}

.brand {
  position: absolute;
  top: 3rem;
  left: 3rem;
  width: 22rem;
  max-width: 50%;
  height: auto;
}

.is-visible {
  opacity: 1;
  transition: opacity 1s ease-in;
}
.is-hidden {
  opacity: 0;
  transition: opacity 1s ease-out;
}
.arrow {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translateX(-50%);
}
.arrow span {
  display: block;
  width: 20px;
  height: 20px;
  border-bottom: 3px solid grey;
  border-right: 3px solid grey;
  transform: rotate(45deg);
  animation: animate 2s infinite;
}
@keyframes animate {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(0px, 0px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(20px, 20px);
  }
}

footer {
  background-color: black;
  font-family: "inter", sans-serif;
  padding: 15rem 2rem;
  margin-top: -0.5rem;
}

.center-content {
  /* border: 2px dashed blue; */
  max-width: 45rem;
  margin: 0 auto;
}

.footer-heading {
  font-size: 3.6rem;
  font-weight: 300;
}

.footer-heading--bold {
  display: block;
  font-weight: 600;
  margin: 1rem 0 2.5rem;
}

.email {
  color: inherit;
  display: inline-block;
  font-size: 2.2rem;
  text-decoration: none;
  position: relative;
}
.email::after {
  content: "";
  position: absolute;
  bottom: -3px;
  height: 1px;
  left: 0;
  right: 0;
  background-color: white;
}
