* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
    font-family: 'Concert One';
    font-style: normal;
    src: local('Concert One'), url('https://fonts.cdnfonts.com/s/15964/ConcertOne-Regular.woff') format('woff');
}

body {
  font-family: "Concert One", "BerkleyMono", "Andale Mono", "Courier New", monospace;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1;
  color: #333;
  font-weight: 2100;
  background-color: white;
}

.success-message {
  text-align: center;
  margin: 0 auto;
  font-weight:900;
  color:green;
  font-size: 1.5rem;
}

#contact-status {
  text-align: center;
  margin: 0 auto;
}

main {
  max-width: 1000px;
  margin: auto;
  padding: 2em;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-gap: 1em;
  margin-top: 2em;
}

.image-grid section {
  position: relative;
  display: inline-block;
}

.img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none; /* So hover remains on parent */
}

.image-grid section:hover .img-hover {
  opacity: 1;
}

.image-grid section:hover .img-nothover {
  opacity: 0;
}

.image-grid img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0.75em;
}

img {
  transition: all 0.3s ease-in-out;
  content: attr(alt);
  /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);*/
}

img:hover {
  transform: scale(1);
  z-index: 1;
  position: relative;
  content: attr(alt);
}

section {
  margin-bottom: 2em;
}

section:last-of-type {
  margin-bottom: 0;
}

h2 {
  font-size: 2.5em;
  margin-bottom: 0.75em;
  font-weight: 900;

}

label {
  display: block;
  margin-bottom: 0.5em;
}

input,
textarea {
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 3px;
  width: 100%;
  height:5rem;
  margin-bottom: 1em;
}

button[type="submit"] {
  background-color: #333;
  color: #fff;
  padding: 0.5em 1em;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #666;
}

#pixelart {
  width: 1px;
  height: 1px;
  transform: scale(3);
  background: transparent;
  box-shadow: 21px 2px #313030, 22px 2px #313030, 23px 2px #313030, 24px 2px #313030, 25px 2px #313030, 1px 3px #313030, 2px 3px #313030, 3px 3px #313030, 19px 3px #313030, 20px 3px #313030, 2px 4px #313030, 4px 4px #313030, 5px 4px #313030, 6px 4px #313030, 18px 4px #313030, 2px 5px #313030, 7px 5px #313030, 8px 5px #313030, 17px 5px #313030, 18px 5px #313030, 2px 6px #313030, 8px 6px #313030, 16px 6px #313030, 2px 7px #313030, 9px 7px #313030, 15px 7px #313030, 2px 8px #313030, 9px 8px #313030, 15px 8px #313030, 9px 9px #313030, 14px 9px #313030, 3px 10px #313030, 10px 10px #313030, 14px 10px #313030, 3px 11px #313030, 9px 11px #313030, 10px 11px #313030, 14px 11px #313030, 3px 12px #313030, 8px 12px #313030, 9px 12px #313030, 14px 12px #313030, 3px 13px #313030, 6px 13px #313030, 7px 13px #313030, 8px 13px #313030, 14px 13px #313030, 3px 14px #313030, 4px 14px #313030, 5px 14px #313030, 14px 14px #313030, 1px 15px #313030, 2px 15px #313030, 3px 15px #313030, 14px 15px #313030, 3px 16px #313030, 14px 16px #313030, 3px 17px #313030, 4px 17px #313030, 13px 17px #313030, 18px 17px #313030, 19px 17px #313030, 20px 17px #313030, 21px 17px #313030, 22px 17px #313030, 23px 17px #313030, 3px 18px #313030, 5px 18px #313030, 13px 18px #313030, 24px 18px #313030, 25px 18px #313030, 26px 18px #313030, 3px 19px #313030, 6px 19px #313030, 13px 19px #313030, 25px 19px #313030, 3px 20px #313030, 6px 20px #313030, 13px 20px #313030, 25px 20px #313030, 3px 21px #313030, 7px 21px #313030, 14px 21px #313030, 25px 21px #313030, 3px 22px #313030, 8px 22px #313030, 9px 22px #313030, 14px 22px #313030, 24px 22px #313030, 25px 22px #313030, 3px 23px #313030, 9px 23px #313030, 10px 23px #313030, 15px 23px #313030, 23px 23px #313030, 24px 23px #313030, 25px 23px #313030, 3px 24px #313030, 10px 24px #313030, 11px 24px #313030, 12px 24px #313030, 16px 24px #313030, 17px 24px #313030, 18px 24px #313030, 19px 24px #313030, 20px 24px #313030, 21px 24px #313030, 22px 24px #313030, 25px 24px #313030, 25px 25px #313030, 25px 26px #313030;
}

.linear-wipe-text-glow{
  text-shadow: 0 0 80px rgb(192 219 255 / 35%), 0 0 32px rgb(65 120 255 / 24%);
  text-align: left;
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 200% auto;
  background-clip: text;
  padding-bottom:0.3rem;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 1s linear infinite;
}

@keyframes shine {
    to {
      background-position: 900% center;
        
    }
}

/* --- Responsive Styles --- */
@media (max-width: 800px) {
  main {
    padding: 1em;
    max-width: 98vw;
  }
  h2 {
    font-size: 2em;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 14px;
    line-height: 1.2;
  }
  main {
    padding: 0.5em;
  }
  h2 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
  }
  .image-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    grid-gap: 0.5em;
    margin-top: 1em;
  }
  section {
    margin-bottom: 1em;
  }
  input,
  textarea {
    font-size: 1em;
    padding: 0.4em;
    height: 3rem;
  }
  button[type="submit"] {
    width: 100%;
    padding: 0.7em 0;
    font-size: 1em;
  }
}

@media (max-width: 400px) {
  h2 {
    font-size: 1.1em;
  }
  .image-grid {
    grid-template-columns: 1fr;
  }
  input,
  textarea {
    font-size: 0.95em;
    height: 2.2rem;
  }
}
