* {
    margin: 0;
    padding: 0;
    user-select: none;
    font-family: 'Figtree', sans-serif;
}

.container {
    background-color: #222831;
    overflow: hidden;
}

.hi {
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hiTextContainer {
    flex: 3;
}

.hiTextContainer h1 {
    font-size: 55vw;
    cursor: default;
    color: #334756;
}

.hiImgContainer {
    flex: 1;
}

.hiImgContainer img {
    height: 100vh;
    object-fit: cover;
}


.nameContainer {
    background-color: #F0A500;
    height: 100vh;
}

.nameContainer h2 {
    font-size: 20vw;
    color: #333;
    cursor: default;
    text-align: left;
    line-height: 100vh; /* centering vertical */
}

.jobTitleContainer {
    height: 100vh;
}

.dark {
    background-image: url('./assets/images/bg1.png');
}

.purple {
    background: #393E46 url('./assets/images/bg2.png');
}

.jobTitleContainer h2 {
    font-size: 10vw;
    line-height: 100vh;
    color: #F0A500;
    cursor: default;
}

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

.projectsTitle {
    font-size: 10vw;
    color: #F0A500;
}

.project {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: 40px;
}

.project:nth-child(2n){
    flex-direction: row-reverse;
}

.phone {
    z-index: 100;
    flex: 1;
    width: 300px;
    height: 700px;
    position: relative;
}

.phoneScreen {
    width: 264px;
    height: 567px;
    background-color: blue;
    position: absolute;
    top: 17px;
    left: 18px;
    border-radius: 28px;
    overflow: scroll;
}

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

.screen {
    width: 100%;
}

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

.projectDetails h1 {
    font-size: 7vw;
    color: #555;
}

.projectDetails p {
    font-size: 20px;
    color: #555;
    text-align: justify;
    line-height: 40px;
}

.detailsBtn {
    z-index: 20;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid #555;
    color: #555;
    cursor: pointer;
    transition: all ease-in-out .2s;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.detailsBtn::before {
    content: 'View Demo';
    width: 100%;
    height: 100%;
    position: absolute;
    color: #111;
    background-color: #F0A500;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 1s ease-in-out;
}

.detailsBtn:hover.detailsBtn::before {
    transform: translateX(100%);
}

.laptop {
    z-index: 100;
    width: 600px;
    height: 379px;
    flex: 1;
    position: relative;
}

.laptopScreen {
    width: 451px;
    height: 283px;
    position: absolute;
    top: 18px;
    left: 68px;
    overflow: scroll;
}

.laptopScreen img {
    width: 100%;
}

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

.github {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.githubTitle {
    font-size: 100px;
    color: #EEEEEE;
    transition: all .3s ease;
}

#githubText:hover {
    color: #F0A500;
}

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

.githubChart a {
    text-decoration: none;
}

.dates {
    padding: 10px;
    font-size: 12px;
    color: #555;
    display: flex;
    justify-content: space-between;
}

.githubBox {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

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

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

.githubBox:hover .active:nth-child(2n) {
    background-color: #195b2c;
}

.githubBox:hover .active:nth-child(2n + 1) {
    background-color: #063f24;
}

.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: 10vw;
    }
    .githubSm {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 20px;
        color: #555;
        font-size: 30px;
        text-align: center;
    }
    .githubSm a {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #555;
    }
}