/* google font >   font-family: 'Poppins', sans-serif;*/
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,wght@6..12,600&display=swap');

:root {
    --color-500: hsl(0, 0%, 20%);
    --color-400: hsl(231, 3%, 48%);
    --color-300: hsl(0, 0%, 48%);
    --color-200: hsl(255, 4%, 81%);
    --color-100: hsl(0, 25%, 98%);
    --ff-001: 'Comfortaa', sans-serif;
    --ff-002: 'Nunito', sans-serif;
    --fw-300: 300;
    --fw-400: 400;
    --fw-500: 500;
    --fw-600: 600;
    --fw-700: 700;
}


* {
    margin: 0;
    padding: 0;
}

.main {
    width: 100%;
    min-height: 100vh;
}

nav {
    width: 100%;
    height: 12vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fbf9f9;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
}

.nav-links .down {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo {
    margin-left: 5vw;
}

.nav-links {
    width: 45%;
}


.links {
    margin: 0 1vw;
    color: var(--color-400);
    font-family: 'Poppins', sans-serif;
    padding: 0 1vw;
    width: 70px;
    height: 35px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    /* border: 1px solid grey; */
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}

.down h4::after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: gray;
    position: absolute;
    bottom: -100%;
    /* top: 30px; */
    transition: all 0.9s;
}

.nav-links h4:hover::after {
    bottom: 0;
}

.nav-links h4 a {
    text-decoration: none;
    color: grey;
    z-index: 100;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.nav-links h4 a:hover {
    color: #fbf9f9;
    z-index: 100;
}

.show {
    display: none !important;
}

/* NAV Complete  */

/* Nav Media Queree */
@media (max-width:900px) {
    .nav-links {
        width: 60%;
    }

    .nav-links .links {
        font-size: 14px;
    }
}

@media (max-width:750px) {
    .nav-links .links {
        font-size: 14px;
    }

    .nav-links {
        position: absolute;
        top: -100vh;
        height: 90vh;
        width: 92%;
        left: 0px;
        margin-left: 20px;
        display: flex;
        flex-direction: column;
        transition: all 0.4s;
        background-color: white !important;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 10px;
    }

    .down {
        width: 100%;
        height: 90%;
        display: flex !important;
        flex-direction: column;
        justify-content: start;
        align-items: center;
    }

    .close {
        width: 100%;
        height: 70px;
        display: flex !important;
        justify-content: end;
        align-items: center;
    }

    .close i {
        padding: 2rem;
        font-size: 20px;
        color: black;
        font-weight: 800;
    }

    .links {
        margin-top: 15px;
    }

    .hamburger {
        display: block !important;
        font-size: 30px;
        margin: 20px;
    }
}


/* home  page 1 */
#page1 {
    width: 100%;
    height: 100vh;
    display: flex;
    position: relative;
    z-index: 0;
    justify-content: center;
    align-items: center;
}

.home {
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icons-div {
    width: 30%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icons-div div {
    display: flex;
    flex-direction: column;
    align-items: end;
    font-size: 35px;
}

.icons-div div i {
    padding: 1vw 0;
}

.icons-div div i:hover {
    transform: scale(1.1);
    transition: all 0.4s;
}

.home-text {
    width: 70%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-content {
    width: 100%;
    margin-top: 60px !important;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.title {
    width: 100%;
    height: 100px;
    padding-left: 20px;
    margin-top: 40px;
    color: black;
}

.title h1 {
    font-size: 46px;
    font-weight: 600;
    line-height: 90px;
    font-family: 'Poppins', sans-serif;
    color: var(--color-500);

}

.title h3 {
    font-family: 'Nunito Sans', sans-serif;
    /* font-family: 'Poppins', sans-serif; */
    font-size: 20px;
    color: var(--color-400);
    line-height: 20px;
    margin-left: 16px;
}

.content {
    margin-top: 30px;
}

.content p {
    font-size: 14px;
    color: var(--color-300);
    font-family: 'Poppins', sans-serif;
    margin-left: 20px;
    font-weight: var(--color-500);
}

.btn-scroll-div button {
    width: 120px;
    border-radius: 4px;
    border: none;
    height: 39px;
    font-size: 14px;
    background-color: rgb(31, 31, 31);
    color: white;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    margin-left: 20px;
    /* transition: all 0.4s; */
    transition: transform 240ms ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-scroll-div button:hover {
    transform: scale(1.1);
}

.scroll {
    display: flex;
    /* background-color: aqua; */
    align-items: center;
}

.mouse {
    width: 25px;
    height: 39px;
    border: 1px solid grey;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    text-align: center;
    margin-top: 20px;
}

.mouse p {
    margin-top: 5px;
    transition: all 0.4s;
}

.mouse:hover .hover {
    margin-top: 13px;
}

.scroll-down {
    margin-left: 9px;
    margin-top: 8px;
    font-family: 'Poppins', sans-serif;

}

.scroll-down span {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-500);
    transition: all 0.6s;
}

.scroll-down p:hover {
    margin-top: 7px;
    transition: all 0.6s;

}

.imgDiv {
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imgDiv img {
    width: 90%;
    height: 90%;
}


/* page 2 skills */

#page2 {

    width: 100%;
    height: 100vh;
}

.head {
    width: 100%;
    height: 15vh;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

.heading {
    text-align: center;
}

.heading h1 {
    font-size: 44px;
}

.tech-section {

    width: 100%;
    height: 50vh;
    margin-top: 2rem;
    display: flex;
}

.tech-section .left {
    width: 50%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.left h1 {
    position: relative;
    color: var(--color-500);
    font-size: 2.4rem;
}

.left h1::before {
    content: "";
    width: 100%;
    height: 0.7vh;
    border-radius: 10px;
    z-index: 100;
    position: absolute;
    bottom: 0;
    background-color: var(--color-400);
}


.tech-section .right {
    width: 50%;
    height: 100%;

}

.box {

    width: 80%;
    height: 100%;
}

.box .up-boxes {

    width: 100%;
    height: 50%;
    display: flex;
    justify-content: space-around;
    align-items: end;
}

.boxes1 {

    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 10px;

    flex-direction: column;
}

.uperText {
    transform: translateY(50px);
    visibility: hidden;
    transition: cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s;

    transition: all 0.5s;
    opacity: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;

}

.uperImg {
    font-size: 30px;
    transform: translateY(20px);
}


.boxes1:hover .uperImg {
    transition: all 0.5s;
    visibility: visible;
    transform: translateY(-5px);
    opacity: 0.9 !important;
}

.boxes1:hover .uperText {
    transition: all 0.5s;
    visibility: visible;
    transition: cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s;
    transform: translateY(5px);
    opacity: 0.9 !important;
}

.box .down-boxes {
    width: 100%;
    height: 42%;
    display: flex;
    justify-content: space-around;
    align-items: start;
    padding: 1vw 0;
}

.boxes2 {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 5px;
    flex-direction: column;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 10px;

}

.boxes2:hover .uperImg {
    /* transition: all 0.5s; */
    visibility: visible;
    transform: translateY(-5px);
    transition: cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s;
    opacity: 0.9 !important;
    /* color: orangered !important; */
}

.boxes2:hover .uperText {
    visibility: visible;
    transform: translateY(5px);
    opacity: 0.9 !important;
    transition: cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s;
    font-family: 'Poppins', sans-serif;

}

.start {
    display: flex;
    justify-content: end;
}

.project-section {
    width: 100%;
    height: 100vh;
}

.project {
    width: 100%;
    height: calc(120vh/4);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.inner-div {
    width: 500px;
    height: 100%;
    font-family: "poppins", sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-evenly;
    flex-direction: column;
}

.para1 {
    margin-top: 20px;
}

.inner-div .para2 {
    display: flex;
    justify-content: end;
    align-items: center;
    width: 100%;
    margin-right: 10px;
}

.para3 {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.para3 {
    font-size: 18px;
}


.para3 div i {
    font-size: 30px;
}

.para2 {
    color: var(--color-500);
}

.para3 p {
    color: var(--color-400);
}

.inner-div div a {
    width: 20px !important;
    height: 23px;
    border-radius: 4px;
    background-color: transparent;
    border: 2px solid blue;
    cursor: pointer;
    text-decoration: none;
    color: black;
    padding: 4px;
}


footer {
    width: 100%;
    height: 12vh;
    background-color: var(--color-200);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}


@media (max-width:860px) {
    .tech-section {
        /* background-color: aqua !important; */
        display: flex;
        justify-content: center !important;
        align-items: center !important;
        flex-direction: column;
        width: 100%;

    }

    .right {
        width: 100% !important;
    }

    .box {
        width: 100%;
    }
}

@media (max-width:550px) {
    #page1{
        /* background-color: aqua; */
        flex-direction: column;
    }
    .home{
        width: 90%;
    }
    .imgDiv{
        width: 70%;
    }
}

@media (max-width:460px) {
 .project{
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;     
 } 
 


}