/* CSV
0d1b2a,1b263b,415a77,778da9,e0e1dd,5c415d
*/

/* FONTS */
@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Bold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-SemiBold.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-LightItalic.ttf") format("truetype");
    font-weight: 300;
    font-style: italic;
}

/* General */
html {
    scroll-behavior: smooth;
}

body {
    background: #76a1a4;
    margin: 0;
    width: 100%;
}

a {
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

ul {
    list-style-type: none;
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 28pt;
    text-transform: uppercase;
    line-height: 24pt;
    color: #76a1a4;
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14pt;
    text-transform: capitalize;
    color: #2e2e2e;
}

h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 9pt;
    text-transform: uppercase;
    color: #2e2e2e;
}

h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 12pt;
    text-transform: uppercase;
    color: #2e2e2e;
    line-height: 5pt;
}

p {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 12pt;
    line-height: 1.7;
    color: #2e2e2e;
}

/***********************************/
/***                             ***/
/***         Navigation          ***/
/***                             ***/
/***********************************/

.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 8vh;
    float: right;
    display: grid;
    background: #76a1a4;
    grid-template-columns: 2fr 4fr;
    z-index: 999;
}

.nav-home {
    float: left;
    width: 20vw;
    height: 20px;
    padding-top: 3vh;
    margin-left: 7.5vw;

    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.nav-home a {
    color: white;
    font-size: 20pt;
    text-align: center;
    border: 3px solid transparent;
}

.nav-home a:hover {
    border: 3px solid white;
}

#nav-list {
    padding-top: 2vh;
    background: rgba(83, 84, 99, 0);
}

.nav-list-elements{
    float: right;
    display: grid;
    grid-template-columns: repeat(4,8vw);
    grid-gap: 20px;
    margin-right: 7.5vw;
}

.nav-list-elements a {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 12pt;
    text-align: center;
    border: 1px solid transparent;
}

.nav-list-elements li a:hover {
    border: 1px solid white;
}

.burger{
    display: none;
}

.burger-menu {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    padding: 0;
    width: 40px;
    height: 40px

}
.line {
    fill: none;
    stroke: white;
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line1 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}
.line2 {
    stroke-dasharray: 60 60;
    stroke-width: 6;
}
.line3 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}
.opened .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}
.opened .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 6;
}
.opened .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}



/***********************************/
/***                             ***/
/***          Content            ***/
/***                             ***/
/***********************************/

.content{
    margin-top: 9vh;
    margin-left: 7.5vw;
    width: 85vw;
    background: #fff;

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:    'landing-left landing-right'
                            'contact contact'
                            'publications publications';
}

.content-left-side {
    grid-area: landing-left;
    height: 92vh;
}

.content-left-side h1{
    padding-top: 5vh;
    padding-left: 10%;
    padding-right: 10%;
}

.content-left-side p{
    padding-left: 10%;
    padding-right: 10%;
}

.content-left-side p a {
    text-decoration: none;
    font-size: inherit;
    border: none;
    display: inline;
    color: #C89933;
}

.content-left-side p a:hover {
    border: none;
    background: none;
}

.content-right-side {
    grid-area: landing-right;
    height: 92vh;
}

.content-left-side-button {
    margin-left: 15%;
    margin-top: 5vh;
    padding: 10px;
    float: left;
    font-size: 20pt;
    color: #C89933;
    border: 3px solid #C89933;
}

.content-left-side-button:hover {
    background: #C89933;
    border: 3px solid #C89933;
    color: white;
}

.content-right-portrait{
    height: 100%;
    width: 100%;
    object-fit: cover;
    margin: auto auto;
}

/***********************************/
/***                             ***/
/***          Contact            ***/
/***                             ***/
/***********************************/
#contact {
    scroll-margin-top: 12vh;
}

.content-contact {
    padding-top: 5vh;
    grid-area: contact;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    background: #76a1a4;
}

.content-contact h1{
    padding-left: 5vw;
    line-height: 1.2em;
    color: #ffffff;
    margin:0;
}

.content-contact p{
    margin: 0;
    padding-left: 5vw;
    color: #ffffff;
}

.content-contact-sns{
    display: grid;
    grid-template-columns: 6fr 1fr 1fr 1fr 2fr;
    grid-gap: 2vw;
    align-items: center;
    justify-items: center;

}

.content-contact-sns-icon {
    width: 100%;
}

#content-contact-mail {
    width: 20vh;
    float: left;
    margin: 0 auto;
    padding-top: 5vh;
}

#content-contact-mail {
    display: inline;
    justify-self: center;
    margin-left: 5vw;
    padding: 10px;
    font-size: 12pt;
    text-transform: uppercase;
    color: #fff;
    border: 2px solid #fff;
}

#content-contact-mail:hover{
    background: #fff;
    color: #8285a0;
}

/***********************************/
/***                             ***/
/***       Publications          ***/
/***                             ***/
/***********************************/
.project-container {
    margin: 0;
    width: 90%;
    height: 90%;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
}

.wrapper {
    padding-left: 10%;
    padding-top: 50px;
    width: 90%;
    height: 100%;
}

#publications{
    scroll-margin-top: 5vh;
}

.content-publications {
    display: block;
    margin-top: 10vh;
    width: 75vw;
    padding-left: 5vw;
    padding-bottom: 5vh;
    grid-area: publications;
}

.content-publications h1{
    padding-bottom: 2.5vh;
}

.content-publication-pub {
    display: block;
    width: 75vw;
    margin:0;
    padding-bottom: 5vh;
}

.content-publication-pub hr{
    width: 75vw;
    margin-left: -0.5vw;
    margin-bottom: 10px;
    color: #8285a0;
}

.content-publication-pub h2 {
    line-height: 1.2em;
    margin:0;
}

.content-publication-pub p {
    line-height: 1.2em;
}

.content-publication-pub a {
    text-transform: uppercase;
    padding: 2px;
    float: left;
    color: #5c415d;
    border: 2px solid #5c415d;
}

.content-publication-pub a:hover {
    color: #ffffff;
    background: #5c415d;
}

.content-publication-pub-proceedings{
    font-style: italic;
    font-size: 11pt;
}

.template {
    display: none;
}


/***********************************/
/*                                 */
/*            PROJECTS             */
/*                                 */
/***********************************/

.button-back a {
    text-decoration: none;
    color: #ffffff;
    height: auto;
    padding: 10px;
    border-radius: 4px;
    background: #F24C00;
    font-size: 1.2em;
}


.button-back {
    position: absolute;
    top: 45%;
    left: 20px;
}

.button-back a:hover{
    background: #000000;
}

.grid-container {
    position: relative;
    display: grid;
    height: 90vh;

    grid-template-columns: 0.5fr 0.5fr 1fr 2fr 1fr 0.5fr 0.5fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    grid-template-areas:    "f-1 f-1 f-2 f-2 f-3 f-3 f-3"
                            "f-1 f-1 f-2 f-2 f-4 f-4 f-4"
                            "f-5 f-5 f-5 title f-4 f-4 f-4"
                            "f-5 f-5 f-5 f-7 f-7 f-7 f-7"
                            "f-6 f-6 f-6 f-7 f-7 f-7 f-7";
}

.frame {
    position: relative;
    text-align: center;
    width: 100%;
    font-size: 20pt;
    border-radius: 4px;
    box-sizing: border-box;
}

.frame a{
    text-transform: uppercase;
    font-size: 16pt;
    font-weight: 400;
    letter-spacing: 4px;
    line-height: 24pt;
    height: 100%;
    width: 100%;
}

.f-1 {
    grid-area: f-1;
    background: #2d69c2;
}

.f-2 {
    grid-area: f-2;
    background: #F7C548;
}

.f-2:hover {
    border: 5px solid #ffffff;
}

.f-2 a {
    text-align: left;
    padding-left: 2vw;
    padding-top: 2vw;
    color: inherit;
    text-decoration: none;
}

.f-3 {
    grid-area: f-3;
}

.f-3 h2{
    width: 100vw;
    margin: 0;
    position: absolute;
    text-align: left;
    float: left;
    bottom: 0;
    left: 0;
    letter-spacing: 4px;
    line-height: 40px;
    text-transform: uppercase;
}

.f-4 {
    grid-area: f-4;
    background: #6056bd;
}

.f-4 a {
    text-align: left;
    padding-left: 2vw;
    padding-top: 2vw;
    color: inherit;
    text-decoration: none;
    color: #ffffff;
}


.f-4:hover {
    border: 5px solid #ffffff;
}

.f-5 {
    grid-area: f-5;
    background: #8ad594;
}

.f-6 {
    grid-area: f-6;
}

.f-6 a p {
    position: absolute;
    bottom: 0;
    right: 0;
    float: right;
    font-size: 9pt;
    letter-spacing: 2px;
    font-weight: 400;
    color: #ffffff;
    text-align: right;
}

.f-6 a p:hover {
    color: #ffd024;
}

.f-7 {
    grid-area: f-7;
    background: #FF6B6C;
}


.title {
    display: flex;
    grid-area: title;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    background: #000000;
    border-radius: 4px;
}



#title-text {
    width: 100%;
    margin: 0 auto;

    font-size: 16pt;
    font-weight: 400;
    text-align: center;
    letter-spacing: 4px;

    color: #ffffff;
}

/***********************************/
/*                                 */
/*        CURRICULUM VITAE         */
/*                                 */
/***********************************/

.cv-content {
    margin-top: 9vh;
    margin-left: 7.5vw;
    width: 85vw;
    background: #fff;
}

.cv-content h1 {
    padding-top: 5vw;
    width: 100%;
    text-align: center;
}

#cv-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 90%;
    margin: 0 auto;
    padding-bottom: 10vh;
}

#cv-wrapper h2 {
    text-transform: uppercase;
    width: 80%;
    text-align: right;
    align-self: end;
    font-size: 2em;
}

#cv-left-side {
    width: 100%;
    height: 100%;
}

#cv-right-side {
    width: 100%;
    height: 100%;
}

.cv-time-line-element {
    display: grid;
    grid-template-columns: 1fr 4fr;
}

.cv-date {
    position: relative;
    rotate: -45deg;
    padding-right: 20%;
    padding-top: 50%;
    font-weight: 600;
    text-align: right;
}

.cv-date-element {
    width: 80%;
    border-left: solid 2px #000000;
    padding-left: 2vw;
}

#cv-download-pdf {
    width: 80%;
    padding-left: 10%;
    padding-bottom: 2em;
}

#cv-download-pdf a{
    text-transform: uppercase;
    padding: 2px;
    width: 15em;
    margin: 0 auto;
    color: #5c415d;
    border: 2px solid #5c415d;
}

#cv-download-pdf a:hover{
    color: #ffffff;
    background: #5c415d
}

.cv-time-line-element h3{
    font-size: 1.4em;
}

.cv-activities{
    width: 100%;
    padding-bottom: 5em;
}

.cv-activities>*{
    width: 80%;
    margin: 0 auto;
    padding-bottom: 1em;
}

.cv-activities-h2 {
    text-transform: uppercase;
    font-size: 2em;
}

.cv-activities-act>*{
    width: 100%;
    margin: 0 auto;
}

.cv-activities-act p{
    line-height: 1.2;
    padding-bottom: 2em;
}

.cv-activities-act hr {
    width: 100%;
}

.cv-activities-act-link{
    position: relative;
    display: inline-block;
    float: left;
    padding-bottom: 1em;
    width: auto;
}

.cv-activities-act-link a {
    position: inherit;
    width: 100%;
    display: block;
    text-transform: uppercase;
    color: #5c415d;
    border: 2px solid #5c415d;
}

.cv-activities-act-link a:hover{
    color: #ffffff;
    background: #5c415d
}

.cv-activities-act li{
    line-height: 1.4;
    list-style: circle;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    margin: 0 auto;
}

.cv-activities-act li b{
    font-weight: 600;
}

/* Publications */
#cv-publications{
    width: 100%;
}

#cv-publications>*{
    width: 80%;
    margin: 0 auto;
}

#cv-publications hr {
    width: 100%;
}

#cv-publications-end{
    width: 80%;
}

#cv-pub-h2 {
    margin-top: 5vh;
    text-transform: uppercase;
    font-size: 2em;
}

/***********************************/
/*                                 */
/*     DARK PATTERN CHEATSHEET     */
/*                                 */
/***********************************/

#dp-nav{
    padding-left: 10vw;
    padding-top: 20px;
    width: 30vw;
    display: none;
}

#dp-nav-wrapper {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    width: 100%;
    align-items: start;
    justify-items: start;
}

.dp-button {
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
    float: right;
}

.dp-button:hover{
    background: #87d0ce;
}

#dp-nav-button{
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.4em;
    padding-left: 10vw;
}


#dp-nav-counter {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1em;
    padding-right: 5vw;
    text-align: right;
}

#dp-nav-button:hover {
    cursor: pointer;
}

#dp-nav a{
    color: #000000;
    text-decoration: none;
    padding-top: 5px;
    transition: 0.5s;
}

#dp-nav a:hover{
    padding-left: 10px;
    font-weight: bold;
}


#dp-popup {
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    overflow-y: hidden;
    background: rgba(255,255,255,0.6);
    visibility: hidden;
    z-index: 999;
}

#dp-popup-inner{
    height: 70vh;
    width: 70vh;
    overflow-y: scroll;
    margin: 7.5% auto;
    background: #ffffff;
    border-radius: 15px;
    filter: drop-shadow(0px 0px 20px rgba(135, 208, 206, 0.43));
    z-index: 1000;
}

#dp-popup-inner a {
    text-decoration: none;
    color: #7161EF;
}

#dp-popup-inner img {
    width: 90%;
    filter: drop-shadow(0px 0px 10px rgba(98, 0, 38, 0.05));
    padding-top: 10px;
    padding-left: 5%;
    padding-bottom: 40px;
}

.innerCloseButton {
    position: absolute;
    right: 32px;
    top: 32px;
    width: 32px;
    height: 32px;
    opacity: 0.5;
}

.innerCloseButton:hover {
    opacity: 1;
    cursor: pointer;
}

.innerCloseButton:before, .innerCloseButton:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 3px;
    border-radius: 5px;
    background-color: #000000;
}

.innerCloseButton:before {
    transform: rotate(45deg);
}

.innerCloseButton:after {
    transform: rotate(-45deg);
}

#dp-popup-inner-content {
    width: 90%;
    height: auto;
    background: #ffffff;
    margin: 0 auto;
    padding-top: 8vh;
}

#dp-popup-inner-content h2 {
    font-weight: 600;
    font-size: 1.8em;
}

#wrapper-dark-pattern{
    display: inline-block;
    width: 100vw;
    min-height: 92vh;
    margin-top: 8vh;
    padding-bottom: 5vh;
    background: #ffffff;
}

#wrapper-dark-pattern h1{
    padding-top: 5vh;
    padding-left: 5vw;
    padding-right: 5vw;
    color: #000000;
    text-transform: none;
    letter-spacing: 0.05em;
    font-weight: 600;
}

#wrapper-dark-pattern p{
    padding-left: 5vw;
    padding-right: 5vw;
    padding-bottom: 5vh;
}
#wrapper-dark-pattern a{
    display: inline-block;
    color: #C89933;
}

#wrapper-dark-pattern a:hover{
    text-decoration: underline;
}

.dp-grid {
    display: grid;
    position: relative;
    width: 85vw;
    float: right;
    right: 5vw;
    margin: 0 auto;
    grid-template-rows: repeat(auto-fill,1fr);
    grid-gap: 4vw;
}

.dp-group {
    display: grid;
    position: relative;
    grid-template-columns: repeat(auto-fill, minmax(14%,1fr));
    grid-auto-rows: minmax(auto, 120px);
    width: 100%;
    grid-gap: 2vw;
}

.dp-group-title{
    position: absolute;
    grid-row: 1/-1;
    width: auto;
    height: 100%;
    left: -5vw;
    rotate: -90deg;
}

.dp-group-title h2{
    text-align: center;
    text-transform: none;
    font-size: 1.2em;
    line-height: 0.5em;
}

.dp-group-title h3 {
    text-align: center;
    text-transform: none;
    font-style: italic;
    font-size: 1em;
    line-height: 0.5em;
}

.dp-group-title h3 a{
    display: inline-block;
    color: #C89933;
}

.dp-item {
    display: table;
    text-align: center;
    box-sizing: border-box;
    border-radius: 4px;
    border: solid 2px #000000;
    height: 100%;
    z-index: 0;
}

.dp-item:hover {
    z-index: 10;
    border-radius: 8px;
    transform: scale(1.15);
    transition-duration: 0.1s;
    transform-origin: center;
    filter: drop-shadow(0 0 0.75rem rgba(126, 144, 159, 0.53));
    border: solid 4px #ffffff;
    cursor: pointer;
}

.dp-item h2{
    color: #ffffff;
    display: table-cell;
    vertical-align: middle;
    padding-left: 5%;
    padding-right: 5%;
}

.dp-group-1 > div{
    background: #7161EF;
    border: none;
}

.node {
    stroke: #fff;
    stroke-width: 1.5px;
    cursor: pointer;
}
.link {
    stroke: #999;
    stroke-opacity: 0.6;
}

/***********************************/
/*                                 */
/*            IMPRESS              */
/*                                 */
/***********************************/

#impress-content {
    width: 40%;
    min-height: 85vh;
    margin: 0 auto;
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 4px;
}

#impress-content h3 p a{
    color: #ffffff
}


.impress .button-back{
    position: fixed;
    color: #ffffff;
}


/***********************************/
/*                                 */
/*             MOBILE              */
/*                                 */
/***********************************/

/***********************************/
/***           INDEX             ***/
/***********************************/


@media only screen and (max-width: 1200px) {
    .sticky-nav {
        display: grid;
        grid-template-columns: 3fr 1fr;
        height: 8vh;
        align-items: center;
        z-index: 999;
    }

    .nav-home {
        width: 30vw;
        align-self: center;
        height: 100%;
    }

    .nav-home a{
        font-size: 1.8em;
    }

    #nav-list {
        width: 50vw;
        float: right;
        padding-right: 2vw;
    }

    .nav-list-elements{
        width: 100%;
        margin-right: 0;
        grid-template-columns: repeat(4, 10vw);
    }
    .nav-list-elements li{
        min-width: 120px;
    }

    .content {
        margin-left: 7.5vw;
        margin-top: 8vh;
    }

    .content-left-side {
        height: fit-content;
    }

    .content-right-side {
        height: 80vh;
    }

    .content-left-side h1 {
        font-size: 20pt;
    }

    .content-left-side p {
        font-size: 11pt;
    }

    .content-left-side-button {
        font-size: 16pt;
    }

    #publications{
        scroll-margin-top: 10vh;
    }

}

@media only screen and (max-width: 1000px) {
    .nav-home {
        float: left;
        margin-left: 2vw;
        width: 60vw;
    }

    .nav-home a {
        float: left;
        font-size: 1.2em;
        line-height: 1em;
        padding-top: 1vh;
    }

    .nav-list-elements{
        display: grid;
        grid-template-columns: none;
        grid-template-rows: repeat(4,1fr);
        grid-gap: 5vh;
        padding-top: 20vh;
        width: 30vw;
        margin: 0 auto;
    }

    #nav-list {
        display: none;
        position: absolute;
        width: 100vw;
        height: 100vh;
        top: 0;
        float: none;
        background: #8285a0;
        transition: transform 250ms ease-in;
    }

    .nav-list-elements {
        width: 100%;
        margin: 0 auto;
    }

    .nav-list-elements a {
        font-size: 14pt;
    }

    .burger {
        display: block;
        position: absolute;
        right: 5vw;
        height: 8vh;
        top: 0;
        z-index: 999;
    }

    .burger-menu {
        position: relative;
        height: 8vh;
        top: 2vh;
    }

    .content {
        width: 100vw;
        margin-left: 0;
        margin-top: 8vh;
    }

}

@media only screen and (max-width: 900px) {
    .content-left-side-button {
        padding: 5px;
        margin-top: 2vh;
    }

    .content-contact {
        grid-template-rows: 1fr;
    }

    .content-contact-sns {
        grid-template-columns: repeat(3,1fr);
        grid-template-rows: repeat(3,1fr);
        padding-bottom: 5vh;
    }

    .content-contact-sns p {
        grid-column-start: 1;
        grid-column-end: 5;
    }

    .content-contact-sns-icon {
        width: 100%;
    }

    #content-contact-mail{
        grid-column-start: 1;
        grid-column-end: 5;
    }
}

@media only screen and (max-width: 700px) {
    .content{
        grid-template-areas:    "landing-left"
                                "landing-right"
                                "contact"
                                "publications";
    }

    .content p{
        font-size: 11pt;
        line-height: 14pt;
    }

    .content-left-side {
        width: 95vw;
        margin-left: 5vw;
        padding-bottom: 5vh;
    }

    .content-left-side h1 {
        width: 90vw;
        padding-left:0;
        padding-top: 0;
    }

    .content-left-side p {
        width: 90vw;
        padding-left: 0;
    }
    .content-left-side-button {
        margin-top: 2vh;
    }

    .content-right-side {
        width: 100vw;
        height: 35vh;
    }

    .content-contact {
        margin-top: 0;
    }

    .content-contact h1 {
        padding-bottom: 2vh;
    }

    .content-contact-sns {
        padding-right: 2vh;
        width: 80%;
        padding-left: 10%;
    }

    .content-contact-sns-icon {
        width: 100%;
    }

    #publications {
        width: 90vw;
    }

    .content-publications {
        width: 90vw;
        margin-top: 0;
    }

    .content-publication-pub {
        width: 90vw;
    }

    .content-publication-pub hr{
        width: 90vw;
    }

    .content-publication-pub h2{
        font-size: 12pt;
    }
}

@media only screen and (max-width: 480px){
    .content-left-side {
        width: 95vw;
        margin-left: 2.5vw;
    }

    .content-left-side-button {
        font-size: 14pt;
        padding: 5px;
    }
    .content-right-side {
        height: 30vh;
    }
}


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

    /***********************************/
    /*             INDEX               */
    /***********************************/

    #title-text {
        height: 30px;
        padding-top: 12px;
        font-size: 14pt;
    }

    .grid-container {
        display: grid;
        grid-template-columns: 0.5fr 0.5fr 1fr 2fr 1fr 0.5fr 0.5fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
        grid-template-areas:    "f-1 f-1 f-1 f-2 f-3 f-3 f-3"
                                "f-1 f-1 f-1 f-2 f-4 f-4 f-4"
                                "f-5 f-5 f-5 title f-4 f-4 f-4"
                                "f-5 f-5 f-5 f-7 f-7 f-7 f-6"
                                "f-5 f-5 f-5 f-7 f-7 f-7 f-6";

    }
}




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

    /***********************************/
    /*            PROJECTS             */
    /***********************************/

    .title{
        width: 100%;
    }

    #title-text {
        width: 100%;
        height: 30px;
        font-size: 2.4em;
    }

    .grid-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-areas:    ". title title title ."
                                "f-1 f-1 f-2 f-2 f-2"
                                "f-1 f-1 f-2 f-2 f-2"
                                "f-1 f-1 f-2 f-2 f-2"
                                "f-3 f-3 f-4 f-4 f-4"
                                "f-3 f-3 f-4 f-4 f-4"
                                "f-5 f-5 f-5 f-7 f-7"
                                "f-5 f-5 f-5 f-7 f-7"
                                "f-5 f-5 f-5 f-6 f-6"
                                "f-5 f-5 f-5 f-6 f-6";
    }

    .f-3 h2 {
        font-size: 1.2em;
        line-height: 1.2em;
    }

    .button-back {
        left: -2vw;
        rotate: -90deg;
        width: 8vh;
    }

    .button-back a {
        font-size: 1.6em;
        text-align: center;
        width: 100%;
        padding: 0;
    }

    .f-3 h2 {
        font-size: 3vw;
        line-height: 4vw;
        letter-spacing: 2px;
        font-weight: 300;
    }

    .f-6 a p{
        font-size: 3vw;
        line-height: 4vw;
        letter-spacing: 2px;
        font-weight: 300;
    }

    /***********************************/
    /*            IMPRESS              */
    /***********************************/

    .impress-impress{
        margin-top: 10vh;
    }
    #impress-content {
        width: 67%;
    }
    #impress-content p h2 {
        color: #ffffff
    }
}

@media only screen and (max-width: 840px) {
    .grid-container {
        display: grid;
        grid-gap: 4vw;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-areas:    ". title title title title"
                                "f-1 f-1 f-2 f-2 f-2"
                                "f-1 f-1 f-2 f-2 f-2"
                                "f-1 f-1 f-2 f-2 f-2"
                                "f-3 f-3 f-4 f-4 f-4"
                                "f-3 f-3 f-4 f-4 f-4"
                                "f-5 f-5 f-5 f-7 f-7"
                                "f-5 f-5 f-5 f-7 f-7"
                                "f-5 f-5 f-5 f-6 f-6"
                                "f-5 f-5 f-5 f-6 f-6";
    }

    #title-text {
        font-size: 5vw;
    }

    .button-back {
        position: absolute;
        rotate: 0deg;
        top: 0;
        left: 0;
    }
}



/***********************************/
/*     DARK PATTERNS CHEATSHEET    */
/***********************************/
@media only screen and (max-width: 1600px) {
    .dp-group-title {
        left: -7vw;
    }
    .dp-item h2{
        font-size: 1em;
    }
}

@media only screen and (max-width: 1200px) {
    #dp-nav-wrapper {
        grid-template-columns: 3fr 2fr;
    }

    .dp-group {
        grid-template-columns: repeat(auto-fill, minmax(18%,1fr));
    }
}

@media only screen and (max-width: 1000px) {
    .dp-grid {
        grid-gap: 6vw;
    }

    .dp-group {
        grid-template-columns: repeat(auto-fill, minmax(23%,1fr));
    }
    .dp-group-title h2 {
        text-transform: none;
        font-size: 1rem;
        line-height: 0.5;
    }
    .dp-group-title h3 {
        text-transform: none;
        font-size: 0.8rem;
        line-height: 0.2;
    }
}

@media only screen and (max-width: 800px) {
    #dp-nav{
        width: 60vw;
    }

    .dp-group {
        grid-template-columns: repeat(auto-fill, minmax(30%,1fr));
    }

    .dp-group-title{
        position: relative;
        display: inline-block;
        rotate: 0deg;
        height: 100%;
        width: auto;
        left: 0;
    }
    .dp-group-title h2 {
        text-align: left;
        text-transform: none;
        font-size: 1.4em;
        line-height: 1em;
    }
    .dp-group-title h3 {
        text-align: left;
        text-transform: none;
        font-size: 1.2em;
        line-height: 1.2em;
    }

    #dp-popup-inner {
        margin-top: 20vh;
    }
}

@media only screen and (max-width: 600px) {
    #dp-nav-counter{
        padding-right:7.5vw;
    }
    #wrapper-dark-pattern h1 {
        font-size: 1.4em;
    }
    .dp-grid {
        right:7.5vw;
    }
    .dp-group {
        grid-template-columns: repeat(auto-fill, minmax(48%,1fr));
    }

    .dp-group-title h2 {
        font-size: 1.4em;
    }

    #dp-popup-inner{
        width: 97%;
    }

    #dp-popup-inner-content{
        width: 95%;
        padding-left: 1%;
        padding-right: 1%;
    }
    #dp-popup-inner-content h1{
        font-size: 1.3em;
    }
}

@media only screen and (max-width: 600px) {
    .dp-group-title h2 {
        font-size: 1.2em;
    }
    .dp-group-title h3 {
        font-size: 1em;
    }
}


/***********************************/
/*         CURRICULUM VITAE        */
/***********************************/
@media only screen and (max-width: 1000px) {
    #cv-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .cv-date{
        padding-top: 30%;
        padding-right: 0;
    }
}

@media only screen and (max-width: 600px) {
    .cv-content {
       width: 100vw;
        margin-left: 0;
        padding-top: 5vh;
    }

    .cv-content h1 {
        padding: 0;
    }

    #cv-wrapper {
        width: 100%;
    }
}

@media only screen and (max-width: 500px) {
    .cv-time-line-element p{
        font-size: 0.8rem;
    }

    .cv-time-line-element h3{
        font-size: 1.1rem;
    }
}