* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    display: none;
}

body {
    background-color: rgb(0, 0, 33);
    color: white;
    font-family: 'poppins', sans-serif;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 80px;
    width: 100%;
    background-color: rgb(18, 18, 62);
}

nav ul {
    display: flex;
    justify-content: center;

}

nav ul li {
    display: block;
    list-style: none;
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
}

nav ul li a:hover {
    text-decoration: underline;
}

.left {
    font-size: 1.5rem;
}

.firstsection {
    display: flex;
    justify-content: space-around;
    margin: 80px, 0;
}

.firstsection>div {
    width: 32%;

}
.firstsection img{
    border: 2px solid rgb(133, 50, 212); ;
    border-radius: 50px;
    ;
}

.leftsection {
    font-size: 3rem;
    margin: 70px 0;
}

.rightsection img {
    width: 80%;
    margin: 30px 0;

}

.purple {
    color: rgb(133, 50, 212);
}

.text-gray {
    color: gray;
}

#element {
    color: rgb(133, 50, 212);
}

.secondsection {
    max-width: 88vw;
    margin: auto;
}

main hr {
    border: 0;
    background: #0c97f1;
    height: 1.2px;
    margin: 48px 84px;

}

.secondsection h1 {
    font-size: 1.9rem;
}

.projects{
    width: 90%;
    display: flex;
    margin: 20px;
    margin: auto;
    /* background-color: blueviolet; */
    
    
}

.box{
    background-color: white;
    border: 1px solid white;
    width: 30%;
    margin: auto;
    margin: 30px;
    display: block;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    color: black;
    border-radius: 13px;    
}

.box>h1{
    margin-left: 30px;
    margin-bottom: -13px;
}

.box>p{
    margin-bottom: 10px;    
}
.box>p>a{
    
    margin-left: 30px;
    text-decoration: none;
    color: black;
}

.box>iframe{
    border-radius: 13px;
    height: 300px;
    margin: auto;
    margin-left: 25px;
    margin-right: 25px;
    width: 85%;
}


.skills-head {
    margin: 30px;
}

.skills-head u {
    font-size: 2rem;

}

.skillheading {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    width: 95%;
}

.skillheading>h1 {
    font-size: 1rem;
    text-align: left;
    font-weight: 540;
}

.skillheading p {
    text-align: right;
    font-size: 1rem;
    width: 100%;
    margin-bottom: -60px;

}

.skill-transition {
    width: 100%;
}

.progress {
    height: 15px;
    background-color: rgb(172, 169, 162);
    width: 95%;
    overflow: hidden !important;
    animation: none;
}

/* ProgressBar */
.progressbar-html {
    background-color: rgb(255, 179, 0);
    height: 15px;
    animation-delay: 2s;
    animation: skills-html 1s linear 1 forwards;
}

@keyframes skills-html {
    from {
        width: 0;
    }

    to {
        width: 95%;
    }
}



.progressbar-css {
    background-color: rgb(255, 179, 0);
    height: 15px;
    animation-delay: 2s;
    animation: skills-css 1s linear 1 forwards;
}

@keyframes skills-css {
    from {
        width: 0;
    }

    to {
        width: 75%;
    }
}

.progressbar-javascript {
    background-color: rgb(255, 179, 0);
    animation-delay: 2s;
    height: 15px;
    animation: skills-js 1s linear 1 forwards;
}

@keyframes skills-js {
    from {
        width: 0;
    }

    to {
        width: 25%;
    }
}


.progressbar-c {
    background-color: rgb(255, 179, 0);
    animation-delay: 2s;
    height: 15px;
    animation: skills-c 1s linear 1 forwards;
}

@keyframes skills-c {
    from {
        width: 0;
    }

    to {
        width: 55%;
    }
}

.progressbar-cpp {
    background-color: rgb(255, 179, 0);
    animation-delay: 2s;
    height: 15px;
    animation: skills-cpp 1s linear 1 forwards;
}

@keyframes skills-cpp {
    from {
        width: 0;
    }

    to {
        width: 60%;
    }
}
footer {
    display: flex;
    width: 100%;
    text-align: center;
    background-color: blueviolet;
    margin-bottom: 0px;
    justify-content: space-between;

}

.copyright {
    padding: 10px 10px;
    display: block;
    align-self: center;
}

footer a {
    cursor: pointer;
    text-decoration: none;
    color: white
}

footer a:hover {
    color: rgb(243, 149, 18);
    transition: 1s ease-out;
}


.social-media {
    display: block;
    gap: .7em;
    margin-right: 30px;
    padding: 10px 10px;
    padding-top: 0px;

}

.social-grp {
    display: flex;
    justify-content: space-between;
}

.social-icon {
    display: block;
    align-content: center;
    align-self: center;
    margin-top: -10px;
}

.social-icon a img {
    width: 25px;
    height: 25px;
    margin-top: 20px;
}
.social-media p{
    margin-top: 10px;
}

.social-icon a img:hover {
    filter: invert(100%);
    transition: 1s ease-in-out;
}
.footersection{
    background-color: rgb(18, 18, 62);
}