/* CSS for gravitron.dev */

/* Font: Lato */

@font-face {
    font-display: block;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/lato-v25-latin-100.woff2') format('woff2');
}

@font-face {
    font-display: block;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/lato-v25-latin-300.woff2') format('woff2');
}

@font-face {
    font-display: block;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/lato-v25-latin-regular.woff2') format('woff2');
}

@font-face {
    font-display: block;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lato-v25-latin-700.woff2') format('woff2');
}

@font-face {
    font-display: block;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/lato-v25-latin-900.woff2') format('woff2');
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-family: "Lato", sans-serif;
    line-height: 1.5;
    font-size: 1.25rem;
}

html,
body {
    margin: 0.5em;
    padding: 0;
}

body {
    color: #161616;
    background-color: #ffffff;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    font-smooth: always;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -o-font-smoothing: antialiased;
}

:root {
    interpolate-size: allow-keywords;
}

::selection {
    background-color: #fcdb03;
    color: #323232;
}

a,
a:hover,
a:active,
a:focus,
a:visited {
    color: #0264bf;
    text-decoration: none;
}

p {
    margin: 0;
    padding: 5px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.25;
    color: #313131;
    text-rendering: optimizeLegibility;
    /* Silbentrennung */
    hyphens: auto;
}

h1 {
    font-size: 2rem;
}

h2 {
    margin-top: 1rem;
    font-size: 1.5rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
}

svg,
img {
    display: block;
    max-width: 100%;
    margin: 0 0 1rem;
    border-radius: 5px;
}

img.center {
    align-items: center;
    margin: 0 auto;
}

.center {
    align-items: center;
}

#container {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 550px;
    max-width: 90%;
    border: 0;
    transform: translate(-50%, -50%);
}

h1,
h2,
h3,
h4 {
    padding: 0;
    margin: 0 0 16px 0;
}

.slim {
    font-weight: 400;
}

strong {
    font-weight: 700;
}

.dim {
    opacity: 0.33;
    font-weight: 300;
}

.small {
    font-size: 70%;
}
