* {
    padding: 0;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}

.container {
    background-color: #111;
    overflow: hidden;
}

.salute {
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.saluteTextContainer {
    flex: 1;
}

.saluteImgContainer {
    flex: 2;
}

.saluteText {
    color: #333;
    font-size: 30vw;
    cursor: default;
}

.saluteImg {
    width: 30%;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.nameContainer {
    height: 100vh;
    background-color: rebeccapurple;
}

.name {
    font-size: 10vw;
    color: #333;
    cursor: default;
    text-align: center;
    line-height: 100vh;
}

.jobTitleContainer {
    height: 100vh;
}

.dark {
    background: url("./img/bg1.png");
}

.purple {
    background: rebeccapurple url("./img/bg2.png");
}

.jobTitle {
    font-size: 7vw;
    color: #333;
    line-height: 100vh;
    cursor: default;
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 30vh;
    padding: 0px 100px;
}

.projectsTitle {
    font-size: 10vw;
    color: #555;
}

.project {
    display: flex;
    align-items: center;
    gap: 100px;
    height: 100vh;
    overflow: hidden;
}

.project:nth-child(2n) {
    flex-direction: row-reverse;
}

.phone {
    flex: 1;
    width: 300px;
    height: 600px;
    position: relative;
}

.phoneScreen {
    width: 264px;
    height: 567px;
    position: absolute;
    top: 17px;
    left: 18px;
    border-radius: 28px;
    overflow: scroll;
    scrollbar-width: none; /*Firefox*/
}

/*only for Chrome*/
.phoneScreen::-webkit-scrollbar {
    display: none;
}

.phoneApp {
    width: 100%;
}

.projectDetail {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.projectTitle {
    font-size: 7vw;
    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: 1s all;
    background-color: #555;
    color: #222;
}

.projectButton:hover.projectButton::after {
    transform: translateX(100%);
}

.laptop {
    width: 600px;
    height: 379px;
    flex: 1;
    position: relative;
}

.laptopScreen {
    width: 451px;
    height: 283px;
    position: absolute;
    top: 18px;
    left: 68px;
    overflow: scroll;
    scrollbar-width: none; /*Firefox*/
}

/*only for Chrome*/
.laptopScreen::-webkit-scrollbar {
    display: none;
}

.laptopApp {
    width: 100%;
}

.githubContainer {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.githubTitle {
    text-align: center;
    font-size: 80px;
    color: #333;
}

.githubTitleBelow {
    text-align: center;
    font-size: 80px;
    color: #333;
}

.githubChart {
    width: 820px;
    text-align: center;
}

.dates {
    padding: 10px;
    color: #555;
    font-size: small;
    display: flex;
    justify-content: space-between;
}

.boxContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.box {
    width: 15px;
    height: 15px;
    background-color: #171c25;
    border-radius: 2px;
    cursor: pointer;
    transition: 3s all ease;
}

.active:nth-child(4n) {
    background-color: #195b2c;
}

.githubChart:hover .active:nth-child(2n+1) {
    background-color: #195b2c;
}

.githubChart:hover .active:nth-child(2n) {
    background-color: #063f24;
}

.githubSmall {
    display: none;
}

@media screen and (max-width:1024px) {
    .projects {
        padding: 0 30px;
    }

    .project {
        flex-direction: column;
        height: max-content;
    }

    .project:nth-child(2n) {
        flex-direction: column;;
    }

    .phone, .laptop {
        transform: none !important;
    }

    .githubChart {
        display: none;
    }

    .githubTitle {
        font-size: 10vw;
    }

    .githubSmall {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        color: #555;
        font-size: 30px;
        text-align: center;
    }
}