@charset "utf-8";

/*
Version: 1.0
Author: Fabian Archner
*/

/* colors

red: #F7713C
green: #DBEBD2
greenish black: #344829

*/

/* Reset
   - - - - - - - - - - - - - - - - - - - - */

h1, h2, h3,
p,
ul, li,
blockquote {
    margin: 0;
    padding: 0;
}

a { 
    text-decoration: none;
    outline: 0;
    color: #1a1a1a;
}

ul li {
    list-style-type: none;
}

:root {
  --main-green: #DBEBD2;
  --main-orange: #F7713C;
  --greenish-black: #344829;
  --white: #fff;
}


/* Basis
   - - - - - - - - - - - - - - - - - - - - */

html,
body{
	max-width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
	font-size: 16px;
    border: 0;
}

body {
    display: flex;
	padding: 4em;
    min-height: 100vh;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    background: var(--main-green);
	font-family: 'Lexend', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Text & Headlines
   - - - - - - - - - - - - - - - - - - - - */

h1 {
    padding: 0 0 1rem 0;
    color: var(--main-orange);
    font-family: Lexend;
    font-size: 9rem;
    font-style: normal;
    font-weight: 800;
    line-height: 0.85em; /* 91.429% */
    text-transform: uppercase;
}

p {
    color: var(--greenish-black);
    font-family: Lexend;
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6em; /* 107.143% */
}

a {
    text-decoration: underline;
    text-decoration-skip-ink: auto;
    text-underline-offset: 0.1875rem;
    color: var(--greenish-black);
}

a:hover {
    color: var(--main-orange);
    border-radius: 0.25rem;
    background-color: var(--white);
    outline: 0.3rem solid var(--white);
}

.active {
    color: var(--main-orange);
}

/* Layout
   - - - - - - - - - - - - - - - - - - - - */

.button {
    margin-top: 1rem;
    display: inline-block;
    padding: 0.5rem 2rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    color: var(--main-orange);
    border: 0.1875rem solid var(--main-orange);
    background: var(--white);
}

.button:hover {
    color: var(--white);
    background: var(--main-orange);
    border-radius: 1rem;
    border: 0.1875rem solid var(--main-orange);
    outline: none;
}

footer {
    display: flex;
    align-items: flex-start;
    align-self: stretch;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 0.125rem solid transparent;
    border-image: repeating-linear-gradient(
        90deg,
        var(--main-orange) 0 0.5rem,
        transparent 0.5rem 1rem
    ) 1;
}

footer > a {   
    font-size: 1rem;
    line-height: normal;
    opacity: 65%;
}

footer > p {   
    font-size: 1rem;
    line-height: normal;
    opacity: 65%;
}

.mini-nav {
    display: flex;
    gap: 1rem;
}

/* Imprint
- - - - - - - - - - - - - - - - - - - - */

#imprint h1 {
    padding: 1rem 0 2rem 0;
    font-size: 4rem;
}

#imprint h2 {
    padding: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
}

#imprint p {
    font-size: 1rem;
}

/* Privacy
- - - - - - - - - - - - - - - - - - - - */

#privacy {
    max-width: 55rem;
}

#privacy h1 {
    padding: 4rem 0 3rem 0;
    font-size: 4rem;
    line-height: 1em;
}

#privacy h2 {
    padding: 1rem 0 0 0;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--main-orange);
}

#privacy h3 {
    padding: 1rem 0 0 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--greenish-black);
}

#privacy h4 {
    margin: 0;
    padding: 1rem 0 0 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--greenish-black);
}
#privacy p {
    padding: 0.5rem 0 0 0;
    font-size: 1rem;
}

#privacy ul {
    padding: 1rem 0 0.5rem 3rem;
    color: var(--greenish-black);
    font-weight: 400;
    max-width: 50rem;
}

#privacy li {
    padding: 0 0 1rem 0;
    line-height: 1.6em; /* 107.143% */
    list-style-type: disc;
}

/* Media-Queries
- - - - - - - - - - - - - - - - - - - - */

@media screen and (max-width: 990px) {

html {
    font-size: 12px;
}

.button {
    font-size: 1.4em;
}

}

@media screen and (max-width: 648px) {

body {
    padding: 3em;
}

h1 {
    font-size: 7em;
}

footer {
    flex-direction: column;
    gap: 1rem;
}

footer > a {   
    font-size: 1.2em;
    opacity: 65%;
}

footer > p {   
    font-size: 1.2em;
    opacity: 65%;
}

}

@media screen and (max-width: 498px) {

html {
    font-size: 10px;
    }

body {
    padding: 4em 2em;
}
    
}

@media screen and (max-width: 440px) {

h1 {
    font-size: 6rem;
}

}