body {
    font-family: system-ui, sans-serif;
    color: white;
    background: black;
    margin: 50px 20%;
    font-weight: 300;
}
strong {
    font-weight: 800;
}
a:hover {
    opacity: 0.8;
}

#header, #menu {
    width: 100%;
    display: inline-flex;
}

#header {
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.title {
    font-size: 2em;
}

#menu {
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0px;

    background-color: #323232;
    border-radius: 3px;
    color: white;
}

#menu > li {
    list-style-type: none;
    padding: 5px 15px;
    cursor: pointer;
}

#menu > li:hover {
    color: black;
    background: #fffffe42;
}
.selected {
    color: black;
    background: #fffffea3 !important;
}
.logo img {
    max-height: 50px;
    max-width: 100px;
    height: auto;
    width: auto;
}

#header > .logo > a > img {
    height: 30px;
}
.logo > a {
    text-decoration: none;
}
#footer .logo > a > img {
    max-height: unset;
    max-width: unset;
    height: 150px;
    width: auto;
}

.entity {
    border-left: 3px solid white;
    padding: 10px 20px;
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 10px;
    background-color: #323232;
    font-size: 0.9em;
}

.bibtex, .abstract {
    position: relative;
    background-color: #282828;
    color: white;
    font-family: monospace;
    padding: 30px 30px;
    border-radius: 10px;
    box-shadow: inset 0px 0px 20px 1px black;
    overflow: scroll;
    margin-top: 5px;

    transition: all 200ms ease 0ms;
}

h2 {
    width: 100%;
    font-size: large;
    text-decoration: overline underline;
    text-underline-position: under;
    text-decoration-style: solid;
    color: #2296f3;
}

.bold { font-weight: bold; }
.italic { font-style: italic; }
.strike-through { text-decoration: line-through; }
.shaded { opacity: 0.5; }
.flush-right {
    text-align: right;
}
.flush-left {
    text-align: left;
}
.spread {
    display: inline-flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    align-items: center;
}
.vcenter {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}
.spacer {
    margin-right: 5px;
}
.max-width {
    width: 100%;
}
.preview {
    height: 80px;
    width: 134px;
    margin-right: 20px;
}

.preview.institution {
    height: 60px;
    width: auto;
    margin-right: 0px;
    margin-left: 20px;
}
.preview.small {
    height: 30px;
    width: 60px;
}

.year {
    font-size: 0.8em;
    border-radius: 3px;
    font-weight: 500;
    margin-right: 5px;
    background-color: #e91e63;
    color: white;
    padding: 0px 10px;
}
.copy {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background-color: #9E9E9E;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.copy.pressed {
    background-color: #666666;
}

.doi, .pdf, .ppage, .movie, .ta, .news, .bib, .abs {
    padding: 0px 5px;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 300;
    cursor: pointer;
    background-color: white;
    color: black;
}

.copy > .icon {
    width: 100%;
    height: 100%;
}

.doi {
    background-color: #c62828;
    color: white;
}
.ta {
    background-color: #2196f3;
    color: white;
    cursor: unset;
}
.icon {
    height: 0.7lh;
    margin-right: 2px;
}


.pubtype[type="paper"] {
    background-color: #333333;
    color: white;
}


.link, .nolink {
    background-color: #ffeb3b;
    padding: 0px 5px;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 500;
    color: black;
    cursor: pointer;
}
.nolink {
    background-color: #ff7f07;
    cursor: unset;
}

#footer {
    width: 100%;
    border-top: solid 5px #323232;
    margin-top: 6em;
    text-align: center;
}

.webthank {
    margin: 10px 0px;
}

.copyleft {
    display:inline-block;
    transform: rotate(180deg);
}

.love {
    color: #e91e63;
    font-weight: 700;
}

.wavy {
    text-decoration-line: underline;
    text-decoration-style: wavy;
    text-decoration-color: #e91e63;
}

div.polaroid {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    border-radius: 3px;
    margin-bottom: 30px;
    text-align: center;
    margin-top: 10px;
    padding: 10px 10px 10px 10px;
    background: -webkit-linear-gradient(top, #EEEEEE, #E1E1E1 20%, #EEEEEE 60%);
    background: -moz-linear-gradient(top, #EEEEEE, #E1E1E1 20%, #EEEEEE 60%);
    background: -o-linear-gradient(top, #EEEEEE, #E1E1E1 20%, #EEEEEE 60%);
    background: -ms-linear-gradient(top, #EEEEEE, #E1E1E1 20%, #EEEEEE 60%);
    background: linear-gradient(top, #EEEEEE, #E1E1E1 20%, #EEEEEE 60%);
    -webkit-transform: rotate(-1deg);
    -moz-transform: rotate(-1deg);
    -o-transform: rotate(-1deg);
    -ms-transform: rotate(-1deg);
    transform: rotate(-1deg);
    -webkit-backface-visibility: hidden;
    -webkit-box-shadow: 5px 5px 9px -5px rgba(0, 0, 0, .75);
    -moz-box-shadow: 5px 5px 9px -5px rgba(0, 0, 0, .75);
    box-shadow: -5px 5px 9px -5px rgba(0, 0, 0, .75);
}

img.illu {
    max-width: 100%;
    border-radius: 5px;
}

div.container {
    text-align: center;
    padding: 10px 20px;
    font-weight: 500;
    font-family: monospace;
    font-size: large;
    color: black;
}

@media only screen and (max-width : 1900px) {
    body {
        margin: 30px 10%;
    }
}

@media only screen and (max-width : 600px) {
    body {
        margin: 10px 10px;
    }
    #menu {
        justify-content: center;
    }
    #header > .logo > a > img {
        height: 50px;
    }
    .logo > a > img {
        height: 30px;
    }
    .title {
        font-size: 1em;
    }
    .entity, .f-line, form > button {
        margin-left: unset;
        margin-right: unset;
        max-width: unset;
    }
    .preview {
        max-width: 60% !important;
        height: auto !important;
    }
    .spread {
        flex-wrap: wrap;
    }
    div.polaroid {
        width: 80%;
    }
}

.hide {
    height: 0; padding: 0; margin: 0;
    visibility: hidden;
}