* {
    font-family: 'Open Sans', sans-serif;
    padding: 0;
    margin: 0;
}
body{
    -ms-overflow-style: none;
    scrollbar-width: none;
}
a{
    text-decoration: none;
    cursor: pointer;
}

body::-webkit-scrollbar {
    display: none;
}

:root{
    --mainTextColor:#333;
    --bg1:#111;
    --bg2: rebeccapurple;
}

.container{
    background-color: var(--bg1);
    overflow: hidden;
}


/* =====================INTRODUCTION SECTION STARTS HERE===================== */

.salute{
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.saluteTextContainer{
    flex: 3;
}
.saluteImgContainer{
    flex: 1;
}
.saluteText{
    color: var(--mainTextColor);
    font-size: 60vw;
    cursor: default;
}

.saluteImg{
    width: 100%;
}

.nameContainer{
    height: 100vh;
    background-color: var(--bg2);
}
.name{
    font-size: 14vw;
    cursor: default;
    color: #333;
    line-height: 100vh;
}

.jobTitleContainer{
    height: 100vh;
}
.dark{
    background: url("./resourses/bg1.png");
}
.purple{
    background: var(--bg2) url("./resourses/bg2.png");
}
.jobTitle{
    font-size: 12vh;
    color: var(--mainTextColor);
    cursor: default;
    line-height: 100vh;
}

/* =====================INTRODUCTION SECTION ENDS HERE===================== */


/* =====================PROJECT SECTION STARTS HERE===================== */

.projects{
    display: flex;
    flex-direction: column;
    gap: 30vh;
    padding: 0 100px;
}

.projectsTitle{
    font-size: 12vh;
    color: var(--mainTextColor);
}

.project{
    display: flex;
    align-items: center;
    gap: 100px;
    height: 100vh;
    overflow: hidden;
}
.project:nth-child(2n){
    flex-direction: row-reverse;
}


.phone{
    width: 300px;
    height: 600px;
    position: relative;
    flex: 1;
}

.phoneScreen{
    width: 265px;
    height: 571px;
    background-color: blue;
    position: absolute;
    top: 15px;
    left: 17px;
    border-radius: 28px;
    overflow: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.phoneScreen::-webkit-scrollbar {
    display: none;
}

.phoneWeb{
    width: 100%;
    height: 410%;
}

.projectDetail{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.projectTitle{
    font-size: 5vw;
    color: #555;

}
.projectDesc{
    font-size: 20px;
    color: #555;
    text-align: justify;
    line-height: 40px;
}
.projectButton{
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid #555;
    color: #555;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.projectButton::after{
    content: "View Demo";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.6s all;
    background-color: #555;
    color: #222;
}

.projectButton:hover.projectButton::after{
    transform: translateX(100%);
}



.laptop{
    width: 600px;
    height: 379px;
    flex: 1;
    position: relative;
}
.laptopScreen{
    position: absolute;
    width: 451px;
    height: 283px;
    position: absolute;
    top: 18px;
    left: 68px;
    overflow: scroll;
    background-color: rgb(165, 212, 212);
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.laptopScreen::-webkit-scrollbar {
    display: none;
  }
.laptopWeb{
    width: 100%;
}

/* =====================PROJECT SECTION ENDS HERE===================== */

/* =====================GITHUB SECTION STARTS HERE===================== */
.githubContainer{
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.githubTitle{
    font-size: 100px;
    color: var(--mainTextColor);

}
.githubChart{
    width: 820px;
    text-align: center;
}

.dates{
    padding: 10px;
    font-size: 12px;
    color: #555;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}
.boxContainer{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;;
}

.box{
    width: 15px;
    height: 15px;
    background-color: #171c25;
    border-radius: 2px;
    cursor: pointer;
    transition: 2s all ease;
}

.active:nth-child(4n){
    background-color: #229342;
}

.githubChart:hover .active:nth-child(2n+1){
    background-color: #229342;
}
.githubChart:hover .active:nth-child(2n){
    background-color: #00723d;
}
.githubSm{
    display: none;
}


@media screen and (max-width:1024px){
    .projects{
        padding: 0 30px;
        text-align: center;
    }
    .project{
        flex-direction: column;
        height: max-content;
    }
    .project:nth-child(2n){
        flex-direction: column;
    }
    .phone .laptop{
        transform: none !important;
    }
    .githubChart{
        display: none;
    }
    .githubTitle{
        text-align: center;
        font-size: 9vh;
    }
    .githubSm{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        color: #555;
        font-size: 30px;
        text-align: center;
    }
}