
body
{
	background-color: #101010;
	font-family: sans-serif; /* Fira Sans */
	font-weight: 400;
	font-style: normal;
	font-size: 1.25rem;
	color: #f0f0f0;
	text-shadow: 1pt 1pt 2pt rgba(0, 0, 0, 0.667);
	line-height: 1.35;
}

a
{
	transition: border 300ms ease-in-out;
	text-decoration: none;
	border-bottom: 0.05em solid transparent;
	color: #00aef3;
}

a:link, a:visited
{
	color: #00aef3;
	border-bottom: 0.05em solid transparent;
	text-decoration: none;
}

a:active, a:hover
{
	color: #00aef3;
	border-bottom: 0.05em solid #00aef3;
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6
{
	font-family: serif; /* Merriweather */
	font-style: normal;
	font-weight: 700;
}

h1
{
	font-size: 225%;
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
	padding-bottom: 0.2rem;
	border-bottom: 0.1rem solid rgba(0, 0, 0, 0.5);
}

h2
{
	font-size: 165%;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	padding-bottom: 0.1rem;
	border-bottom: 0.05rem solid rgba(0, 0, 0, 0.5);
}

h3
{
	font-size: 135%;
	margin-top: 1.75rem;
	margin-bottom: 0.75rem;
}

h4
{
	font-size: 115%;
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

h5
{
	font-size: 100%;
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

h6
{
	font-size: 90%;
	text-transform: uppercase;
	margin-top: 1.25rem;
	margin-bottom: 0.5rem;
}

ol, ul
{
	padding-inline-start: 1.5rem;
	margin-left: 1rem;
}

ol > li, ul > li
{
	line-height: 110%;
}

li > span
{
	position: relative;
	left: 0.5rem;
}

p
{
	font-style: normal;
	font-weight: 400;
	margin-left: 1.5rem;
	margin-right: 1.5rem;
	text-align: center;
}

@media (min-width: 768px)
{
	ol, ul
	{
		padding-inline-start: 2rem;
		margin-left: 0.75rem;
	}

	li span
	{
		position: relative;
		left: 1rem;
	}

	p
	{
		margin-left: 0.75rem;
		margin-right: 0.25rem;
	}
}

blockquote > p
{
	text-align: initial;
}

pre, code, tt, kbd
{
	font-family: monospace; /* Fira Mono */
	font-weight: 400;
	color: inherit;
	padding: 0.1rem;
	white-space: pre-wrap;
	word-wrap: break-word;
}

/* Bootstrap does this to pre, code and kbd... but not tt */
tt
{
	font-size: 87.5%;
}

pre, code
{
	background-color: rgba(0, 0, 0, 0.1);
	border-radius: 0.1rem;
}

kbd
{
	background-color: #202020;
	border-bottom: 0.1rem solid black;
	border-radius: 0.2rem;
	padding: 0.1rem 0.4rem;
}

pre
{
	margin: 1.5rem;
	padding: 1rem;
	border-radius: 1rem;
}

hr
{
	padding: 0;
	margin: 2.5rem auto 2.5rem;
	border: 0;
	background-image: linear-gradient(
		to right,
		rgba(248, 248, 248, 0.75),
		rgba(248, 248, 248, 0.5),
		rgba(248, 248, 248, 0.5),
		rgba(248, 248, 248, 0.5),
		rgba(248, 248, 248, 0.5),
		rgba(248, 248, 248, 0.5),
		rgba(248, 248, 248, 0.5),
		rgba(248, 248, 248, 0.5),
		rgba(248, 248, 248, 0.5),
		rgba(248, 248, 248, 0.5),
		rgba(248, 248, 248, 0.75)
	);
	width: 100%;
	height: 0.1rem;
}

small
{
	font-size: 75%;
}

strong
{
	font-weight: 600;
}

ul
{
	list-style-type: square;
}

th
{
	font-weight: 600;
}

div.no-padding
{
	padding: 0;
}

a.plainlinks
{
	transition: none;
	color: inherit;
	border-bottom: none;
}

p.note
{
	font-size: 45%;
	margin-top: 2.5rem;
}

div.header
{
	background-color: transparent;
	background-image: url('https://cdn.tohoku.ac/nicholiftw.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position-x: center;
	background-position-y: center;
	text-shadow: 0.1rem 0.1rem 0.05rem black;
	box-shadow: 0 0 2rem black;
}

div.alt-bg-donate
{
	background-image: url('https://cdn.tohoku.ac/harbour.jpg');
}

div.alt-bg-follow
{
	background-image: url('https://cdn.tohoku.ac/jakarta.jpg');
}

div.alt-bg-history
{
	background-image: url('https://cdn.tohoku.ac/history.jpg');
}

div.alt-bg-issues
{
	background-image: url('https://cdn.tohoku.ac/singapura.jpg');
}

h1.title
{
	font-family: sans-serif; /* Finlandica */
	font-weight: 400;
	font-size: 250%;
	font-style: italic;
	border: none;
	margin-top: 0;
	margin-bottom: 1rem;
	text-align: center;
}

h2.title
{
	font-family: sans-serif; /* Fira Sans */
	font-size: 125%;
	font-weight: 500;
	font-style: italic;
	border: none;
	margin-top: 1rem;
	text-align: center;
	text-transform: initial;
}

@media (max-width: 540px)
{
	div.title
	{
		padding-top: 40vh;
	}
}
@media (min-width: 540px)
{
	div.title
	{
		padding-top: 40vh;
	}
}

@media (min-width: 768px)
{
	div.title
	{
		padding-top: 20vw;
	}
}

@media (min-width: 960px)
{
	div.title
	{
		padding-top: 20vw;
	}
}

@media (max-width: 540px)
{
	h2.title
	{
		margin-bottom: 2rem;
	}
}

@media (min-width: 540px)
{
	h2.title
	{
		margin-bottom: 2rem;
	}
}

@media (min-width: 768px)
{
	h2.title
	{
		margin-bottom: 4rem;
	}
}

@media (max-width: 540px)
{
	div.header
	{
		background-position-y: 15%;
	}

	div.alt-bg-follow
	{
		background-position-y: 35%;
	}

	div.alt-bg-history
	{
		background-position-y: 10%;
	}

	div.alt-bg-issues
	{
		background-position-y: 7.5%;
	}
}

@media (min-width: 540px)
{
	div.header
	{
		background-position-y: 15%;
	}

	div.alt-bg-follow
	{
		background-position-y: 35%;
	}

	div.alt-bg-history
	{
		background-position-y: 10%;
	}

	div.alt-bg-issues
	{
		background-position-y: 7.5%;
	}
}

@media (min-width: 768px)
{
	div.header
	{
		background-position-y: 35%;
	}

	div.alt-bg-follow
	{
		background-position-y: 65%;
	}

	div.alt-bg-history
	{
		background-position-y: 20%;
	}

	div.alt-bg-issues
	{
		background-position-y: 5%;
	}
}

div.footer
{
	font-family: sans-serif; /* Roboto Slab */
	font-weight: 500;
	text-align: center;
	margin-top: 5rem;
	margin-bottom: 5rem;
}

div.header-bar1
{
	box-shadow: 0 -0.25rem 1rem black;
	padding-top: 1rem;
	margin-bottom: 0.75rem;
	background-color: #00aef3;
}

div.header-bar2
{
	padding-top: 0.25rem;
	margin-bottom: 1rem;
	background-color: #00aef3;
}

div.footer-bar2
{
	margin-top: 0.75rem;
	padding-bottom: 1rem;
	background-color: #eee;
}

div.footer-bar1
{
	margin-top: 2.5rem;
	padding-bottom: 0.25rem;
	background-color: #eee;
}

div.toplink-outer
{
	text-align: center;
	width: 100%;
}

div.toplink
{
	text-transform: uppercase;
	display: inline-block;
	margin-left: 2rem;
	margin-right: 2rem;
}

a.toplink
{
	border-bottom: none;
	transition: color 250ms ease-in-out;
	font-family: serif; /* Rokkitt */
	font-weight: 900;
}

a.toplink:link,
a.toplink:visited
{
	color: inherit;
}

a.toplink:active,
a.toplink:hover
{
	color: #00aef3;
}

span.toplink
{
	color: #00aef3;
	font-family: serif; /* Rokkitt */
	font-weight: 900;
}

p.opening
{
	font-size: 200%;
	font-weight: 700;
	font-style: italic;
	border: none;
	text-align: center;
	text-transform: initial;
	margin: 3.75rem auto 3.75rem;
}

p.big
{
	font-size: 180%;
	font-weight: 700;
	font-style: normal;
	border: none;
	text-align: center;
	text-transform: initial;
	margin: 2.5rem auto 2.5rem;
}

.bg-black-to-red
{
	background-image:
		linear-gradient(to bottom, #0f0f0f, #180b09);
	padding: 5rem;
}

.bg-red
{
	background-color: #180b09;
}

.bg-red-to-blue
{
	background-image:
		linear-gradient(to bottom, #180b09, #090b18);
	padding: 5rem;
}

.bg-blue
{
	background-color: #090b18;
}

.bg-blue-to-black
{
	background-image:
		linear-gradient(to bottom, #090b18, #0f0f0f);
	padding: 5rem;
}

div.picture-portrait
{
	overflow: hidden;
	width: 30vh;
	margin: 0.5rem auto 0.5rem;
}

div.picture
{
	overflow: hidden;
}

@media (max-width: 540px)
{
	div.picture-outer
	{
		width: 100%;
	}
}

@media (min-width: 540px)
{
	div.picture-outer
	{
		width: 100%;
	}
}

@media (min-width: 768px)
{
	div.picture-outer
	{
		width: 80%;
	}
}

div.picture-outer
{
	margin-left: auto;
	margin-right: auto;
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

div.picture-outer-multi
{
	margin-left: 0;
	margin-right: 0;
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

div.picture-outer-vector
{
	background-color: rgba(248, 248, 248, 0.875);
	border-radius: 1rem;
}

img.picture
{
	width: 100%;
	border-radius: 0.5rem;
}

p.picture
{
	font-size: 80%;
	font-style: italic;
	text-align: center;
	margin-top: 0.5rem;
	margin-bottom: 1.5rem;
}

div.cta-button
{
	background-color: rgba(242, 188, 61, 0.75);
	border-radius: 0.5rem;
	text-transform: uppercase;
	font-weight: bold;
	font-family: serif; /* Rokkitt */
	font-size: 150%;
	text-transform: uppercase;
	letter-spacing: 0.075em;
}
