@font-face {
  font-family: 'Comic Sans MS Custom';
  src: url('./Comic Sans MS.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* 1. Global Reset and Box-Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  cursor: url('./assets/cursor.png') 0 0, auto;
}

/* 2. Body Styles */
body {
  background-color: black;
  color: #4A90E2;
  font-family: "Comic Sans MS", "Comic Sans MS Custom", sans-serif;
  text-align: center;
  background-image: url('https://web.archive.org/web/20090831030452/http://geocities.com/music9494/-001.gif');
  background-repeat: repeat;
  font-size: 1.2em;
}

/* 3. Header & Animation */
header {
  background: linear-gradient(to right, #ff0000, #0000ff);
  padding: 10px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  border-bottom: 5px ridge yellow;
  animation: flashColors 2s infinite alternate;
}

@keyframes flashColors {
  0% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(360deg);
  }
}

/* 4. Logo */
.logo {
  width: 20vw;
  margin: 0 auto;
  display: block;
}

/* 7. Headings (for Sections) */
h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: red;
  font-family: "Comic Sans MS", "Comic Sans MS Custom", sans-serif;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7);
}

/* 8. Section Styles */
section {
  margin: 20px;
  padding: 20px;
  border: 5px groove hotpink;
  background: rgba(0, 0, 0, 0.8);
}

/* 12. Fun Button */
.fun-button {
  display: inline-block;
  padding: 12px 20px;
  background: #40a0ff;
  color: white;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 10px;
  margin: 10px;
  transition: 0.3s;
  font-family: "Comic Sans MS", "Comic Sans MS Custom", sans-serif;
  box-shadow: 0px 0px 10px #40a0ff;
}

.fun-button:hover {
  background: #ff4081;
  box-shadow: 0px 0px 15px #ff4081;
}

/* 16. Responsive Adjustments */
@media (max-width: 768px) {
  .logo {
    width: 50vw;
    /* Adjusted for smaller screens */
  }

  h2 {
    font-size: 6vw;
    /* Responsive font size */
  }

  body {
    font-size: 4vw;
    /* Responsive font size */
  }

  .fun-button {
    font-size: 3vw;
    padding: 8px 15px;
    width: 80%;
    /* Adjusted for smaller screens */
  }
}
