
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(#726d6d, #000000);
    height: 100px;
    padding: 0 20px;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 2;
    overflow: hidden;
}

.nav a {
    margin-top: 8px;
    font-size: 1.5rem;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}


.nav a:hover {
    color: red;
}

#contact:hover {
    color: chartreuse;
    background-color: black;
}

#contact {
    height: 40px;
    border-radius: 20px;
    border: none;
    width: 100px;
    background-color: red;
    color: white;
    font-weight: 900;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#name {
    font-size: 2.5rem;
    color: red;
    padding-top: 15px;
}


@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 10px 0;
    }

    #name {
        font-size: 20px;
        padding-top: 10px;
        text-align: center;
    }

    .nav a {
        font-size: 16px;
        margin-top: 10px;
    }

    #contact {
        width: auto;
        font-size: 10px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .nav {
        gap: 10px;
    }

    #name {
        font-size: 18px;
    }

    .nav a {
        font-size: 14px;
        margin-top: 8px;
    }

    #contact {
        font-size: 10px;
        padding: 4px 8px;
    }
}
#about {
    display: flex;
    background-image: url(img1.jpeg);
    height: 90vh;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    margin-top: 80px;
}

#intro {
    width: 80%;
    max-width: 400px;
    font-size: 15px;
    height: auto;
    margin-top: 10%;
    margin-left: 10%;
    animation: moveText 1.5s ease-in-out forwards;
    color: white;
    line-height: 1.5;
    margin-bottom: 20px;
}

@keyframes moveText {
    0% {
        transform: translateX(-450px);
    }
    100% {
        transform: translateX(0);
    }
}

#frontend {
    color: blue;
}

#frontend:hover {
    margin-left: 50px;
    color: greenyellow;
}

#hire-me, #ex {
    width: 100px;
    height: 30px;
    border-radius: 3vh;
    background-color: black;
    color: white;
    font-weight: 900;
    font-size: 10px;
}

#ex {
    background-color: red;
   
}

#hire-me:hover, #ex:hover {
    color: chartreuse;
    background-color: black;
}



#icons {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    height: auto;
    font-size: 30px;
    gap: 20px;
    margin-top: 10%;
    color: red;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#imgs {
    border-radius: 50%;
    width: 1000%;
    max-width: 400px;
    height: 70%;
    aspect-ratio: 1 / 1;
    margin: 70px auto 0;
    border: 10px solid transparent;
    animation: moveText 1.5s ease-in-out forwards;
    background-color: aqua;
    color: aqua;
    border-color: rgb(30, 82, 86);
}

#imgs:hover {
    background-color: aqua;
    color: aqua;
    border-color: rgb(115, 223, 231);
}

#insta:hover {
    color: greenyellow;
}

#facebook:hover {
    color: rgb(16, 247, 16);
}

#linkdin:hover {
    color: rgb(251, 255, 2);
}

#twiter:hover {
    color: aqua;
}

@media (max-width: 768px) {
    #about {
        padding-top: 50px;
        margin-top: 40px;
    }

    #intro {
        width: 90%;
        margin-left: 5%;
        font-size: 14px;
    }

    #icons {
        font-size: 24px;
        margin-top: 5%;
    }

    #hire-me, #ex {
        width: 80px;
        height: 25px;
        font-size: 8px;
    }

    #imgs {
        max-width: 300px;
        margin-top: 50px;
    }
}

@media (max-width: 480px) {
    #about {
        height: 70vh;
        padding-top: 30px;
        margin-top: 20px;
    }

    #intro {
        width: 95%;
        margin-left: 2.5%;
        font-size: 12px;
    }

    #icons {
        font-size: 20px;
        margin-top: 2%;
    }

    #hire-me, #ex {
        width: 70px;
        height: 20px;
        font-size: 7px;
    }

    #imgs {
        max-width: 200px;
        margin-top: 30px;
        border: 5px solid transparent;
    }
}

ul {
    margin-top: 20px;
}
.containe-2 {
    background-color: #232f3e;
    height: 300px;
    /* padding: 20px 0; */
    background-size: cover;
}
.foot-panel2 {
    background-color: #232f3e;
    color: white;
    height: 500px;
    display: flex;
    padding-top: -100px;
    align-items: center;
    justify-content: space-evenly;
    font-size: 1rem;
}
ul a {
    display: block;
    font-size: 0.85rem;
    margin-top: 10px;
    color: #dddddd;
}
.foot-panel3 {
    background-color: #232f3e;
    color: rgb(161, 34, 34);
    border-top: 0.5px solid rgb(77, 86, 88);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.foot-panel4 {
    height: 50px;
    background-color: #1d2229;
    color: white;
    display: flex;
    font-size: 0.7rem;
    justify-content: center;
    text-align: center;
    overflow-y: hidden;
    align-items: center;

}
.pages {
    padding-top: 0px;
}
.copyright {
    padding-top: 5px;
}
#Privacy{
    margin-left: 20px;
}

#mid_container{
    display: flex;
    /* height: 600px; */
}
#foot_Heading{
    color: white;
     padding: 50px 0px 0px 50px;
}
