*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-size: 93.75%;
}

body {
  background-color: #fffffe;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    "Helvetica Neue", Arial, sans-serif;
  color: #2d334a;
  text-align: center;
  line-height: 1.6;
  overflow-x: hidden;
  box-sizing: border-box;
}

.heading-3 {
  font-size: 1.2rem;
}

#main {
  background-image: url("images/background.jpg");
  border-radius: 0.3rem;
  margin: 1.3rem 0.5rem;
  padding: 1.7rem 0;
  opacity: 0;
  animation: isVisible 1.5s ease-out 0.5s;
  animation-fill-mode: forwards;
}

#header {
  animation: moveInTop 3s ease-out;
}

#title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.2rem;
}

#subtitle {
  color: #ffd803;
  font-weight: 600;
  text-shadow: 0.03rem 0.03rem 0.03rem rgb(255 216 3 / 40%);
}

#img-div {
  background-color: #fffffe;
  border-radius: 0.3rem;
  margin: 0.3rem 0.7rem;
  padding-bottom: 0.2rem;
  opacity: 0;
  animation: isVisible 3s ease-out 1s;
  animation-fill-mode: forwards;
}

#image {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 100%;
}

#img-caption {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0.2rem auto;
}

#tribute-info {
  width: 41%;
  margin: 2rem auto 0 auto;
  animation: moveInBottom 3s ease-out;
}

#headline {
  transition: all 0.2s;
}

#headline:hover {
  transform: skewX(15deg) scale(1.1);
  text-shadow: 0.5rem 1rem 2rem rgba(0, 0, 0, 0.2);
}

#ul-list,
#blockquote {
  max-width: 70%;
  /*max-width: 33rem;*/
  text-align: justify;
  text-shadow: 0.03rem 0.03rem 0.03rem rgb(45 51 74 / 40%);
}

#ul-list {
  font-size: 1rem;
  margin: 1.4rem auto;
}

#ul-list li {
  margin-bottom: 1rem;
}

#blockquote {
  font-size: 0.9rem;
  font-style: italic;
  margin: 2.7rem auto;
}

#tribute-link {
  color: #0646f7;
}

#tribute-link:active {
  color: #9656a1;
}

@keyframes isVisible {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes moveInTop {
  0% {
    opacity: 0;
    transform: translateY(-33rem);
  }
  100% {
    opacity: 1;
    transform: translate(0);
  }
}

@keyframes moveInBottom {
  0% {
    opacity: 0;
    transform: translateY(33rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1800px) {
  #tribute-info {
    width: 51%;
  }
}

@media (max-width: 1200px) {
  #image {
    width: 70%;
  }

  #img-caption {
    width: 70%;
  }

  #tribute-info {
    width: 71%;
  }
}

@media (max-width: 900px) {
  html {
    font-size: 63.75%;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 40.75%;
  }
}
