2021-06-08 20:54:00 +02:00
|
|
|
:root {
|
|
|
|
--background: rgb(255, 255, 230);
|
2021-06-13 13:54:22 +02:00
|
|
|
--background-header: rgb(250, 220, 120);
|
|
|
|
--background-nav: rgb(252.5, 237.5, 175);
|
2021-06-08 20:54:00 +02:00
|
|
|
--text: rgb(50, 50, 50);
|
2021-06-13 13:54:22 +02:00
|
|
|
--sphere: rgb(245, 180, 100);
|
2021-06-08 20:54:00 +02:00
|
|
|
--hill: rgb(50, 235, 150);
|
|
|
|
--hillshade: rgb(40, 160, 100);
|
|
|
|
}
|
2021-06-13 13:54:22 +02:00
|
|
|
|
2021-06-08 20:54:00 +02:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
--background: rgb(0, 45, 60);
|
2021-06-13 13:54:22 +02:00
|
|
|
--background-header: rgb(0, 70, 100);
|
|
|
|
--background-nav: rgb(0, 62.5, 80);
|
2021-06-08 20:54:00 +02:00
|
|
|
--text: rgb(255, 255, 255);
|
2021-06-13 13:54:22 +02:00
|
|
|
--sphere: rgb(105, 210, 255);
|
2021-06-08 20:54:00 +02:00
|
|
|
--hill: rgb(0, 95, 135);
|
|
|
|
--hillshade: rgb(0, 45, 60);
|
|
|
|
}
|
|
|
|
}
|
2021-06-13 13:54:22 +02:00
|
|
|
|
2020-12-25 20:51:40 +01:00
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
2021-06-13 13:54:22 +02:00
|
|
|
scrollbar-color: var(--sphere) var(--background-header);
|
2020-12-25 20:51:40 +01:00
|
|
|
}
|
2021-06-13 13:54:22 +02:00
|
|
|
|
|
|
|
html {
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--text);
|
|
|
|
text-underline-offset: 3px;
|
|
|
|
transition: text-decoration-color .15s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
text-decoration-color: var(--sphere);
|
|
|
|
}
|
|
|
|
|
2020-12-25 20:51:40 +01:00
|
|
|
body {
|
2021-06-08 20:54:00 +02:00
|
|
|
background: var(--background);
|
|
|
|
color: var(--text);
|
2020-12-25 20:51:40 +01:00
|
|
|
font-family: 'Lucida Console', 'Courier New', monospace;
|
2021-06-13 13:54:22 +02:00
|
|
|
hyphens: auto;
|
2020-12-25 20:51:40 +01:00
|
|
|
line-height: 1.8;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2021-06-13 13:54:22 +02:00
|
|
|
|
2021-06-08 20:54:00 +02:00
|
|
|
header {
|
2021-06-13 13:54:22 +02:00
|
|
|
background: var(--background-header);
|
2021-06-08 20:54:00 +02:00
|
|
|
color: var(--text);
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 40vh;
|
|
|
|
justify-content: center;
|
2020-12-25 20:51:40 +01:00
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
2021-06-08 20:54:00 +02:00
|
|
|
text-align: center;
|
2020-12-25 20:51:40 +01:00
|
|
|
}
|
2021-06-13 13:54:22 +02:00
|
|
|
|
2021-06-08 20:54:00 +02:00
|
|
|
header h1 {
|
2021-06-13 13:54:22 +02:00
|
|
|
font-size: 3.6em;
|
|
|
|
line-height: .9em;
|
2021-06-08 20:54:00 +02:00
|
|
|
margin: 0;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
2021-06-13 13:54:22 +02:00
|
|
|
|
2021-06-08 20:54:00 +02:00
|
|
|
header p {
|
|
|
|
margin: 0;
|
|
|
|
z-index: 10;
|
2020-12-27 20:19:40 +01:00
|
|
|
}
|
2021-06-13 13:54:22 +02:00
|
|
|
|
|
|
|
header #sphere {
|
|
|
|
background: var(--sphere);
|
2020-12-27 20:19:40 +01:00
|
|
|
border-radius: 100%;
|
2021-06-13 13:54:22 +02:00
|
|
|
display: none;
|
2021-06-08 20:54:00 +02:00
|
|
|
height: 10vh;
|
|
|
|
left: 30vw;
|
2020-12-27 20:19:40 +01:00
|
|
|
position: absolute;
|
2021-06-08 20:54:00 +02:00
|
|
|
top: 3vh;
|
|
|
|
width: 10vh;
|
2020-12-25 20:51:40 +01:00
|
|
|
}
|
2021-06-13 13:54:22 +02:00
|
|
|
|
|
|
|
header #hill {
|
2021-06-08 20:54:00 +02:00
|
|
|
background: var(--hill);
|
|
|
|
border-radius: 40px;
|
2020-12-27 20:19:40 +01:00
|
|
|
bottom: 0;
|
2021-06-13 13:54:22 +02:00
|
|
|
display: none;
|
2021-06-08 20:54:00 +02:00
|
|
|
height: 40vh;
|
|
|
|
left: 50vw;
|
2020-12-25 20:51:40 +01:00
|
|
|
position: absolute;
|
2021-06-08 20:54:00 +02:00
|
|
|
transform: rotate(45deg) translate(50%, 50%);
|
|
|
|
width: 40vh;
|
|
|
|
}
|
2021-06-13 13:54:22 +02:00
|
|
|
|
|
|
|
header #hillshade {
|
2021-06-08 20:54:00 +02:00
|
|
|
background: var(--hillshade);
|
|
|
|
border-radius: 80px;
|
|
|
|
bottom: -5vh;
|
2021-06-13 13:54:22 +02:00
|
|
|
display: none;
|
2021-06-08 20:54:00 +02:00
|
|
|
height: 40vh;
|
|
|
|
left: 30vw;
|
2020-12-25 20:51:40 +01:00
|
|
|
position: absolute;
|
2021-06-08 20:54:00 +02:00
|
|
|
transform: rotate(45deg) translate(50%, 50%);
|
|
|
|
width: 40vh;
|
|
|
|
}
|
2021-06-13 13:54:22 +02:00
|
|
|
|
|
|
|
#header-background {
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
|
2021-06-08 20:54:00 +02:00
|
|
|
main {
|
2021-06-13 13:54:22 +02:00
|
|
|
margin: 0 auto;
|
|
|
|
max-width: 1200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
main > nav {
|
|
|
|
align-items: center;
|
|
|
|
background: var(--background-nav);
|
|
|
|
border-radius: 10px;
|
|
|
|
display: flex;
|
|
|
|
gap: 20px;
|
|
|
|
height: 60px;
|
|
|
|
justify-content: center;
|
|
|
|
margin: 0px 20px -30px 20px;
|
|
|
|
position: relative;
|
|
|
|
top: -30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
main section {
|
2021-06-08 20:54:00 +02:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
grid-gap: 20px;
|
2021-06-13 13:54:22 +02:00
|
|
|
margin: 40px 20px;
|
2020-12-29 09:59:06 +01:00
|
|
|
}
|
2021-06-13 13:54:22 +02:00
|
|
|
|
2021-06-08 20:54:00 +02:00
|
|
|
main article {
|
2021-06-13 13:54:22 +02:00
|
|
|
background: var(--background-header);
|
2021-06-08 20:54:00 +02:00
|
|
|
border-radius: 10px;
|
2021-06-13 13:54:22 +02:00
|
|
|
box-shadow: rgba(0, 0, 0, 0.1) 10px 10px 0px 0px;
|
2021-06-08 20:54:00 +02:00
|
|
|
display: flex;
|
2021-06-13 13:54:22 +02:00
|
|
|
flex-direction: column;
|
|
|
|
padding: 40px;
|
|
|
|
transition: box-shadow .3s ease, transform .3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
main article:hover {
|
|
|
|
box-shadow: rgba(0, 0, 0, 0.1) 10px 15px 0px 0px;
|
|
|
|
transform: translate(0, -5px);
|
2021-06-08 20:54:00 +02:00
|
|
|
}
|
2021-06-13 13:54:22 +02:00
|
|
|
|
2021-06-08 20:54:00 +02:00
|
|
|
main article a {
|
|
|
|
background: var(--background);
|
|
|
|
border-radius: 5px;
|
2021-06-13 13:54:22 +02:00
|
|
|
box-shadow: rgba(0, 0, 0, 0.1) 5px 5px 0px 0px;
|
2021-06-08 20:54:00 +02:00
|
|
|
color: var(--text);
|
2021-06-13 13:54:22 +02:00
|
|
|
display: inline-block;
|
|
|
|
font-weight: bold;
|
2021-06-08 20:54:00 +02:00
|
|
|
padding: 10px 14px;
|
|
|
|
text-decoration: none;
|
2021-06-13 13:54:22 +02:00
|
|
|
transition: box-shadow .15s ease, transform .15s ease;
|
2021-06-08 20:54:00 +02:00
|
|
|
}
|
2021-06-13 13:54:22 +02:00
|
|
|
|
2021-06-08 20:54:00 +02:00
|
|
|
main article a:hover {
|
2021-06-13 13:54:22 +02:00
|
|
|
box-shadow: rgba(0, 0, 0, 0.1) 2.5px 2.5px 0px 0px;
|
|
|
|
transform: translate(2.5px, 2.5px);
|
2021-06-08 20:54:00 +02:00
|
|
|
}
|
2021-06-13 13:54:22 +02:00
|
|
|
|
2021-06-08 20:54:00 +02:00
|
|
|
main article a:active {
|
2021-06-13 13:54:22 +02:00
|
|
|
box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0px 0px;
|
|
|
|
transform: translate(5px, 5px);
|
2021-06-08 20:54:00 +02:00
|
|
|
}
|
2021-06-13 13:54:22 +02:00
|
|
|
|
|
|
|
main article h2 {
|
2021-06-08 20:54:00 +02:00
|
|
|
font-size: 1.8em;
|
2021-06-13 13:54:22 +02:00
|
|
|
line-height: normal;
|
|
|
|
margin: 0;
|
2021-06-08 20:54:00 +02:00
|
|
|
}
|
2021-06-13 13:54:22 +02:00
|
|
|
|
2021-06-08 20:54:00 +02:00
|
|
|
main article p {
|
2021-06-13 13:54:22 +02:00
|
|
|
margin: 20px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
main article nav {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 10px;
|
|
|
|
hyphens: none;
|
|
|
|
margin-top: auto;
|
2021-06-08 20:54:00 +02:00
|
|
|
}
|
2021-06-13 13:54:22 +02:00
|
|
|
|
2021-06-08 20:54:00 +02:00
|
|
|
@media (max-width: 1000px) {
|
|
|
|
header hill {
|
|
|
|
transform: rotate(45deg) translate(40%, 70%);
|
|
|
|
}
|
|
|
|
header hillshade {
|
|
|
|
transform: rotate(45deg) translate(20%, 80%);
|
|
|
|
}
|
2021-06-13 13:54:22 +02:00
|
|
|
section#dienste {
|
2021-06-08 20:54:00 +02:00
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
}
|
|
|
|
}
|
2021-06-13 13:54:22 +02:00
|
|
|
|
2021-06-08 20:54:00 +02:00
|
|
|
@media (max-width: 600px) {
|
2021-06-13 13:54:22 +02:00
|
|
|
section#dienste {
|
2021-06-08 20:54:00 +02:00
|
|
|
grid-template-columns: repeat(1, 1fr);
|
|
|
|
}
|
|
|
|
}
|
2021-06-13 13:54:22 +02:00
|
|
|
|
2021-06-08 20:54:00 +02:00
|
|
|
@media (prefers-color-scheme: dark) {
|
2021-06-13 13:54:22 +02:00
|
|
|
header #sphere {
|
2021-06-08 20:54:00 +02:00
|
|
|
left: unset;
|
|
|
|
right: 30vw;
|
|
|
|
}
|
2020-12-25 20:51:40 +01:00
|
|
|
}
|