* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: sans-serif;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;

}

body {
    color: white;
    background-color: #18202a;
}

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    background: #18202a;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    padding: 2rem 9%;
    transition: .3s;
}

.header.sticky {
    background: #45a29e;
}

.logo {
    font-size: 3.6rem;
    color: #66fcf1;
    font-weight: 600;
}

.navbar a {
    font-size: 1.5rem;
    margin-left: 3.5rem;
    color: white;
    font-weight: 500;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active {
    color: #45a29e;
}

#menuicon {
    color: white;
    font-size: 3.6rem;
    cursor: pointer;
    display: none;
}

section {
    min-height: 100vh;
    padding: 10rem 2% 2rem;
}

.home {
    display: flex;
    align-items: center;
    padding: 0 9%;
}

.home-content {
    max-width: 65rem;
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-content .text-animate {
    width: 32.8rem;
    position: relative;
}

.home-content .text-animate h3 {
    font-size: 3.2rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: .7px white;
    background-image: linear-gradient(white, white);
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-position: 0 0;
    animation: homeBgText 6s linear infinite;
    animation-delay: 2s;
}

.home-content .text-animate h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    border-right: 2px solid white;
    animation: homeCursorText 6s linear infinite;
    animation-delay: 2s;
}

.home-content p {
    font-size: 1.6rem;
    margin: 2rem 0 4rem;
}

.btn-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 34.5rem;
    height: 5rem;
}

.btn-box .btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 15rem;
    height: 100%;
    background-color: #45a29e;
    border: 2px solid black;
    border-radius: 8px;
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    letter-spacing: .1rem;
    z-index: 1;
    overflow: hidden;
}

.btn-box .btn::before {
    content: '';
    position: absolute;
    top: 0;
    width: 0%;
    height: 100%;
    left: 0;
    background-color: #66fcf1;
    z-index: -1;
    transition: .5s;
}

.btn-box .btn:hover::before {
    width: 100%;
}

.btn-box .btn:hover {
    color: #0b0c10;
}

.home-sci {
    position: absolute;
    width: 170px;
    bottom: 4rem;
    justify-content: space-between;
    display: flex;
}

.home-sci a {
    position: relative;
    display: inline-flex;
    width: 40px;
    height: 40px;
    border: 2px solid white;
    font-size: 20px;
    color: white;
    border-radius: 50%;
    background: transparent;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

.home-sci a::before {
    content: '';
    position: absolute;
    width: 0;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #66fcf1;
    z-index: -1;
    transition: .5s;
}

.home-sci a:hover::before {
    width: 100%;
}

.home-sci a:hover {
    color: #0b0c10;
}

.about {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    background-color: #0b0c10;
    padding-bottom: 6rem;
    padding: 0 9%;
}

.heading {
    font-size: 6rem;
    margin-bottom: 3rem;
    text-align: center;
}

.abt-img {
    position: relative;
    width: 25rem;
    height: 25rem;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    display: flex;
}

span {
    color: #66fcf1;
}

.abt-img img {
    width: 90%;
    height: 90%;
    border-radius: 50%;
    border: 2px solid #66fcf1;
    object-fit: cover;
}

.abt-img .circle-spin {
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%) rotate(0);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border-top: 2px solid #0b0c10;
    border-left: 2px solid #66fcf1;
    border-right: 2px solid #66fcf1;
    border-bottom: 2px solid #0b0c10;
    animation: aboutSpinner 8s linear infinite;
}

.abt-content {
    display: contents;
    justify-content: center;
    text-align: center;
}

.abt-content h3 {
    font-size: 2.6rem;
}

.abt-content p {
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
    margin-bottom: auto;
}

.btn-box .btns {
    display: inline-block;
    width: 15rem;
}

.btns {
    justify-content: center;
}

.education {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #0b0c10;
    padding-bottom: 6rem;
    min-height: auto;
    padding: 0 9%;
}

.education .edu-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
}

.edu-row .edu-column {
    flex: 1 1 40rem;
}

.edu-column .title {
    font-size: 2.5rem;
    margin: 0 0 1.5rem;
}

.edu-box .edu-content {
    padding-left: 2rem;
    position: relative;
}

.edu-box {
    display: flex;
}

.edu-content .content {
    position: relative;
    border: 2px solid #66fcf1;
    border-radius: 8px;
    margin-bottom: 2rem;
    padding: 1.5rem;
    overflow: hidden;
    z-index: 1;
}

.edu-content .content::before {
    content: '';
    position: absolute;
    width: 0;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(230, 245, 255, 0.1);
    z-index: -1;
    transition: .5s;
}

.edu-content .content:hover::before {
    width: 100%;
}

.edu-content .content .year {
    color: #66fcf1;
    font-size: 1.5rem;
    padding-bottom: .5rem;
}

.edu-content .content .year i {
    padding-right: .5rem;
}

.edu-content .content h3 {
    color: white;
    font-size: 2rem;
}

.edu-content .content p {
    color: white;
    padding-top: .5rem;
    font-size: 1.6rem;
}

.skills {
    background-color: #0b0c10;
    padding-bottom: 6rem;
    min-height: auto;
    padding: 0 9%;
}

.skills .ski-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6rem;
}

.ski-row .ski-column {
    flex: 1 1 40rem;
}

.ski-column .title {
    font-size: 2.5rem;
    margin: 0 0 1.5rem;
}

.ski-box .ski-content {
    position: relative;
    border: 2px solid #66fcf1;
    border-radius: 8px;
    padding: .5rem 1.5rem;
}

.ski-content .progress {
    padding: 1rem 0;
}

.ski-content .progress h3 {
    display: flex;
    font-size: 1.7rem;
    justify-content: space-between;
}

.ski-content .progress h3 span {
    color: #66fcf1;
}

.ski-content .progress .bar {
    height: 2.5rem;
    border-radius: 8px;
    border: .2rem solid #66fcf1;
    padding: .5rem;
    margin: 1rem 0;
}

.ski-content .progress .bar span {
    display: block;
    height: 100%;
    border-radius: 6px;
    background-color: #66fcf1;
}

.ski-column:nth-child(1) .ski-content .progress:nth-child(1) .bar span {
    width: 80%;
}

.ski-column:nth-child(1) .ski-content .progress:nth-child(2) .bar span {
    width: 80%;
}

.ski-column:nth-child(1) .ski-content .progress:nth-child(3) .bar span {
    width: 50%;
}

.ski-column:nth-child(1) .ski-content .progress:nth-child(4) .bar span {
    width: 70%;
}

.ski-column:nth-child(1) .ski-content .progress:nth-child(5) .bar span {
    width: 70%;
}

.ski-column:nth-child(2) .ski-content .progress:nth-child(1) .bar span {
    width: 50%;
}

.ski-column:nth-child(2) .ski-content .progress:nth-child(2) .bar span {
    width: 80%;
}

.ski-column:nth-child(2) .ski-content .progress:nth-child(3) .bar span {
    width: 60%;
}

.ski-column:nth-child(2) .ski-content .progress:nth-child(4) .bar span {
    width: 30%;
}

.ski-column:nth-child(2) .ski-content .progress:nth-child(5) .bar span {
    width: 80%;
}

@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 2rem 4%;
    }

    section {
        padding: 10rem 4% 4rem;
    }

    .home {
        padding: 0 4%;
    }
}

@media (max-width: 768px) {
    .header {
        background-color: #1f2833;
    }

    #menuicon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        width: 100%;
        left: -100%;
        padding: 1rem 4%;
        background-color: #1f2833;
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        transition: .25s ease;
        transition-delay: .25s;
    }

    .navbar.active {
        left: 0;
        transition-delay: 0s;
    }

    .navbar a {
        display: block;
        margin: 3rem 0;
        font-size: 2rem;
    }

}

@media (max-width: 1236px) {
    .home-content h1 {
        width: max-content;
    }
}

@media (max-width: 637px) {
    .home-content h1 {
        width: auto;
    }
}

@media (max-width: 520px) {
    html {
        font-size: 50%;
    }

    .home-content h1 {
        display: flex;
        flex-direction: column;
    }

    .home-sci {
        width: 160px;
    }

    .home-sci a {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 462px) {
    .home-content h1 {
        font-size: 5.2rem;
    }

    .education {
        padding: 10rem 4% 5rem 5%;
    }

    .home-sci a {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 415px) {
    .home-content h1 {
        font-size: 5.2rem;
    }

    .education {
        padding: 10rem 4% 5rem 5%;
    }

    .home-sci {
        width: 130px;
        bottom: 2rem;
    }

    .home-sci a {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 371px) {

    .home {
        justify-content: center;
    }

    .home-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .home-content h1 {
        font-size: 5rem;
    }

    .education {
        padding: 10rem 4% 5rem 5%;
    }

    .home-sci a {
        width: 38px;
        height: 38px;
    }
}

@keyframes homeBgText {

    0%,
    10%,
    100% {
        background-position: -33rem 0;
    }

    65%,
    85% {
        background-position: 0 0;
    }
}

@keyframes homeCursorText {

    0%,
    10%,
    100% {
        width: 0;
    }

    65%,
    78%,
    85% {
        width: 100%;
        opacity: 1;
    }

    64%,
    75%,
    81% {
        opacity: 0;
    }
}

@keyframes aboutSpinner {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);

    }
}


footer * {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

footer ul {
    list-style: none;
}

footer {
    color: white;
}

footer p {
    color: white;
    max-width: 25em;
    font-size: 1.6rem;
    line-height: 23px;
}

footer a {
    color: white;
    text-decoration: none;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2em;
    padding-top: 0;
}

.media-icons li {
    display: inline-block;
    margin: 0.5em 0.5em 0.5em 0;
}

.media-icons a {
    position: relative;
    font-size: 2rem;
    width: 2em;
    height: 2em;
    border: 2px white solid;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    overflow: hidden;
    z-index: 1;
}

.media-icons a::before {
    content: '';
    position: absolute;
    width: 0;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #66fcf1;
    z-index: -1;
    transition: .5s;
}

.media-icons a:hover::before {
    width: 100%;
}

.media-icons a:hover {
    color: #0b0c10;
}

.footer-bottom {
    border-top: 1px white solid;
}

.footer {
    text-align: center;
    margin-top: 50px;
}

.footer p {
    margin: 0 auto;
}

.footer .media-icons {
    margin: 1.5em 0;
}

.projects .edu-content {
    height: 220px;
    width: 220px;
}

.projects .edu-content .content {
    display: flex;
    height: inherit;
    margin-top: 10px;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(0,0,0,0.5);
    background-blend-mode: darken; 
    cursor: pointer; 
    justify-content: center;
    text-align: center;
    align-items: center;
}

.projects .edu-content .content:hover h3{
    color: #66fcf1;
}

.proj1 .edu-box .edu-content:nth-child(1) .content {
    background-image: url("projpf.jpg");
}

.proj1 .edu-box .edu-content:nth-child(2) .content {
    background-image: url("projwet.jpg");
}

.proj1 .edu-box .edu-content:nth-child(3) .content {
    background-image: url("projnote.png");
}

.proj2 .edu-box .edu-content:nth-child(1) .content {
    background-image: url("download.jpg");
}

.proj2 .edu-box .edu-content:nth-child(2) .content {
    background-image: url("projcar.jpg");
}

.proj2 .edu-box .edu-content:nth-child(3) .content {
    background-image: url("projdj.jpg");
}


.projects .edu2 {
    margin-top: 28px;
    margin-bottom: 28px;
}

@media (max-width: 713px) {

    .projects .edu-content {
        height: 190px;
        width: 190px;
    }

    .projects .edu-content .content {
        height: inherit;
        margin-top: 10px;
    }

    .projects .edu2 {
        margin-top: 28px;
        margin-bottom: 28px;
    }
}

@media (max-width: 617px) {

    .projects .edu-content {
        height: 150px;
        width: 150px;
    }
}

@media (max-width: 462px) {

    .projects .edu-content {
        height: 120px;
        width: 120px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .projects .edu-content .content h3 {
        font-size: 1.6rem;
        text-align: center;
    }

    .projects {
        padding: 0rem 4% 5rem 5%;
    }

    .projects .edu2 {
        margin-top: -7px;
        margin-bottom: 5px;
    }
}

