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

/* ---------------- Body ---------------- */
html, body {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.25;
  color: #000;
  background-color: #fff;
}

/* ---------------- Ticker ---------------- */
.ticker {
  width: 100%;
  padding: 5px 0;
  text-align: left;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.2;
  color: black;
  border: none;       
  background: transparent;
  overflow: hidden;
  white-space: nowrap;
}

.ticker span {
  display: inline-block;
  padding-left: 100%;
  animation: scroll 15s linear infinite;
  text-transform: none;
  font-size: 18px;
}

.ticker .millisec {
  color: red;  /* milliseconds in red */
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ---------------- Main Container ---------------- */
main.container {
  width: 30vw;       /* thinner column for desktop */
  max-width: 700px;  /* keeps paragraph readable */
  padding-left: 2vw;
  padding-top: 2rem;
  margin: 0;
  text-align: left;
}

/* ---------------- Paragraphs ---------------- */
p, .work-paragraph {
  font-size: 18px !important;
  line-height: 1.3 !important;
  margin-bottom: 1rem;
  text-align: left;
}

.bold-text {
  font-weight: bold;
}

/* ---------------- Work List ---------------- */
ul.work-list, .work-list-inline {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.work-list li, .work-item {
  display: inline;
  margin-right: 0.5rem;
  color: black;
  font-weight: 300;
  font-size: 18px !important;
  line-height: 1.2 !important;
  cursor: pointer;
}

.work-list li a {
  color: #000;
  text-decoration: none;
}

.work-list li a:hover {
  text-decoration: underline;
}

/* ---------------- Hover Preview Images ---------------- */
#preview-container {
  position: fixed;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  z-index: 1000;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 5px;  /* spacing between multiple images */
}

#preview-container img {
  max-width: 300px;
  max-height: 300px;
  margin-right: 10px;  /* space between images */
  margin-bottom: 0;    /* no extra bottom margin */
  display: inline-block;
  box-shadow: none;    /* remove shadow */
  pointer-events: none; 
}

/* ---------------- Navigation ---------------- */
nav.nav a {
  margin-right: 1rem;
  color: #000;
  text-decoration: underline;
  font-size: 18px;
}

/* ---------------- Footer ---------------- */
footer {
  font-size: 18px;
  text-align: left;
  margin-top: 2rem;
}

footer .footer-content {
  width: 30vw;
  padding-left: 2vw;
  margin: 0;
  text-align: left;
}

footer .copyright {
  opacity: 0;
  transition: opacity 0.3s;
  cursor: pointer;
}

footer .copyright:hover {
  opacity: 1;
}

/* ---------------- Links ---------------- */
a {
  color: #000;
  text-decoration: none;
  font-weight: inherit;
}

/* ---------------- Images ---------------- */
.project-image {
  width: 80%;
  max-width: 600px;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

/* ---------------- Lists ---------------- */
li {
  line-height: 1.2;
}

/* ---------------- Media Queries ---------------- */
@media (max-width: 600px) {
  main.container, footer .footer-content {
    width: 90vw;      
    padding-left: 5vw;
  }
}
