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

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

:root {
  --primary-color: #000619;
  --font-color: #fff;
}

body {
  background-color: var(--primary-color);
  color: var(--font-color);
  font-size: 14px;
  font-family: 'Times New Roman', Times, serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

header {
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary-color);
  z-index: 1000;
}

#logo a {
  text-decoration: none;
  color: lightcoral;
  font-size: 18px;
  font-weight: 800;
  transition: all 0.3s ease;
  border-bottom: 3px solid;
  padding-bottom: 5px;
  border-radius: 5px;
  animation: borderAnime 5s linear infinite;
}

nav {
  height: 65px;
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  display: flex;
  padding: 20px 120px;
  justify-content: space-between;
  align-items: center;
  background: var(--primary-color);
  z-index: 1000;
  background-color: #181c2e;
  border-bottom: 2px solid;
  animation: borderAnime 5s linear infinite;
}


nav ul {
  display: flex;
  gap: 60px;
  list-style: none;
}

.nav-list a {
  display: inline-block;
  text-decoration: none;
  color: var(--font-color);
  font-size: 16px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: transform 0.2s ease, color 0.3s ease;
}

.nav-list a:hover {
  transform: translateY(-3px);
  color: lightcoral;
  animation: borderAnime 5s linear infinite;
}

#hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 5px;
}


/* --------- Home section ---------*/

.home {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 150px 20px 0;
  gap: 20px;
  margin: 0px 60px;
}

#para-1 {
  font-size: 2.5em;
  font-weight: 800;
}

#para-2 {
  font-size: 1.5em;
  margin: 10px 0;
  font-weight: 600;
}

#para-3 {
  font-size: 1.2em;
  margin: 10px 0 20px 0;
  font-weight: 500;
  color: #ccc;
}

.button {
  padding: 10px 20px;
  border: 2px solid lightcoral;
  background: transparent;
  color: var(--font-color);
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 50px 10px;
  text-decoration: none;
}

.button:hover {
  background: lightcoral;
  border: 2px solid lightcoral;
  color: var(--primary-color);
  transform: translateY(-3px);
}

.social-links {
  background-color: #181c2e;
  width: 60px;
  position: absolute;
  top: 30%;
  left: 0px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  padding: 30px 0;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.social-links a {
  color: var(--font-color);
  text-decoration: none;
  transition: transform 0.2s ease, color 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  color: lightcoral;
}

.roll-down {
  margin: 80px 0;
  height: 40px;
  width: 25px;
  border: 2px solid;
  border-radius: 20px;
}

.ball {
  height: 5px;
  width: 5px;
  background-color: var(--font-color);
  border-radius: 50%;
  margin: 5px auto;
  animation: roll-down 2s infinite;
}


/* ------about section ------ */

.about {
  min-height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 0 80px;
  padding: 20px 0;
}

.container {
  width: fit-content;
  text-align: center;
  padding: 0 20px;
  margin: 60px 0 10px;
}

.container h1 {
  font-size: 2em;
  font-weight: 800;
  padding-bottom: 5px;
  margin-bottom: 20px;
  border-bottom: 4px solid;
  border-radius: 10px;
  animation: borderAnime 5s linear infinite;
}

.about-intro-div {
  font-size: 1.8em;
  font-weight: 500;
  line-height: 1.6;
  color: #ccc;
  margin: 20px 0;
  padding: 0 30px;
  text-align: center;
}

.skills {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0 60px;
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 120px;
  height: 50px;
  background-color: var(--font-color);
  border-radius: 10px;
  margin: 20px 20px;
  color: #000619;
}

#skill-tag {
  font-size: 24px;
  font-weight: 600;
  margin-top: 5px;
  border-bottom: 3px solid;
  border-radius: 5px;
  animation: borderAnime 5s linear infinite;
}

#skill-1 {
  font-size: 20px;
  color: #E34F26;
}

#skill-1:hover {
  filter: drop-shadow(0 0 8px #E34F26);
}

#skill-2 {
  font-size: 20px;
  color: #1572B6;
}

#skill-2:hover {
  filter: drop-shadow(0 0 8px #1572B6);
}


#skill-3 {
  font-size: 20px;
  color: #F7DF1E;
}

#skill-3:hover {
  filter: drop-shadow(0 0 8px #F7DF1E);
}

#skill-4 {
  font-size: 20px;
  color: #61DAFB;
}

#skill-4:hover {
  filter: drop-shadow(0 0 8px #61DAFB);
}

#skill-5 {
  font-size: 20px;
  color: #181717;
}

#skill-5:hover {
  filter: drop-shadow(0 0 8px #e8d9d9);
}

#skill-6 {
  font-size: 20px;
  color: #FC6D26;
}

#skill-6:hover {
  filter: drop-shadow(0 0 8px #FC6D26);
}

#skill-7 {
  font-size: 20px;
  color: #A259FF;
}

#skill-7:hover {
  filter: drop-shadow(0 0 8px #A259FF);
}

#skill-8 {
  font-size: 20px;
  color: #3776AB;
}

#skill-8:hover {
  filter: drop-shadow(0 0 8px #3776AB);
}


/* ------projects section ------  */

.projects {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 80px;
  padding: 20px 0;
}

.project-holder {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin: 20px 0 60px;
}

.project-container {
  width: 400px;
  height: 250px;
  background-color: #323232;
  border-radius: 10px;
  border: 1px rgb(93, 84, 84) solid;

  display: flex;
  align-items: center;
  justify-content: center;
}


#project-1 {
  background-image: url(/resource/images/Images/Food-restro.png);
  background-position: center;
  background-size: cover;
} 

#project-2 {
  background-image: url(/resource/images/Images/login-page.png);
  background-position: center;
  background-size: cover;
} 

.project-links {
  display: none;
  text-decoration: none;
  color:coral;
  border-radius: 50%;
  filter:drop-shadow(10px 7px 5px rgb(0, 0, 0))
}

.project-container:hover .project-links {
  display: flex;
  background-color: rgba(0, 0, 0, 0.3);
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 400px;
  height: 250px;
  border-radius: 10px;
}




/* -------contact me section ------- */



.contact {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin: 0 80px;
}

.form-container {
  height: 420px;
  width: 500px;
  display: flex;
  justify-content: center;
  padding: 50px 100px;
}

.form-container label {
  font-size: 18px;
  font-weight: 600;
}

input[type="text"] {
  height: 30px;
  width: 300px;
  padding: 2px 10px;
  outline: none;
  font-size: 16px;
  border-radius: 10px;
  border: none;
}

input[type="email"] {
  height:30px;
  width: 300px;
  padding: 2px 10px;
  outline: none;
  font-size: 16px;
  border-radius: 10px;
  border: none;
}

textarea {
  height: 100px;
  width: 300px;
  padding: 5px 10px;
  outline: none;
  text-align: left;
  vertical-align: top;
  font-size: 16px;
  border-radius: 10px;
  border: none;
}

input[type="tel"] {
  height: 30px;
  width: 300px;
  padding: 2px 10px;
  outline: none;
  font-size: 16px;
  border-radius: 10px;
  border: none;
}

input[type="submit"] {
  height: 35px;
  width: 300px;
  border: 2px solid lightcoral;
  background: transparent;
  color: var(--font-color);
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  margin: 20px 0 ;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  outline: none;
}

#para-4 {
  font-size: 1.2em;
  font-weight: 400;
  color: green;
}

/* -------footer section -------- */

#footer {
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  color: #ccc;
  border-top: 1px solid #444;
  margin-top: 20px;
  background-color: #333;
}



/* ------Animations------ */

@keyframes borderAnime {
  0% {
    border-color: #002BFF;
  }

  30% {
    border-color: #FCFC00;
  }

  50% {
    border-color: #00F719;
  }

  75% {
    border-color: #0025F7;
  }

  100% {
    border-color: #F70056;
  }
}


@keyframes roll-down {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(20px);
    opacity: 1;
  }

  100% {
    transform: translateY(0);
    opacity: 0;
  }
}


/* ------Media Queries------ */
@media (max-width : 480px) {

  #home {
    justify-content: center;
    align-items: center;
  }
  .about-intro-div {
    font-size: 1.2em;
    padding: 0 10px;
  }

  .icon {
    width: 100px;
    height: 40px;
    margin: 10px 5px;
  }

  #skill-tag {
    font-size: 18px;
  }
}

@media (max-width : 768px) {
  #logo a {
    font-size: 16px;
  }

  nav {
    padding: 40px;
  }

  nav ul {
    width: 50%;
    gap: 30px;
    padding: 30px 0;
    flex-direction: column;
    align-items: center;
    background-color: #181c2e;
    position: fixed;
    top: 65px;
    right: -100%;
    transition: right 0.3s ease-in-out;
  }

  nav ul.active {
    right: 0%;
    transition: right 0.3s ease-in-out;
  }

  #hamburger {
    display: flex;
  }

  .nav-list a {
    font-size: 14px;
  }


  /* -----home section ------ */
  .home {
    padding: 50px 20px 0;
    gap: 25px;
    margin: 0;
  }


  .social-links {
    display: none;
  }

  #para-1 {
    font-size: 2em;
  }

  #para-2 {
    font-size: 1em;
  }

  #para-3 {
    font-size: 0.9em;
  }


  /* ------About-------*/

  .about {
    margin: 0 20px;
    font-size: 0.7em;
    padding-top: 40px;
  }

  .container {
    margin: 0;
    padding: 60px 0 0;
  }

  .icon {
    margin: 20px 10px;
  }


  /* ------project secction------ */

  .projects {
    margin: 0 20px;
  }


  .project-container {
    width: 300px;
    height: 180px;
  }

  .contact {
    margin: 0 20px;
    padding: 20px 0;
  }

  .form-container {
    width: 300px;
    height: 500px;
    padding: 30px 10px;
  }

}

@media (min-width: 769px) and (max-width: 1024px) {
  #logo a {
    font-size: 16px;
  }

  nav {
    padding: 30px 60px;
  }

  nav ul {
    gap: 40px;
  }



  .nav-list a {
    font-size: 15px;
  }


  /* -----home section ----- */

  .home {
    height: 90vh;
    padding: 0 20px;
    gap: 15px;
    text-align: center;
  }

  #para-1 {
    font-size: 2.2em;
  }

  #para-2 {
    font-size: 1.2em;
  }

  #para-3 {
    font-size: 1em;
    margin: 10px 20px 15px;
  }
}