/* Base Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #39424E;
    font-family: "Didact Gothic", sans-serif;
    font-size: 16px;
}

body {
    font-size: 16px;
    font-family: "Didact Gothic", sans-serif;
    color: #fff;
    line-height: 2rem;
    letter-spacing: 1.5px;
    text-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    opacity: 1;
}

/* Typography */
h1, h2, h3 {
    margin-bottom: 0.5em;
    text-align: center;
    font-family: "Didact Gothic", sans-serif;
    opacity: 0.6;
}

li {
    opacity: 0.8;
}

li a {
    opacity: 0.9;
}

ul {
    list-style-type: none;
}

p {
    display: inline;
    opacity: 0.8;
}

a {
    color: #ccc;
    text-decoration: none;
    border-bottom: 2px solid #ccc;
    transition: 0.5s ease;
}

a:hover {
    color: #fff;
    font-style: none;
}

a:active {
    color: #ccc;
}

/* Buttons */
button {
    padding: 20px;
    border: 0;
    border-radius: 5px;
    background: #fff;
}

button:hover {
    box-shadow: 5px 5px #111;
}

/* Horizontal Rule */
hr {
    margin: 1rem 0;
    background-color: transparent;
    width: 50%;
    border-style: solid;
    border-width: 1px;
    opacity: 0.3;
}

/* Layout Components */
.wrap {
    margin: 0 auto;
    margin-top: 6rem;
    width: 45%;
}

@media screen and (max-width: 736px) {
    .wrap {
        padding: 1rem;
        width: 100%;
    }
}

.section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.bottom-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 3rem;
    text-align: center;
}

.footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: transparent;
    position: relative;
    bottom: 0;
    padding: 3rem 1rem;
    font-family: "Didact Gothic", sans-serif;
    font-size: 1rem;
    line-height: 1em;
    opacity: 0.8;
}

.footer a {
    border-bottom: none;
    display: contents;
}

/* Page-Specific Components */
#splash {
    margin: auto 0;
    height: 100vh;
    width: 45%;
    overflow: hidden;
}

@media screen and (max-width: 736px) {
    #splash {
        width: 90%;
    }
}

.big-link {
    font-family: "Didact Gothic", sans-serif;
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.5em;
}

#title {
    margin-top: 3rem;
    font-family: "Didact Gothic", sans-serif;
    font-size: 2rem;
    line-height: 3rem;
    margin-bottom: 0;
}

#content {
    margin: 2rem 0;
    line-height: 2em;
    letter-spacing: 2px;
    text-align: justify;
    margin-top: 0;
}

#content div {
    width: 100%;
    height: 100%;
    margin-bottom: 1em;
}

#content h1, #content h2, #content h3 {
    margin: 1em 0;
    text-align: left;
}

#content p {
    margin-bottom: 1em;
    line-height: 1.8;
    letter-spacing: 1.5px;
    opacity: 0.8;
    display: block;
}

#content blockquote {
    background-color: #ccc;
    color: #39424E;
    padding: 2rem;
    margin: 1rem 0rem 1rem 0.25rem;
    border-radius: 3px;
}

#content blockquote a {
    color: #111;
}

#content blockquote ul {
    margin-top: 1rem;
}

#content blockquote li {
    list-style: disc;
}

#content blockquote p {
    display: block;
    margin: 0;
}

/* Translation-specific styles */
details {
    width: 100%;
}

summary {
    border: none;
    margin-bottom: 0.2rem;
    padding: 0.2rem 1rem;
    background: #888;
    opacity: 0.8;
}

summary:focus {
    outline: 0;
    background: #aaa;
}

div.translation {
    margin: 2rem 0rem;
    padding-left: 2rem;
}

/* Expand all functionality */
.exp {
    cursor: pointer;
    text-decoration: underline;
}

/* Publication list styling */
.publist {
    margin-bottom: 1em;
}
