:root {
    --bg-color: #ffffff;
    --color-white: #ffffff;
    --color-main: #000000;
    --color-second: #444444;
    --font-main: Avenir, sans-serif;
    --max-size-logo: 100%;
}

body,
html {
    height: 100%;
}

body {
    align-items: center;
    display: flex;
    background-color: var(--bg-color);
    color: var(--color-main);
    flex-flow: row nowrap;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 300;
    justify-content: center;
    line-height: 1.2em;
    min-width: 320px;
    text-rendering: optimizeLegibility;
}

h1 {
    margin: 20px 0 50px;
    min-width: 320px;
    padding: 0 20px;
}

h1 img {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--max-size-logo);
}

.title {
    text-align: center;
    font-size: 22px;
    line-height: 1.2em;
}

.title .small {
    color: var(--color-second);
    display: block;
    font-size: 18px;
    line-height: 1.2em;
    margin-top: 5px;
    padding-top: 5px;
    position: relative;
}

.title .small:after {
    border-top: solid 1px var(--color-main);
    content: '';
    left: 50%;
    margin-left: -25px;
    position: absolute;
    top: 0;
    width: 50px;
}

.langs {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin-top: 20px;
}

.langs-flag {
    background-color: var(--color-white);
    display: block;
    margin: 5px;
    padding: 5px;
    max-width: 50px;
}

#embed {
    background-color: var(--color-white);
    bottom: 0;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
}

#embed.visible {
    opacity: 1;
    visibility: visible;
}

#embed .back {
    background-color: var(--color-main);
    padding: 20px;
}

#embed .back a {
    color: var(--color-white);
}

#embed iframe {
    background-color: var(--color-white);
    display: block;
    flex-grow: 1;
}