/* Simple reset and variables */
:root {
  --bg: #000000;
  /* primary page background */
  --card: #000000;
  /* surface/card color */
  --muted: #9ca3af;
  /* muted text */
  --accent1: #111111;
  /* accents kept near-black */
  --accent2: #000000;
  --surface: #000000;
  --text: #ffffff;
  /* main text color */
  --radius: 12px;
  --max-width: 1100px;
}

* {
  box-sizing: border-box
}

html {
  overflow-y: scroll; overflow-x: hidden;
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  width: 100%;
}

body {
  margin: 0;
  font-family: "Helvetica Neue";
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

img {
  overflow: auto;
  max-width: fit-content;
}

.container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: flex;
  /* padding: 1.25rem */
}

main {
  /* height: 100%;  */
  /* width: 100%; */
  display: flex;
  flex-direction: column;
  align-content: space-between;
  justify-content: space-between;
  align-items: center;
  /* margin: 0px 60px 0px 60px; */
}

/* Header */
.site-header {
  /* backdrop-filter: blur(8px); */
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 60;
  /* background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.25)); */
  background: #000000;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.04); */
  /* box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6); */
  border-radius: 1;
  /* width: 100%; */
  height: 40px; 
  /* max-width: none; */
  padding: 0px 60px 0px 60px;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  /* gap: 1rem; */
  justify-content: space-between;
  /* margin: 0px 60px 0px 60px; */
}

.nav-left,
.nav-center,
.nav-right {
  display: flex;
  align-items: center;
  margin-top: 2px;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%)
}

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
}

.header-link {
  color: var(--text);
  text-decoration: none;
  padding: 0.4rem 0rem 0.4rem 0rem;
  /* border-radius: 8px */
}

.header-link:hover,
.header-link:focus {
  background: rgba(255, 255, 255, 0.02)
}

/* Annoucement Bar */
.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: fixed;
  /* transform: translate(-50%, 0%); */
  left: 0;
  right: 0;
  top: 45%;
  z-index: 55;
  /* background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.25)); */
  font-family: Helvetica;
  font-weight: 900;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 7rem;
}

.marquee span {
    display: inline-block;
    overflow: hidden;
    animation: scroll 900s linear infinite;
}

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

/* Images */
.container-image {
  width: 100%;
  height: 100%;
  flex-direction: row;
  padding: 8px 60px 8px 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  overflow: auto;
}

#first-image-container {
  padding: 0px 0px 8px 0px;
  z-index: 50;
  /* make this container a stacking context so we can overlay a gradient */
  position: relative;
  overflow: hidden;
}

#first-image-container::after {
  /* black gradient overlay at the bottom of the images */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%; /* tweak this value to increase/decrease gradient coverage */
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.99));
  pointer-events: none; /* don't block interactions */
  z-index: 10;
}

#first-image-medium {
  display: none;
}

#first-image-small {
  display: none;
}

.images {
  width: 100%;
  height: 100%
}


/* About */

.title {
  font-size: 1.6rem;
  font-weight: 420;
  margin: 1.5rem 0rem 0rem 0rem;
}

a:link {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.container-about {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: start;
  gap: 30px;
  padding: 0px 60px 0px 60px;
  margin: 0px 0px 0px 0px;
  z-index: 66;
  background-color: #000000;
  margin-bottom: 60px;
}

.subcontainer-about {
  min-width: 20%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin: 0rem 0rem 0rem 0rem;
}

#back-to-top {
  color: var(--text) !important; 
}

/* Contact */
.contact {
  padding: 3rem 0
}

/* Footer */
.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: #000000;
  width: 100%;
  height: 40px;
  max-width: none;
  padding: 12px 0px 8px 0px;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center
}

/* Social icons in footer */
.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none
}

.social-icons a:hover,
.social-icons a:focus {
  opacity: 0.5;
}

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
  display: block
}

.social-icons a:hover svg,
.social-icons a:focus svg {
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
  transform: translateY(-2px)
}

.social-icons a:focus {
  outline: 3px solid rgba(255, 255, 255, 0.08);
  outline-offset: 4px
}

/* Responsive */
@media (max-width:900px) {

  /* #marquee-animation {
    top: 15%;
    width: 300%;
  } */

  .container-about {
    flex-direction: column;
    align-items: start;
    gap: 1rem;
  }

  .subcontainer-about {
    margin: 0.25rem 1rem 0.25rem 1rem;
    /* gap: 10px; */
  }
  
  .title {
    margin: 0rem 0rem 0rem 0rem;
  }

  .title a {
    margin-bottom: 5rem;
  }

  #first-image-large {
    display: none;
  }

  #first-image-medium {
    display: block;
  }

  #first-image-small {
    display: none;
  }

  .container-image {
    flex-direction: row;
    padding: 1rem 1rem 1rem 1rem;
    gap: 20px;
  }

  .social-icons a {
    width: 30px;
    height: 30px;
  }

  .primary-nav {
    display: none
  }

  .nav-toggle {
    display: inline-flex
  }

  /* make floating header and footer slightly smaller on narrow screens */
  .site-header,
  .site-footer {
    width: 100%;
    /* width: calc(100% - 1.5rem); */
    /* border-radius: 10px */
  }

  /* On small screens keep header links in normal flow (no absolute centering) */
  .nav-center {
    position: static;
    transform: none;
    margin: auto
  }
}

@media (max-width:600px) {


  /* #marquee-animation {
    top: 15%;
    width: 350%;
  } */

  .marquee {
    font-size: 5rem;
  }

  #first-image-large {
      display: none;
  }

  #first-image-medium {
      display: none;
  }

  #first-image-small {
    display: block;
  }

  .social-icons a {
    width: 20px;
    height: 20px;
  }

  .container-image {
    flex-direction: row;
    /* padding: 1rem 1rem 1rem 1rem; */
    /* gap: 20px; */
  }

  /* .container rule not needed here */
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

a:focus {
  outline: 3px solid rgba(99, 102, 241, 0.18);
  outline-offset: 3px
}

button:focus {
  outline: 3px solid rgba(6, 182, 212, 0.18);
  outline-offset: 3px
}