.homeSection{
    width: 100%;

    /*substract the height to get full screen i.e. 100vh - (100px(height of header[navbar]) + 15px(margin from top))*/
    height: calc(100vh - 115px);
    
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 30px;
}

.heroSection{
    width: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
}

.intro h1{
    text-align: center;
    margin: 0 0 20px 0;
    font-family: "Source Code Pro", monospace;
    font-size: 65px;
    font-weight: 800;
    border-right: 5px solid var(--primary-font-color);
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    animation:
        typing 1.5s steps(16), 
        cursor 0.4s step-end infinite alternate;
}

@keyframes cursor {
    50%{
        border-color: transparent;
    }
}

@keyframes typing{
    from {
        width: 0;
    }
}

.about{
    width: 660px;
    font-size: 22px;
    text-align: center;
    margin-bottom: 25px;
}

.projectsButton{
    width: 300px;
    height: 70px;
    margin-top: 25px;
    font-size: 25px;
    font-weight: 700;
    color: #f7f7f7;
    background-color: var(--base-accent-color);
    border: none;
    outline: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: all 0.3s ease;
}

.projectsButton:hover{
    box-shadow: var(--project-button-hover-shadow);
    transform: translateY(-3px);
}

.mouse{
    width: 30px;
    height: 50px;
    border-radius: 100px;;
    border: 4px solid var(--primary-font-color);
    position: absolute;
    bottom: 15px;
}

.mouse::after{
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-font-color);
    border-radius: 50%;
    animation: moveDot 1.2s infinite ease-in-out;
}

@keyframes moveDot {
    0% {
        top: 8px;
    }
    90% {
        top: 27px;
    }
    91% {
        top: 8px;
    }
    100% {
        top: 8px;
    }
}

@media (max-width: 767px){
    .homeSection{
        margin-bottom: 15px;
    }

    .intro h1{
        font-size: 38px;
    }

    .about{
        width: 350px;
    }
    
    .heroSection{
        padding-bottom: 100px;
    }

    .projectsButton{
        width: 180px;
        height: 65px;
        font-size: 20px;
    }

    .mouse{
        width: 20px;
        height: 35px;
        border: 3px solid var(--primary-font-color);
    }

    .mouse::after{
        content: '';
        position: absolute;
        top: 6px;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 4px;
        background-color: var(--primary-font-color);
        border-radius: 50%;
        animation: moveDot 1.2s infinite ease-in-out;
    }

    @keyframes moveDot {
        0% {
            top: 6px;
        }
        90% {
            top: 18px;
        }
        91% {
            top: 6px;
        }
        100% {
            top: 6px;
        }
    }
  
}

@media (max-width: 479px){
    .intro h1{
        font-size: 32px;
    }

    .about{
        font-size: 18px;
        width: 325px;
    }

    .projectsButton{
        width: 140px;
        height: 50px;
        font-size: 18px;
    }
}