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

.intro_section {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 80px;
    padding-top: 5%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

h1 {
    display: block;
    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;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

article .name {
    position: relative;
    display: block;
    color: tomato;     
    text-decoration: none;
    padding-left: 5px;
    padding-right: 5px;
    outline-width: 5px;
}

div article h1 a:hover {
    background-color:  tomato;
    -webkit-text-fill-color: white;   
}

p a {
    text-decoration: none;
    color: black;   
}

.intro {
    position: relative;
    margin-left: 25%;
    width: 50%;
    line-height: 2em;
    font-size: 14pt;
    text-align: justify; 
}    

/* .link_work::before{
    position: relative;
    content: '';
    transition: 0.5s;
    transform: translateX(-5px);
    transform-origin: -5px;
    position: absolute; 
    display: block;
    height: 5px;
    width: 0%;
    top: 20px;
    background-color:rgb(255, 153, 135);
    transition: all ease-in-out 250ms;
}

.link_work::before{
    position: relative;
    width: calc(100%);
} */

.link_work {
    color: rgb(255, 153, 135);
}

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


/* projects */

.design_work a {
    color: rgb(255, 153, 135);
    font-family: Arial, Helvetica, sans-serif;
    padding-left: 5px;
    padding-right: 5px;
}

.work_type {
    position: relative;
    display: inline-block;
    width: 70%;
    height: calc(70vw * 0.42);
    margin: 0% 0% 10% 15%;
    transition: 0.3s ease-in-out;
}

.all_projects {
    position: relative;
    display: inline-block;
    margin-top: 10%;
    width: 100%;
}

.project_main {
    width: 100%;
    height: 100% ;
    padding-right: 0;
    margin-right: 0;
}

.project_main img {
    width: 100%;
    height: 100%; 
    opacity: 0.6;
}

.project_textbox {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    letter-spacing: 3px;
}

.project_title {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: tomato;
    font-family: 'Source Sans Pro', sans-serif;
    text-transform: uppercase;
    font-style: italic;
    font-size: 9vw;
    z-index: 2000;
    display: inline;
    white-space: nowrap;
}

.work_type:hover {
    background: rgba(0, 0, 0, 0.7);
}

.work_type:hover .project_title {
    -webkit-text-fill-color: tomato;
    cursor: pointer;
}

.project_title:hover{
    color: tomato; 
    -webkit-text-fill-color: tomato;
}


/* Mobile mode */

@media only screen and (max-width: 785px) {

.intro_section {
    position: relative;
    display: block;
    }
    
h1 {
    display: block;
    position: relative;
    display: block;
    position: relative;
    align-items: center;
    justify-content: center;
    text-align: center;
    }

.name {
    position: relative;
    display: block;
    margin-left: 10%;
    margin-right: 10%;
    }
    
.intro {
    position: relative;
    display: block;
    width: 80%;
    margin-left: 10%;     
    } 

.work_type {
    position: relative;
    display: inline-block;
    width: 80%;
    height: calc(70vw * 0.42);
    margin: 0% 0% 10% 10%;
    transition: 0.5s ease-in-out;
    }   
}
    