body, html {
  background: linear-gradient(#f9d8bf 0%, #d6c5ff 45%);
  font-size: 14px;
  height: 100%;
  margin: 0;
  padding: 0;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}

.content {
  background-color: rgba(255, 255, 255, 0.2);
  height: calc(100% - 500px);
  margin: auto;
  margin-top: 50px;
  max-width: 400px;
  max-height: 500px;
  padding: 50px;
  position: relative;
  text-align: center;
}
.title {
  color: black;
  display: block;
  font-family: "Patua One", serif;
  font-size: 300%;
  text-align: center;
  user-select: none;
}
.name {
  color: black;
  display: block;
  font-family: "Patua One", serif;
  font-size: 500%;
  text-align: center;
  user-select: none;
}
.subtitle {
  color: black;
  display: block;
  font-family: "Varela Round", serif;
  font-size: 130%;
  line-height: 300%;
  margin-bottom: 32px;
  text-align: center;
  user-select: none;
}
.resume {
  align-items: center;
  bottom: 30px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-family: "Montserrat", serif;
  font-weight: 900;
  height: 70px;
  left: calc(50% - 56px);
  justify-content: center;
  padding: 20px;
  position: absolute;
  user-select: none;
  width: 70px;
}
.resume:hover,
.resume:hover > *,
.resume > *:hover {
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
  animation-name: resume_hover;
}
@keyframes resume_hover {
	from { color: black; }
	to { color: #7b2ec3; }
}
i.fas {
  display: block;
  font-size: 200%;
  padding: 12px 15px 10px 15px;
}
.layered-image {
  position: absolute;
  width: 100%;
}
.background {
  bottom: 50px;
  height: 285px;
  pointer-events: none;
  position: absolute;
  width: 100%;
  user-select: none;
}
#background-layer-0 {
  background-image: url("intro-layer-0.svg");
  background-size: 140px 40px;
  bottom: 0;
  height: 24px;
  z-index: 5;
}
#background-layer-1 {
  background-image: url("intro-layer-1.svg");
  background-position-x: 140px;
  background-size: 720px 150px;
  bottom: 0;
  height: 145px;
  z-index: 4;
}
#background-layer-2 {
  background-image: url("intro-layer-2.svg");
  background-size: 800px 160px;
  bottom: 0;
  height: 150px;
  z-index: 3;
}
#background-layer-3 {
  background-image: url("intro-layer-3.svg");
  background-size: 800px 160px;
  bottom: 40px;
  height: 150px;
  z-index: 2;
}
#background-layer-4 {
  background-image: url("intro-layer-4.svg");
  background-size: 600px 160px;
  background-position-x: 600px;
  bottom: 60px;
  height: 150px;
  z-index: 1;
}

.footer {
  align-items: center;
  background-color: #0c001c;
  bottom: 0;
  display: flex;
  height: 50px;
  justify-content: center;
  position: absolute;
  width: 100%;
}
i.link {
  color: white;
  font-size: 20px;
  opacity: 0.4;
  padding: 0 10px;
  text-decoration: none;
  transition: 300ms;
}
i.link:hover {
  opacity: 1;
}

@media (max-width: 640px) {
  i.link {
    font-size: 20px;
    padding: 0 15px;
  }
  i.link:hover {
    padding: 0 15px;
  }
}

@media (max-height: 800px) {
  .content {
    height: calc(100% - 370px);
    margin-top: 20px;
    padding: 20px;
  }
  .resume {
    bottom: 5px;
  }
}

@media (max-height: 650px) {
  .title {
    font-size: 250%;
  }
  .name {
    font-size: 350%;
  }
  .subtitle {
    font-size: 90%;
  }
  .content {
    height: calc(100% - 340px);
    margin-top: 15px;
    padding: 20px;
  }
  .resume {
    bottom: 5px;
  }
  .resume {
    font-size: 90%;
  }
  i.fa-angle-double-down {
    border-width: 2px;
    font-size: 130%;
    padding: 10px 13px 8px 13px;
  }
}

@media (max-height: 560px) {
  .resume {
    visibility: hidden;
  }
}

@media (max-height: 470px) {
  .content {
    visibility: hidden;
  }
}
