body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  padding: 25px 20px;
  transition: background-color 0.3s, box-shadow 0.3s;
  
  
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.nav-links li {
  padding: 0;
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  position: relative;
}

.nav-links a::before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #555;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease-in;
}

.nav-links a:hover::before {
  width: 100%;
}

/* Main section*/

.about {
  height: 100vh;
  background-color: #f2f2f2;
}
.about .row {
  display: flex;
  gap: 2rem;
  padding: 8rem;
}
.about .row .image {
  text-align: center;
  flex: 1 1 35rem;
}
.about .row .image img {
  width: 15rem;
  height: auto;
  border-radius: 5%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
  transition: 0.3s;
}
.about .row .image img:hover {
  mix-blend-mode: normal;
}
.about .row .content {
  flex: 1 1 45rem;
  padding: 3rem;
}
.about .row .content h3 {
  color: rgb(27, 27, 27);
  font-size: 2.5rem;
}
.about .row .content .tag {
  font-size: 1.4rem;
  color: #020133;
  font-weight: 600;
  margin-top: 1rem;
}
.about .row .content p {
  margin-top: 1.5rem;
  font-family: "Nunito";
  text-transform: none;
}
.about .row .content .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-family: "Nunito";
  font-weight: 600;
}
.about .row .content .box-container .box p {
  text-transform: none;
}
.about .row .content .box-container .box p span {
  color: #011aff;
}

.social-media-icon {
  display: flex;
  height: 50px;
  margin-top: 20px;
}
.social-media-icon svg {
  height: 30px;
  padding-right: 20px;
  width: auto;
}

/* body container */

.body-main {
  display: flex;
  flex-direction: column;
}

.about-detail {
  display: grid;
  grid-template-columns: 50% 40%;
  grid-template-rows: 100%;
  gap: 20px;
  margin-left: 40px;
  margin-top: 50px;
  margin-bottom: 50px;
}
.animation {
  grid-column: 1;
  height: 100px;
  padding: 10px;
}
.details {
  display: flex;
  flex-direction: column;
  margin-right: 150px;

  padding: 10px;
}

/* Animation*/

.container {
  margin-left: 150px;
  position: relative;
  width: 80%;
  height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-container {
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 100%; */
}

.animation-container {
  position: relative;
  width: 80%;
  height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.box1 {
  position: absolute;
  transform: translate(-50%, -50%);
  transition: transform 1s;
  z-index: 1;
}

#box2 {
  width: 350px;
  height: 328px;
  border-radius: 47% 53% 41% 59% / 73% 30% 70% 27%;
  background-color: #3ccbe754; 
  animation: rotate2 3s linear infinite;
}

#box3 {
  width: 340px;
  height: 320px;
  border-radius: 47% 53% 41% 59% / 73% 71% 29% 27%;
  background-color: #6dc1d485; 
  animation: rotate3 3s linear infinite;
}

.animation-container:hover .box {
  transform-origin: center;
  z-index: 1;
}

.box:hover {
  z-index: 2;
}

.container img {
  width: 200px;
  height: 200px;
  position: absolute;
  top: 42%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

@keyframes rotate1 {
  from {
    transform: translate(-100px) rotate(0deg);
  }
  to {
    transform: translate(-100px) rotate(360deg);
  }
}

@keyframes rotate2 {
  from {
    transform: translate(-100px) rotate(120deg);
  }
  to {
    transform: translate(-100px) rotate(480deg);
  }
}

@keyframes rotate3 {
  from {
    transform: translate(-100px) rotate(240deg);
  }
  to {
    transform: translate(-100px) rotate(600deg);
  }
}

/* Language Icons*/

.languages {
  display: flex;
  height: 50px;
}
.languages svg {
  height: 30px;
  padding-right: 20px;
  width: auto;
}

/* Skills*/

.skills {
  display: grid;
  grid-template-columns: 40% 50%;
  grid-template-rows: 100%;
  margin-left: 150px;
  margin-bottom: 50px;
  gap: 20px;
  padding-top: 100px;
}

.skills-details {
  grid-column: 1;
}
.skills-details p {
  padding-right: 100px;
}

.skills-bar {
  grid-column: 2;
}

.progress-container {
  width: 50%;
  background-color: #f0f0f0;
  height: 15px;
  margin-top: 15px;
  border-radius: 10px;
}

.progress {
  margin-top: 50px;
  display: flex;
}
.progress-bar {
  width: 0;
  height: 15px;
  background-color: #4caf50;
  text-align: center;
  color: white;
  transition: width 0.3s;
  border-radius: 10px;
}

.progress p {
  margin-right: 30px;
}
.progress #htmlProgressBar {
  width: 70%;
}

.progress #cssProgressBar {
  width: 60%;
}
.progress #javaProgressBar {
  width: 70%;
}

.progress #pythonProgressBar {
  width: 30%;
}
.progress #reactProgressBar {
  width: 50%;
}
.progress #nodejsProgressBar {
  width: 70%;
}

.progress #androidProgressBar {
  width: 50%;
}

/* Experience */

.experience {
  display: flex;
  margin-top: 50px;
  margin-bottom: 100px;
  padding-top: 100px;
  flex-direction: column;
}

.experience h1 {
  text-align: center;
  margin-top: 100px;
  padding-top: 100px;
}
.experience-card {
  display: grid;
  grid-template-columns: 40% 50%;
  grid-template-rows: 100%;
  margin-left: 50px;
  margin-right: 50px;
  margin-bottom: 200px;
  margin-top: 50px;
  gap: 20px;
  border-radius: 10px;
}

.experience-image img {
  margin: 90px;
  border-radius: 10px;
}
.infinite_image {
  height: 300px;
  border-radius: 10px;
}
.infinite_image img {
  margin-left: 90px;
  height: 100%;
  border-radius: 10px;
}
.experience-duration {
  display: flex;
}
.experience-duration p {
  margin-top: 0%;
}
.experience-duration svg {
  height: 30px;
  margin-left: 0%;
}

.footer {
  text-align: center;
  padding: 20px;
  background-color: #f5f5f5;
  border-top: 1px solid #ccc;
  font-size: 14px;
  color: #666;
}

/* Contact */

.contact-body {
  display: grid;
  grid-template-columns: 25% 40%;
  grid-template-rows: 100%;
  gap: 100px;
  margin-left: 200px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.contact-sidebar {
  background-color: #f0f0f0;
  border-radius: 10px;
}

.contact-sidebar img {
  height: 200px;
  width: 200px;
  border-radius: 30%;
  margin-bottom: 10px;
}
.contact-sidebar h4 {
  margin-left: 40px;
}

.contact-form {
  background-color: #fff;
  border-radius: 10px;
  /* padding: 20px; */
}

.contact-form h1 {
  margin-bottom: 50px;
}

.contact-form input[type="text"],
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 50px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #0056b3;
}

.sidebar-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-contact {
  display: flex;
  margin-top: 20px;
}

.side-icon svg {
  height: 30px;
}

.icon-details p {
  margin-top: 5px;
}

/* Form*/

.form {
  background-color: #f0f0f0;
  border-radius: 20px;
  box-sizing: border-box;
  height: 500px;
  padding: 20px;
}

.title {
  color: #000;
  font-family: sans-serif;
  font-size: 36px;
  font-weight: 600;
  margin-top: 30px;
}

.subtitle {
  color: #060606;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
}

.input-container {
  height: 50px;
  position: relative;
  width: 100%;
}

.input-container1 {
  margin-top: 40px;
}

.input-container2 {
  margin-top: 30px;
}

.input {
  background-color: #f0f0f0;
  border-radius: 12px;
  border: 0;
  box-sizing: border-box;
  font-size: 18px;
  height: 100%;
  outline: 0;
  padding: 4px 20px 0;
  width: 100%;
}

.hidden-bar {
  background-color: #f0f0f0;
  border-radius: 10px;
  height: 20px;
  left: 20px;
  position: absolute;
  top: -20px;
  transform: translateY(0);
  transition: transform 200ms;
  width: 76px;
}

.cut-short {
  width: 50px;
}

.input:focus ~ .hidden-bar,
.input:not(:placeholder-shown) ~ .hidden-bar {
  transform: translateY(8px);
}

.placeholder {
  color: #65657b;
  font-family: sans-serif;
  left: 20px;
  line-height: 14px;
  pointer-events: none;
  position: absolute;
  transform-origin: 0 50%;
  transition: transform 200ms, color 200ms;
  top: 20px;
}

.input:focus ~ .placeholder,
.input:not(:placeholder-shown) ~ .placeholder {
  transform: translateY(-30px) translateX(10px) scale(0.75);
}

.input:not(:placeholder-shown) ~ .placeholder {
  color: #808097;
}

.input:focus ~ .placeholder {
  color: #dc2f55;
}

.submit {
  background-color: #08d;
  border-radius: 12px;
  border: 0;
  box-sizing: border-box;
  color: #eee;
  cursor: pointer;
  font-size: 18px;
  height: 50px;
  margin-top: 38px;
  text-align: center;
  width: 100%;
}

@media screen and (max-width: 1260px) and (min-width: 1080px) {
  .contact-body {
    grid-template-columns: 30% 40%;
  }
}

@media screen and (max-width: 1080px) and (min-width: 1020px) {
  .details {
    margin-right: 50px;
  }
  .experience-image img {
    margin: 50px;
  }
  .contact-body {
    grid-template-columns: 30% 40%;
    margin-left: 150px;
  }
}
@media screen and (max-width: 1020px) and (min-width: 955px) {
  .details {
    margin-right: 50px;
  }
  .experience-image img {
    margin: 1px;
  }
  .contact-body {
    grid-template-columns: 30% 40%;
    margin-left: 50px;
  }

  .infinite_image img {
    margin-left: 0px;
  }
}

@media screen and (max-width: 955px) and (min-width: 840px) {
  .details {
    margin-right: 50px;
  }
  .experience-image img {
    margin: 100px 0px 0px 0px;
    width: 80%;
  }
  .contact-body {
    grid-template-columns: 35% 40%;
    margin-left: 50px;
  }

  .infinite_image img {
    margin-left: 0px;
  }
}

@media screen and (max-width: 840px) and (min-width: 650px) {
  #box2 {
    width: 250px;
    height: 250px;
  }

  #box3 {
    width: 250px;
    height: 250px;
  }
  .container img {
    width: 180px;
    height: 180px;
    top: 47%;
  }
  .skills {
    display: grid;
    grid-template-columns: 100%;
    margin-left: 50px;
    gap: 10px;
    grid-template-rows: auto;
  }
  .infinite_image {
    height: 200px;
    margin-left: 0px;
    padding-top: 100px;
  }
  .contact-body {
    grid-template-columns: 45% 45%;
    margin-left: 50px;
    gap: 10px;
  }

  .details {
    margin-right: 50px;
  }
  .experience-image img {
    margin: 100px 0px 0px 0px;
    width: 80%;
  }

  .infinite_image img {
    margin-left: 0px;
  }

  .about-detail {
    margin-left: 10px;
  }
}

@media screen and (max-width: 650px) and (min-width:480px) {
.navbar{
  flex-direction: column;
}
.about .row{
  flex-direction: column;
  gap: 10px;
  padding: 100px;
}
.about .row .image{
flex: auto;
}
.about .row .content{
flex: auto;
padding: 1rem;
}
.about .row .content p {
text-align: center;
}
.social-media-icon {
  justify-content: space-evenly;
}
.about-detail {
  display: flex;
  gap: 200px;
  margin-top: 200px;
  flex-direction: column;
}
.container{
  margin-left: 90px;
}

.details{
  margin-right: 0px;
}
.skills {
  display: grid;
  grid-template-columns: 100%;
  margin-left: 50px;
  gap: 10px;
  grid-template-rows: auto;
  margin-bottom: 0px;
}
.experience{
  margin-top: 0px;
  padding-top: 0px;
}

.experience-card {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows:auto ;
  margin-bottom: 0px;
  margin-left: 50px;
  margin-right: 50px;
  gap: 20px;
  border-radius: 10px;
}
.experience-image img {
  margin: 30px;
  border-radius: 10px;
}
.infinite_image img {
  margin-left: 20px;
}
.contact-body {
  display: flex;
  flex-direction: column;
  margin: 0px;
  gap: 20px;
}
.sidebar-info{
  align-items: center;
}
.sidebar-contact{
  align-items: center;
  margin-left: 20px;
}
.contact-form{
  margin-bottom: 20px;
}

}


@media screen and (max-width:480px) {
  .nav-links{
    gap:9px
  }
  .nav-links a{ 
    font-size: 15px;
  }
  .navbar{
    flex-direction: column;
  }
  .about .row{
    flex-direction: column;
    gap: 10px;
    padding: 45px;
  }
  .about .row .image{
  flex: auto;
  }
  .about .row .content{
  flex: auto;
  padding: 1rem;
  }
  .about .row .content p {
  text-align: center;
  }
  .social-media-icon {
    justify-content: space-evenly;
  }
  .skills-details p {
    padding-right: 0px;
  }
  .about-detail {
    display: flex;
    gap: 200px;
    margin-top: 200px;
    flex-direction: column;
  }
  .container{
    margin-left: 60px;
  }
  #box2 {
    width: 200px;
    height: 200px;
  }

  #box3 {
    width: 200px;
    height: 200px;
  }
  .container img {
    width: 150px;
    height: 150px;
    top: 42%;
    left: 16%;
  }
  
  .details{
    margin-right: 0px;
  }
  .skills {
    display: grid;
    grid-template-columns: 100%;
    margin-left: 50px;
    gap: 10px;
    grid-template-rows: auto;
    margin-bottom: 0px;
  }
  .experience{
    margin-top: 0px;
    padding-top: 0px;
  }
  
  .experience-card {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows:auto ;
    margin-bottom: 0px;
    margin-left: 50px;
    margin-right: 50px;
    gap: 20px;
    border-radius: 10px;
  }
  .experience-image img {
    margin: 10px;
    width: 100%;
    border-radius: 10px;
  }
  .infinite_image img {
    margin-left: 20px;
    width: 100%;
  }
  .contact-body {
    display: flex;
    flex-direction: column;
    margin: 0px;
    gap: 20px;
  }
  .sidebar-info{
    align-items: center;
  }
  .sidebar-contact{
    align-items: center;
    margin-left: 20px;
  }
  .contact-form{
    margin-bottom: 20px;
  }
  
  }
  
