@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");
* {
  margin: 0;
  padding: 0;
  text-transform: capitalize;
  scroll-behavior: smooth;
}
html::-webkit-scrollbar {
  width: 0.6rem;
}
html::-webkit-scrollbar-track {
  background: rgb(200, 188, 223);
}
html::-webkit-scrollbar-thumb {
  background: #420177;
}
body {
  /* cursor: url("fa-brands fa-github"),auto; */
}



/* Global styles */
body, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto Mono', monospace; /* Ensure consistent font across the site */
  color: white; /* Default text color */
}

/* Header styles */
#header {
  background-image: url(images/WWDC24MAC.png);
  height: 680px;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column; /* Change to column to stack elements */
  justify-content: center; /* Center vertically */
  align-items: center; /* Center horizontally */
  text-align: center;
  padding: 20px; /* Add some padding to prevent elements from touching edges */
}

/* Typed text container */
.typed-text-container {
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold; /* Bold text */
  font-size: 3em; /* Adjust font size as needed */
  color: white; /* Ensure welcome text is white */
  margin-bottom: 20px; /* Add some space below the typed text */
}

/* Logo with animation */
.logo {
  font-size: 2rem;
  padding-left: 20px;
  text-align: center;
  animation: glow 1s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0px 0px 10px #fff, 0 0 10px #fff, 0 0 10px 3a9dfa,
      0 0 40px #3a9dfa, 0 0 50px #3a9dfa, 0 0 60px #3a9dfa, 0 0 70px #3a9dfa;
  }
  to {
    text-shadow: 0px 0px 10px #fff, 0 0 30px #3a9dfa, 0 0 40px #3a9dfa,
      0 0 50px #3a9dfa, 0 0 60px #3a9dfa, 0 0 70px #3a9dfa, 0 0 80px #3a9dfa;
  }
}

li {
  margin: 8px;
}

nav ul li a p {
  font-weight: 500;
  border-bottom: 0;
  padding-top: 5px;
  border-bottom-style: solid;
  /* border-bottom-width: 3px; */
  position: relative;
  width: fit-content;
  text-decoration: none;
  letter-spacing: 0.5px;
}

nav ul li a p::after {
  font-weight: 500;
  border-bottom: 0;
  padding-top: 5px;
  border-bottom-style: solid;
  /* border-bottom-width: 3px; */
  width: fit-content;
  position: absolute;
  content: "";
  background-color: #80c1ff;
}

nav ul li a p {
  transition: all 0.2s;
}

nav ul li a p:hover {
  color: #80c1ff;
  border-bottom: 2px solid #80c1ff;
}

/* Scroll to Top button */
.scrollTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 10px 15px;
  background-color: transparent;
  color: white;
  border: 2px solid #80c1ff;
  border-radius: 5px;
  cursor: pointer;
  /* transition: all 0.5s ease; */
  z-index: 1000;
  display: none;
  animation: borderLoading 1s linear infinite;
  transition: 1 ms;
  font-size: 24px; /* Adjust the size of the arrow */
  line-height: 1;  /* Adjust the line height */
}

.scrollTop::before {
  content: "↑"; /* Unicode for up arrow */
  display: inline-block;
}

.scrollTop.show {
  display: block;
}

.scrollTop:hover {
  color: #80c1ff;
  /* background-color: white; */
}

button {
  color: white;
  background-color: transparent;
  border: 2px solid #80c1ff;
  animation: borderLoading 1s linear infinite;
 
  animation-delay: 0.25s;
  font-size: 24px; /* Adjust the size of the arrow */
  line-height: 1;  /* Adjust the line height */
}

button::before {
  
  display: inline-block;
}

@keyframes borderLoading {
  0% {
    border-color: #80c1ff;
  }
  25% {
    border-color: #80c1ff transparent transparent transparent;
  }
  50% {
    border-color: #80c1ff #80c1ff transparent transparent;
  }
  75% {
    border-color: #80c1ff #80c1ff #80c1ff transparent;
  }
  100% {
    border-color: #80c1ff;
  }
}




.top {
  position: fixed;
  width: 10%;
  height: 80px;
  padding: 1em;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: #1d0b4dc2;
  backdrop-filter: blur(5px);
}

nav {
  margin-top: 0;
  left: 0;
}

/* Home section */
#home {
  position: relative;
  width: 100%;
  height: 650px;
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  flex-direction: column; /* Stack elements */
  text-align: center; /* Center text */
  padding: 20px; /* Add padding for spacing */
}

.home-text {
  width: 200%;
  max-width: 600px;
  padding: 40px;
  font-size: 2rem;
  color: white; /* Ensure text color is white */
  background-color: #080076b7;
  border-radius: 40px;
  line-height: 2;
  box-shadow: 20px 20px 50px 10px rgba(128, 193, 255, 0.5), 6px 5px 6px 6px #80c1ff;
  margin-top: 20px; /* Add margin to separate from other elements */
  height: auto;
}

.name {
  color: #80c1ff;
  font-weight: 500;
}

.icon {
  color: white;
  margin: 20px 20px;
}

.icon:hover {
  color: #00eeff;
  transform: translateY(-5px);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  #header {
    height: auto;
    background-attachment: scroll;
    padding: 20px 0;
  }
  
  .typed-text-container {
    font-size: 2em;
  }

  .logo {
    font-size: 5.5rem;
    padding: auto;
  }

  .home-text {
    width: 90%;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .typed-text-container {
    font-size: 1.5em;
  }

  .logo {
    font-size: 1.2rem;
  }

  .home-text {
    width: 100%;
    font-size: 1.2rem;
    padding: 20px;
  }
}


/* Include the CSS styles here */
        /* about section starts */

        #about {
          background-color: #1d0b4d;
          width: 103%;
          padding: 50px;
          padding-top: 70px;
          display: flex;
          justify-content: center;
          align-items: center;
          color: white;
          text-align: center;
          font-family: 'Courier New', Courier, monospace;
          font-weight: bold;
        }

        #about h1 {
          font-size: 36px;
          font-weight: bold;
          margin-bottom: 40px;
        }

        .abtfirst {
          display: flex;
          justify-content: center;
          align-items: center;
          padding: 30px;
          flex-wrap: wrap;
        }

        .myPic {
          max-width: 100%;
          border-radius: 8px;
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
          margin-bottom: 20px;
          height: auto;
          width: 70%;
        }

        .abtsecond {
          background-color: #ffe8e8;
          border-radius: 8px;
          padding: 40px;
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
          max-width: 700px;
          color: #333;
          margin-bottom: 20px;
          text-align: left;
        }

        .abt {
          font-weight: bold;
          color: rgb(5, 255, 255);
        }

        .point {
          display: flex;
          align-items: center;
          margin-bottom: 15px;
          font-size: 18px;
          font-weight: bold;
        }

        .point span {
          margin-left: 10px;
        }

        .highlight {
          font-weight: bold;
          color: #007bff;
        }

/* about section ends */

/* skills section starts */

#skills {
  width: 100%;
  height: 700px;
  /* background-color: #fff; */
  /* background-image: url(images/bluedesign.jpg); */
  color: white;
  padding: 40px;
  padding-top: 70px;
  background-attachment: fixed;
  /* background-color: rgba(2, 116, 116, 0.493);  */
  background-color: #220a64;
}
#skills h1 {
  padding-bottom: 20px;
  display: flex;
  justify-content: center;
  width: 100%;
}
.ss {
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  /* background-color: #1D0B4D; */
  margin: 0;
  padding: 0;
}
.skillset {
  padding: 30px;
  height: 450px;
  background-color: rgb(19, 9, 75);
  border-radius: 40px;
  width: 70%;
}
.skill-img {
  padding: 10px;
  /* border-radius: 50px; */
  width: 40%;
}
.skill-div {
  /* background-color:#420177; */
  border-radius: 30px;
  font-weight: 500;
  font-size: 1.2rem;
}
.skill-div:hover {
  background-color: #220a64;
}
.fas {
  padding-right: 20px;
  padding-top: 10px;
}

/* skill section ends */

/* education section ends */
#edu {
  background-color: #1d0b4d;
  width: 100%;
  height: 850px;
  color: white;
  /* background-image: url(images/bluedesign.jpg); */
  background-attachment: fixed;
  padding: 40px;
}
.edu-title{
  text-align: center;
}

.timeline ul {
  padding: 50px 0;
}
.timeline ul li {
  list-style-type: none;
  position: relative;
  width: 6px;
  margin: 0 auto;
  padding-top: 50px;
  background:rgb(100, 102, 228);
}

.timeline ul li::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: inherit;
  z-index: 1;
  }
  
  .timeline ul li div {
    position: relative;
    bottom: 0;
    width: 400px;
    padding: 15px;
    background:rgb(43, 13, 124);
  }
  
  .timeline ul li div::before {
    content: "";
    position: absolute;
    bottom: 7px;
    width: 0;
    height: 0;
    border-style: solid;
  }
  
  .timeline ul li:nth-child(odd) div {
    left: 45px;
  }
  
  .timeline ul li:nth-child(odd) div::before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent rgb(43, 13, 124) transparent transparent;
  }
  
  .timeline ul li:nth-child(even) div {
    left: -439px;
  }
  
  .timeline ul li:nth-child(even) div::before {
    right: -15px;
    border-width: 8px 0 8px 16px;
    border-color: transparent transparent transparent rgb(43, 13, 124);
  }
  
  time {
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 8px;
  }
  /* GENERAL MEDIA QUERIES for edu section*/  
  @media screen and (max-width: 900px) {
    .timeline ul li div {
      width: 250px;
    }
    .timeline ul li:nth-child(even) div {
      left: -289px;
      /*250+45-6*/
    }
  }
  @media screen and (max-width:300px){
    .timeline ul li div{
      width:70%;
    }
  }
  @media screen and (max-width: 600px) {
    .timeline ul li {
      margin-left: 20px;
    }
    .timeline ul li div {
      width: calc(80vw - 91px);
    }
    .timeline ul li:nth-child(even) div {
      left: 45px;
    }
    .timeline ul li:nth-child(even) div::before {
      left: -15px;
      border-width: 8px 16px 8px 0;
      border-color: transparent rgb(43, 13, 124) transparent transparent;
    }
  }
  
  
  /* EXTRA/CLIP PATH STYLES */
.timeline-clippy ul li::after {
  width: 40px;
  height: 40px;
  border-radius: 0;
} 
.timeline-rhombus ul li::after {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.timeline-rhombus ul li div::before {
  bottom: 12px;
}
.timeline-star ul li::after {
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}
.timeline-heptagon ul li::after {
  clip-path: polygon(
    50% 0%,
    90% 20%,
    100% 60%,
    75% 100%,
    25% 100%,
    0% 60%,
    10% 20%
  );
}
.timeline-infinite ul li::after {
  animation: scaleAnimation 2s infinite;
}
@keyframes scaleAnimation {
    0% {
      transform: translateX(-50%) scale(1);
    }
    50% {
      transform: translateX(-50%) scale(1.25);
    }
    100% {
      transform: translateX(-50%) scale(1);
    }
  } 


/* edu section ends */


/* Resume Button */
.abtsecond {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  
  
}
.point {
  margin-bottom: 10px;
}
.center-button {
  display: flex;
  justify-content: center;
  width: 100%; /* Ensures the flex container takes the full width of the parent */
  margin-top: 20px; /* Optional: to add some spacing above the button */
 
}
.bn78-hover {
  background-color: #3f86ed;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  transition: background-color 0.3s;
  border-radius: 10px;
}
.bn78-hover:hover {
  background-color: #3f86ed;
}
/* Resume Button End */

/* projects section starts */
#projects {
  width: 100%;
  /* height: 800px; */
  background-color: #220a64;
  color: white;
  padding: 30px;
  text-align: center;
}
.card{
    color: black;
}
.proj {
  display: flex;
  gap: 50px;
  text-align: center;
  justify-content: center;
}
.project-info {
  background-color: rgb(19, 9, 75);
  width: 30%;
  padding: 20px;
  border-radius: 50px;
  height: 570px;
}

.proj-heading {
  padding: 30px;
  padding-top: 0;
}
.proj-img {
  padding: 15px;
}

.bn632-hover {
  width: 90px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  margin: 20px;
  height: 35px;
  text-align:center;
  border: none;
  background-size: 300% 100%;
  border-radius: 35px;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

.bn632-hover:hover {
  background-position: 100% 0;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

.bn632-hover:focus {
  outline: none;
}

.bn632-hover.bn26 {
  background-image: linear-gradient(
    to right,
    #25aae1,
    #4481eb,
    #04befe,
    #3f86ed
  );
  box-shadow: 0 4px 15px 0 rgba(65, 132, 234, 0.75);
}

/* project section ends */


/* contact me section starts */
#contact {
  width: 100%;
  /* height: 550px; */
  padding: 50px;
  background-color: rgb(19, 9, 75);
  color: white;
  justify-content: center;
  text-align: center;
}
.tail {
  padding: 20px;
}
.tail-name {
  text-decoration: none;
  font-weight: 500;
  color: #80c1ff;
}
.tail-name:hover {
  color: #80c1ff;
}
.contact-btn {
  position: relative;
  display: inline-block;
  padding: 25px 30px;
  margin: 30px 0;
  color: #80c1ff;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.5s;
  letter-spacing: 4px;
  overflow: hidden;
}
.contact-btn:hover {
  background: #80c1ff;
  color: #050801;
  box-shadow: 0 0 5px #80c1ff, 0 0 25px #80c1ff, 0 0 50px #80c1ff,
    0 0 200px #80c1ff;
  -webkit-box-reflect: below 1px linear-gradient(transparent, white);
}
.contact-btn:nth-child(1) {
  filter: hue-rotate(270deg);
}
.contact-btn:nth-child(2) {
  filter: hue-rotate(110deg);
}
.contact-btn span {
  position: absolute;
  display: block;
}
.contact-btn span:nth-child(1) {
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #80c1ff);
  animation: animate1 1s linear infinite;
}
@keyframes animate1 {
  0% {
    left: -100%;
  }
  50%,
  100% {
    left: 100%;
  }
}
.contact-btn span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #03e9f4);
  animation: animate2 1s linear infinite;
  animation-delay: 0.25s;
}
@keyframes animate2 {
  0% {
    top: -100%;
  }
  50%,
  100% {
    top: 100%;
  }
}
.contact-btn span:nth-child(3) {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, #03e9f4);
  animation: animate3 1s linear infinite;
  animation-delay: 0.5s;
}
@keyframes animate3 {
  0% {
    right: -100%;
  }
  50%,
  100% {
    right: 100%;
  }
}

.contact-btn span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #03e9f4);
  animation: animate4 1s linear infinite;
  animation-delay: 0.75s;
}
@keyframes animate4 {
  0% {
    bottom: -100%;
  }
  50%,
  100% {
    bottom: 100%;
  }
}

/* contact me section ends */


/* media queries for responsiveness */
@media screen and (max-width: 767px) {
  .top {
    backdrop-filter: unset;

  }
  .left {
    background-color: rgb(29, 11, 77);  
  }
  .left li {
    margin: 0px;
  }
  .left li a p:hover {
    font-size: 1.1rem;
  }
  .home-text {
    width: 80%;
    height: 200px;
    font-size: 1.4rem;
  }
  .icon {
    margin: 20px 10px;
  }
  .skillset {
    padding: 30px;
    height: 550px;
    background-color: rgb(19, 9, 75);
    border-radius: 40px;
    width: 100%;
  }
  .skill-img {
    padding: 10px;
    width: 80%;
  }
  .skill-div {
    border-radius: 30px;
    font-weight: 500;
    font-size: 1.2rem;
    width: 10%;
    height: 150px;
  }
}
@media screen and (min-width: 20px) and (max-width:480px){
  .home-text {
    width: 85%;
    height: 200px;
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .icon{
    padding-top: 20px;
    margin:5px;
    font-size: 20px;
  }
  .myPic{
    height: 100%;
    width: 100%;
  }
  #edu{
    height: 1100px;
  }
  .skill-img{
    padding:0px;
    /* border-radius: 50px; */
    width: 100%;
  }
  .skillset {
    padding: 20px;
    height: 450px;
    background-color: rgb(19, 9, 75);
    border-radius: 40px;
    width: 100%;
  }
  .skill-div {
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.8rem;
  }
  .skill-div:hover{
    background-color:rgb(19, 9, 75) ;
  }
  .abtsecond {
    text-align: start;
    display: inline-block;
    font-size: 0.9rem;
  }
  .bn632-hover {
    width: 64px;
    font-size: 12px;
    font-weight: 600;
    margin: 10px;
  }
}
@media screen and (min-width: 767px) and (max-width: 1129px) {
  .home-text {
    width: 60%;
    height: 250px;
    font-size: 1.6rem;
  }
}





/* css ends */