* {
    margin: 5px;
    padding: 0;    
}


body {
    display: flex;
    justify-content: center;
    width: 100%;
}

div {
    display: flex;
    justify-content: center;
    
}

#name{
    margin: 0px;
    display : flex;
    justify-content : center;
    font-size : 50px;
}


#portfolio {
    
    flex-direction: column;
    width: 70%;
    height: 100%;
}

#sub-heading {
    justify-content: space-around;
}


[id^="work-experience"]{
    flex-direction: column;
}

[id^="project"]{
    flex-direction: column;
}

#project-details{
    justify-content: flex-start;
    flex-direction: row;
    font-weight: bold;
}

#education{
    flex-direction: column;
}

#education-details{
    justify-content: space-between;
}

#skills{
    flex-direction: column;
}

#achievements{
    flex-direction: column;
}

@media only screen and (max-width: 600px) {
    *{
        margin : 5px 0px 5px 0px;
        padding : 0px;
        width: 100%;
    }

    body{
        margin : 0px 0px 0px 0px;
    }

    #portfolio{
        width: 90%;
    }
    
    #sub-heading{
        flex-wrap : wrap; 
    }

    #project-details{        
        justify-content: flex-start;
        flex-wrap : wrap;
    }

    #education-details{
        display: flex;
        font-size : 16px;
    }
  }