/* CSS Reset: http://meyerweb.com/eric/tools/css/reset */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

/**************************************************/

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/**************************************************/

#body {
    font-family: "roboto";
    font-size: 1em;
    line-height: 1.5em;
    color: #150c21;
}

#main {
    width: 54em;
    margin: 0px auto;
    position: relative;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: rgb(20, 110, 190);
}

a:hover {
    text-decoration: none;
    border-bottom: 1px solid rgb(20, 110, 190);
}

i {
    font-style: italic;
}

b {
    font-weight: 700;
}

h1 {
    font-size: 2.4em;
    line-height: 3em;
    font-weight: 500;
}

/**************************************************/
/* Profile image and description. */

#intro {
    padding-top: 3em;
    display: flex;
}

#intro-text {
    width: 40em;
    float: left;
}

#intro-image {
    margin: 2em;
    width: 12em;
    height: 12em;
    float: left;
    overflow: hidden;
    border-radius: 10em;
}

#intro-image img {
    width: 12em;
}

#intro-links-container {
    display: flex;
    margin-top: 0.5em;
    flex-direction: column;
    align-items: center;
}

#intro-links {
    display: flex;
    justify-content: space-around;
    font-size: 120% !important;
    width: 25em;
}

#intro-links a {
    font-size: 150% !important;
}

/**************************************************/

#research {
    margin: 2em;
}

#research-list {
    padding-top: 2em;
    padding-left:2em;
    padding-right: 2em;
    display: flex;
    flex-direction: column;
}

.ri {
    display: flex;
    flex-direction: row;
    margin-bottom: 1em;
    align-items: center;
}

.ri-image {
    width: 212px;
    height: 8em;
}

.ri-image img {
    height: 8em;
    width: 212px;
    border-radius: 1em;
    object-fit: cover;
}

.ri-image video {
    height: 8em;
    width: 8em;
    border-radius: 1em;
    object-fit: cover;
}

.ri-text {
    display: flex;
    flex-direction: column;
    padding-left: 1em;
}

.ri-text-authors {
    font-weight: 350;
}

.ri-text-title a {
    color: rgb(0, 0, 0);
}

.ri-text-title a:hover {
    text-decoration: none;
    border-bottom: 0;
}

.rtl-animation {
    animation: ltr 3s ease-in-out infinite;
}

@keyframes ltr {
    0% {
      object-position: 0% 0%;
    }
    100% {
      object-position: 100% 100%;
    }
  }


  /**************************************************/
/* Subtle footer at the bottom of the page. */

#footer {
    color: #a0a8b0;
    bottom: 0;
    padding-left:4em;
    line-height: 2.5em;
  }
