@media screen and (max-width: 472px) {
  .scroll {
    overflow-y: hidden;
  }
  .nav {
    justify-content: space-between;
    height: 60px;
    padding: 0px 10px 0px 10px;
  }

  .bar {
    width: 32px;
    height: auto;
    display: block;
    font-size: 1.5rem;
    z-index: 99;
    text-align: center;
    /* margin-right: 15px; */
  }

  .navigation {
    position: absolute;
    flex-direction: column;
    gap: 30px;
    left: 0;
    top: -48.2rem;
    padding-top: 20px;
    align-items: center;
    width: 100%;
    display: flex;
    margin-left: 0px;
    transform: translateY(-10%);
    transition: 0.5s ease;
    height: 50rem;
    background-color: rgba(128, 0, 128, 0.888);
    backdrop-filter: blur(10px);

    padding-top: 60px;
    z-index: 11;
  }

  .navigation.active {
    top: -30px;
    border-radius: 10px 10px 0px 0px;
    transform: translateY(10%);
  }

  .navigation a {
    color: white;
    font-weight: 400;
    font-size: 15px;
    margin-right: 0px;
  }

  .navigation a:hover {
    border-radius: 2px;
    color: green;
    border-bottom: 3px solid white;
  }

  .Portfolio {
    margin-left: 20px;
    padding-left: 0px;
    font-size: 1.5rem;
    font-family: cursive;
  }

  .bar {
    cursor: pointer;
  }

  #nav-toggle {
    transition: transform 0.3s ease-in-out;
  }

  #nav-toggle.fa-bars {
    transform: rotate(0deg);
  }

  #nav-toggle.fa-times {
    transform: rotate(180deg);
  }

  .nav-icons {
    display: flex;

    gap: 15px;
    margin-top: 21rem;
  }

  .nav-icons a i {
    color: white;
    font-size: 1.3rem;
  }

  .herosection {
    margin: 0px 0px 0px 0px;
    background-color: white;
    border-radius: 10px 10px 0px 0px;
    flex-direction: column-reverse;
    overflow: hidden;
    position: relative;
    gap: 0em;
    padding-bottom: 90px;
    justify-content: flex-end;
  }
  #five {
    font-weight: 600;
  }

  .imgsection img {
    width: 100%;
    padding-bottom: 20px;
    bottom: 0;
    right: 0;
    border-radius: 20px;
    box-shadow: #333;
  }

  .imgsection {
    display: flex;
    text-align: center;
    align-items: center;
    padding-bottom: 0px;
    justify-content: center;
    padding: 0px 20px 0px 20px;
  }

  .intro {
    margin-top: 0rem;
    margin-left: 80px;
  }

  .intro #one,
  #three {
    font-size: 1rem;
    padding-top: 10px;
    position: relative;
    z-index: 1;
  }

  #four {
    font-size: 35px;
    z-index: 1;
    position: relative;
  }

  #five {
    z-index: 1;
    position: relative;
  }

  .intro #two {
    z-index: 1;
    position: relative;
    font-size: 2.5rem;
  }

  .button-row a .button1 {
    height: 38px;
    width: 8rem;
    box-sizing: border-box;
  }

  /*------------------------------------------project-ssection-----------------------------------*/
  #p2 {
    margin: 0px 0px 0px 20px;
    font-size: 14px;
  }

  #p1 {
    margin: 20px 0px 0px 20px;
    font-size: 30px;
  }

  .container {
    padding: 20px;
  }

  .box {
    height: 18rem;
    width: 25rem;
  }
  .box p {
    font-size: 14px;
  }
  .menu p {
    font-size: 13px;
  }
  .box:hover .menu {
    height: 18rem;
  }

  .fa-calculator,
  .fa-hand-back-fist,
  .fa-scale-unbalanced-flip {
    padding-top: 20px;
    font-size: 5rem;
  }

  .project-img img {
    transition: all 3s ease-in;
  }

  .skills-section {
    margin-top: 10px;
  }

  #skills-paragraph {
    margin: 10px 0px 0px 20px;
  }

  #p1 {
    margin-top: 30px;
  }

  .main-skill {
    width: 100%;
    padding: 0px;
    flex-direction: column;
  }

  .skill-box {
    padding: 20px;
  }

  .skills-icon {
    width: 100%;
  }

  .skills-section {
    align-items: center;
    justify-content: center;
    padding: 0px 20px 15px 20px;
  }

  .skill-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0px;
  }

  .skillicon {
    width: 70px;
    height: 70px;
  }

  .skills-section p {
    color: #333;
  }

  #skills-paragraph li {
    font-size: 15px;
  }

  .row-two,
  .row-three {
    gap: 30px;
    margin-top: 10px;
  }

  .row-three {
    margin-right: 5px;
  }

  .skills-score {
    display: none;
  }

  .about-section {
    overflow-x: scroll;
    padding-left: 20px;
    padding-top: 30px;
  }

  .about-section::-webkit-scrollbar {
    margin-right: 20px;
    height: 5px;
  }

  .about-section::-webkit-scrollbar-thumb {
    background-color: purple;
    border-radius: 10px;

    cursor: grabbing;
  }

  .about-section::-webkit-scrollbar-track {
    background-color: white;
    border-radius: 10px;
    margin: 50px;
  }

  .myself {
    padding: 0px 20px 40px 20px;
    height: 50vh;
    margin: 0px 0px 0px 0px;
  }

  .myself h3 {
    font-size: 22px;
  }

  .aboutt h3::first-letter,
  .internship h3::first-letter,
  .educationn h3::first-letter,
  .internship h3::first-letter,
  .experience h3::first-letter {
    font-size: 2.5rem;
  }

  .aboutt {
    width: 15rem;
  }

  #hi {
    font-size: 15px;
  }

  .aboutt::before {
    font-size: 5rem;
    top: 3rem;
  }
  .myself p {
    margin-top: 5px;
    font-size: 15px;
    line-height: 17px;
  }

  .experience {
    width: 15rem;
  }
  .experience::before {
    font-size: 5rem;
    top: 3rem;
  }

  .internship::before {
    font-size: 5rem;
    top: 3rem;
  }

  .internship {
    width: 15rem;
  }

  .educationn::before {
    content: "04";
    font-size: 5rem;
    top: 3rem;
  }

  .educationn {
    width: 15rem;
  }

  .gallary {
    margin-top: 50px;
    height: 500px;
  }

  .gallary-box {
    flex-direction: column;
    padding: 30px 30px 60px 30px;
    gap: 30px;
  }

  .gallary-box h3 {
    font-size: 18px;
    width: 100%;
  }

  .gallary-box img {
    width: 100%;
  }

  .description p {
    line-height: 17px;
    font-size: 15px;
  }

  .description li {
    font-size: 15px;
    font-family: 600;
  }

  .contact-section {
    margin-top: 20px;
    padding-left: 10px;

    flex-direction: column;
  }

  .name,
  .email,
  .message {
    font-size: 14px;
  }

  #contact-form input,
  textarea {
    width: 250px;
  }

  textarea {
    max-width: 250px;
    max-height: 60px;
    min-width: 250px;
    min-height: 60px;
    resize: none;
  }

  .contact-me {
    margin-top: 0px;
  }

  .contact-para {
    align-items: flex-start;
    gap: 2rem;
  }

  #contact-form button {
    width: 10rem;
  }

  #connect {
    margin-top: 40px;
  }

  .line {
    display: none;
  }

  .wrapper-icons {
    margin-right: 0px;
  }

  .wrapper {
    max-width: none;
    gap: 10px;
    left: -72px;
  }

  .details-section {
    padding-left: 0rem;
  }

  .wrapper .button:hover {
    background-color: purple;
    width: 40px;
    color: white;
  }

  .wrapper .button .icon i:hover {
    color: white;
  }

  #last {
    margin: 0px 0px 0px 20px;
    font-size: 2rem;
    text-transform: capitalize;
    font-weight: 800;
    padding-top: 20px;
  }

  #p1,
  #last {
    padding: 0px 0px 0px 0px;
  }

  footer p {
    font-size: 12px;
  }

  footer ul a {
    font: 12px;
    color: #7f7e7e;
  }
  .blogs {
    gap: 10px;
  }
  .herosection-dark {
    background: radial-gradient(
      circle,
      rgba(36, 36, 36, 0.5),
      rgba(0, 0, 0, 0.2)
    );
  }
  .dark-mode {
    margin-left: 50px;
    height: 20px;
    padding: 2px 4px;
  }

  /* Container for the freelance section */
  .freelance-section {
    padding: 40px 20px 60px 20px;
    background-image: none;
    background: rgb(63,94,251);
    background: radial-gradient(circle, rgba(63,94,251,1) 0%, rgba(252,70,107,1) 100%);
  }

  :root {
    --font-size: 14px;
    --line-height: 1.3;
    --h3-fontsize: 18px;
    --heading-fontsize: 30px;
  }

  /* splash */
  .splash {
    height: 220vw;
  }
  .fadein {
    top: 40%;
  }
}
