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

/* ------------- Base Layout ------------- */
body {
  font-family: "PT Mono", monospace;
  background-color: white;
  color: black;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ------------- Bars ------------- */
.top-bar,
.bottom-bar {
  position: fixed;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 1;
}
.top-bar { top: 0; height: 3rem; }
.bottom-bar { bottom: 0; height: 3rem; }

/* ------------- Links ------------- */
.corner {
  position: fixed;
  font-size: 1.2rem;
  padding: 1rem;
  z-index: 1000;
  display: block;
  
  text-decoration: none; /* removes underline */
  color: inherit;        /* use the surrounding text color */
}
.top-left { top: 0; left: 0; }
.top-right { top: 0; right: 0; text-align: right; }
.bottom-left { bottom: 0; left: 0; }
.bottom-right { bottom: 0; right: 0; }

.top-center {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

/* ------------- Container Layout ------------- */
.container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding-bottom: 2.5rem;
  flex: 1;
}
.center-content {
  width: 70vw;
  margin: 0 1rem;
  text-align: left;
}

/* ------------- Typography ------------- */
.main-title {
  font-size: 23vw; /* Responsive scaling */
  font-weight: bold;
  
  margin: 3rem 0 2rem;
  color: rgb(109, 236, 63);
}
.description {
  color: black;
  font-size: 1rem;
  line-height: 1.3rem;
  margin: 1rem 0;
}

.project-links a {
  color: rgb(22, 113, 198);  /* sets link color */
  text-decoration: none;       /* removes underline */
  line-height: 2rem;
}

.godeblurb {
  font-style: italic;
  color: black;
  font-size: 0.7rem;
  margin: 1rem 0;
}

/* Optional styling for ARASHIDA (brand) */
.brand {
  letter-spacing: 5px;
  
}

strong {
  
  font-weight: bolder;
  text-shadow: 0 0 0 #000; /* trick: thickens strokes */
 
}

/* ------------- Media & Images ------------- */
.profile-image {
  display: block;
  max-width: 270px;
  width: 100%;
  margin: 1rem auto;
  height: auto;
}

.inline-image {
  width: 50%;
  float: left;
  margin: 1rem;
  border-radius: 8px;
}


/* Hue rotation animation */
.main-title:hover
{
  filter: hue-rotate(120deg);
}

.main-title
 {
  transition: filter 1s ease;
}

/* Hover glitch animation */

.main-title:hover
 {
  animation: glitch 0.07s steps(2, end) infinite;
}

/* Glitch keyframes */
@keyframes glitch {
  0% {
    transform: skew(2deg, 2deg) translate(0, 0);
    clip-path: inset(0% 0% 0% 0%);
  }
  20% {
    transform: skew(0.5deg, -0.5deg) translate(-2px, 1px);
    clip-path: inset(10% 0% 85% 0%);
  }
  40% {
    transform: skew(-0.5deg, 0.5deg) translate(2px, -1px);
    clip-path: inset(85% 0% 5% 0%);
  }
  60% {
    transform: skew(2deg, 2deg) translate(0, 0);
    clip-path: inset(0% 0% 0% 0%);
  }
  100% {
    transform: none;
    clip-path: inset(0% 0% 0% 0%);
  }
}



/* ------------- Other Responsive Tweaks ------------- */
@media (max-width: 768px) {
  .main-title {
    font-size: 23vw;
    hyphens: auto;
    overflow-wrap: break-word;
    margin-top: 0;
  }

  .center-content {
    flex-basis: 100%;
    margin-top: 3rem;
  }

  .bottom-left,
  .bottom-right {
    padding-bottom: 0.5rem;
  }

  .top-bar { height: 3rem; }
  .bottom-bar { height: 2.5rem; }

  .description { font-size: 1rem; }

  .corner { font-size: 1rem; }
}



