
/* MICLOWNSOFT WEBSITE */

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #ffffff;
  color: #444444;
  font-family: "Segoe UI", Arial, sans-serif;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* MAIN CONTENT */

main {
  width: 100%;
  flex: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 40px 20px 20px;
}

/* LOGO */

.logo {
  display: block;
  width: 90%;
  max-width: 600px;
  height: auto;
  margin-bottom: 30px;
}

/* CLOWN */

.clown-button {
  display: block;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.clown-button:focus-visible {
  outline: 3px solid #0078d4;
  outline-offset: 8px;
  border-radius: 12px;
}

.clown {
  display: block;
  width: 80vw;
  max-width: 430px;
  height: auto;

  transition: transform 0.2s ease;
}

.clown-button:hover .clown {
  transform: scale(1.05);
}

.clown-button:active .clown {
  transform: scale(0.97);
}

/* MUSIC MESSAGE */

.message {
  margin-top: 20px;
  font-size: 16px;
  color: #777777;
}

/* FOOTER */

footer {
  width: 100%;
  padding: 20px 15px 25px;
  color: #999999;
  font-size: 12px;
  line-height: 1.6;
}

footer p {
  margin: 4px 0;
}

/* MUSIC ATTRIBUTION */

.music-credit {
  margin: 20px auto 0;
  padding-top: 15px;
  max-width: 500px;

  border-top: 1px solid #eeeeee;

  font-size: 12px;
  color: #888888;
  line-height: 1.6;
}

.music-credit p {
  margin: 5px 0;
}

.music-credit a {
  color: #666666;
  text-decoration: underline;
}

.music-credit a:hover {
  color: #0078d4;
}

/* MOBILE */

@media (max-width: 600px) {
  main {
    padding-top: 30px;
  }

  .logo {
    width: 95%;
    margin-bottom: 20px;
  }

  .clown {
    width: 85vw;
  }

  .message {
    font-size: 14px;
  }

  footer {
    font-size: 11px;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .clown {
    transition: none;
  }
}
