@font-face {
  font-family: 'Martian Mono';
  src: url('../fonts/martianmono.woff2') format('woff2');
  font-display: swap;
}

/* * { */
/*   box-sizing: border-box; */
/* } */

html {
  font-size: 16px;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: linear-gradient(300deg, #1a47f5, #009940, #db6d08);
  background-size: 240% 240%;
  animation: gradient-animation 24s ease infinite;
  align-items: center;
}

.titlewrap {
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 2.5%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #00000030;

  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
}

.contentwrap {
  margin-top: 2%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1300px;
  padding-bottom: 30px;
}

.title {
  font-family: 'Martian Mono';
  font-weight: bolder;
  color: white;
  font-size: 40px;
  text-align: center;
  border-right: 2px solid white;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 1.5s steps(16) forwards, blink 1s step-end infinite;
  border-right: .12em solid white;
}

.project-title a {
  font-size: 1.1em;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 0.2em;
  text-decoration: underline;
  color: #00ffff;
}

.project p {
  margin-top: 0;
  margin-bottom: 1.6em;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
  min-width: 48%;
}

@media (max-width: 1020px) {
  .contentwrap {
    flex-direction: column;
    align-items: center;
  }

  .column {
    max-width: none;
    width: 90%;
  }
}

.contentbox {
  width: 90%;
  max-width: 800px;
  background-color: #00000030;
  color: white;
  font-family: 'Martian Mono', monospace;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px #00000050;
  backdrop-filter: blur(5px);
}

.contentbox h1 {
  margin-top: 0;
  font-size: 28px;
  color: white;
  border-bottom: 2px solid gray;
  padding-bottom: 5px;
}

.contentbox p {
  font-size: 16px;
  line-height: 1.5;
}

.title .gray {
  color: gray;
}

.emoji {
  font-family: "Segoe UI Emoji", "Noto Emoji", sans-serif;
  font-size: 1.4em;
  vertical-align: middle;
}

.highlight {
  color: #00ffaa;
  font-weight: bold;
}

.highlight-link {
  color: #00ffaa;
  text-decoration: underline;
}

.highlight-link:hover {
  color: #66ffe0;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 16ch;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media only screen and (max-width: 600px) {
  .title {
    font-size: 7vw;
  }
  .contentwrap {
    margin-top: 5%;
  }
}
