* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Rubik", sans-serif;
  background-color: #000000;
  color: #b0c4de;
  text-align: center;
}

.nav-wrapper {
  width: 100%;
  position: fixed;
  top: 0;
  background-color: #000000;
  box-shadow: #000 0px 2px 4px;
}

.grad-bar {
  display: none;
  width: 100%;
  height: 5px;
  background: linear-gradient(-45deg, #1e90ff, #00b7eb, #4682b4, #87ceeb);
  background-size: 400% 400%;
  -webkit-animation: gradbar 15s ease infinite;
  -moz-animation: gradbar 15s ease infinite;
  animation: gradbar 15s ease infinite;
}

/* NAVIGATION */

.navbar {
  display: grid;
  grid-template-columns: 1fr 3fr;
  align-items: center;
  height: 50px;
  overflow: hidden;
}

.navbar .name {
  justify-self: start;
  margin-left: 20px;
}

.navbar ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  justify-self: end;
}

.nav-item a {
  color: #e6f0fa;
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.3s ease-out;
}

.nav-item a:hover {
  color: #00b7eb;
}

/* MOBILE MENU & ANIMATION */

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #a9a9a9;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.menu-toggle {
  justify-self: end;
  margin-right: 25px;
  display: none;
}

.menu-toggle:hover {
  cursor: pointer;
}

#mobile-menu.is-active .bar:nth-child(2) {
  opacity: 0;
}

#mobile-menu.is-active .bar:nth-child(1) {
  -webkit-transform: translateY(8px) rotate(45deg);
  -ms-transform: translateY(8px) rotate(45deg);
  -o-transform: translateY(8px) rotate(45deg);
  transform: translateY(8px) rotate(45deg);
}

#mobile-menu.is-active .bar:nth-child(3) {
  -webkit-transform: translateY(-8px) rotate(-45deg);
  -ms-transform: translateY(-8px) rotate(-45deg);
  -o-transform: translateY(-8px) rotate(-45deg);
  transform: translateY(-8px) rotate(-45deg);
}

/* KEYFRAME ANIMATIONS */

@-webkit-keyframes gradbar {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@-moz-keyframes gradbar {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes gradbar {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Media Queries */

/* Mobile Devices - Phones/Tablets */

.home {
  height: 100vh;
  width: 100%;
  background-color: #000000;
  background-image: linear-gradient(147deg, #000000 0%, #1c2526 74%);
  animation: BackgroundAnimation 40s ease infinite alternate;
}

@keyframes BackgroundAnimation {
  0% {
    background-position: 0% 10%;
  }
  50% {
    background-position: 100% 90%;
  }
  100% {
    background-position: 0% 100%;
  }
}

.home {
  text-align: center;
  color: #121212;
}

.home .wrapper {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.home .wrapper .container {
  z-index: 10;
  pointer-events: none;
}

.home .name {
  font-size: 6rem;
  font-family: "Open Sans", sans-serif;
  font-weight: normal;
  background-image: linear-gradient(to right, #1e90ff 0%, #00b7eb 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}



/* about */

/* About Page Container */
.about {
  background: linear-gradient(135deg, #121212 0%, #121212 100%);
  min-height: 100vh;
  padding: 2rem;
  color: #e6f0fa;
  overflow-x: hidden;
}

/* Main Container for Flex Layout */
.about .container {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Image Styling */
.about > div > div:nth-child(1) > img {
  border-radius: 1em;
  height: 300px;
  width: 300px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about > div > div:nth-child(1) > img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

/* Headline Styling */
.headline {
  margin-top: 16vh;
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #e6f0fa;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.headline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #00c4cc;
  border-radius: 2px;
}

/* Paragraph Styling */
.about p {
  margin: 1rem auto;
  padding: 1rem;
  text-align: justify;
  width: 100%;
  max-width: 800px;
  text-indent: 50px;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  line-height: 1.8;
  color: #d0d8e6;
  font-size: 1.1rem;
}

/* Button Styling */
.about button {
  box-shadow: 5px 5px 10px #121212, -5px -5px 10px #2f4f4f;
  width: 150px;
  height: 45px;
  background: linear-gradient(45deg, #00c4cc, #0077b6);
  border: none;
  color: #e6f0fa;
  border-radius: 25px;
  margin: 1.5rem auto 2rem auto;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about button:hover {
  background: linear-gradient(45deg, #0077b6, #00c4cc);
  box-shadow: 8px 8px 15px #121212, -8px -8px 15px #2f4f4f;
  transform: translateY(-2px);
}

.about button:active {
  transform: translateY(0);
  box-shadow: 3px 3px 6px #121212, -3px -3px 6px #2f4f4f;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about .container {
    flex-direction: column;
    text-align: center;
  }

  .about > div > div:nth-child(1) > img {
    height: 250px;
    width: 250px;
  }

  .headline {
    margin-top: 10vh;
    font-size: 2rem;
  }

  .about p {
    max-width: 90%;
    text-indent: 30px;
    font-size: 1rem;
  }

  .about button {
    width: 130px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 1rem;
  }

  .headline {
    font-size: 1.8rem;
  }

  .about > div > div:nth-child(1) > img {
    height: 200px;
    width: 200px;
  }
}


/* section.skills */




section.skills {
  background-color: #1c2526;
}

.experience .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 4vh;
  margin: 4vh auto auto auto;
  max-width: 1020px;
}

.experience .container > div {
  box-shadow: #000000 2px 2px 6px, #2f4f4f -2px -2px 6px;
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 30px;
  width: 45%;
  text-align: left;
  line-height: 2;
  border: 2px transparent solid;
  transition: all .7s;
}

.experience .container > div:hover {
  border-color: #1e90ff;
}

.experience .container > div .title {
  font-size: 24px;
}

.experience .container > div .discription {
  color: #b0c4de;
  line-height: 1.4;
}


/*contect */



.form {
  margin: auto;
  width: 90%;
  max-width: 600px;
}

.form input,
textarea {
  display: block;
  margin: 15px auto;
  box-shadow: -5px -5px 10px rgba(255, 255, 255, 0.05),
    5px 5px 15px rgba(0, 0, 0, 0.50);
  width: 100%;
  background-color: #121212;
  border: 2px #000000 solid;
  height: 45px;
  padding: 15px;
  color: #ffffff;
  border-radius: 0.25rem;
  font-size: 1rem;
  transition: all .5s;
}

.form textarea {
  height: 150px;
}

.form input:focus,
textarea:focus {
  outline: none;
  border-color: #00b7eb;
}

.form input:focus:invalid,
textarea:focus:invalid {
  outline: none;
  border-color: #00b7eb;
}





#particles {
  width: 100%;
  height: 100vh;
}

.particles-js-canvas-el {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.container.social {
  margin-top: 6vh;
}

.container.social a {
  text-decoration: none;
}

.social .fab {
  font-size: 2.5em;
  padding-left: 5px;
  padding-right: 5px;
  transition: all 0.8s;
  margin: 4px;
  color: #0a0a23;
  pointer-events: all;
  transition: all 0.3s;
  background-image: linear-gradient(147deg, #000000 0%, #1e90ff 74%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social .fab:hover {
  color: #e6f0fa;
}

.skills .container {
  width: 90%;
  max-width: 500px;
  margin: auto;
  margin-bottom: 3em;
}

.progress-bar-label {
  text-align: left;
}

.progress-bar-wrapper {
  margin: 20px auto;
}

.skills .progress-bar {
  height: 0.5rem;
  display: flex;
  overflow: hidden;
  font-size: 0.75rem;
  background: rgba(20, 20, 56, 0.35);
  border-radius: 0.5rem;
  box-shadow: 0 4px 16px 0 rgba(31, 38, 135, 0.18);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
}

.skills .progress {
  display: flex;
  align-items: center;
  color: #e6f0fa;
  text-align: center;
  background: linear-gradient(90deg, rgba(30,144,255,0.85) 0%, rgba(0,183,235,0.7) 100%);
  box-shadow: 0 2px 8px 0 rgba(62, 222, 222, 0.18);
  transition: width 0.6s cubic-bezier(.4,2,.6,1);
  width: 18%;
  border-radius: 0.5rem 0 0 0.5rem;
  backdrop-filter: blur(4px) saturate(120%);
  -webkit-backdrop-filter: blur(4px) saturate(120%);
}

.contact button {
  margin: 15px auto;
  box-shadow: -5px -5px 10px rgba(255, 255, 255, 0.05),
    5px 5px 15px rgba(0, 0, 0, 0.50);
  width: 180px;
  background-color: #121212;
  border: 2px #00b7eb solid;
  height: 45px;
  color: #e6f0fa;
  border-radius: 0.25rem;
  font-size: 1.1rem;
}

.contact {
  background-color: #1c2526;
}

footer div {
  width: 90%;
  margin: 20px auto;
}

footer div p {
  font-size: 14px;
}

footer div a {
  color: #00b7eb;
  text-decoration: none;
}

@media only screen and (max-width: 720px) {
  /* MOBILE NAVIGATION */

  .navbar ul {
    display: flex;
    flex-direction: column;
    position: fixed;
    justify-content: start;
    top: 55px;
    background-color: #0a0a23;
    width: 100%;
    height: calc(100vh - 55px);
    transform: translate(-101%);
    text-align: center;
    overflow: hidden;
  }

  .navbar li {
    padding: 15px;
  }

  .navbar li:first-child {
    margin-top: 50px;
  }

  .navbar li a {
    font-size: 1rem;
  }

  .menu-toggle,
  .bar {
    display: block;
    cursor: pointer;
  }

  .mobile-nav {
    transform: translate(0%) !important;
  }

  /* SECTIONS */

  .home .name {
    font-size: 3rem;
  }
  .about p {
    font-size: 16px;
  }

  .experience .container > div {
    width: 90%;
  }

  .about .container {
    flex-direction: column;
  }

  .about > div > div:nth-child(1) > img {
    margin-top: 1em;
  }
}

body > main > section.contact > p {
  width: 90%;
  margin: auto;
}

section {
  overflow: hidden;
}

#particles > div > div > p {
  font-size: 1.3em;
  color: #b0c4de;
}

#particles > div > a {
  font-size: 3em;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: #0a0a23;
  animation: down-arrow 2s ease-in-out infinite alternate;
}

@keyframes down-arrow {
  0% {
    bottom: 0;
  }
  100% {
    bottom: 1em;
  }
}

.scrollbar {
  height: 0.25rem;
  background: linear-gradient(to right, #1e90ff 0%, #00b7eb 100%);
  position: fixed;
  top: 0;
  z-index: 1000;
}

/* my projects */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: auto;
}

.project-card {
  background: rgba(30, 30, 30, 0.55);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 32px 0 rgba(31, 38, 135, 0.28);
}

.project-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background-color: #222;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.project-card h3 {
  padding: 0.5em 1em 0.2em 1em;
  font-size: 1.1rem;
  font-weight: 600;
  color: #f1f1f1;
  flex-grow: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,0.18);
  letter-spacing: 0.5px;
}

/* Glassy Button Style */
.project-card a {
  display: block;
  text-align: center;
  background: rgba(35, 37, 38, 0.55);
  padding: 12px 0;
  color: #eee;
  text-decoration: none;
  font-weight: bold;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-radius: 0 0 18px 18px;
  font-size: 1rem;
  letter-spacing: 1px;
  box-shadow: 0 3px 12px 0 rgba(0,0,0,0.18);
  transition: background 0.3s, color 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
}

.project-card a::before {
  content: "";
  position: absolute;
  left: -75%;
  top: 0;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.13);
  transform: skewX(-25deg);
  transition: left 0.4s;
  pointer-events: none;
}

.project-card a:hover {
  background: rgba(48, 207, 208, 0.25);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px 0 rgba(48,207,208,0.18);
}

.project-card a:hover::before {
  left: 120%;
}





