* {
  box-sizing: border-box;
}
body {
  background-color: #ffffff; /*background color */
  font-family: 'Poppins', sans-serif;
  font-size: 16px; /* Sets the base font size */
  font-weight: 400;
  font-style: normal;
  font-weight: 300; /* Sets the font weight to 300 */
  line-height: 1.6; /* Sets the line-height to 1.6 * the font-size */
  color: #000000;
}

h1,
h2,
h3,
h4 {
  font-family: 'Lora', serif;
  font-weight: 400; /* Default font weight for headings */
  font-weight: 400;
  font-style: normal;
  line-height: 1.4;
}
/* h1 {
  font-size: 2.75em;
  font-weight: 700;
}

h2 {
  font-size: 2.25em;
  font-weight: 700;
}

h3 {
  font-size: 1.75em;
  font-weight: 400;
}
h4 {
  font-size: 1.35em;
  font-weight: 400;
}
*/
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); /* ~36–50px */
  font-weight: 700; /* Bold */
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem); /* ~32–38px */
  font-weight: 600; /* Semi-bold */
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem); /* ~28–32px */
  font-weight: 600; /* Medium */
}

h4 {
  font-size: clamp(1em, 2vw, 1.5rem); /* ~24–28px */
  font-weight: 500; /* Medium */
}

.bold {
  font-weight: 700;  /* or 'bold' */
}
.semi-bold {
  font-weight: 400;  /* or 'semibold' */
}

#thanks h2 {
  font-family: 'WindSong', cursive;
  font-size: clamp(1.5rem, 4vw, 2.25rem); /* ~32–38px */
  font-weight: 500; /* Semi-bold */
}
img /* General images */ {
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

.social-icon {
  width: 32px; /* Set a fixed width for social icons */
  height: 32px; /* Set a fixed height for social icons */
}
.tools-icon {
  width: 28px;
  height: 28px;
  margin-left: 6px;
}

a {
  color: #574095;
  font-weight: 500;
  text-decoration: none;
  padding: 15px 0;   /* top & bottom padding */
  display: inline-block; /* needed for vertical padding to take effect */
  text-align: center;
  position: relative;
}

a:hover {
  opacity: 0.8; /* Makes the link slightly transparent when hovered */
}

a:visited {
  /* visited link */
  color: #292033; 
  text-decoration: none; /* No underlining */
}


a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -2px;
  background: #574095;
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}



a.button {
  display: inline-flex;
  align-items: center;
  gap: 4px;

  padding: 10px 16px;
  border: 2px solid #474d69; /* stroke (outline) */
  border-radius: 6px;
  background: transparent; /* no fill */
  color: #474d69; /* text color */
  font-size: 16px;
  font-weight: 500;
  text-decoration: none; /* no underline */
  cursor: pointer;
  transition: all 0.3s ease;
}

a.button:hover {
  background: #574095; /* fill on hover */
  color: #ffffff; /* contrast text on hover */
}

a.button:visited {
  color: #6c51b5; /* visited link color */
}
a.button:active {
  background-color: #23215a; /* Even darker when clicked */
  transform: translateY(0); /* Reset lift */
}
a.logo-link {
  padding: 0;
  
}


.row {
  margin-bottom: 32px;
}

selector {
  margin: 0 auto; /* No spacing to top and bottom and auto spacing to left and right */
}
selector {
  position: relative;
}
selector {
  float: right;
}
selector {
  width: 80%;
}

/* Layout styling */
.container {
  padding: 0 15px;
}

#home .row {
  padding-bottom: 25px;
  border-bottom: 1px solid #4a4a4a;
}

#hero h1 {
  text-align: center; /* Centers text */
}
#hero{
  background-color: #ffffff;
}

.container-hero {
  background-color: #ffffff;
  display: inline-block;
  width: 100%;
  text-align: left;
  margin: 0 auto; /* Centers the hero section */
  padding-left: 15px; /* Adds padding to the left */
  padding-right: 15px; /* Adds padding to the right */
  border-bottom: 2px solid #1a232c;
  padding-bottom: 20px;
}

/* .container-table-of-content {
  display: inline-block;
  width: 100%;
  align-content: center; /* Centers the content 
  margin: 0 auto; /* Centers the table of content section 
  padding-left: 15px; /* Adds padding to the left 
  padding-right: 15px; /* Adds padding to the right 
  padding-bottom: 40px; /* Adds padding to the bottom 
}

/* Reset link padding inside TOC 
.container-table-of-content a { padding: 0 !important; }

/* Compact li padding 
.container-table-of-content ul li {
  padding: 12px 8px !important;
  margin-bottom: 8px; */

  .round-container {
  width: 40vw;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid #292033; /* outline */
  margin: 2rem auto;
  
  display: flex;
  flex-direction: column;     /* stack h2 and p */
  align-items: center;        /* center horizontally */
  justify-content: center;    /* center vertically */
  text-align: center;
  padding: 20px;              /* breathing room */
  box-sizing: border-box;
}

.round-container h2 {
  margin: 0 0 1rem 0;         /* space below headline */
  font-size: 1.4rem;
  font-weight: 600;
}
.round-container p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.large-round-container {
  width: 60vw;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid #292033; /* outline */
  margin: 2rem auto;
  
  display: flex;
  flex-direction: column;     /* stack h2 and p */
  align-items: center;        /* center horizontally */
  justify-content: center;    /* center vertically */
  text-align: center;
  padding: 20px;              /* breathing room */
  box-sizing: border-box;
}

.round-container h2 {
  margin: 0 0 1rem 0;         /* space below headline */
  font-size: 1.4rem;
  font-weight: 600;
}
.round-container p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}



.collapsible {
  background-color: #4873E3;
  color: white;
  cursor: pointer;
  padding: 12px;
  width: 100%;
  border: none;
  text-align: left;
  font-size: 16px;
  border-radius: 6px;
}

.collapsible:hover {
  background-color: #365ac0;
}

.content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #f9f9f9;
  padding: 0 15px;
  border-radius: 0 0 6px 6px;
}


/* .container-table-of-content ul {
  padding-left: 20px;  /* indent neatly */
*/
.container-footer {
  padding: 15px 15px;
}

header {
  background-color: #fdfdfd;
  opacity: 100%; /* Sets the header opacity to 100% */
  padding: 10px 0 4px;
  border-bottom: 5px solid #474d69;
  position: fixed;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  z-index: 1000;
}


.video-container {
  display: flex;
  justify-content: center;  /* centers horizontally */
  align-items: center;      /* centers vertically (if you give the container height) */
  margin: 20px auto;        /* adds space and auto-centers block */
  max-width: 100%;          /* keep responsive */
}

.video-container video,
.video-container iframe {
  max-width: 300px;          /* scales down if screen is small */
  height: auto;
  border-radius: 8px;       /* optional: rounded corners */
}

.site-logo {
  width: clamp(32px, 18vw, 48px);
  height: auto;
  flex: 0 0 auto;
  float: none !important;     /* kill earlier float rules */
  padding: 0;
}

nav {
  width: auto;
  align-items: center;
}

nav .icon i {
  font-size: 24px;
  color: #474d69;
  padding: 0;

}


.navigation a {
  text-transform: uppercase;
  font-weight: 700;
  color: #474d69;
  text-decoration: none;
  transition: 2s opacity;
}

.navigation a:hover {
  opacity: 0.8;
}

nav > ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

nav > ul > li > a {
  padding: 0 16px;
  text-transform: uppercase;
  font-weight: 700;
  color: #474d69;
}
nav > ul > li > a:hover {
  opacity: 0.8;
}

nav > ul > li > a:visited {
  color: #6c51b5;
}

main {
  padding: 108px 0 0; /* Adjusts for fixed header */
}
#content {
  background-color: #dbe0f7;
  display: inline-block;
  width: 100%;
}

#about-me {
  background-color: #ffffff;
  display: inline-block;
  width: 100%;
}
#about-me.container-hero {
  padding-bottom: 32px;
  padding-top: 32px;
  margin-bottom: 32px;
}

ul.styleguide {
  list-style: none;
}

.back-to-top {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background-color: #474d69;
  color: #fff;
  padding: 8px 12px;
  border-radius: 50%;
  font-size: 11px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}

.back-to-top:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.berlin-illustration {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-top: 20px;
}





/* Logo never gets the underline effect */
a.logo-link::after { content: none !important; }

header .container { 
  padding: 0 15; }

/* the top bar is always a single flex row */
.navtoggle {
  display: flex;
  align-items: center;
  justify-content: space-between;   /* logo left, icon right */
  position: relative;               /* anchor for dropdown panel */
  min-height: 56px;
}

/* make sure the icon really hugs the right edge of the container */
.navtoggle .icon {
  margin-left: auto;                /* pushes it to the far right */
  display: inline-flex;
  align-items: center;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1;
}

/* base menu list (hidden on mobile by default) */
.navtoggle nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;                    /* hidden until expanded */
}

/* expanded: show dropdown *below* the bar; logo+icon stay put */
.navtoggle.responsive nav ul {
  display: block;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  border-top: 1px solid #5449b680;
  z-index: 2000;
  padding: 8px 12px;
}
.navtoggle.responsive nav ul li {
  padding: 10px 0;
  border-bottom: 2px solid #5449b680;
  text-align: right;
}
.navtoggle.responsive nav ul li:last-child { 
  border-bottom: 0; 
}


.container-table-of-content ul {
  list-style: none;
  margin: 0;
}





.profile-image-wrap {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0 0 16px 0;
}

/*footer styling*/
.site-footer {
  margin-top: 64px;
  padding: 40px 20px;
  background-color: #474d69; /* your dark bg */
  color: #e6e7ee;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-wrap {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
#contact-title {
  font-size: 1.75rem;
  margin: 0 0 6px;
}
.contact-intro {
  color: #b9bbcc;
  margin: 0 0 16px;
}

.btn {
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.06s, opacity 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-email {
  color: #fff;
  background: linear-gradient(
    135deg,
    #6c51b5,
    #927bd1
  ); /* your purple gradient */
  box-shadow: 0 8px 20px rgba(108, 81, 181, 0.35);
  display: inline-block;
  align-items: center;
}
.icon-envelope {
  vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-right: 6px;
}

.contact-alt {
  margin-left: 8px;
  color: #b9bbcc;
}

.social-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: inline-flex;
  gap: 14px;
  align-items: center;
}
.social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}
.social-list a:hover {
  opacity: 0.85;
}
.icon {
  display: block;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 16px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #e6e7ee;
  text-decoration: none;
  background-color: #6c51b5;
}
.back-to-top:hover {
  opacity: 0.85;
}

copyright,
.copyright {
  margin: 14px 0 0;
  color: #b9bbcc;
  font-size: 0.75rem;
}

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


.video-responsive {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important; /* maintains 16:9 */
  overflow: hidden !important;
}

.video-responsive video {
  position: absolute!important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;  /* or contain */
}
.about-sentence {
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: center;     /* center it if in hero/about */
  max-width: 800px;
  margin: 0 auto;
}

/* weights */
.w-300 { font-weight: 300; }
.w-400 { font-weight: 400; }
.w-500 { font-weight: 500; }
.w-600 { font-weight: 600; }
.w-700 { font-weight: 700; }

/* palette colors 
.c-ink   { color: #1a232c; }  
.c-accent{ color: #574095; }  
.c-slate { color: #475569; }   
.c-berry { color: #8a4fff; }   
.c-ocean { color: #1f6feb; }   
.c-gold  { color: #b58900; }   
*/

.three-column-row {
  display: flex;
  justify-content: center;   /* centers the whole row horizontally */
  align-items: center;       /* centers vertically (optional) */
  flex-wrap: wrap;           /* allows wrapping on small screens */
  gap: 1rem;                 /* space between columns */
}

.three-col {
  flex: 0 1 30%;             /* each column takes ~30%, can shrink */
  max-width: 300px;          /* optional: keeps them from stretching too wide */
  display: flex;
  justify-content: center;   /* center content inside each column */
  align-items: center;
  text-align: center;        /* centers text/images inside */
}




/* Small screens */
@media (max-width: 640px) {
  .btn-email {
    width: 100%;
    justify-content: center;
  }
  .contact-alt {
    display: block;
    margin: 10px 0 0;
  }
  .carousel-container {
  display: flex;
  gap: 20px;                /* space between cards */
  overflow-x: auto;         /* horizontal scroll */
  scroll-snap-type: x mandatory;
  padding: 10px;
}

.carousel-item {
  flex: 0 0 300px;          /* fixed width for each item */
  background: #f9f9f9;
  border-radius: 8px;
  padding: 15px;
  scroll-snap-align: start;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

.carousel-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 10px;
}


}
/* ==============================
Medium devices (640px and larger)
================================= */
@media only screen and (min-width: 640px) {
  .col-md-7 {
    flex: 0 0 58.3333%; /* 7/12 width */
    max-width: 58.3333%;
  }

  .col-md-5 {
    flex: 0 0 41.6667%; /* 5/12 width */
    max-width: 41.6667%;
  }
  .col-md-6 {
    flex: 0 0 50%; /* 6/12 width */
    max-width: 50%;
  }
  #MuseMatch {
    margin: 0;
  }

  #SaveUp {
    margin: 0;
  }
  

  main {
    padding-top: 122px; /* Adjusts for fixed header */
  }

  body {
    font-size: 18px; /* Sets the base font size for medium devices */
    line-height: 1.8; /* Sets the line-height to 1.8 * the font-size */
  }

  #hero span {
    display: block;
  }

  .col-md-6 {
    width: 50%;
  }
  [class*='col-'] {
    float: left;
    padding: 0 10px;
  }
  .row:after {
    content: '';
    clear: both;
    display: table;
  }

  .page.about-page main {
    margin-bottom: 40px;
  }

  .page.about-page h3 {
    margin-top: 0;
  }


  /* clearfix so the parent wraps the floated image */
  .clearfix::after {
    content: '';
    display: table;
    clear: both;
  }

  /* Float the image on larger screens */
  .profile-image-wrap {
    float: left;
    width: 320px; /* set the image column width */
    max-width: 40vw; /* keep it responsive */
    margin: 0 24px 16px 0; /* space to the right/bottom of image */
  }

  .profile-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px; /* optional */
  }
  #about-me h2,
  #about-me p {
    text-align: left;
  }
  .carousel-container {
  display: flex;
  gap: 38px;                /* space between cards */
  overflow-x: auto;         /* horizontal scroll */
  scroll-snap-type: x mandatory;
  padding: 10px;
}

.carousel-item {
  flex: 0 0 350px;          /* fixed width for each item */
  background: #f9f9f9;
  border-radius: 8px;
  padding: 15px;
  scroll-snap-align: start;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

  
}
 



  /* ==========================
Large devices (1024px and larger)
================================= */
  @media only screen and (min-width: 1024px) {
    body {
      font-size: 20px; /* Sets the base font size for large devices */
      line-height: 1.6; /* Sets the line-height to 1.6 * the font-size */
    }

    .col-lg-7 {
      flex: 0 0 58.3333%; /* 7/12 width */
      max-width: 58.3333%;
    }

    .col-lg-5 {
      flex: 0 0 41.6667%; /* 5/12 width */
      max-width: 41.6667%;
    }
    .col-lg-6 {
      flex: 0 0 50%; /* 6/12 width */
      max-width: 50%;
    }

    .container {
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }
    header {
      padding: 20px 0 13px;
      text-align: left; /* Aligns header text to the left */
      align-items: center;
    }


  
    .site-logo {
      float: left; /* Floats the logo to the left */
      padding: 0;
    }

    nav {
      float: right; /* Aligns navigation links to the right */
      margin-left: 20px;
    }

    nav > ul {
      display: flex;
      gap: 18px;
    }
.navtoggle nav ul {
    display: flex;
    gap: 18px;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
  }
  .navtoggle .icon { display: none; }     /* no hamburger on desktop */
  .navtoggle.responsive nav ul li {
    border: 0; 
    padding: 0 ; 
    text-align: left;

  }
  
.video-container {
    max-width: 360px;        /* optional cap */
    height: auto !important; /* override any inline height */
  }

#projects .column.col-md-6.col-lg-7 {
  border: 2px solid #ccc;   /* light gray border */
  border-radius: 8px;       /* rounded corners */
  padding: 12px;            /* inner spacing so border isn't flush */
  box-sizing: border-box;   /* keep widths consistent */

}
#about .row.container {
  border-bottom: 2px solid #e0e0e0; /* light gray line */
  padding-bottom: 24px;
  margin-bottom: 32px;
  padding-top: 24px;
  border-radius: 8px;
  box-sizing: border-box;
  border: 1px solid #574095;   /* light gray border */

}




.projects .row.container {
  border-bottom: 2px solid #e0e0e0; /* light gray line */
  padding-bottom: 24px;
  margin-bottom: 32px;
  padding-top: 24px;
  border-radius: 8px;
  box-sizing: border-box;
  border: 1px solid #574095;   /* light gray border */
}
  /* .row.container {
   background-color: #f0f0f0; /* optional background color */
  



  /* Lightbox */
 a.zoom::after { content: none !important; } /* prevent underline effect */
  .zoom { cursor: zoom-in; display: inline-block; }
  .zoom picture, .zoom img { display: block; }
  .zoom img { transition: transform .25s ease; }
  .zoom:hover img { transform: scale(1.015); }

  /* overlay container */
  .lightbox {
    position: fixed; inset: 0;
    display: none;                         /* hidden by default */
    align-items: center; justify-content: center;
    background: rgba(0,0,0,.85);
    z-index: 9999;                         /* above header (yours is 1000) */
    padding: 24px;
    cursor: zoom-out;                      /* hint: click outside to close */
  }
  .lightbox[aria-hidden="false"] { display: flex; }

  /* image inside overlay */
  .lightbox__img {
    max-width: 96vw; max-height: 94vh;
    border-radius: 10px;
    box-shadow: 0 12px 48px rgba(0,0,0,.5);
    object-fit: contain;
    transform: scale(.985);
    opacity: .001;
    transition: transform .18s ease, opacity .18s ease;
  }
  .lightbox[aria-hidden="false"] .lightbox__img {
    transform: scale(1);
    opacity: 1;
  }

  /* close button */
  .lightbox__close {
    position: absolute;
    top: 32px;
    right: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;
    border-radius: 50%;

    background: rgba(0,0,0,.65);
    color: #fff;
    border: 0;
    cursor: pointer;
    z-index: 10000;

    transition: background .15s ease, transform .12s ease;
  }

  .lightbox__close i {
    font-size: 24px; /* FA icon size inside */
    line-height: 1;
  }

  .lightbox__close:hover { background: rgba(0,0,0,.8); transform: scale(1.05); }
  .lightbox__close:active { transform: scale(.95); }

a[data-zoom]::after { content: none !important; }

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.9); /* translucent white */
  z-index: 9999;
  padding: 24px;
  color: #000; /* black text */
}

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.lightbox__caption {
  margin-top: 12px;
  font-size: 15px;
  color: #000; /* stays black */

  }
  }



  /* ==============================
X-large devices (1440px or larger)
================================= */
  @media only screen and (min-width: 1440px) {
  }
  
  /* ==============================
Extra-large devices (1920px or larger)
================================= */
  @media only screen and (min-width: 1920px) {
  }
