
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    font-family: 'Montserrat', Tahoma, Arial, sans-serif;
    font-weight: 300;
    scroll-behavior:smooth;
}

.project-body{
    padding-top: 120px;
}

.canvas {
    display: block;
  }
  
  .logo {
    height: 100px;
    transition: opacity 0.4s ease;
    position: absolute;
  }
  
  .logo-black {
    opacity: 0; /* hidden by default */
  }
  
  .navbar.scrolled .logo-black {
    opacity: 1;
  }
  
  .navbar.scrolled .logo-white {
    opacity: 0;
  }
  /* Sticky Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 110px;
  z-index: 1000;
  background: transparent;
  transition: background-color .3s ease, box-shadow .3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0);
}

/* optional static variant you had */
.static-navbar { 
    position:fixed;
    top: 0; left: 0; right: 0;
    background: black; 
    height: 110px;
}

/* blur/white on scroll */
.navbar.scrolled,
.static-navbar.scrolled {
  background-color: rgba(255,255,255,0.5) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
  backdrop-filter: blur(10px) !important;
}

/* inner layout */
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 10vw, 120px);
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

/* logo swap (fade) */
.logo { height: 56px; width: auto; position: absolute; transition: opacity .25s ease; }
.logo-black { opacity: 0; }
.logo-white { opacity: 1; }
.navbar.scrolled .logo-black { opacity: 1; }
.navbar.scrolled .logo-white { opacity: 0; }
.static-navbar.scrolled .logo-black { opacity: 1; }
.static-navbar.scrolled .logo-white { opacity: 0; }

/* desktop nav */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 0;
  padding: 0;
  background: transparent;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: white;
  transition: color .2s ease;
}

.nav-links a:hover { color: #d0d0d0; }

/* when navbar is light, switch link color to dark */
.navbar.scrolled .nav-links  a { color: #111; }
.static-navbar.scrolled .nav-links a { color: #111; }
.navbar.scrolled .nav-links a:hover { color: #444; }

/* hamburger base */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: white;
}

/* when navbar is light, make hamburger dark */
.navbar.scrolled .hamburger { color: #111; }

/* ===== Mobile ===== */
@media (max-width: 1000px) {
  .hamburger { display: block; }

  /* mobile dropdown (hidden by default) */
  .nav-links {
    position: absolute;
    width: 90%;
    top: 110px;
    right: clamp(12px, 5vw, 40px);
    background: #333;
    border-radius: 12px;
    padding: 12px;
    flex-direction: column;
    gap: 30px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s step-end;
  }

  /* open state */
  .nav-links.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .18s ease, transform .18s ease, visibility 0s step-start;
  }

  /* keep links readable on dark dropdown */
  .nav-links a { color: white !important; }
  .nav-links a:hover { color: #cfcfcf; }
}

#portfolio, #about, #skills, #contact {
    scroll-margin-top: 13vh;
}

.home-page {
    background-color: black;
    width: 100% ;
}

.home {
    position: relative;
    color: white;
    font-size: 25px;
    justify-content: space-between;
    padding-left: 35px;
    display: flex;
    height: 105vh;
    align-items: center;
}

.intro{
    font-size: 25px;
    padding-top: 100px;
    justify-content: space-between;
    padding-left: 35px;
    display: flex;
    z-index: 1;
}

.intro-text{
    padding-right: 35px;
}


.imageContainer {
    border-radius: 10px;
    padding-right: 150px;
    
}

.home img {
    border-radius: 10px;
    width: 500px;
    margin-bottom: 50px;

}

@media (max-width: 1000px) {
  .home {
    color: white;
    font-size: 25px;
    flex-direction: column;
    align-items: center;
    display: flex;
    height: auto;
  }

  .home img {
    width: 600px !important;
  }

  .intro {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    padding-top: 15%;
    margin-top: 0;
  }
  
  .intro-text {
    text-align: center;
  }
  .imageContainer {
    margin-bottom: 20px;
    justify-content: center;
    padding-right:5% !important;
    align-items: center;
  }

  .imageContainer img{
    display:block;
    margin: auto;
  }

  .blob-outer-container{
    position: relative;
    height: 80%;
    width: 100%;
    z-index: 0;
    top: 0;
    left: 0;
    margin: 0;
    filter: blur(100px);
  }

  .blob-inner-container{
    border-radius: 99999px;
    position: relative;
    inset: 0;
    margin: auto;
    width: 100%;
    height: 80%;
    overflow: hidden;
    transform: scale(0.8);
  }

  .blob{
    position: relative;
    width: 10vw;
    height: 50%;
    inset: 0;
    margin: auto;
    background: conic-gradient(from 0deg, #08f, #f60, #bbffa1, #bbf, #4c00ff, #ab2666, #09f);
    animation: spinBlob 8s linear infinite;
    z-index: 0;
  }

}

.portfolio {
    background: white;
    font-size: 30px;
    text-align: center;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.portfolio h1 {
    justify-self: center;
}

.portfolio-container {
    display: flex;
    justify-content: space-between;
    padding-left: 8vw;
    padding-right: 8vw;
}

.portfolio-text {
    padding-top: 5vh;
    opacity: 0;
    transform: translateX(200px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.portfolio-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.portfolio-tile{
    text-decoration: none;
    background-color:rgb(230, 230, 230);
    color: black;
    opacity: 0;
    transform: translateX(-200px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    width: 25vw;
    border-radius: 30px;
}

.portfolio-tile:hover{
    background-color:rgb(201, 201, 201);
    width: 29vw;
}

.portfolio-tile h2 {
    min-height: 2.5em;
}

.portfolio-tile h3, h4{
    width: 90%;
    margin: 0 auto;
    padding-bottom: 10%;
}

.portfolio-tile.visible {
    opacity: 1;
    transform: translateX(0);
}
.img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px; /* or your preferred height */
    width: 100%;
}

.portfolio-tile img {
    width: 200px;
    height: 200px;
}

.portfolio-tile h3 {
    text-decoration: none;
    font-size:medium
}

@media (max-width: 1000px) {
    .portfolio {
    background: white;
    font-size: 30px;
    text-align: center;
    width: 100%;
    min-height: 50vh;
    height: 70% !important;
    margin: 0;
    padding: 0;
    }

    .portfolio h1 {
        justify-self: center;
    }

    .portfolio-container {
        display: flex;
        justify-content: space-between;
        padding-left: 8vw;
        padding-right: 8vw;
    }

}

.blob-outer-container{
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 0;
  inset: 0;
  margin: auto;
  filter: blur(100px);
}

.blob-inner-container{
  border-radius: 99999px;
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100vw;
  height: 70vh;
  min-width: 1000px;
  overflow: hidden;
  transform: scale(0.8);
}

.blob{
  position: absolute;
  width: 100vw;
  height: 100vh;
  inset: 0;
  margin: auto;
  background: conic-gradient(from 0deg, #08f, #f60, #bbffa1, rgb(87, 87, 169), #4c00ff, #ab2666, #09f);
  animation: spinBlob 8s linear infinite;
  z-index: 0;
}

@keyframes spinBlob {
  0% {
    transform: rotate(0deg) scale(2);
  }
  100% {
    transform: rotate(1turn) scale(2);
  }
}

.about{
    color: white;
    font-size: 30px;
    text-align: center;
    width: 100%;
    min-height: 60vh;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.about img{
    width: 500px;
    border-radius: 50%;
    border-color: white;
    border-width: 20px;
    padding: 75px;
}

.about-text{
    padding: 8%;
}

@media (max-width: 1000px) {
    .about{
        color: white;
        font-size: 30px;
        text-align: center;
        width: 100%;
        min-height: 60vh;
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .about img{
        width: 500px;
        border-radius: 50%;
        border-color: white;
        border-width: 20px;
        padding: 75px;
    }

    .about-text{
        padding: 8%;
    }

}

.skills {
    background-color: white;
    text-align: center;
    width: 100%;
    min-height: 60vh;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    padding-bottom: 5%;
}

.skill-groups{
    display: flex;
    flex-direction: row;
    padding-left: 10%;
    padding-right: 10%;
    justify-items:center;
    
}

.skill-groups h3 {
    font-size: 300%;
}

.ind-skill ul li {
    font-size: 30px;
    list-style:none;
    border-bottom: 1px solid #ccc;
}

.ind-skill ul li:last-child {
    border-bottom: none;
}

.ind-skill {
    width: 100%;
}

@media (max-width: 1000px) {
    .skills {
        background-color: white;
        width: 100%;
        min-height: 60vh;
        list-style: none;
        display: flex;
        flex-direction: column;
        padding-bottom: 5%;
    }

    .skill-groups{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .skill-groups h3 {
        font-size: 70px;
    }

    .ind-skill ul li {
        font-size: 50px;
        list-style:none;
        border-bottom: 1px solid #ccc;
    }

    .ind-skill ul li:last-child {
        border-bottom: none;
    }

  .ind-skill {
    width: 100%;
  }
}


.contact{
    background-color: black;
    color: white;
    text-align: center;
    width: 100%;
    min-height: 60vh;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
}

.contact-logos {
  font-size: 0;
}

.contact-logos a {
  border: none;
  outline: none;
}

.contact-logos img {
  border: none;
  outline: none;
  display: inline-block;
  font-size: initial;
  width: 5%;
  padding: 10px;
}

@media (max-width: 1000px) {
  .contact{
    background-color: black;
    color: white;
    text-align: center;
    width: 100%;
    list-style: none;
    display: flex;
    flex-direction: column;
    min-height: 30vh;
    height: auto;
  }

    .contact-logos a {
    border: none;
    outline: none;
    }

    .contact-logos img {
    border: none;
    outline: none;
    display: inline-block;
    font-size: initial;
    width: 10%;
    padding: 10px;
    }
}

.content {
    text-align: center;
    width: 100%;
    min-height: 60%;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    padding-bottom: 5%;
}

.content p {
    font-size: 30px;
}

.content-text{
    width: 50%;
    margin: 5%;
}

.row-item, .row-item-fs {
    text-align: center;
    min-height: 60vh;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
    display: flex;
    flex-direction: row;
    list-style: none;
}

.row-item-fs {
    padding-left: 3%;
    padding-right: 3%;
}

.row-item-fs img{
    display: block; 
    object-fit: contain; 
    height: auto; 
    width: 50%; 
    border: 5px solid black;
}

.row-item-fs p,
.row-item p {
  font-size: 20px;
}

.row-item ul li {
    list-style: none;
}

.row-item img {
    display: block; 
    object-fit: contain; 
    height: auto; 
    width: 15%; 
    border: 5px solid black; 
    border-radius: 30px;
}

@media (max-width: 1000px) {
    .content {
        text-align: center;
        min-height: 60%;
        list-style: none;
        display: flex;
        flex-direction: column;
        padding-bottom: 5%;
    }

    .content p {
        font-size: 30px;
    }

    .content-text{
        width: 80%;
        margin: 5%;
    }

    .row-item, .row-item-fs {
        text-align: center;
        align-items: center;
        list-style: none;
        display: flex;
        flex-direction: column;
        list-style: none;
        min-height: 50% !important;
    }

    .row-item-fs {
        padding-left: 3%;
        padding-right: 3%;
    }

    .row-item-fs img{
        display: block; 
        object-fit: contain; 
        height: auto; 
        width: 80%; 
        border: 5px solid black;
    }

    .row-item-fs p,
    .row-item p {
    font-size: 20px;
    }

    .row-item ul li {
        list-style: none;
    }

    .row-item img {
        display: block; 
        object-fit: contain; 
        height: auto; 
        width: 30%; 
        border: 5px solid black; 
        border-radius: 30px;
    }

}

.contact-footer{
    background-color: black;
    color: white;
    text-align: center;
    width: 100%;
    padding-bottom:3%;
    list-style: none;
    display: flex;
    flex-direction: column;
}


