* {
    margin: 0;
    padding: 0;
    color: #E5E5E5;
    
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.07), transparent 40%),
    linear-gradient(135deg, #0F0F0F 0%, #1C1C1E 100%);
  color: #E5E5E5;
}

.navCon {
  display: inline-flex;                
  justify-content: center;     
  align-items: center;         
  border-radius: 30px;
  border: 0.4vmin solid;
  padding: 1vmin 5vmin; 
  text-align: center;
  background-color: #1C1C1E;
  color: #4b7192;
  margin: 1vmin 50vmin ; 
  box-sizing: border-box; 
  overflow-x: auto; 
  position: fixed;
  top: 0; 
  z-index: 1000;
  left: 0;
  right: 0;
}

.navCon a {
  position: static;
  color: #E5E5E5;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navCon a:hover {
  color: #000000; 
  text-shadow: 0 0 15px #0088ff, 0 0 25px #f3f3f3;
}

.navItems {
  display: flex;
  gap: 2vmin;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
}

.menu-toggle {
  display: none;
  font-size: 4vmin;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  z-index: 10;
}

.homebody {
  display: flex;
  justify-content: center;
  gap: 5vmin;
  flex-direction: row;
  align-items: center;
  margin-top: 4vmin;
  width: 50%;
  margin-top: 15vmin;
  z-index: 10;
}

#homegreet {
  text-align: center;
  justify-content: center;
  flex-direction: column;
  border: .5vmin;
  border-radius: 10px;
  border-style: solid;
  background: #1C1C1E;
  border-color: #4b7192;
  padding: 2vmin;
  font-size: 20px;
  width: 25vmin;
  padding: 4vmin;
  z-index: 10;
}

.PFP {
  border: .5vmin;
  border-radius: 10px;
  border-style: solid;
  color: #4b7192;
  overflow: hidden;
  width: fit-content;
  height: 43vmin;
  width: 35vmin;
  z-index: 10;
}

.PFP img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 10;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2vmin;
  margin-top: 2vmin;
  flex-wrap: wrap;
}

.social-links a img {
  width: 32px;
  height: 32px;
  padding: 6px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.85;
}


.social-links a img:hover {
  transform: scale(1.2);
  opacity: 1;
}


.aboutMe {
  text-align: center;
  justify-content: center;
  flex-direction: column;
  border: .5vmin;
  border-radius: 10px;
  border-style: solid;
  margin-top: 20vmin;
  background: #1C1C1E;
  color: #4b7192;
  padding: 2vmin;
  font-size: 20px;
  z-index: 10;
  width: 50%;
}

.aboutMe p {
  padding: 1vmin;
}

.skills {
  text-align: center;
  justify-content: center;
  flex-direction: column;
  border: .5vmin;
  border-radius: 10px;
  border-style: solid;
  margin-top: 10vmin;
  width: 50%;
  background: #1C1C1E;
  color: #4b7192;
  padding: 2vmin;
  font-size: 20px;
  margin-bottom: 5vmin;
  z-index: 10;
}

.skillList {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2vmin;
  margin-top: 2vmin;
}

.skillList > div {
  background-color: #2a2a2e;
  border-radius: 12px;
  padding: 1.5vmin;
  min-width: 200px;
  max-width: 250px;
  flex: 1 1 200px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skillList > div:hover {
  transform: translateY(-4px);
}

.skills h2 {
  font-size: 2.5rem;
  color: #ffffff;
}

.skills h3 {
  font-size: 1.25rem;
  margin-bottom: 1vmin;
  color: #ffffff;
  border-bottom: 1px solid #4b7192;
  padding-bottom: 0.5vmin;
}

.skills p {
  padding: 2vmin;
}

.skill-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 8px;
}

.skillList ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1vmin;
}

.skillList li {
  text-align: left;
  padding: 0.5vmin 0;
  display: flex;
  align-items: center;
  color: #d0d0d0;
  
}

.experience {
  text-align: center;
  justify-content: center;
  flex-direction: column;
  border: 0.5vmin solid #4b7192;
  border-radius: 10px;
  margin-top: 10vmin;
  width: 50%;
  background: #1C1C1E;
  color: #4b7192;
  padding: 2vmin;
  font-size: 20px;
  margin-bottom: 5vmin;
  z-index: 10;
}

.experience p {
  padding: 2vmin;
  color: #d0d0d0;
}

.experience-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2vmin;
  margin-top: 2vmin;
}

.experience-card {
  background-color: #2a2a2e;
  border-radius: 12px;
  padding: 1.5vmin;
  min-width: 250px;
  max-width: 700px;
  flex: 1 1 300px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
  text-align: left;
  color: #d0d0d0;
}

.experience-card:hover {
  transform: translateY(-4px);
}

.experience-card h3 {
  color: #4b7192;
  font-size: 1.5rem;
  margin-bottom: 1vmin;
  text-align: center;
}

.highlight {
  color: #4b7192;
  font-weight: bold;
}

/* Main projects container (outer card) */
.Projects {
  text-align: center;
  justify-content: center;
  flex-direction: column;
  border: .5vmin;
  border-radius: 10px;
  border-style: solid;
  margin-top: 10vmin;
  width: 50%;
  background: #1C1C1E;
  color: #4b7192;
  padding: 2vmin;
  font-size: 20px;
  margin-bottom: 5vmin;
  z-index: 10;
}

.project-intro {
  color: #d0d0d0;
  margin-bottom: 2vmin;
  padding: 2vmin;
}

.project-card {
  background-color: #2a2a2e;
  border-radius: 12px;
  border: 1px solid #4b7192;
  padding: 1vmin;
  width: 20vmin;
  height: fit-content;
  width: 100%;
  max-width: 25vmax;
  flex-shrink: 0;
  margin: 1vmin;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  scroll-snap-align: center;
  color: #d0d0d0;
  text-align: left;
  min-height: 280px;
  box-shadow: 0 0 10px rgba(75, 113, 146, 0.3);
}

.project-card p {
  padding: 2px;
  padding-bottom: 10px;
}

.GA {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
  gap: 5vmin;
  justify-items: center;
  padding: 2vmin;
}

.project-card h3 {
  color: #4b7192;
  text-align: center;
}

.project-card a {
  color: #4b7192;
  text-decoration: none;
}

.project-card a:hover {
  text-decoration: underline;
}


.project-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2vmin;
  margin-top: 2vmin;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card h3 {
  color: #4b7192;
  font-size: 1.2rem;
  margin-bottom: 1vmin;
  text-align: center;
}

.project-card a {
  color: #4b7192;
  text-decoration: none;
  font-weight: bold;
}

.project-card a:hover {
  text-decoration: underline;
}




footer {
  width: 100%; 
  background-color: #1C1C1E;
  border-top: 1px solid #4b7192;
  padding: 1rem 3rem;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;  
  color: #4b7192;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}


.footer-links a {
  color: #4b7192;
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #6b9bc5;
  text-decoration: underline;
}

/* background */


@keyframes move-background {
  from {
		-webkit-transform: translate3d(0px, 0px, 0px);
	}
	to { 
		-webkit-transform: translate3d(1000px, 0px, 0px);
	}
}
@-webkit-keyframes move-background {
  from {
		-webkit-transform: translate3d(0px, 0px, 0px);
	}
	to { 
		-webkit-transform: translate3d(1000px, 0px, 0px);
	}
}

@-moz-keyframes move-background {    
	from {
		-webkit-transform: translate3d(0px, 0px, 0px);
	}
	to { 
		-webkit-transform: translate3d(1000px, 0px, 0px);
	}
}

    @-webkit-keyframes move-background {
	from {
		-webkit-transform: translate3d(0px, 0px, 0px);
	}
	to { 
		-webkit-transform: translate3d(1000px, 0px, 0px);
	}
}

.background-container{
	position: fixed;
	top: 0;
	left:0;
	bottom: 0;
	right: 0;
}

.stars {
 background: black url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/1231630/stars.png) repeat;
 position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: block;
  	z-index: 0;
}

.twinkling{
	width:10000px;
	height: 100%;
	background: transparent url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/1231630/twinkling.png") repeat;
	background-size: 1000px 1000px;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
    
    -moz-animation:move-background 70s linear infinite;
  -ms-animation:move-background 70s linear infinite;
  -o-animation:move-background 70s linear infinite;
  -webkit-animation:move-background 70s linear infinite;
  animation:move-background 70s linear infinite;
	
}

.clouds{
	width:10000px;
	height: 100%;
	background: transparent url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/1231630/clouds_repeat.png") repeat;
	background-size: 1000px 1000px;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;

   -moz-animation:move-background 150s linear infinite;
  -ms-animation:move-background 150s linear infinite;
  -o-animation:move-background 150s linear infinite;
  -webkit-animation:move-background 150s linear infinite;
  animation:move-background 150s linear infinite;
}
.BGimg {
  height: 70vh;
  width:70vh;
  position: absolute;
  z-index: 1;
  right: 20px;
}


/* Responsive designs */

@media (max-width: 480px) {
  .homebody {
    margin-top: 10vmin;
    width: 95%;
    gap: 2vmin;
  }

  #homegreet {
    font-size: 16px;
    padding: 2vmin;
    width: 100%;
  }

  .PFP {
    width: 90vw;
    height: auto;
    max-height: 30vh;
  }

  .aboutMe,
  .skills,
  .experience,
  .Projects {
    width: 95%;
    font-size: 16px;
    padding: 1.5vmin 2vmin;
  }

  .skillList > div {
    min-width: 100%;
  }

  .experience-list,
  .skillList {
    flex-direction: column;
  }

  .experience-card,
  .project-card {
    width: 100%;
  }

  /* .carousel-wrapper {
    width: 100%;
  }

  .carousel-btn.prev,
  .carousel-btn.next {
    padding: 0.3rem 0.6rem;
    font-size: 1.5rem;
  } */

  .menu-toggle {
    display: block;
    color: #a8ccec;
    background: none;
    border: none;
    font-size: 3rem;
    cursor: pointer;
    z-index: 1001; /* Make sure it’s above the nav */
  }

  .navItems {
    display: none;
    flex-direction: column;
    background-color: #1C1C1E;
    position: fixed;
    top: 60px; /* Adjust based on nav height */
    right: 10px;
    border-radius: 8px;
    padding: 1rem 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    width: 200px;
    z-index: 1000;
  }

  .navCon {
    justify-content: flex-end;
    padding: 1rem;
    margin: 0;
    border: none;
    background: none;
  }


  .navItems.active {
   display: flex;
  }

  .navItems li {
    margin: 1rem 0;
  }

  .navCon a {
    font-size: 16px;
  }

  .navItems li a {
    font-size: 1.2rem;
  }

  .project-list {
  flex-direction: column;
  align-items: center;
}

.project-card {
  width: 90%;
}

}
