html {
  margin: 20px;
  background-color: #f5f5f5;
}

body {
  max-width: 1000px;
}

h1 {
  font-size: 3rem;
  color: #0a0a0a;
  font-family: Arial, Helvetica, sans-serif;
}

.page-description {
  font-size: 1.5rem;
  color: #0a0a0a;
}

a {
  color: #f36b66;
}
a:hover {
  color: #6167a8;
}

::selection {
  background-color: #f36b66;
  color: #000;
}

.highlight-text {
  position: relative;
  text-decoration: underline dashed;
  text-decoration-color: #f36b66;
  color: #f36b66;
  cursor: pointer;
}

.highlight-text:hover::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("/projects/music/haeppy.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 9999;
  opacity: 0.96;
  pointer-events: none;
  animation: shake 0.3s infinite;
}

.highlight-text:hover {
  z-index: 9999;
}

@keyframes shake {
  0% {
    transform: translate(0px, 0px);
  }
  25% {
    transform: translate(10px, -10px);
  }
  50% {
    transform: translate(-3px, 3px);
  }
  75% {
    transform: translate(3px, 3px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}

.intro-img {
  width: 30px;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.5s ease-in-out;
  transform-origin: center center;
}

.intro-img:hover {
  transform: scale(5);
  opacity: 0.95;
}

.intro-img-save {
  font-size: 1.3rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  .highlight-text {
    text-decoration: none;
    color: inherit;
  }

  .highlight-text:hover::after {
    content: none;
  }
}
