html {
    height: 100%;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    /* overflow: hidden; */
    cursor:
        url("../images/cursor_main.svg") 8.2 4.8,
        auto;

    /* cursor_main.svg */
    /* $('html').css({
    'cursor': '../images/mac_openhand.svg), auto'}); */
}

body {
    height: 100%;
    width: 100%;
    display: flex;
    /* background-color: #bfcbc2; */
    /* background-color: #d7e5da; */
    /* background-color: #F2F2EB; */
    /* background-color: #F8F8F3; */
    /* transition: 3s linear background-color; */
    margin: 0;
    padding: 0;
}

a:link {
    color: #922d50;
}

a:visited {
    color: #501537;
}

a:hover {
    color: #ba3966;
}

@media only screen and (max-width: 600px) {
    body {
        background-color: #eaf9ee;
    }
    #name-index-2,
    #that-R-2 {
        font-size: 4vw;
        padding-bottom: 1vw;
    }
    .title,
    .about-me-subtitle {
        font-size: 3vw;
    }
    #about-me-education,
    #about-me-topline,
    #about-me-publications,
    #contact-me-topline {
        font-size: 14pt;
    }
    .general-text {
        /* font-size: 20pt; */
    }

    #about-me {
        margin: -10px -10px -10px -10px;
    }
    .tooltip {
        display: inline;
    }
    #work-section {
        width: 100%;
    }
    #work-images {
        display: none;
    }
}

@media only screen and (min-width: 600px) {
    body {
        background-color: #d7e5da;
    }
    #name-index-2,
    #that-R-2 {
        font-size: 4vw;
        padding-bottom: 1vw;
    }
    .title,
    .about-me-subtitle {
        font-size: 4vw;
    }

    .title {
        margin-left: 40px;
    }
    .general-text {
        font-size: 12pt;
    }
    #about-me {
        width: 100%;
        margin: 0px -30px 0px -30px;
    }
    #about-me-education,
    #about-me-topline,
    #about-me-publications,
    #contact-me-topline {
        font-size: 10pt;
    }
    .tooltip {
        display: inline;
    }
    #work-section {
        width: 100%;
    }
    #work-images {
        display: none;
    }
}

@media only screen and (min-width: 1000px) {
    body {
        background-color: #d7e5da;
    }
    #name-index-2,
    #that-R-2 {
        font-size: 20pt;
    }
    #about-me {
        align-self: anchor-center;
        width: fit-content;
        max-width: 854px;
    }
    .title,
    .about-me-subtitle {
        font-size: 12pt;
        max-width: 814px;
    }
    #about-me-education,
    #about-me-topline,
    #about-me-publications,
    #contact-me-topline {
        font-size: 12pt;
    }
    .general-text #text {
        font-size: 12pt;
    }
    #about-me-content {
        max-width: 814px;
    }
    #work-section {
        max-width: 854px;
        align-self: anchor-center;
        width: fit-content;
    }
    .tooltip {
        display: inline-block;
    }
    #work-content {
        max-width: 814px;
    }
    #work-images {
        display: block;
    }
}

#name-box {
    width: 100%;
    height: 100%;
    transition: transform 2s ease;
    transform: translate(50%, 50%);
    /* overflow-x: hidden; */
    /* overflow: hidden; */
}

#name-box-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: fit-content;
    transition: transform 2s ease;
}

#name-index {
    transform: translate(-50%, -50%);
    width: fit-content;
    height: fit-content;
    font-family: "Major Mono Display";
    font-size: 32px;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
    transition:
        transform 2s ease,
        font-size 1s ease 1s,
        color 0.2s;

    /* transition-property: color;
    transition-duration: 0.2s; */
}

#name-index-2 {
    width: fit-content;
    height: fit-content;
    font-family: "Major Mono Display";
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
    transition:
        transform 2s ease,
        font-size 1s ease 1s,
        color 0.2s;
}

#that-R {
    font-family: "Codystar";
    font-size: 31px;
    transition: font-size 1s ease 1s;
}

#that-R-2 {
    font-family: "Codystar";
    transition: font-size 1s ease 1s;
}

.hover {
    color: #023436;
}
.hover:hover {
    /* color: #64403e; */
    color: #477998;
    cursor: pointer;
}

.menu-text {
    width: fit-content;
    font-family: "Major Mono Display";
    font-size: 14px;
}

.menu-item {
    justify-content: center;
    display: flex;
}

.flow-line {
    border-left: thin solid #023436;
    height: 40px;
    width: 0px;
    margin: -5px 0 -5px 0;
}

/* items from old site */

.textbox-box {
    position: absolute;
    background: #d9d9d9;
    margin: 1em 50em 1em 1em;
    width: 300px;
    height: 62px;
    padding: 1px;
    border-radius: 0.5em;
}

.textbox-box .boxframe {
    background: #fefffe;
}

.textbox-box:focus-within {
    outline: none;
    background: linear-gradient(135deg, #fd8cdb 0%, #f6dd49 45%, #8eb8ee 100%);
}

.textbox-box:hover {
    background: linear-gradient(135deg, #fd8cdb 0%, #f6dd49 45%, #8eb8ee 100%);
}

.textbox-innerbox {
    display: inline-block;
    width: 100%;
    height: 100%;
    background: #fefffe;
    /* padding: 12px; */
}

.textnote {
    background: #fefffe;
    height: 100%;
    width: 100%;
    /* height: 90%; */
    /* width: 98%; */
    border-style: none;
    font-family: "Report", "Trebuchet MS", sans-serif;
    font-weight: normal;
    font-size: 10pt;
    letter-spacing: 0.1em;
    caret-color: #d9d9d9;
    color: #50402f;
    resize: none;
}

.textnote:focus {
    outline: none;
}

.boxframe {
    height: calc(100% - 22px);
    width: calc(100% - 22px);
    border-radius: 0.45em;
    background: #f8f8f3;
    padding: 11px;
}

.component {
    /* box-shadow: 0px 1.5px 2.5px #D9D9D9; */
    cursor: grab;
}

.component::after {
    box-shadow: 0px 16px 20px #d9d9d9;
    opacity: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
    -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    content: "";
    position: absolute;
}

.component.noafter::after {
    opacity: 1;
}

#about-me {
    align-self: anchor-center;
}

.title {
    width: 50%;
    /* max-width: 814px; */
    border-bottom: thin #023436 solid;
    font-family: "Exo 2";
    font-weight: 500;
    /* font-size: 12pt; */
    color: #023436;
    margin-left: 40px;
    padding-bottom: 4px;
}

#about-me-content {
    width: 90%;
    /* max-width: 814px; */
    margin-top: 10px;
    margin-left: 40px;
}

#work-content {
    width: 90%;
    margin-top: 10px;
    margin-left: 40px;
}

.general-text {
    font-family: "Roboto Flex";
    font-weight: 200;
    color: #023436;
    line-height: 1.4;
}

.about-me-subtitle {
    width: 50%;
    max-width: 814px;
    border-bottom: thin #036166 solid;
    font-family: "Exo 2";
    font-weight: 500;
    /* font-size: 12pt; */
    color: #036166;
    margin-top: 10px;
    padding-bottom: 4px;
}

.tooltip {
    position: relative;
    border-bottom: 1px dotted #023436;
}

.tooltip .tooltiptext {
    visibility: hidden;
    /* width: fit-content; */
    /* max-width: 4100px; */
    block-size: fit-content;
    /* max-width: 200%; */
    /* width: 120px; */
    background-color: #d7e5da;
    color: #023436;
    font-size: 10pt;
    font-style: italic;
    text-align: center;
    padding: 3px 0;
    border-radius: 6px;
    border: #023436 thin dotted;

    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;

    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-top: 3px;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #023436 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.neuro-img {
    width: 300px;
}

li {
    padding-bottom: 10px;
}

#bullet-1 {
    margin-top: -10px;
}

#tt1,
#tt3 {
    width: 180px;
    margin-left: -90px;
    background-color: #036166;
    color: #d7e5da;
}

#tt2 {
    width: 160px;
    margin-left: -84px;
    background-color: #036166;
    color: #d7e5da;
}

#tt4 {
    width: 200px;
    margin-left: -100px;
    background-color: #036166;
    color: #d7e5da;
}

#tt5,
#tt6,
#tt7 {
    width: 400px;
    margin-left: -200px;
    padding: 4px 4px 1px 4px;
    background-color: #036166;
    color: #d7e5da;
}

#tt8,
#tt9,
#tt10,
#tt11,
#tt12,
#tt16 {
    width: 400px;
    margin-left: -200px;
    padding: 4px 4px 1px 4px;
    background-color: #036166;
    color: #d7e5da;
}

/* #tt8 {
    width: 270px;
    margin-left: -135px;
    padding: 4px 4px 1px 4px;
    background-color: #036166;
} */

#tt13,
#tt14 {
    width: 500px;
    margin-left: -250px;
    padding: 4px 4px 1px 4px;
    background-color: #036166;
    color: #d7e5da;
}

#tt15 {
    margin-left: -200px;
    padding: 4px 4px 1px 4px;
    background-color: #036166;
    color: #d7e5da;
}

b {
    font-weight: 400;
}

#borneo_map {
    width: 400px;
}

#biofilter_1,
#combo_system {
    width: 500px;
}
.img_test {
    width: 400px;
    padding-top: 5px;
    border-radius: 6px;
}

.img_test_2 {
    width: 250px;
    padding-top: 5px;
    border-radius: 10px;
}

#about-me-work {
    display: flex;
}

#work-images {
    margin-left: 40px;
}

#work-subtitle {
    margin-left: 40px;
}

#ec-images {
    /* border: solid thin #023436; */
}

#pdf-viewer {
    margin-top: 20px;
    border: solid 1px #023436;
    border-radius:8px;
}

#pdf-viewer-iframe {
    allow
}
