@media (max-width: 500px) {
    .hero {
        height: 100vh;
        width: 100%;
       
    }

    #nav {
        height: 40px;
        width: 100%;
        padding: 40px 25px;
        font-size: 0.8rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown {
        display: flex;
        flex-direction: column;
        align-items: end;
        gap: 10px;
        position: absolute;
        top: 4.5rem;
        right: 1.5rem;
        font-size: 1rem;
        /* display: none; */
    }

    .show {
        display: block;
    }

    li {
        display: none;
    }

    .hero_main {
        text-transform: uppercase;
        color: white;
        font-size: 1.2rem;
        margin: 150px 0 0 35px;
        line-height: 1;
        opacity: 0.7;
    }

    #fresher {
        font-size: 1rem;
    }

    .hero_footer {
        height: 600px;
        margin-top: 900px;
    }

    .hidden {
        display: none;
    }

    .textbox {
        width: fit-content;
        display: flex;
        color: white;
        flex-direction: column;
        padding-left: 40px;
        font-size: 1.0rem;
    }

    .fresher {
        font-size: 0.8rem;
    }
    
    .avail {
        font-size: 1rem;
        margin: 15px 20px;
    }

    .circles {
        margin: 30px 25px; 
    }

    .circle {
        font-size: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 30px;
        width: 30px;
        border-radius: 50%;
        background-color: lightgray;
    }

    /** Menu Button **/ 
    .container {
        display: inline-block;
        cursor: pointer;
      }
      
      .bar1, .bar2, .bar3 {
        width: 21px;
        height: 3px;
        background-color: white;
        margin: 6px 0;
        transition: 0.4s;
      }
      
      /* Rotate first bar */
      .change .bar1 {
        transform: translate(0, 8.5px) rotate(-45deg);
      }
      
      /* Fade out the second bar */
      .change .bar2 {opacity: 0;}
      
      /* Rotate last bar */
      .change .bar3 {
        transform: translate(0, -8.5px) rotate(45deg);
      }

      .background_sec {
        border-radius: 2rem;
    }

    .head_sec {
        font-size: 1.5rem;
        -webkit-text-stroke: 1px black;
        margin: 5rem 0 0 1.5rem;
    }

    .feature_pro {
        height: auto;
        width: 90%;
        display: flex;
        flex-direction: column;
        margin-left: 1rem;
    }

    .pro1 {
        margin-top: 1rem;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .pro2 {
        margin-top: 2rem;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .feature_pro h3 {
        font-size: 1rem;
        width: 100%;
        text-align: center;
        text-transform: uppercase
        
    }

    .project_1 {
        height: 30rem;
        width: 100%;
        margin-left: 0.8rem;
    }
    
    .project_2 {
        height: 30rem;
        width: 100%;
        margin-left: 0.8rem;
    }
    
    .project_3 {
        height: 30rem;
        width: 100%;
        margin-left: 0.8rem;
    }
    
    .project_4 {
        height: 30rem;
        width: 100%;
        margin-left: 0.8rem;
    }
    
    .project_5 {
        height: 30rem;
        width: 100%;
        margin-left: 0.8rem;
    }
    
    .project_6 {
        height: 30rem;
        width: 100%;
        margin-left: 0.8rem;
    }

    /** Skkills Bar **/ 

    .skill-name {
        margin: 0 0 0 30px;
    }
    
    .skill {
        margin-top: 3rem;
    }
    
    
      .skill-bar {
        width: 85%;
        margin: 30px  0 5rem 30px;
      }

      .forgot {
        width: 60%;
        margin: 100px 25px;
        color: white;
        opacity: 0.5;
        text-align: start;
        text-transform: uppercase;
      }

      /** Self **/ 
    
    .self_container {
        height: 800px;
        width: 90%;
        border-radius: 2rem;
    }
    
    .self {
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        /* align-items: center; */
    }
    
    .self_container {
        height: 500px;
        width: 90%;
        border: 2px solid white;
        border-radius: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }
    
    .pic {
        height: 150px;
        width: 150px;
        border-radius: 50%;
        background-image: url(Profile_pic.jpg);
        background-size: cover;
        margin-top: 50px;
    }
    
    .desc {
        height: 300px;
        width: 300px;
        color: #fff;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .contact h3{
        font-size: 1.8rem;
        text-transform: uppercase;
    }
    
    .contact p {
        font-size: 1rem;
        margin-top: 0.8rem;
    }

    .refered {
        margin-top: 30px;
        font-size: 0.9rem;
        text-align: center;
    }

    .refered a {
        padding-top: 10px;
    }
}