* {
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(80deg, rgb(15, 4, 43), rgb(8, 25, 97));
  font-family: "Poppins", sans-serif;
  color: white;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed; /*to make the background color relative on screen*/

}
nav{
  width: 100%;
  height: 80px;
  background: #4089dd;
  position: fixed;
  z-index: 50;
  margin-top: -80px;
}
 label.logo{
  font-size: 50px;
  color:black;
  margin: 0 100px;
  line-height: 80px;
 }
 nav ul{
  float: right;
  text-decoration: none;
  list-style: none;
  padding-right:200px ;
 }
 nav ul li{
  display: inline-block;
  line-height: 80px;
 }
 nav ul li a{
  font-size: 20px;
  padding:8px 20px;
 }
 nav ul li a.active,a:hover{
  color: lavender;
  font-size: 1.5rem;

 }
#checkbtn{
float:right;
line-height: 80px;
font-size: 60px;
display: none;
margin: 0 90px;
 }
 #check{
  display: none;
 }

.right{
  margin-top: 35px;
}
#check:checked ~ ul{
  left:0;
 }

 .footer-second,.footer-third,.footer-fourth{
  background-color: #000;
  float: right;
 
 }










  @media screen and (max-width:1200px) {
    footer{
      background-size: cover;
      width: 100%;
    }
    
    img{
      margin-left: -300px;
    }
    
    
    .container-2{
      padding-left: 30px;
    }
    .path.path-1{
      margin-left: 30px;
    }
    .path .path-2{
      margin-right: 30px;
    }

}












@media screen and (max-width:1000px) {
  main hr{
    width:900px;
  }
  .text-gray{
    padding: 0px 30px;
  }
  #third-section{
    margin-left: 700px;
  }
  .description {
    font-size: 1.325rem;
    color: #f5f1f1;
    opacity: 0;
    animation: fadeInText 1.5s forwards 0.6s;
    margin-left: 50px;
    margin-top: 200px;
    width: 500px;
}

div.contact-container{
  margin-left: 350px;
  margin-right: -450px;
  background: transparent;
}
.contact-section{
  display:none;
}
h2#contactt{
  color:orchid;

}
span.text-gray{display:none;}

section.contact-section{
  background: transparent;
}
.radial-bars{
  margin: 70px 70px 70px 70px;
  padding: 50px;
}
h1.heading-1{
  margin-left: 200px;
}
.footer{
  width: 1200px;
background-size: cover;
}
h1#skill{
  width:200px;
  margin: 20px 500px 40px;
}
/*
.footer-second{
  background-color: #000;
  margin-left: 700px;

 }
 .footer-third{
  background-color: #000;
  margin-left: 500px;
 }
 .footer-fourth{
  background-color: #000;
  margin-left: 600px;
 }

 */


}


    






@media screen and (max-width:950px) {
  #checkbtn{
    display: block;
    
   }
   
 nav ul{
  width: 100%;
  height: 50vh;
  background:blue;
 position: fixed;
 top:80px;
 left:-120%;
 transition:.3s;
 
}
 
 nav ul li{
  display: block;
  text-align: center;
  line-height: 50px;
  margin: 15px;
 }
 img{
  height: 60vh;
  margin-top: 100px;
 }
 .leftsection{
  margin-top: 200px;
 }
 #text{
  width: 100px;
 }
 span#element{
  width: 400px;
 }
 .container-2{
    width: 600px;
    height: 500px;
    padding: 200px;
    margin-left:60px;
 }
}


img{
  margin-right: -1400px;
}
.image{
margin-left: -300px;
}
a .left {
  font-size: 2rem;
  color: rgb(10, 0, 5);
  text-decoration: none;
}
.leftsection {
  font-size: 60px;
  color: white;
  margin-left: 150px;
  margin: 10px 40px 10px 70px;
  padding-top: 100px;
  

}
.bar-nav{
margin-top: -40px;
height: 40px;
width: 10%;
}
#firstsection {
  display: flex;
  justify-content: space-around;
  margin: 80.4px 0;
  align-items: center;
  width:1000px;
}
#first > div {
  width: 40%;
}
.leftsection {
  width: auto;
  font-size: 25px;
}
.btn-1 {
  margin-left: -15px;
  margin-top: 150px;
  padding: 10px 20px;
  border: none;
  color: #fff;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 12px;
}
.btn-2 {
  margin-left: 10px;
  margin-top: 150px;
  padding: 10px 20px;
  color: #fff;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 12px;
  text-decoration: none;
}
a:-webkit-any-link {
  color: white;
  cursor: pointer;
  text-decoration: none;
}
.btn-1::after {
  content: "";
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #333;
  left: 0;
  margin-top: -10px;
  border-radius: 10px;
}
.btn-2::after {
  content: "";
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #333;
  left: 0;
  top: 0;
  border-radius: 10px;
}

.btn-1::before {
  content: "";
  background: linear-gradient(
    45deg,
    purple,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #002bff,
    #00ffd5,
    purple
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 600%;
  z-index: -1;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  filter: blur(8px);
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
  opacity: 1;
  animation: glowing 20s linear infinite;
}

@keyframes glowing {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}
.btn-1:hover::before {
  opacity: 1;
}
.btn-1:active:after {
  background: transparent;
}
.btn-1:active {
  color: #000;
  font-weight: bold;
}
.btn-2::before {
  content: "";
  background: linear-gradient(
    45deg,
    purple,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #002bff,
    #00ffd5,
    purple
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 600%;
  z-index: -1;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  filter: blur(8px);
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
  opacity: 1;
  animation: glowing 20s linear infinite;
}
@keyframes glowing {
  0% {
    background-position: 0 0;
  }
  0% {
    background-position: 400% 0;
  }
  0% {
    background-position: 0 0;
  }
}
.btn-2:hover::before {
  opacity: 1;
}
.btn-2:active:after {
  background: transparent;
}
.btn-2:active {
  color: #000;
  font-weight: bold;
}
.rightsection {
  margin-left: 0px;
  margin-top: -50px;
}
.purple {
  color: rgb(255, 12, 73);
}
.text-gray {
  color: rgb(19, 2, 255);
}
#element {
  color: rgb(255, 12, 73);
}
#secondsection {
  max-width: 80vw;
  margin: auto;
  height: 80vh;
}
#secondsection h1 {
  font-size: 1.5rem;
}
.menu-btn {
  font-size: 30px;
  color: white;
  float: right;
  margin-right: -150px;
  cursor: pointer;
}
main hr {
  border: 0;
  background: #08c1da;
  height: 2px;
  margin: 30px 200px;
}
#secondsection .box {
  background: white;
  width: 80vw;
  height: 2px;
  margin: 56px 0;
  display: flex;
}
#secondsection .vertical {
  height: 93px;
  width: 3px;
  background-color: white;
  margin: 0 70px;
}
footer {
  background-color: rgb(33, 77, 97);
  height: 50px;
  color: blue;
  margin-bottom: 10px;
  margin-top: 50px;
}
.footer {
  display: flex;
  padding: 20px 100px;
  background-color: white;
  margin-bottom: 0;
  position:relative;
  background-size: cover ;
}

footer h3{
width: 300px;
margin-top: 40px;
font-size: 1.4rem;
}

.footer-rights {
  text-align: center;
  color: rgb(220, 226, 228);
justify-content: center;
width: 800px;
margin-left: 400px;
}
.lavender {
  color: #ff37a5;
}
#skill {
  align-items: center;
  justify-content: center;
  margin-left: 530px;
  margin-top: 20px;
  font-size: 40px;
}
.skillsection {
  display: flex;
  flex-wrap: wrap;
}
.container1 {
  width: 600px;
  height: 500px;
  padding: 70px;
  margin-left: 40px;
}
.heading {
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 5px;
  margin-bottom: 50px;
  margin-left: 200px;
}
.bar {
  font-size: 25px;
}
.technical-bars .bar {
  margin: 16px 0;
}
.technical-bars .bar {
  margin: 50px 0;
}
.technical-bars .bar:first-child {
  margin-top: 0;
}
.technical-bars .bar:last-child {
  margin-bottom: 5px;
}
.technical-bars .bar .info span {
  font-size: 10px;
  font-weight: 500;
  animation: showText 0.5s 1s linear forwards;
  opacity: 0;
}
.technical-bars .bar .progress-line {
  position: relative;
  border-radius: 10px;
  width: 750px;
  height: 5px;
  background-color: #000;
  animation: animate 0.5s cubic-bezier(1, 0, 0.5, 1) forwards;
  transform: scaleX(0);
  transform-origin: left;
}
@keyframes animate {
  100% {
    transform: scalex(1);
  }
}
.technical-bars .bar .progress-line span {
  height: 100%;
  background-color: #0ef;
  position: absolute;
  border-radius: 10px;
  animation: animate 0.8s 1.6s cubic-bezier(1, 0, 0.5, 1) forwards;
  transform: scaleX(0);
  transform-origin: left;
}
.progress-line.html span {
  width: 80%;
}
.progress-line.css span {
  width: 60%;
}
.progress-line.js span {
  width: 50%;
}
.progress-line.c span {
  width: 80%;
}
.progress-line.cpp span {
  width: 70%;
}
.progress-line.tailwind span {
  width: 40%;
}
.progress-line.react span {
  width: 30%;
}
.progress-line span::after {
  position: absolute;
  padding: 1px 8px;
  background-color: #000;
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
  top: -28px;
  right: -20px;
  animation: showText 0.5s 1.5s linear forwards;
  opacity: 0;
}
.progress-line.html span::after {
  content: "80%";
}
.progress-line.css span::after {
  content: "60%";
}
.progress-line.js span::after {
  content: "50%";
}
.progress-line.c span::after {
  content: "80%";
}
.progress-line.cpp span::after {
  content: "70%";
}
.progress-line.tailwind span::after {
  content: "40%";
}
.progress-line.react span::after {
  content: "30%";
}

.progress-line span::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 7px solid transparent;
  border-bottom-width: 0px;
  border-right-width: 0px;
  border-top-color: #000;
  top: -10px;
  right: 0;
  animation: showText 0.5s 1.5s linear forwards;
  opacity: 0;
}
@keyframes showText {
  100% {
    opacity: 1;
  }
}

.radial-bars{
  width: 100%;
  display:flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: flex-start;
}
.radial-bars .radial-bar{
  width:50%;
  height: 200px;
  margin-bottom: 10px;
  position: relative;  
}
.radial-bars .radial-bar svg{
  position: absolute;
  top: 50%;
  left:50%;
  transform:translate(-50%, -50%) rotate(-90deg);
  width: 120px;
  height: 160px;
}
.radial-bars .radial-bar .progress-bar{
 stroke-width:10;
 stroke:black;
 fill:transparent;
 stroke-dasharray:502 ;
 stroke-dashoffset: 502;
 stroke-linecap: round;
 animation: animate-bar 1s linear forwards;

} 
@keyframes animate-bar{
  100%{
    stroke-dashoffset: -1;
  }
}
.path{
 stroke-width: 10;
 stroke:#0ef;
 fill:transparent;
 stroke-dasharray:502 ;
 stroke-dashoffset: 502;
 stroke-linecap:round;
}

.path-1{animation: animate-path1 1s 1s linear forwards;}
.path-2{
  animation: animate-path1 1s 1s linear forwards;
}
.path-3{
  animation: animate-path1 1s 1s linear forwards;
}
.path-4{
  animation: animate-path1 1s 1s linear forwards;
}

@keyframes animate-path1{
  100%{
    stroke-dashoffset: 50;
  }
}

@keyframes animate-path12{
  100%{
    stroke-dashoffset: 175;
  }
}
@keyframes animate-path1{
  100%{
    stroke-dashoffset: 125;
  }
}
@keyframes animate-path12{
  100%{
    stroke-dashoffset: 75;
  }
}

.radial-bar .percentage{
position: absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
font-size: 17px;
font-weight: 500;
animation: showText 0.5s 1s linear forwards;
opacity: 0;
}
.progress-bar .text{
  width: 100%;
  position:absolute;
  text-align:center;
  left: 50%;
  bottom: -5px;
  transform:translateX(-50%);
  font-size:17px;
  font-weight: 500;
  animation: showText 0.5s 1s linear forwards;
  opacity: 0;
}
.heading-1{
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 5px;
  margin-bottom: 50px;
  margin-left: 0px;
}
.container-2{
  width: 600px;
  height: 500px;
  padding: 200px;
  margin-left:30px;

}
 #liness{
 
  margin-top: 1000px;

}
#third-section-me{
  color:#ea00ff;

}
#aboutme{
  margin-left: 600px;
  text-decoration: underline;
  margin-top: 100px;
  
}

#linesss{
  margin-top: 200px;
}

@media screen and (max-width: 1400px) {
  body {
    background: #020347;
  }
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #333;
  margin-top: 200px;
  margin-left: 200px;
}

p {
  font-size: 1.125rem;
  color: #555;
  line-height: 1.6;
  max-width: 600px;
}

#about-me {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-direction: row;
  max-width: 1100px;
  margin: 0 auto;
  transition: transform 0.3s ease-in-out;
}

/* Image Styling */
.about-image img {
  border-radius: 50%;
  width: 200px;
  height: 200px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  animation: fadeInImage 2s forwards 0.5s;
  margin-top: 450px;
}

/* Text Styling */
.about-text {
  max-width: 600px;
}

.title {
  font-size: 2.5rem;
  color: #0aeea2;
  opacity: 0;
  text-decoration: underline;
  animation: fadeInText 1.5s forwards 0.3s;
  margin-left: 20px;
}

.description {
  font-size: 1.325rem;
  color: #f5f1f1;
  opacity: 0;
  animation: fadeInText 1.5s forwards 0.6s;
  margin-left: 100px;
  margin-top: 200px;
}

/* Animations */
@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInImage {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/*
Responsiveness
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
  }

  .about-image img {
    width: 150px;
    height: 150px;
  }

  h2 {
    font-size: 2rem;
  }

  p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 1.8rem;
  }

  p {
    font-size: 0.9rem;
    padding: 0 10px;
  }

  .about-container {
    padding: 10px;
  }
}

*/


/* Contact Form Styles */
.contact-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(50, 19, 126, 0.9), rgba(8, 25, 97, 0.9));
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-container {
  max-width: 600px;
  width: 100%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.contact-container h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2rem;
  color: #f9f9f9;
}
#contactt{
  margin-top: 80px;
  margin-left: -50px;
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #f9f9f9;
  border-radius: 20%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0077ff;
  box-shadow: 0 0 5px rgba(0, 119, 255, 0.5);
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: #0077ff;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #005bb5;
}
#email-contact{
  margin-left: 400px;
  width: 800px;
  margin-top: 40px;
  font-size: 1.4rem;
}


input#name{
  border-radius: 10px;
  margin-left: 45px;
  font-size: 2rem;
}
input#email{
  border-radius: 10px;
  margin-left: 50px;
  font-size: 2rem;
}
input#subject{
  border-radius: 10px;
  margin-left: 20px;
  font-size: 2rem;
}
textarea#message{
  border-radius: 10px;
  margin-left: 10px;
  width:300px;
  font-size: 2rem;
}
div.form-group{
  padding: 10px;
}
div.social-icons{
  display: inline-flex;
  font-size: 2rem;
}
div.footer-second{
  margin-left: 30px;
}
label{
  font-size: 2rem;
}