* {
  padding: 0;
  margin: 0;
  border: none;
  outline: 0;
  text-decoration: none;
  color: white;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}


body {
  background-color: rgb(6, 7, 12);
  font-family: inter;
}

/* Header */
.header {
  position: fixed;
  z-index: 100000;
  width: 100%;
  background-color: rgba(6, 7, 12, 0.918);
  filter: drop-shadow(0 -15px 40px #1f1f1f)
  
}
.header,
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  z-index: 1000;
}

/* logo */
.logo {
  font-size: 2rem;
  font-weight: 800;
}

.nav-item {
  font-size: 1.2rem;
  font-weight: 500;
  margin-left: 60px;
  display: inline-block;
  position: relative;
  transition: all 0.12s;
}

.nav-item::after {
  content: '';
  background: linear-gradient(to right, aqua, violet);
  box-shadow: 0px 0px 10px 0 white;
  height: 2px;
  width: 0;
  position: absolute;
  bottom: -10%;
  left: 0;
  transition: 200ms linear;
  z-index: 99999;
}

.nav-item:hover::after {
  width: 100%;
}

.nav-item.active {
  color: #3fa2f6;
  scale: 1.1;
}

.nav-item:hover {
  color: #ddda2a;
}

.nav-item:active {
  scale: 0.97;
}


/* Hero-section */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  padding: 2.5em 1.3em;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}


/* Left */
.hero-left {
  width: 60%;
  display: flex;
  align-items: center;
  padding-top: 40px;
  z-index: 0;
}

h1 {
  font-size: 4rem;
  font-weight: 800;
  padding: 25px 0;
}

h3 {
  font-size: 2.3rem;
  font-weight: 800;
  color: #3fa2f6;
  padding-bottom: 30px;
}

.hero-section p {
  font-size: 1.2rem;
  color: lightgray;
  line-height: 1.5;
  padding-bottom: 40px;
}

/* button */
.cta {
  margin-bottom: 80px;
}

.cta-1,
.cta-2 {
  color: black;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  margin-right: 10px;
  background-color: #3fa2f6;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.12s, border 0.12s, color 0.21s, padding 0.12s;
}

.cta-1 {
  box-sizing: border-box;
  padding: 15px 35px;
}

.cta-1:hover {
  background-color: transparent;
  color: #3fa2f6;
  border: 2px solid #3fa2f6;

}

.cta-2 {
  background-color: transparent;
  color: #3fa2f6;
  border: 2px solid #3fa2f6;
    padding: 13px 28px;

}

.cta-2:hover {
  background-color: #3fa1f6;
  color: #000000;
  border: none;
}

/* Social Icons */
.social-container {
  display: flex;
  gap: 20px;
}

.social-container a {
  background-color: black;
  fill: white;
  padding: 1em;
  border: 2px solid #3fa2f6;
  border-radius: 50%;
  height: 64px;
  width: 64px;
  box-sizing: border-box;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.social-container a svg {
  height: 32px;
}

.social-container a::before {
  content: attr(data-social);
  position: absolute;
  background-color: var(--accent-color);
  color: white;
  text-decoration: none;
  padding: 0.5em 1em;
  border: 2px solid #3fa2f6;
  border-radius: 100px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(-30px) rotate(25deg);
  opacity: 0;
  transition: all 200ms cubic-bezier(0, -0.04, 0, 1.4);
}

.social-container a:hover {
  background-color: var(--accent-color);
  fill: white;
}

.social-container a::after {
  content: '';
  position: absolute;
  height: 0;
  width: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid var(--accent-color);
  transform: translateY(0) rotate(25deg);
  opacity: 0;
  transition: all 200ms cubic-bezier(0, -0.04, 0, 1.4);
}

.social-container a:hover::before {
  opacity: 1;
  transform: translateY(-65px) rotate(0deg);
}

.social-container a:hover::after {
  transform: translateY(-44px) rotate(0);
  opacity: 1;
}

.social-container a:nth-child(3):hover,
.social-container a:nth-child(3)::before {
  background: linear-gradient(
    45deg,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );
}

/* Right section (Background) */
.hero-right {
  width: 40%;
  height: auto;
  padding: 20px;
  overflow: hidden;
}
.bg-img  {
  height: auto;
  max-width: 100%;
  background: none;
}
.bg-img img {
  height: auto;
  max-width: 100%;
  transition: all 200ms ease-out;
  scale: 1.3;
}

.bg-img img:hover {
  background-color: rgba(6, 7, 12, 0.405);
  transform: scale(1.1);
}

/* About Section */
.about-section {
  height: 100vh;
  padding: 5rem 1rem;
  position: relative;
  box-sizing: border-box;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}

.about-section h1 {
  display: inline-block;
  font-size: 2.5rem;
  margin: 0 1em;
  color: #3fa2f6;
}

.about-me {
  width: 50%;
  border-right: 1px solid #8abeeb;
}

.about-me p {
  font-size: 1.2rem;
  margin: 1em;
  padding: 0;
  color: white;
}

.about-section .skills {
  width: 50%;
  border-left: 1px solid #8abeeb;
}

.skills p {
  font-size: 1.2rem;
  color: white;
  padding: 0;
}

.skills-content {
  display: flex;
  align-items: center;
  margin: 0.5em;
}

.skills-content div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.skills-content p:nth-child(2),
p:nth-child(4) {
  margin-right: 0.5em;
}

.about-section .skills svg {
  fill: rgb(204, 255, 19);
  height: 40px;
}


/* Footer */
.footer {
  width: 97vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
}

.footer p {
  font-size: 2rem;
  margin-bottom: 40px;
}

.footbtn {
  color: black;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 15px 0;
  width: 200px;
  border: none;
  border-radius: 8px;
  margin-right: 5px;
  background-color: #3fa2f6;
  margin-bottom: 60px;
  cursor: pointer;
  transition: background-color 0.12s, border 0.12s, color 0.21s, padding 0.12s;
}

.footbtn:hover {
  border: 2px solid #3fa2f6;
  background-color: black;
  color: white;
  box-sizing: border-box;
}

/* Animations */
@keyframes fadeIn {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInTop {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes backgroundZoom {
  from {
    /* background-size: 80%; */
    transform: scale(0.2);
  }
  to {
    /* background-size: 100%; */
    transform: scale(1);
  }
}

/* Apply Animations */
.hero-section h1 {
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0s;
}

.hero-section h3 {
  animation: fadeIn 1.2s ease-out forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

.hero-section p {
  animation: fadeIn 1.4s ease-out forwards;
  opacity: 0;
  animation-delay: 0.4s;
}

.cta .button {
  animation: fadeIn 1.6s ease-out forwards;
  opacity: 0;
  animation-delay: 0.6s;
}

.social-container {
  animation: fadeIn 1.8s ease-out forwards;
  opacity: 0;
  animation-delay: 0.8s;
}

.nav-item,
.left-section {
  animation: fadeInTop 1s ease-in forwards;
  opacity: 0;
}

.bg-img img {
  animation: backgroundZoom 1.5s ease-in forwards;
}

.about-section h1,
.about-section p,
.about-section svg {
  animation: scroll-ani ease;
  /* animation: scroll-ani linear; */
  animation-timeline: view();
  animation-range: entry 0% cover 50%;
}

footer p, .footbtn {
  animation: scroll-ani ease;
  animation-timeline: view();
  animation-range: entry 0% cover 20%;
}


@keyframes scroll-ani {
  from {
    opacity: 0;
    scale: 0.9;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    scale: 1;
    transform: translateY(0);
  }
}


@media (max-width: 600px) {
  /* Nav */

  .header,
  nav {
    padding: 10px 10px;
    z-index: 1000;
  }

  .logo {
    font-size: 1.5rem;
    font-weight: 500;
    display: inline-block;
    width: max-content;
  }

  .nav-item {
    font-size: 0.85rem;
    font-weight: 300;
    margin-left: 20px;
  }

  /* Hero Section  */
  .hero-section {
    height: max-content;
    box-sizing: border-box;
  }

  .bg-img {
    background-image: url();
  }

  /* Left */
  h1 {
    font-size: 2rem;
    font-weight: 800;
    padding: 0.5em 0;
  }

  h3 {
    font-size: 1.3rem;
    padding-bottom: 1em;
  }

  .hero-left p {
    font-size: 0.85rem;
    line-height: 1.5;
    width: 80vw;
    padding-bottom: 2em;
  }

  /* button */
  .cta {
    width: max-content;
  }

  .cta .button {
    font-size: 1rem;
    padding: 15px 30;
    margin-bottom: 2em;
  }

  /* Icons */
  .social-container a {
    padding: 0em;
    height: 45px;
    width: 45px;
  }

  .social-container a svg {
    height: 25px;
  }

  .social-container a::before {
    display: none;
  }

  .social-container a::after {
    display: none;
  }

  .social-container a:hover::before {
    display: none;
  }

  .social-container a:hover::after {
    display: none;
  }

  /* About Section */
  .about-section {
    height: max-content;
    margin: 2.2em 1em;
    text-align: center;
  }

  .about-section h1 {
    font-size: 1.5rem;
    margin: 0;
    text-align: center;
  }

  .about-me {
    width: 70%;
  }

  .about-me p {
    font-size: 1rem;
  }

  .about-section .skills {
    width: 35%;
  }

  .skills p {
    font-size: 1rem;
  }

  .skills-content div {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .skills-content p:nth-child(2),
  .skills-content p:nth-child(4) {
    margin: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
  }

  .about-section .skills svg {
    height: 2rem;
  }

  .skills-content {
    flex-direction: column;
    align-items: flex-start;
  }


  .skills p {
    height: 20px;
    font-size: 0.8rem;
  }


  /* Footer */


.footer p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.footbtn {
  font-size: 1.1rem;
  font-weight: bolder;
  padding: 15px 0;
  margin-bottom: 25px;
}
}
