/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

.container {
  
  flex-wrap: wrap;
  justify-content: center;
  
}

@font-face {
  font-family: 'DeterminationMono';
  src: url('dtm-mono.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'DeterminationMono', monospace;
  background-color: black;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  margin-top: 18vh;
  text-align: center;
  position: relative;
  padding-top: 0;
}



.img {
  
  max-width: 100%;
  height: auto; 
  
}



.header-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #111;
  padding: 12px 24px;
  border-bottom: 2px solid white;
  top: 0;
  z-index: 1000;
  position: fixed;
  left: 0;
  width: 100%;
}

.nav-links {
  display: flex;
  gap: 10vw;
  text-align: center;
  font-size: 24px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: yellow;
}



a {
  
  color: white;
  text-decoration: none;
  
}

p {
  
  font-size: 24px;
  max-width: 750px;
  margin: 0 auto;
  color: white;
  text-shadow: 2px 2px 0px #290347;
  
}

h2 {
  
  font-size: 32px;
  max-width: 750px;
  margin: 0 auto;
  color: white;
  text-shadow: 2px 2px 0px #290347;
  
}

h3 {
  
  font-size: 64px;
  max-width: 750px;
  margin: 0 auto;
  color: white;
  text-shadow: 2px 2px 0px #290347;
  margin-top: 25vh;
  
}

h1 {
  
  font-size: 48px;
  margin: 0 auto;
  max-width: 750px;
  text-shadow: 2px 2px 0px #290347;
  
}

.and {
  
  margin-top: 5vh;
  
}

.yellow {
  
  color: yellow;
  
}

.full-image {
  width: 100vw;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15vh;
  opacity: 0;
  transition: opacity 1s ease-out;
}

.full-image.show {
  opacity: 1;
}

.logo {
  width: 650px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.prologue {
  margin-top: 5vh;
  color: yellow;
}

.image-fade-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  justify-content: center;
  overflow: hidden;
}

.fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to bottom, transparent, #3242e7); /* match section bg */
  pointer-events: none;
}

.fade-mid {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to bottom, #3242e7, black); /* adjust as needed */
  pointer-events: none;
  z-index: 1;
}

.colored-section {
  background-color: #3242e7;
  color: white;              
  padding: 60px 20px;
  text-align: center;
}




.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.zoom-img {
  width: 300px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
  object-fit: contain; /* optional */
  border: 3px solid;
}

.zoom-img:hover {
  border-color: yellow;
  transform: scale(1.05);
}

/* Modal Styles */
.zoom-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.zoom-modal.active {
  display: flex;
}

.zoomed-image {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px black;
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}




.news {
  position: relative;
  z-index: 2;
  padding-bottom: 20px;
  background-color: black;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.news-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.news-link:hover .news-card {
  transform: scale(1.02);
  border-color: yellow;
}

.news-card {
  display: flex;
  align-items: center;
  background-color: black;
  border: 2px solid white;
  border-radius: 10px;
  padding: 16px;
  width: 90vw;
  max-width: 600px;
  margin: 20px auto;
  gap: 16px;
  transition: transform 0.2s ease;
}

.news-icon {
  width: 96px;
  height: 96px;
  border-radius: 4px;
}

.news-text {
  color: white;
}

.news-date {
  color: yellow;
  margin: 0;
  text-align: left;
}

.news-title {
  margin: 4px 0;
}

.news-subtitle {
  color: white;
  margin: 0;
}


.analyst-link {
  position: fixed;
  top: 40%;
  right: 0;
  width: 100px;
  height: 150px;
  z-index: 1000;
  display: block;
  overflow: visible;
}

.analyst-img {
  position: absolute;
  right: -100px; /* Start off-screen */
  top: 0;
  width: 100px;
  height: auto;
  opacity: 0;
  transform: translateX(0) rotate(0deg);
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.analyst-link:hover .analyst-img {
  opacity: 1;
  transform: translateX(-100px) rotate(-20deg);
  pointer-events: auto;
  cursor: pointer;
}

.button {
  
  height: 35vh;
  margin-top: 10vh;
  
}


.inline-text {
  display: flex;
  gap: 50px;
  justify-content: center;
  color: white;
}


a.link {
  color: cyan;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  font-size: 48px;
}

a.link:hover {
  color: yellow;
  transition: 0.2s;
}
