/* Styles for personal site */

body {
  color: #fefefe;
  background-color: #0c0d10;
}

/* page-level centering */
body.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* vertical centering in viewport */
  text-align: center;       /* center inline content */
}

.container {
  margin: 0 auto;
  width: 100%;
  max-width: 1170px;
}

@font-face {
  font-family: "gohu";
  src: url("gohu.woff") format("woff");
}

pre {
  font-family: "gohu", "Lucida Console", monospace, Monaco;
  font-size: 14px;
  line-height: 1;
  -webkit-text-size-adjust: 140%;
  margin: 0; /* remove default spacing */
}

a {
  /* Color for links */
  color: #fbff00;
  text-decoration: none;
}

.text-left {
  display: inline-block;
  text-align: left;
}

.ascii-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* clickable image cursor hint */
.ascii-header img {
  cursor: pointer;
}

.gradient-text {
  margin-bottom: 5px;
  background: linear-gradient(to right, #ff00ff, #00ffff, #ff00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* cycle through the hue spectrum */
  animation: huecycle 10s linear infinite;
}

@keyframes huecycle {
  from { filter: hue-rotate(0deg); }
  to   { filter: hue-rotate(360deg); }
}

.highlight {
  color: #19ff04;
}

.highlight2 {
  background: linear-gradient(90deg, #ffa500, #ffec00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight3 {
  background: linear-gradient(90deg, #2f00ff, #ff00c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.image-container {
  display: flex;
  padding: 1px;
  flex-wrap: wrap;
  justify-content: center;
}

.image-container img {
  max-width: 100%;
  height: 300px;
  margin: 10px;
}

.rounded-image {
  border-radius: 20%;
  overflow: hidden; /* Used at end of page */
}

.image-button {
  border: none;
  cursor: pointer;
  overflow: hidden;
  display: inline-block;
  background-color: #0c0d10;
}

.image-button img {
  transition: transform 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}

.image-button:hover img {
  transform: scale(1.1);
}
