@import "animations.css";
@import "https://code.getmdl.io/1.3.0/material.indigo-pink.min.css";
@import "https://fonts.googleapis.com/icon?family=Material+Icons";
@import "fonts.css";

html {
    background-color: #880e4f;
}

body {
    margin-bottom: 32px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, p {
    margin: 4px 16px;
    -webkit-text-fill-color: #efefef;
}

.centered {
    display: inline-list-item;
    text-align: center;
    align-items: center;
    align-content: center;
    align-self: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

ul.horizontal {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

ul.horizontal li {
    margin: 0 16px;
    display: inline-block;
}

.ribbon {
    position: absolute;
    top: 42px;
    width: 200px;
    padding: 1px 0;
    background: #000;
    color: #eee;

    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.ribbon.left {
    left: -42px;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.ribbon.right {
    right: -42px;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.ribbon a,
.ribbon a:visited,
.ribbon a:active,
.ribbon a:hover {
    display: block;
    padding: 1px 0;
    height: 24px;
    line-height: 24px;

    color: black;
    text-align: center;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 1.25em;
    font-weight: 500;

    border: 1px solid rgba(255, 255, 255, 0.3);

    -moz-text-shadow: 0 0 10px rgba(0, 0, 0, 0.31);
    -webkit-text-shadow: 0 0 10px rgba(0, 0, 0, 0.31);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.31);
}

.ribbon.white {
    background: #ffffff;
}

.ribbon.white a {
    border: 2px dotted rgba(100, 100, 100, 0.2);
}

.languagePicker {
    background-color: white;
    display: inline-block;
    padding: 0;
    height: 40px;
    overflow: hidden;
    transition: all 300ms ease-in-out;
    margin: 0 -100px 0 0;
    vertical-align: top;
    float: left;
    border-radius: 8px;
}

.languagePicker:hover {
    height: 170px;
}

.languagePicker a {
    color: #000;
    text-decoration: none;
}

.languagePicker li {
    display: block;
    padding: 0 20px;
    line-height: 40px;
    border-top: 1px solid #EEE;
}

.languagePicker li:hover {
    background-color: #EEE;
}

.languagePicker li img {
    margin-right: 5px;
}