@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100;200;300;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Josefin Sans', sans-serif;
    text-decoration: none;
    scroll-behavior: smooth;
}

section.nav {
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    justify-content: space-between;
    background-color: #613dc1;
    border-radius: 0 0 35px 35px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 60px 40px -7px;
    z-index: 99;
}

section.nav .logo {
    padding: 0 0 0 50px;
}

section.nav .logo img {
    width: 120px;
}

section.nav ul {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 800px;
    height: 100%;
}

section.nav ul li {
    border-radius: 30px;
    font-size: 20px;
    height: 100%;
    padding: 16px;
    margin: 16px;
    transition: all ease 1s;
}


section.nav ul li a {
    color: white;
    text-decoration: none;
}



section.nav ul li a p {
    display: none;
    transition: display 0.5s ease;
}

section.nav ul li:nth-child(1) a p {
    display: inline;

}


section.nav ul li a i {
    padding-right: 20px;
}

section.nav .toggle-menu {
    cursor: pointer;
    font-size: 24px;
    color: white;
    font-size: 20px;
    width: 50px;
    height: 100%;
    padding: 16px 100px 16px 50px;
}

section.nav .toggle-menu,
section.nav .toggle-menu .fa-xmark {
    display: none;
}

/*  */
/* home section */
/*  */

section.home {
    display: flex;
    overflow: hidden;
    justify-content: space-between;
    height: 100vh;
}

section.home .home-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
}

section.home .home-left h1 {
    color: #613dc1;
    font-size: 40px;
    font-weight: bolder;
    padding: 0 50px;
}


section.home .home-left p {
    width: 75%;
    font-size: 20px;
    padding: 0 50px;
}

section.home .home-right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
}

section.home .home-right .img {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 300px;
}

section.home .home-right img {
    transform: translateZ(20px);
    width: 100%;
}

section.home .home-right .img::after {
    transform-style: preserve-3d;
    content: "";
    top: 220px;
    right: 0;
    position: absolute;
    width: 300px;
    border-radius: 60px 60px 0 0;
    height: 200px;
    z-index: -9;
    background-color: #613dc1;
}

/* skills section  */
section.skill {
    background-color: #613dc1;
    color: white;
    padding-top: 100px;
    width: 100%;
    height: auto;
    text-align: center;

}

section.skill .skill-header h1 {
    font-size: 40px;
    color: black;
}

section.skill .skills-box {
    display: flex;
    justify-content: space-between;
}

section.skill .skills-content {
    width: 50%;
    margin-top: 50px;
}

section.skill .skills-content h1 {
    margin: 15px 0;
}

section.skill .skills-content .lan-box {
    display: flex;
    flex-direction: column;
    /* border-radius: 15px; */
    padding: 0 20px;
    /* border: 10px solid black; */
}

section.skill .skills-content .lan-box div div:first-child {
    display: flex;
    width: 100%;
    padding: 6px 16px;
    justify-content: space-between;
}

section.skill .skills-content .lan-box div div:nth-child(2) {
    position: relative;
    width: 100%;
    height: 10px;
    background-color: white;
    border-radius: 25px;
    margin-bottom: 20px;
}

section.skill .skills-content .lan-box div div:nth-child(2):after {
    position: absolute;
    background-color: black;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 10px;
    border-radius: 25px;
    margin-bottom: 20px;
}

section.skill .skills-content .lan-box div:nth-child(1) div:nth-child(2):after {
    width: 99%;
}

section.skill .skills-content .lan-box div:nth-child(2) div:nth-child(2):after {
    width: 90%;
}

section.skill .skills-content .lan-box div:nth-child(3) div:nth-child(2):after {
    width: 80%;
}

section.skill .skills-content .lan-box div:nth-child(4) div:nth-child(2):after {
    width: 60%;
}

section.skill .skills-content .lan-box div:nth-child(5) div:nth-child(2):after {
    width: 80%;
}

section.skill .skills-content .lan-box div:nth-child(6) div:nth-child(2):after {
    width: 80%;
}

section.skill .skills-content .lan-box div:nth-child(7) div:nth-child(2):after {
    width: 70%;
}

/* projects  */
section.skill .projects {
    width: 50%;
}

section.skill .projects .projects-header {
    margin-top: 50px;
}

section.skill .projects .projects-header h1 {
    color: white;
}


section.skill .projects .project-img {
    height: 400px;
    margin-top: 30px;
    overflow: hidden;
    max-width: 100%;
}

section.skill .projects .project-img img {
    margin-top: 50px;
    border-radius: 15px;
    width: 80%;
}

section.skill .projects .project-img p {
    color: white;
    margin-top: 20px;
}

/* education section  */
section.education {
    height: auto;
}

section.education .edu-head {
    width: 100%;
    text-align: center;
    padding-top: 100px;
    color: #613dc1;
}

section.education .edu-head h1 {
    font-size: 40px;
}

section.education .edu-content {
    position: relative;
    width: 100%;
    height: 400px;
}

section.education .edu-content .box {
    margin-top: 50px;
    text-align: center;
    background-color: #613dc1;
    border: 2px solid black;
    color: white;
    border-radius: 12px;
    height: 200px;
    margin: 50px 40px 0 40px;
    transition: all ease .5s;
}

section.education .edu-content .box:hover {
    background-color: white;
    color: #613dc1;
    scale: .96;
}

section.education .edu-content .box h1 {
    margin: 10px 0 20px 0;
}

section.education .edu-content .box p {
    margin: 10px 0 20px 0;

}

/* about section  */
section.about-me {
    background-color: #613dc1;
    color: white;
}

section.about-me .am-header {
    width: 100%;
    font-size: 35px;
    text-align: center;
    padding-top: 100px;
}

section.about-me .detail {
    display: flex;
}

section.about-me .detail .personal-detail {
    width: 50%;
    border-right: 2px solid white;
}

section.about-me .detail .personal-detail div {
    display: flex;
    height: 50px;
    justify-content: space-between;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 40px 0 40px;
    background-color: white;
    color: #613dc1;
}

section.about-me .detail .personal-detail div h1 {
    font-size: 18px;
}

section.about-me .detail .personal-detail div p {
    font-size: 20px;
}

section.about-me .detail .personal-detail div:last-child {
    justify-content: space-evenly;
    font-size: 25px;
    padding: 0;
    background-color: #613dc1;
}

section.about-me .detail .personal-detail div:last-child a {
    text-decoration: none;
    color: white;
}

section.about-me .detail .personal-detail div:last-child a:nth-child(1):hover {
    color: #0866FF;
}

section.about-me .detail .personal-detail div:last-child a:nth-child(2):hover {
    color: #32D66F;
}

section.about-me .detail .personal-detail div:last-child a:nth-child(3):hover {
    color: #FC056E;
}

section.about-me .detail .personal-detail div:last-child a:nth-child(4):hover {
    color: black;
}

section.about-me .contact-me {
    width: 50%;
}

section.about-me .contact-me form {
    display: flex;
    flex-direction: column;
    padding: 16px 50px;
}

section.about-me .contact-me form div {
    width: 100%;
}

section.about-me .contact-me form div label {
    display: block;
    margin: 16px 0;

}

section.about-me .contact-me form div input {
    width: 100%;
    height: 40px;
    border-radius: 12px;
    border: none;
    padding: 16px;
    color: #613dc1;
    font-weight: bold;
}

section.about-me .contact-me form div button {
    cursor: pointer;
    width: 100px;
    height: 50px;
    border-radius: 12px;
    margin: 15px 0;
    align-items: center;
    border: none;
    color: white;
    background-color: #613dc1;
    border: 2px solid white;
    transition: all ease .5s;
}

section.about-me .contact-me form div button:hover {
    color: #613dc1;
    background-color: white;
}

/* section notes  */
section.my-notes {
    color: #613dc1;
}

section.my-notes .notes-header {
    padding-top: 100px;
    width: 100%;
    text-align: center;
}

section.my-notes .notes-header h1 {
    font-size: 35px;
}

section.my-notes .notes-content {
    display: flex;
    overflow: hidden;
    padding: 50px 50px;
    justify-content: space-between;
}

section.my-notes .notes-content div {
    height: 50px;
    background-color: #613dc1;
    padding: 16px;
    border-radius: 12px;
    color: white;
    transition: all ease 0.5s;
}

section.my-notes .notes-content div:hover {
    scale: .96;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #613dc1;
    color: white;
    height: 80px;
}

footer .ft-logo img {
    width: 60px;
}

























@media (max-width: 950px) {
    section.nav {
        position: fixed;

    }

    section.nav .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        background-color: #613dc1;
        height: 100vh;
        transition: all ease .5s;
    }

    section.nav .menu.right {
        right: 0px;
    }

    section.nav ul li a p {
        display: inline;

    }

    section.nav ul {
        display: block;
        width: 100%;
        height: 100vh;
    }

    section.nav ul li {
        height: 40px;
        width: 100%;
        text-align: center;
        padding: 30px 16px;
        margin-top: 30px;
    }

    section.nav .toggle-menu {
        display: block;
        z-index: 999;
    }

    /* for about me  */

    section.about-me .am-header {
        font-size: 30px;
        padding: 60px 0 50px 0;
    }

    section.about-me .detail {
        display: flex;
        flex-direction: column;
    }

    section.about-me .detail .personal-detail {
        width: 100%;
        border-right: 0;
    }

    section.about-me .detail .personal-detail div {
        display: flex;
        flex-direction: column;
        height: 70px;

    }

    section.about-me .detail .personal-detail div:last-child {
        flex-direction: row;
    }

    section.about-me .detail .personal-detail div h1 {
        font-size: 16px;
    }

    section.about-me .detail .personal-detail div p {
        font-size: 15px;
    }

    section.about-me .contact-me {
        border-top: 2px solid white;
        width: 100%;
    }

    section.my-notes .notes-content {
        display: flex;
        flex-direction: column;
        padding: 50px 50px;
        justify-content: space-between;
    }

    section.my-notes .notes-content div {
        margin-top: 10px;
        text-align: center;
    }






}

@media (max-width: 740px) {

    section.home {
        display: flex;
        height: auto;
        justify-content: flex-end;
        flex-direction: column-reverse;
    }

    section.home .home-left {
        align-items: center;
        width: 100%;
    }

    section.home .home-left h1 {
        font-size: 35px;
        padding: 10px 50px;
    }


    section.home .home-left p {
        width: 100%;
        padding: 20px 50px;
    }

    section.home .home-right {
        display: flex;
        margin-top: 100px;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    section.home .home-right .img {
        position: relative;
        max-width: 300px;
    }

    section.home .home-right img {
        width: 100%;
    }

    section.home .home-right .img::after {
        content: "";
        right: 0;
        position: absolute;
        width: 300px;
        border-radius: 60px 60px 0 0;
        height: 200px;
        z-index: -9;
        background-color: #613dc1;
    }

    section.skill .skills-box {
        display: flex;
        flex-direction: column;
    }

    section.skill .skills-content {
        width: 100%;
        border-bottom: 2px solid white;
    }

    section.skill .projects {
        width: 100%;
    }


}

@media (max-width: 400px) {


    section.home .home-right .img {
        position: relative;
        max-width: 200px;
    }

    section.home .home-right img {
        width: 100%;
    }

    section.home .home-right .img::after {
        top: 180px;
        width: 200px;
        height: 100px;
    }
}


/* owls css  */
.owl-prev,
.owl-next {
    position: absolute;
    top: 110px;
}

.owl-prev {

    left: 0;
}

.owl-next {
    right: 0;
}

.owl-next span,
.owl-prev span {
    font-size: 50px;
    color: white;
    background-color: black;
}