/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#check {
  display: none;
}

body {
  background: linear-gradient(135deg, #3b3f5c, #6c7a89);
  color: #f0f0f5;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

a {
  color: #00bfa5;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #00fff7;
}

header#me {
  background-color: #272b3a;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  display: block;
}

.navbar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-weight: 700;
  font-size: 1.7rem;
  color: #00bfa5;
  letter-spacing: 2px;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 20px;
  justify-content: end;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.7px;
  color: white;
  transition: background-color 0.3s ease;
}

.nav-links li a.active,
.nav-links li a:hover {
  background-color: #00bfa5;
  color: #272b3a;
}

.toggle {
  display: none;
  cursor: pointer;
  justify-self: end;
}

.line {
  display: block;
  width: 26px;
  height: 3px;
  background: #00bfa5;
  margin: 5px 0;
  transition: 0.4s;
}

.profile-section {
  padding: 2rem 5%;
  text-align: center;
}

.prflImgContainer {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #00bfa5;
  box-shadow: 0 4px 12px rgba(0, 191, 165, 0.7);
  background: url('/myImg.png') center center/cover no-repeat;
}

.welcome {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #e0f7f7;
  text-shadow: 0 2px 8px #008070aa;
}

.social-icons {
  margin: 1rem 0 2rem;
  display: flex;
  justify-content: center;
  gap: 1.4rem;
}

.social-icons img {
  width: 38px;
  height: 38px;
  filter: brightness(90%);
  cursor: pointer;
  transition: filter 0.3s ease;
}

.social-icons img:hover {
  filter: brightness(150%);
}

.home-content {
  max-width: 900px;
  margin: 0 auto 3rem;
  background: rgba(0, 191, 165, 0.15);
  padding: 1.8rem 2rem;
  border-radius: 12px;
  box-shadow: 0 0 30px #00bfa5aa;
  color: #def7f7;
  font-size: 1.05rem;
}

.home-content h2 {
  color: #00fff7;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
  border-bottom: 2px solid #00bfa5;
  padding-bottom: 0.3rem;
}

.home-content ul {
  margin-left: 1.3rem;
  list-style: disc;
  margin-bottom: 1rem;
}

.btn-download {
  display: inline-block;
  background: #00bfa5;
  color: #272b3a;
  font-weight: 700;
  padding: 0.7rem 1.6rem;
  border-radius: 30px;
  margin-top: 1rem;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
  text-align: center;
}

.btn-download:hover {
  background-color: #00fff7;
  color: #004d40;
}

.about-me {
  background: rgba(43, 50, 70, 0.8);
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  color: #ccc;
  box-shadow: 0 0 15px #00bfa5bb;
  font-size: 1rem;
}

.about-me h3 {
  color: #00bfa5;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-me a {
  color: #00fff7;
  font-weight: 600;
}

.projects-preview {
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 1rem 2rem;
  color: #eee;
}

.projects-preview h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  border-bottom: 2px solid #00bfa5;
  padding-bottom: 0.5rem;
}

.project-fx {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background: rgba(43, 50, 70, 0.9);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 25px #00bfa5aa;
}

.home-project-container {
  max-width: 300px;
  flex: 1 1 280px;
  text-align: center;
  color: #00bfa5;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px #00695caa;
  background: #1f2738;
}

.home-project-container:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px #00bfa5dd;
}

.home-project-container img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 2px solid #00bfa5;
}

.project-title {
  padding: 0.6rem 1rem;
  display: block;
  color: #00bfa5;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}

.project-title small {
  font-weight: 400;
  font-size: 0.8rem;
  color: #66fff9cc;
}

.project-title:hover {
  color: #00fff7;
}

.fx-description {
  flex: 1 1 350px;
  color: #b0d9d9;
  font-size: 0.95rem;
  line-height: 1.4;
  padding: 1rem;
}

footer {
  background: #272b3a;
  color: #a5a5a5;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  box-shadow: inset 0 1px 10px #000000aa;
}

.ftrContainer {
  margin-bottom: 0.7rem;
  display: flex;
  justify-content: center;
  gap: 1.3rem;
}

.ftrContainer img {
  width: 28px;
  height: 28px;
  filter: brightness(80%);
  transition: filter 0.3s ease;
  cursor: pointer;
}

.ftrContainer img:hover {
  filter: brightness(140%);
}

@media (max-width: 768px) {
  .navbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .toggle {
    display: block;
  }

  #check:checked ~ .navbar .nav-links {
    display: flex;
    flex-direction: column;
    background-color: #272b3a;
    position: absolute;
    top: 70px;
    right: 2rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  }

  .project-fx {
    flex-direction: column;
  }

  .home-project-container,
  .fx-description {
    flex: unset;
    max-width: 100%;
  }
}



