* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    color: black;
    font-size: 100%;
    font-family: 'Roboto Mono', monospace, 'Courier New';
    font-weight: 400;
    font-style: normal;
    background-image: url(/img/seite/hintergrund.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
}

body {
    min-height: 80vh;
    padding: 15px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 15px;
    justify-content: center;
}

header, main, footer {
    background-color: rgba(255, 255, 255, 0.7);
    width: 1200px;
    max-width: 100%;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
}

header img {
    height: 60px;
    width: auto;
    display: block;
}

header a:hover img {
    opacity: 0.5;
}

main img {
    width: 100%;
    height: auto;
    display: block;
}

footer {
    display: grid;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.star {
    font-size: 1.6rem;
    display: inline-block;
    position: relative;     
    top: 0.02rem;
}

.menu {
    font-weight: normal;
    font-style: normal;
    font-size: 1.75rem;
    text-align: center;
}

h1 {
    font-family: 'Subaru', sans-serif, Arial, Helvetica;
    font-weight: normal;
    font-style: normal;
    font-size: 2.25rem;
    text-align: center;
}

h2 {
    font-size: 1.75rem;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.375rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.125rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

h6 {
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

p {
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.4rem;
}

a {
    font-size: 1rem;
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: inherit;
}

figure {
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-weight: 400;
    font-style: italic;
}

hr {
    border: none;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.5);
    margin: 1.5rem 0;
}

/* Grip */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr)
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr)
}

.grid-2-2-1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr)
}

/* Fonts */
@font-face {
    font-family: 'Roboto Mono';
    src: url('fonts/roboto-mono-latin-400-normal.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Mono';
    src: url('fonts/roboto-mono-latin-400-italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto Mono';
    src: url('fonts/roboto-mono-latin-700-normal.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Mono';
    src: url('fonts/roboto-mono-latin-700-italic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Subaru';
    src: url('fonts/subaru-font.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
