:root {
    --color-background: #f7f7f7;
    --color-primary: #333;
    --color-primary-1: #143b6d;
    --dark-grey: rgb(80,80,80);
}

/*==============================================================================
Animation
==============================================================================*/
@keyframes fadeInFromBottom {
    from {
        opacity: 0;
        transform: translateY(10vh);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*==============================================================================
Reset default settings
==============================================================================*/
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

a {
    text-decoration-line: none;
    color: inherit;
}

a:hover {
    border-bottom: 2px solid black;
}
img {
    max-width: 100%;
    height: auto;
}
html {
    font-size: 62.5%; /* 1rem = 10px ==> font-default: 16px (100%) --> 62.25% = 10px*/
}

body {
    font-family: 'Roboto', sans-serif;
    padding: 2rem;
    line-height: 1.6;
    background-color: var(--color-background);
}

section {
    display: flex;
    flex-direction: column;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 400;
    border-bottom: 1px black solid;
    margin: 1rem 0;
}

ul  {
  padding-left: 0;
}
ul li {
   list-style-position: inside;
}

<style>
    .aligned-text-li {
        padding-left: 2em; /* Indents all lines by 4 */
        text-indent: 2em; /* Indents the first line by 4 */
    }
</style>

<style>
    .aligned-text-2li {
        padding-left: 4em; /* Indents all lines by 4 */
        text-indent: 4em; /* Indents the first line by 4 */
    }
</style>

/*==============================================================================
Header
==============================================================================*/
.header {
    display: flex;
    flex-direction: column;
}

.header__personal-info {
    display: none;
}

.header__full-name {
    align-self: center;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-grey);
}

#particles-js {
    z-index: -1;
}

#main {
    font-size: 1.4rem;
}


#profile {
    align-self: flex-start;
    display: flex;
    flex-direction: column;
}

.profile__photo {
    align-self: center;
}

.profile__photo img {
    border-radius: 50%;
    max-width: 15rem;
}

.profile_intro {
    align-self: center;
    font-style: italic;
    text-indent: 2rem;
    /* background-color: aliceblue; */
}




.experience {
    display: flex;
    flex-flow: row wrap;
    align-items: baseline;
}

.experience__job-title {
    order: 1;
    font-size: 2.0rem;
    font-weight: 600;
    min-width: 40vw;
    display: inline-block;
    white-space: nowrap;
}
.experience__company {
    flex: 0 0 100%;
    order: 2;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--dark-grey);
    margin-top: -0.5rem;
    text-align: center;
}

.experience__geo-date {
    order: 3;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--dark-grey);

}

.experience__job-duties {
    order: 4;
    flex: 0 0 100%;
    margin-left: 0;
    line-height: 1.6;
}

.school {
    display: flex;
    flex-flow: row wrap;
    align-items: baseline;
    padding-bottom: 1rem;
}

.school__name {
    flex: 0 0 100%;
    font-size: 2.0rem;
    font-weight: 600;
}

.school .degree {
    font-size: 1.5rem;
    font-weight: 500;
    margin-right: 1rem;
}

#skills h3 {
    font-size: 1.8rem;
}

#skills ul > li {
    margin-left: 1.5rem;
}

#skills ul > li span {
    font-weight: 500;
    color: var(--dark-grey);
}


.project {
    display: flex;
    flex-flow: row wrap;
    align-items: baseline;
}

.project__title {
    order: 1;
    font-size: 2.0rem;
    font-weight: 600;
    min-width: 25rem;
}
.project__summary {
    order: 3;
    flex: 0 0 100%;
    font-weight: 500;
    font-size: 1.6rem;
    color: var(--dark-grey);
}

.project__date {
    order: 2;
    margin-left: auto;
    font-weight: 100;
    font-size: 1.3rem;
    color: var(--dark-grey);
}

.project__highlights {
    order: 4;
    margin-left: 2rem;
    line-height: 1.6;
}


@media (min-width: 48rem)  {/* Tablet */
    #main {
        display: flex;
        flex-flow: column wrap;
        padding: 1rem 1vw;
    }

    #profile {
        align-self: flex-start;
        display: flex;
        flex-direction: row;
    }

    #profile {
        opacity: 0;
        animation: 1s fadeInFromBottom;
        animation-fill-mode: forwards;
    
    }

    .profile_intro {
        padding-left: 4rem;

    }
    #resume {
        background-color: azure;
        opacity: 0;

        animation: 1s fadeInFromBottom;
        animation-delay: 1s;
        animation-fill-mode: forwards;

    }

    #resume {
        display: flex;
        flex-flow: row wrap;
        padding: 2rem;
    }
    #resume {
        align-self: center;
        padding: 4rem 4rem;
        margin: 3rem 0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12)!important;
    }
    .header {
        flex: 0 0 100%; 
    }

    .header__personal-info {
        align-self: center;
        display: inherit;
    }
    
    .header__personal-info > * {
        padding: 0 1rem;
        border-right: 1px black solid;
    }
    
    .header__personal-info > *:last-child {
        border-right: none;
    }
    
    .experience__job-title {
        order: 0;
        flex: 0;
        font-size: 2.0rem;
        min-width: 25rem;
    }
    .experience__company{
        order: 1;
        flex: 1;
        min-width: 25rem;

    }
    .experience__geo-date {
        order: 2;
        margin-left: auto;
        font-size: 1.2vw;
    }
    .experience__job-duties {
        order: 3;
    }

    #education {
        flex: 0 0 50%;
    }

    #skills {
        flex: 0 0 50%;
    }

    .project__title {
        order: 0;
        flex: 0;
        min-width: 14rem;
    }
    .project__summary {
        order: 1;
        flex: 1;
        min-width: 25rem;
    }

    .project__date{
        order: 2;
    }
    .project__highlights {
        order: 3;
        flex: 0 0 100%;
    }
}

@media (min-width:60rem) {
    /* Portrait Tablet */
    #main {
        display: flex;
        flex-flow: row wrap;
        padding: 1rem 2rem;
    }
    #profile {
        flex: 0 0 20%;
        flex-direction: column;
        margin-top: 4rem;
    }
    #resume {
        flex: 0 0 80%;
    }

    .profile_intro {
        padding-left: 0rem;
        padding-right: 3rem;
    }

    .experience__job-title {
        min-width: 25rem;
    }
    .experience__company{
        min-width: 18rem;
    }
    .experience__job-duties {
        flex: 0 0 100%;
    }
}

#readMore {
    display: none;
    background: none;
}

.button {     
    background-color: Transparent;
    background-repeat:no-repeat;
    border: none;      
}

button {
    background-color: rgba(255,255,255,0);
    border: none;
}

@media (min-width:80rem) {
    /* Desktop */
    #main {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
    }

    #profile {
        flex: 0 0 20%;
    }

    #resume {
        flex: 0 0 80%;
        max-width: 80rem;
    }
    
    .profile__photo {
        align-self: center;
    }
    .profile__photo img {
        border-radius: 50% /* make img circle */
    }

    .experience__job-duties {
        line-height: 2.5rem;
    }
    .experience__geo-date {
        font-size:1.2rem;
    }
}


#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-background);
    background-image: url(style.css);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
