@import url("https://use.typekit.net/jpk8txa.css");

* {
  box-sizing: border-box;
  margin: 0;
  font-family: "bunyan-pro", sans-serif;
  padding: 0;
  font-weight: 600;
}

header {
  height: 100svh;
  background-image: url(hero1.png);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
}

.headline {
  color: #fff;
  font-size: 160px;
  font-weight: 600;
  margin-top: -30px;
  height: 175px;
}

.h1-container {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  height: 175px;
}

.header-text {
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 600;
  color: #1f1c20;
  position: absolute; 
}

.email-text {
  font-size: 18px;
}

.email-link-text {
  text-decoration: none;
}

.contact-text {
  bottom: 170px;
  font-size: 27px;
}

.email-text:hover {
  font-size: 17px;
  transition: 0.7s;
  cursor: pointer;
}

.socialmedia-container {
  display: flex;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  gap: 30px;
  margin-bottom: 10px;
}

.socialmedia-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #1f1c20;
  z-index: 1;
  position: relative;
}

.socialmedia-icon:hover {
  transition: 0.5s;
}

.socialmedia-icon > img {
  width: 30px;
  height: 30px;
}

.apple-icon > img {
  margin-right: 3.2px;
}

#animation-container {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

@media only screen and (max-width: 768px) {
  .h1-container {
    height: 140px;
  }

  .headline {
    margin-top: 30px;
    font-size: 74px;
  }

  .socialmedia-icon {
    width: 40px;
    height: 40px;
  }

  .socialmedia-icon > img {
    width: 20px;
    height: 20px;
  }

  .socialmedia-container {
    gap: 20px;
    bottom: 10px;
  }

  .apple-icon {
    margin-right: 0;
  }

  .header-text {
    bottom: 90px;
  }

  .contact-text {
    font-size: 22px;
    bottom: 130px;
  }
  .email-text {
    font-size: 12px;
  }
  .email-text:hover {
    font-size: 10px;
    transition: 0.7s;
    cursor: pointer;
  }
}

.animation-container {
  position: absolute;
  top: 1px;
  /* move animation up */
  /* move animation left */
  z-index: 0;
  transform: scale(1.3);
}

