body {
    margin: 0;
    padding: 0;
    position: absolute;
    background: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 300;
}

.name {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-top: 80px;
    padding-top: 50px;
    padding-bottom: 5%;
    background-color: white;
}

h1 {
    position: relative;
    width: 100%;
    margin-top: 0px;
    padding-top: 10%;
    margin-bottom: 0px;
    line-height: 1.2em;
    font-size: 40pt;
    font-family: Arial, Helvetica, sans-serif;
    display: inline-block;
    text-align: center;
}

.intro {
    position: relative;
    float: right;
    width: 40%;
    line-height: 1.8em;
    font-size: 14pt;
    margin-right: 10%;
    margin-left: 10%;
    text-align: justify;
}   

.work_link {
    text-decoration: underline;
    text-underline-position: under;
    text-decoration-color: rgb(201, 102, 255);
    text-decoration-thickness: 4px;
}

.download {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 150px;
    color: tomato;
    background: white;
    border-radius: 5px;
    padding: 10px;
    border: 1px solid;
    border-color: tomato;
    margin: auto;
    text-transform: uppercase;
    font-size: 10pt;
}

.download:hover {
    cursor: pointer;
    color: white;
    background: tomato;
    border-color: white;
}

.photo {
    position: relative;
    padding-top: 5%;
    width: 30%;
    height: auto;
    margin-left: 10%;
    float: left;
}


/* CV info */

.capabilities_block {
    position: relative;
    display: inline-block;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: -5%;
    list-style-type: none;
    /* background: red;    */
}

h3 {
    font-size: 18pt;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.capabilities {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    list-style: none;
    line-height: 1.7em;
    padding-left: 0px;
}

h4 {
    font-style: initial;
    margin-top: -5px;
} 

.column1of3, .column2of3, .column3of3 {
    position: relative;
    width: 33%;
    float: left;
    margin-bottom: 10%;
}

hr {
    background-color: black;
    border: 0 none;
    color: black;
    height: 1px;
}

.all_projects {
    position: relative;
    display: inline-block;
    margin-left: 10%;
    margin-right: 10%;
    width: 80%;
    padding-bottom: 5%;
}

hr {
    background-color: black;
    border: 0 none;
    color: black;
    height: 1px;
}

.project_title {
    margin-top: 30%;
}

.link_work {
    color: rgb(255, 153, 135);
    text-decoration: none;
}

.link_work:hover{
    text-decoration: underline;
    text-underline-position: under;
    text-decoration-thickness: 4px;
    text-decoration-color: rgb(255, 153, 135);
}

/* Mobile mode */

@media only screen and (max-width: 785px) {
 
.name {
    position: relative;
    display: block;
    }
    
.photo {
    position: relative;
    display: block;
    padding-top: 5%;
    width: 60%;
    height: auto;
    margin-left: 20%;
    }
    
h1 {
    position: relative;
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* background: red; */
    }

.intro {
    position: relative;
    display: block;
    width: 80%;
    margin-left: 10%;
    text-align: justify;
    }  

.capabilities_block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    }

hr {
    position: relative;
    display: block;    
    }

.column1of3, .column2of3, .column3of3 {
    position: relative;
    width: 100%;
    }

.capabilities_title {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    }

.capabilities {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;        
    }

.project_main {
    height: 100%;
    width: 100%;
    transform: translateY(0px);
    padding-right: 0;
    margin-right: 0;
    }
    
.project_textbox {
    width: 100%;
    padding-bottom: 5%;
    padding-bottom: 5%;
    }

.all_projects {
    margin-left: 10%;
    margin-right: 10%;
    width: 80%;
    padding-bottom: 20%;
    }

.project_title {
    margin-top: 20%;
    }

}