wtf-webseite/assets/css/style.css

2031 lines
38 KiB
CSS
Raw Normal View History

/*
* Namensschema der CSS-Klassen nach BEM (Block Element Modifier,
* http://getbem.com/naming/). Mit der Erweiterung, dass Modifier einzeln
* mit Bindestrich angegeben werden. Also:
*
* <li class="navlist__navitem -active">
* statt
* <li class="navlist__navitem navlist__navitem--active">
*
* Das ist weniger redundant und übersichtlicher. Der passende CSS-Selektor
* dazu ist:
*
* .navlist__navitem.-active
*/
:root {
/* default text color */
--wtf-nearly-black: #333;
--wtf-nearly-white: #fff;
2021-05-20 01:36:37 +02:00
/* WTF Farben gemäß https://git.wtf-eg.de/ag_kommunikation/wtf_propaganda/ */
2021-04-07 21:17:05 +02:00
--wtf-orange: #ef7c21;
--wtf-light-orange: #ffcba9;
2021-02-21 17:01:40 +01:00
--wtf-very-light-blue: #cfe2ff;
2021-04-07 21:17:05 +02:00
--wtf-light-blue: #0790a9;
--wtf-dark-blue: #20386a;
--wtf-night-blue: #00173B;
--wtf-dark-grey: #202020;
--wtf-grey: #666;
2021-05-20 01:36:37 +02:00
--wtf-mid-grey: #acacac;
2021-03-09 18:37:03 +01:00
--wtf-footer-grey: #344b5d;
--wtf-light-grey: #edefeb;
2021-02-18 19:01:33 +01:00
--wtf-lila: #6600ff;
/* misc colors */
--dark-red: #dc0000;
--dark-green: #007000;
--column-count: 2;
}
body {
font-family: 'Lato', sans-serif;
font-weight: normal;
font-size: 1.25rem;
line-height: 1.5em;
color: var(--wtf-nearly-black);
background-color: var(--wtf-light-grey)
}
/* nav - Start */
.header__primary_nav {
width: 100%;
grid-row: 1 / span 1;
grid-column: 1 / span 3;
display: flex;
flex-direction: row;
justify-content: flex-end;
background-color: var(--wtf-light-grey);
z-index: 20;
}
.primary_nav__toggle {
display: none;
height: 3.375rem;
margin-left: 1rem;
}
.primary_nav__toggle svg {
margin: 0.25rem 0 0 0;
width: 2rem;
height: 2rem;
padding: 0;
position: relative;
left: 0;
}
.primary_nav__toggle rect {
fill: var(--wtf-nearly-black);
}
.primary_nav__toggle p {
margin: 0;
padding: 0 0 0 0;
position: relative;
right: 0.5rem;
bottom: 0.65rem;
color: var(--wtf-nearly-black);
}
.primary_nav__navlist {
margin: 0;
display: flex;
flex-direction: row;
justify-content: flex-end;
}
.primary_nav__navitem {
margin: 0 0.25rem;
padding: 0.25rem 0.25rem 0 1.5rem;
display: flex;
flex-direction: column;
justify-content: flex-start;
font-size: 1.25rem;
}
.primary_nav__navlink.-active {
color: var(--wtf-orange);
text-decoration: underline;
}
.primary_nav__navlink {
color: var(--wtf-nearly-black);
}
.primary_nav__navlink:hover {
color: var(--wtf-mid-grey);
text-decoration: underline;
}
/*
* Gleicht zusammen mit padding von .primary_nav__navitem die Verschiebung durch
* Submenümarker aus.
*/
.primary_nav__navitem .primary_nav__navlink {
display: inline-block;
padding-right: 0.5rem;
}
/* Greift wenn Submenü vorhanden ist */
.primary_nav__navlist li a:first-child:nth-last-child(2) {
padding-right: 0;
width: 110%;
}
/* Malt bei vorhandenem Submenü den Pfeil */
.primary_nav__navlist li a:first-child:nth-last-child(2):after {
content: "";
position: relative;
top: -0.125rem;
left: 0.5rem;
height: 5px;
width: 5px;
display: inline-block;
transform: rotate(0.125turn);
border-bottom: 3px solid var(--wtf-nearly-black);
border-right: 3px solid var(--wtf-nearly-black);
}
.header__secondary_nav {
margin: 4.5rem 0.5rem 0 0;
}
.secondary_nav__navlist {
display: flex;
flex-direction: row;
justify-content: flex-end;
}
.secondary_nav__navitem {
display: inline-block;
list-style: none;
}
.secondary_nav__navlink {
color: var(--wtf-nearly-black);
}
.secondary_nav__navlink:hover {
color: var(--wtf-mid-grey);
text-decoration: underline;
}
/* nav - Ende */
/* header - Start */
header {
background-color: var(--wtf-light-grey);
margin: 0 auto;
padding: 0;
max-width: 1200px;
display: flex;
flex-direction: column;
2021-03-07 16:20:19 +01:00
margin-bottom: 3rem;
}
.header__top_box {
grid-row: 1 / span 1;
grid-column: 1 / span 5;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.header__logo_box {
grid-row: 1 / span 1;
}
.header__homelink {
display: inline-block;
position: relative;
z-index: 1;
}
2021-04-06 18:24:25 +02:00
.pod_ctrl_box__button {
height: 3rem;
margin: 1.5rem 1rem 0rem 0;
2021-03-18 01:58:45 +01:00
padding: 0.5rem 2rem 0.5rem 2rem;
background-color: var(--wtf-light-blue);
color: var(--wtf-nearly-white);
font-size: 1.2rem;
border: solid var(--wtf-nearly-white) 3px;
border-radius: 2rem;
}
2021-04-06 18:24:25 +02:00
.pod_ctrl_box__button {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 0;
margin: 1.5rem 0 0 0;
max-width: 20rem;
}
.header__bg_box {
margin-top: -0.75rem;
2021-02-24 23:46:47 +01:00
background-image: url("../images/wtf-header-bg.jpg");
background-repeat: no-repeat;
background-size: cover;
display: grid;
2021-03-07 16:20:19 +01:00
grid-template-rows: 46px 18px 12rem 8.5rem 55px 18px;
2021-02-17 00:11:47 +01:00
grid-template-columns: 15% 82px auto 96px 22.5%;
z-index: 0;
}
.header__slim_box {
margin-top: -0.75rem;
background-image: url("../images/wtf-header-bg.jpg");
background-repeat: no-repeat;
background-size: cover;
2021-02-17 00:11:47 +01:00
display: grid;
grid-template-rows: 46px auto auto;
grid-template-columns: 15% 82px auto 96px 22.5%;
z-index: 0;
}
.bg_box__top_bar_left, .slim_box__top_bar_left {
grid-row: 2 / span 1;
grid-column: 1 / span 3;
background-color: var(--wtf-light-blue);
z-index: 5;
}
.slim_box__top_bar_left {
margin-bottom: 6rem;
}
.bg_box__top_bar_middle, .slim_box__top_bar_middle {
grid-row: 1 / span 2;
grid-column: 4 / span 1;
background-image: url("../images/header_top_triangles.svg");
background-repeat: no-repeat;
z-index: 5;
}
.slim_box__top_bar_middle {
background-image: url("../images/header_top_triangles.svg");
}
.bg_box__top_bar_right, .slim_box__top_bar_right {
grid-row: 1 / span 2;
grid-column: 5 / span 1;
background-color: transparent;
z-index: 5;
}
.bg_box__unicorns {
2021-03-07 16:20:19 +01:00
grid-row: 2 / span 5;
grid-column: 1 / span 5;
background-image: url("../images/white_unicorns.svg");
background-position: top 5% left 95% ;
2021-03-07 16:20:19 +01:00
background-size: auto 80%;
background-repeat: no-repeat;
z-index: 10;
}
.slim_box__unicorns {
grid-row: 1 / span 2;
grid-column: 1 / span 5;
background-image: url("../images/translucent_unicorns.svg");
background-position: top 1rem left 95% ;
background-size: auto 115%;
background-repeat: no-repeat;
z-index: 10;
padding: 5rem;
}
.slim_box__submenu {
2023-05-16 16:46:25 +02:00
grid-row: 3 / span 1;
grid-column: 1 / span 5;
background-color: var(--wtf-nearly-white);
height: 3.5rem;
text-align: right;
color: var(--wtf-nearly-black);
padding-right: 1rem;
font-size: 3rem;
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-end;
}
.slim_box__submenu a {
2023-05-16 16:46:25 +02:00
font-family: "Noto Serif";
font-size: 2.5rem;
color: black;
margin: 0 0 0.75rem 2rem;
}
.slim_box__submenu a:hover {
2023-05-16 16:46:25 +02:00
text-decoration: underline;
}
.slim_box__submenu a img {
2023-05-16 16:46:25 +02:00
height: 2.25rem;
position: relative;
top: 0.25rem;
}
.bg_box__big_bg {
grid-row: 3 / span 2;
grid-column: 1 / span 5;
z-index: 5;
}
.bg_box__bottom_bar_left {
grid-row: 5 / span 1;
grid-column: 1 / span 3;
z-index: 5;
}
.bg_box__bottom_bar_middle {
grid-row: 5 / span 2;
grid-column: 2 / span 1;
background-image: url("../images/header_bottom_triangles.svg");
background-repeat: no-repeat;
z-index: 5;
}
.bg_box__bottom_bar_right {
grid-row: 5 / span 2;
grid-column: 3 / span 3;
background-color: var(--wtf-dark-blue);
z-index: 5;
}
.bg_box__very_bottom_bar {
grid-row: 6 / span 1;
grid-column: 1 / span 2;
background-color: var(--wtf-dark-blue);
z-index: 5;
}
.header__claim {
margin: 2rem 0 0 2.5rem;
grid-row: 3 / span 1;
grid-column: 1 / span 5;
z-index: 15;
}
2023-05-09 17:40:29 +02:00
.header__claim h2, .header__claim ul {
font-family: 'Noto Serif', serif;
font-weight: 700;
font-weight: normal;
font-size: 1.75rem;
line-height: 1.3em;
margin-top: 0.5em;
}
2023-05-09 17:40:29 +02:00
.header__claim h2 {
margin-left: 7rem;
color: var(--wtf-nearly-black);
2023-05-09 17:40:29 +02:00
}
.header__claim h2 em {
color: var(--wtf-orange);
font-style: normal;
}
.header__claim h2 span {
display: inline-block;
background-color: var(--wtf-nearly-white);
margin-top: 1px;
padding: 0 1rem;
}
2023-05-09 17:40:29 +02:00
.header__claim ul {
margin: 0;
font-size: 2rem;
}
.header__claim ul li {
margin: 0;
list-style: none;
list-style-position: inside;
}
.header__claim ul li::before {
content: url('../images/frontpage_tirangle_bullet.svg');
margin-right: 0.75rem;
}
2023-05-09 17:40:29 +02:00
.header__claim ul li.-first {
margin-left: 4.5rem;
2023-05-09 17:40:29 +02:00
}
.header__claim ul li.-second{
margin-left: 2.5rem;
2023-05-09 17:40:29 +02:00
}
.header__claim ul li.-third{
margin-left: 0.5rem;
2023-05-09 17:40:29 +02:00
}
.header__claim ul li::marker {
font-size: 4.5rem;
}
.header__sub_claim p {
font-family: 'Lato', sans-serif;
font-weight: normal;
line-height: 1.4rem;
font-size: 1.2rem;
line-height: 1.3em;
margin: 0.5em 0 0 1em;
color: var(--wtf-nearly-black);
}
.header__sub_claim {
2021-03-07 16:20:19 +01:00
grid-row: 4 / span 3;
grid-column: 3 / span 3;
2021-03-07 16:20:19 +01:00
margin: 3.5rem 2rem -3rem 1.5rem;
padding: 0.5rem 1.5rem 0 1.5rem;
background-color: var(--wtf-orange);
z-index: 15;
display: flex;
flex-direction: column;
background-color: transparent;
}
.sub_claim__box {
2021-03-07 16:20:19 +01:00
padding: 0.5rem 1.5rem 3.5rem 1.5rem;
background-color: var(--wtf-orange);
2021-03-07 16:20:19 +01:00
z-index: 5;
}
.header__sub_claim h2 {
font-family: 'Noto Serif', serif;
font-weight: 700;
color: var(--wtf-nearly-black);
font-weight: normal;
font-size: 1.75rem;
line-height: 1.3em;
}
.header__sub_claim p {
color: var(--wtf-nearly-white);
margin: 0.5em 0 0 0;
}
.header__sub_claim a {
color: var(--wtf-nearly-white);
text-decoration: underline;
}
.header__sub_claim a:hover {
text-decoration: none;
}
2021-04-06 18:24:25 +02:00
.pod_ctrl_box__button_link {
color: var(--wtf-nearly-white) !important;
2021-04-06 18:24:25 +02:00
font-family: 'Lato Bold' !important;
}
2021-04-06 18:24:25 +02:00
.pod_ctrl_box__button_link {
text-decoration: none !important;
}
2021-04-06 18:24:25 +02:00
.pod_ctrl_box__button_link:hover {
text-decoration: underline !important;
}
/* header - Ende */
/* main - Start */
main {
margin: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-content: center;
}
h1 {
font-family: 'Noto Serif';
font-size: 3.5rem;
color: var(--wtf-orange);
margin: 1rem 0 0 0;
line-height: 1.3em;
}
h1.big_heading {
font-size: 7.5rem;
}
h2 {
font-family: 'Noto Serif';
color: var(--wtf-orange);
font-size: 2rem;
line-height: 1.1em;
2021-04-06 21:28:54 +02:00
margin: 1em 0 0.25em 0;
}
h3 {
font-family: 'Noto Serif';
font-size: 1.75rem;
line-height: 1.3em;
margin-top: 0.5em;
}
h4 {
font-family: 'Noto Serif';
font-size: 1.5rem;
line-height: 1.3em;
margin-top: 0.5em;
}
p {
margin-bottom: 1rem;
}
pre {
line-height: 1.5rem;
margin-bottom: 1rem;
margin-top: 0.15rem;
}
ul {
list-style: disc;
}
ul, ol {
2021-03-21 17:27:43 +01:00
margin: 0 0 1rem 0.5rem;
}
ul ul, ol ol {
margin-left: 2rem;
}
ul li {
list-style: disc;
}
ol li, ol {
2021-06-09 23:00:33 +02:00
list-style: decimal;
}
li {
margin-left: 1rem;
}
2021-02-21 17:03:49 +01:00
i {
font-family: 'Lato Italic', sans-serif;
}
strong{
font-family: 'Lato Bold', sans-serif;
font-weight: bold;
}
em {
font-style: italic;
}
2021-02-21 17:03:49 +01:00
hr {
color: var(--wtf-nearly-black);
2021-02-21 17:03:49 +01:00
margin: 0.25rem 0;
}
hr.-even {
color: var(--wtf-light-grey);
}
.content {
padding: 1.5rem 0;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}
.content.-no_pad {
padding: 0;
margin-top: -1.5rem;
}
2021-02-21 17:03:49 +01:00
.content__blog_link.-odd {
color: var(--wtf-nearly-black) !important;
2021-02-21 17:03:49 +01:00
}
.content__blog_link.-even {
color: var(--wtf-very-light-blue) !important;
}
.content__blog_link:hover {
color: var(--wtf-mid-grey) !important;
}
.content__box,
.contact__box,
.content__half_box {
margin: 0 auto;
padding: 0;
}
.content__half_box {
display: flex;
flex-direction: row;
}
.content__inner_half_box {
width: 50%;
}
.indented_box {
padding-left: 1rem;
}
2021-03-07 16:20:19 +01:00
.card {
margin: 3rem 1.5rem 0 1.5rem;
max-width: 300px;
display: flex;
flex-direction: column;
justify-content: center;
}
.card__icon {
width: 7rem;
margin: 0 auto;
}
.card__heading {
color: var(--wtf-nearly-white);
2021-03-07 16:20:19 +01:00
font-family: 'Lato';
font-size: 1.3rem;
margin: 1rem 0;
}
.card__heading.-homepage {
text-align: center;
}
2021-03-07 16:20:19 +01:00
.card__text {
text-align: center;
}
.content__teaser {
color: var(--wtf-orange);
font-size: 1.15rem;
}
.content__footer {
text-align: right;
}
.content__half_box_image {
width: 100%;
}
.content__video {
width: 100%;
aspect-ratio: 16/9;
}
/* Contact form on homepage - start */
.contact__box {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr;
}
.contact__box h1 {
grid-area: 1 / 1 / 2 / 3;
font-size: 0.25rem;
color: transparent;
background-image: url("../images/headings/kontakt.svg");
background-repeat: no-repeat;
background-size: contain;
background-position: top 1.5rem left;
transform-origin: top right;
transform: translateX(-90%) rotate(-80deg);
padding: 0;
max-width: 50%;
z-index: 0;
}
.contact__box .contact_info__box {
grid-area: 1 / 1 / 2 / 2;
margin-left: 38%;
z-index: 1;
}
.contact__box .contact_form_box {
grid-area: 1 / 2 / 3 / 2;
z-index: 1;
}
.contact_info__box {
align-self: end;
}
/* Contact form on homepage - end */
/* card_grid - start */
.card_grid {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: auto;
row-gap: 1.5rem;
column-gap: 1.5rem;
}
.card_grid__card {
/* RESET VALUES FROM OTHER CARD CLASS - START */
margin: 0;
max-width: max-content;
display: block;
/* RESET VALUES FROM OTHER CARD CLASS - END */
display: flex;
flex-direction: column;
}
.card__header {
background-color: #0990A9;
background-image: url("../images/rss_logo.svg");
background-repeat: no-repeat;
background-position: top 1rem right 1rem;
background-size: 2.25rem;
color: var(--wtf-nearly-white);
padding: 1rem;
}
.card__header--podcast {
background-color: #176f9d;
background-image: url("../images/podcast_logo.svg");
}
.card__header img {
position: relative;
top: 0.15rem;
height: 1rem;
}
.card__heading {
font-family: "Noto Serif";
font-size: 1.75rem;
line-height: 2rem;
color: var(--wtf-nearly-white);
2023-06-04 22:14:14 +02:00
margin: 0.5rem 2.5rem 1rem 0;
}
.card__info {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.card__info p {
margin-bottom: 0;
}
.card__body {
background-color: var(--wtf-nearly-white);
padding: 1rem;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
box-shadow: 0px -0.25rem 0.5rem -0.25rem var(--wtf-nearly-black);
}
.pod_ctrl_box audio {
2023-05-16 16:46:25 +02:00
width: 100%;
height: auto;
margin-bottom: 1rem;
}
.card__link p {
text-align: right;
margin: 0;
}
/* card_grid - end */
/* services- start */
.services_box {
display: grid;
grid-template-columns: 3fr 1fr;
grid-template-rows: 1fr;
grid-template-areas: "cards heading";
margin-bottom: 3rem;
}
.services_box h1 {
margin-right: 1.5rem;
color: transparent;
background-image: url("../images/headings/services.svg");
background-repeat: no-repeat;
background-size: contain;
background-position: right;
grid-area: heading;
}
.services_card_box {
grid-area: cards;
margin-left: 1.5rem;
display: flex;
flex-direction: column;
gap: 2rem;
}
.services_card {
display: flex;
flex-direction: row;
align-items: center;
gap: 2rem;
padding: 2rem;
background-color: var(--wtf-nearly-white);
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
}
.services_card.-even {
flex-direction: row-reverse;
}
.services_card__image_box img {
height: 8rem;
}
.services_card__text_box {
font-size: 1.25rem;
line-height: 1.5em;
}
.services_card__text_box h2 {
font-family: "Lato";
font-size: 1.5rem;
color: var(--wtf-orange);
margin-bottom: 0.5rem;
}
/* services_cards - end */
/* bubble_gird - start */
.bubble_grid {
margin: 0 1.5rem 0 1.5rem;
display: grid;
grid-template-columns: repeat(6, 1fr);
grid-template-rows: repeat(4, 10rem);
}
.bubble_grid__bubble {
align-self: center;
background-color: var(--wtf-nearly-white);
width: 8rem;
height: 8rem;
border-radius: 50%;
justify-self: center;
display: flex;
justify-content: center;
align-items: center;
}
.bubble_grid__bubble img {
max-width: 5rem;
max-height: 5rem;
}
.bubble_grid__card {
grid-column: 1 / span 3;
grid-row: 2 / span 3;
font-size: 1.25rem;
line-height: 1.5em;
background-color: var(--wtf-nearly-white);
padding: 3rem;
margin: 1.5rem
}
/* bubble_gird - end */
2021-02-21 17:01:13 +01:00
.content__box p, .content__box li {
hyphens: auto;
}
2021-04-06 18:24:25 +02:00
.content__box a,
.pagination__anchor,
.content__half_box a,
.card__link p a {
2021-02-21 17:01:13 +01:00
color: var(--wtf-orange);
}
2021-04-06 18:24:25 +02:00
.content__box a:hover,
.pagination__anchor:hover,
.content__half_box a:hover,
.card__link p a:hover {
2021-02-21 17:01:13 +01:00
color: var(--wtf-light-blue);
}
2021-04-06 18:24:25 +02:00
.content__box a:visited,
.pagination__anchor:visited,
.content__half_box a:visited,
.pagination__anchor.-even:visited,
.card__link p a:visited {
2021-02-21 17:03:49 +01:00
color: var(--wtf-light-blue);
}
.content__inner_box.-logo_header {
margin: 3.5rem 1.5rem 0 1.5rem;
}
.content__inner_box, .content__inner_half_box {
margin: -0.5rem 1.5rem 0 1.5rem;
}
.content__box.-membership {
background-image: url("../images/numbers_one.svg");
background-repeat: no-repeat;
background-position: top 20% left;
background-size: 20% auto;
}
.content__inner_box.-membership {
background-image: url("../images/numbers_two.svg");
background-repeat: no-repeat;
background-position: center right;
background-size: 28% auto;
}
.content__body.-membership {
background-image: url("../images/numbers_three.svg");
background-repeat: no-repeat;
background-position: bottom 12% left;
background-size: 22% auto;
}
.content__rss_logo {
display: inline;
height: 1rem;
}
2021-02-21 17:03:49 +01:00
.content__pagination {
text-align: center;
}
.content__pagination.-even {
color: var(--wtf-light-grey);
}
.pagination__anchor.-even {
}
.content__box,
.contact__box,
.content__half_box,
.footer__wrapper,
.card_grid {
width: 100%;
max-width: 1200px;
orphans: 3;
widows: 2;
}
2021-02-21 17:03:49 +01:00
.content__box.-heading {
margin-bottom: 1.5rem;
}
.content__box.-card_box.-homepage {
2021-03-07 16:20:19 +01:00
margin-top: -7rem;
padding-top: 7rem;
}
2021-03-07 16:20:19 +01:00
.content__box.-card_box {
2021-03-07 16:20:19 +01:00
/*
* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#729baf+0,8ea8a9+100
*
* Dunkler, Kontrast zum Fließtext und zum Koffer-Icon fragwürdig.
*/
background: #729baf;
background: -moz-linear-gradient(45deg, #729baf 0%, #8ea8a9 100%);
background: -webkit-linear-gradient(45deg, #729baf 0%,#8ea8a9 100%);
background: linear-gradient(45deg, #729baf 0%,#8ea8a9 100%);
/*
* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#5491ad+0,add7d8+100
*
* Heller, Kontrast zur Überschrift und zum Group-Icon fragwürdig.
*
background: #5491ad;
background: -moz-linear-gradient(45deg, #5491ad 0%, #add7d8 100%);
background: -webkit-linear-gradient(45deg, #5491ad 0%,#add7d8 100%);
background: linear-gradient(45deg, #5491ad 0%,#add7d8 100%);
*/
z-index: 0;
}
.content__inner_box.-card_box {
2021-03-07 16:20:19 +01:00
display: flex;
justify-content: space-around;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
padding-bottom: 3rem;
margin: 0;
}
.content__box.-columns {
column-count: var(--column-count);
}
.content__inner_box.-width_constraint {
max-width: 75ch;
}
.content.-odd {
background-color: var(--wtf-light-grey);
color: var(--wtf-dark-grey);
}
.content.-even {
background-color: var(--wtf-night-blue);
color: var(--wtf-light-grey);
}
2021-04-06 18:24:25 +02:00
.pod_ctrl_box {
display: flex;
flex-direction: column;
justify-content: flex-start;
}
.contact_form--required {
color: var(--dark-red)
}
.contact_form__textarea,
.contact_form__text_input,
.contact_form__captcha {
display: flex;
flex-direction: column;
}
.contact_form__message {
height: 12em;
}
2022-08-03 19:31:06 +02:00
.contact_form__subject,
.contact_form__message,
.contact_form__name,
.contact_form__email,
.contact_form__captcha {
font-family: 'Lato', sans-serif;
line-height: 1.3rem;
font-size: 1rem;
}
.contact_form__submit_button {
2023-05-16 16:46:25 +02:00
font-size: 1rem;
padding: 0 0.25rem;
}
2023-05-19 17:47:19 +02:00
/* Hide captcha field as part of spam protection. We got no real captcha. */
.contact_form__captcha {
display: none;
}
/* main - Ende */
/* footer - Start */
footer {
2021-03-09 18:37:03 +01:00
background-color: var(--wtf-footer-grey);
color: var(--wtf-nearly-white);
margin-top: 5rem;
2021-03-14 18:01:33 +01:00
padding: 0 0 3% 0;
display: grid;
grid-template-rows: 46px auto;
grid-template-columns: auto 68px 15%;
}
.footer__wrapper {
grid-column: 1 / span 3;
display: flex;
flex-direction: row;
justify-content: center;
2021-03-14 18:01:33 +01:00
padding-top: 3%;
max-width: 1200px;
margin: 0 auto;
}
.footer__top_bar_left {
background-color: var(--wtf-light-grey);
}
.footer__top_bar_mid {
background-image: url("../images/footer_triangles.svg");
}
.footer__top_bar_right {
background-color: var(--wtf-footer-grey);
}
2021-03-14 18:01:33 +01:00
.footer__nav {
display: flex;
flex-direction: row;
justify-content: center;
flex-wrap: wrap;
2023-06-04 09:16:25 +02:00
font-size: 1rem;
line-height: 1.5rem;
}
.footer__social_logo {
2021-03-09 18:52:12 +01:00
max-width: 30px;
display: inline-block;
padding-top: 0.25rem;
2021-03-09 18:52:12 +01:00
}
.footer__navitem {
display: inline-block;
2021-03-09 18:52:12 +01:00
padding: 0.5rem 2rem;
}
.footer__navlink {
2021-03-09 18:52:12 +01:00
color: var(--wtf-light-grey);
}
.footer__navlink:hover {
2021-03-09 18:52:12 +01:00
color: var(--wtf-dark-grey);
}
/* footer - Ende */
@media screen and (min-width: 1200px) {
.primary_nav__toggle {
display: none;
}
.primary_nav__navlist {
display: flex !important;
}
.content__inner_box {
margin: -0.5rem 1.5rem 0 1.5rem;
}
}
@media screen and (min-width: 1100px) and (max-width: 1200px) {
.header__bg_box {
grid-template-columns: 15% 82px auto 96px 22.5%;
}
.primary_nav__toggle {
display: none;
}
.primary_nav__navlist {
display: flex !important;
}
.content__inner_box {
margin: -0.5rem 1.5rem 0 1.5rem;
}
}
@media screen and (max-width: 1099px) and (min-width: 910px) {
.header__bg_box {
grid-template-columns: 5% 82px auto 96px 22.5%;
}
.header__sub_claim {
margin-left: 0.5rem;
}
.primary_nav__toggle {
display: none;
}
.primary_nav__navlist {
display: flex !important;
}
.secondary_nav__navlist {
margin-right: 0.5rem;
}
.content__inner_box {
margin: -0.5rem 1.5rem 0 1.5rem;
}
}
@media screen and (max-width: 1044px) and (min-width: 960px) {
2021-03-07 16:20:19 +01:00
header {
margin-bottom: 4rem;
}
.header__bg_box {
grid-template-columns: 15% 82px auto 96px 22.5%;
}
.bg_box__unicorns {
background-image: url("../images/white_unicorns.svg");
background-size: auto 150%;
background-position: top -100px right -580px;
}
.sub_claim__box {
padding: 0 1.5rem 2rem 1.5rem;
}
.primary_nav__toggle {
display: none;
}
.primary_nav__navlist {
display: flex !important;
}
.secondary_nav__navlist {
margin-right: 0.5rem;
}
.content__inner_box {
margin: -0.5rem 1.5rem 0 1.5rem;
}
.content__box.-card_box.-homepage {
2021-03-07 16:20:19 +01:00
margin-top: 0;
padding-top: 0;
}
.contact__box {
display: flex !important;
flex-direction: column;
}
.contact__box h1 {
transform: translateX(0) rotate(0);
color: var(--wtf-orange);
background-image: none;
font-size: 7.5rem;
margin: 0 0 0 1.5rem;
order: 1;
}
.contact__box .contact_info__box {
margin: 0.5rem 0 0 1.5rem;
align-self: start;
order: 3;
width: 100%;
max-width: 75ch;
display: flex;
justify-content: space-between;
}
.contact__box .contact_form_box {
order: 2;
}
}
@media screen and (max-width: 959px) and (min-width: 790px) {
2021-03-07 16:20:19 +01:00
header {
margin-bottom: 2.5rem;
2021-03-07 16:20:19 +01:00
}
.header__bg_box {
grid-template-columns: 15% 82px auto 96px 22.5%;
}
.bg_box__unicorns {
background-image: url("../images/white_unicorns.svg");
background-size: auto 150%;
background-position: top -100px right -630px;
}
.header__claim {
margin: 2rem 0 0 1.5rem;
grid-row: 3 / span 1;
grid-column: 1 / span 5;
}
.header__sub_claim {
grid-column: 1 / span 5;
padding: 0;
margin: 5.5rem 1.5rem 0 1.5rem;
}
.sub_claim__box {
padding: 0 1.5rem 2rem 1.5rem;
}
.primary_nav__toggle {
display: none;
}
.primary_nav__navlist {
display: flex !important;
}
.secondary_nav__navlist {
margin-right: 0.5rem;
}
.content__inner_box {
margin: -0.5rem 1.5rem 0 1.5rem;
}
.content__box.-card_box.-homepage {
2021-03-07 16:20:19 +01:00
margin-top: 0;
padding-top: 0;
}
.contact__box {
display: flex !important;
flex-direction: column;
}
.contact__box h1 {
transform: translateX(0) rotate(0);
color: var(--wtf-orange);
background-image: none;
font-size: 7.5rem;
margin: 0 0 0 1.5rem;
order: 1;
}
.contact__box .contact_info__box {
margin: 0.5rem 0 0 1.5rem;
align-self: start;
order: 3;
width: 90%;
max-width: 75ch;
display: flex;
justify-content: space-between;
}
2023-06-04 22:14:14 +02:00
.contact__box .contact_form_box {
order: 2;
2023-06-04 22:14:14 +02:00
}
}
@media screen and (max-width: 850px) and (min-width: 790px) {
:root {
--column-count: 1
}
header {
margin-bottom: 1rem;
}
.header__bg_box {
grid-template-columns: 15% 82px auto 96px auto;
}
.bg_box__unicorns {
display: none;
}
.primary_nav__toggle {
display: none;
}
.primary_nav__navlist {
width: 100%;
justify-content: space-evenly;
}
.primary_nav__navitem,
.primary_nav__navlink {
padding-right: 0;
}
.primary_nav__navitem {
margin: 0;
padding: 0.25rem 0 0 0;
list-style: none;
display: block;
}
.secondary_nav__navlist {
margin-right: 0.5rem;
}
.header__claim {
margin-top: 0.5rem;
}
.header__sub_claim {
margin-top: 3rem;
}
.content__box.-card_box.-homepage {
2021-03-07 16:20:19 +01:00
margin-top: 0;
padding-top: 0;
}
.services_box {
display: block;
margin: 0 1.5rem 3rem 1.5rem;
}
.services_box h1 {
color: var(--wtf-orange);
background-image: unset;
margin-bottom: 1rem;
}
.services_card_box {
margin: 0;
}
.bubble_grid {
grid-template-columns: repeat(5, 1fr);
grid-template-rows: repeat(5, 10rem);
}
h1.big_heading,
.contact__box h1 {
font-size: 3.5rem;
}
2023-06-04 22:14:14 +02:00
.card_grid {
grid-template-columns: 1fr;
}
}
@media screen and (max-width: 789px) and (min-width: 596px) {
:root {
--column-count: 1
}
2021-03-07 16:20:19 +01:00
header {
margin-bottom: 0;
}
header, .header__bg_box, .header__slim_box {
display: flex;
flex-direction: column;
justify-content: center;
}
.header__bg_box {
background-image: none;
}
.bg_box__top_bar_left,
.bg_box__top_bar_middle,
.bg_box__top_bar_right,
.bg_box__unicorns,
.bg_box__big_bg,
.bg_box__bottom_bar_left,
.bg_box__bottom_bar_middle,
.bg_box__bottom_bar_right,
.bg_box__very_bottom_bar {
display: none;
}
/* slim header - start */
.header__slim_box {
background-image: none;
padding-bottom: 0;
2023-06-04 22:14:14 +02:00
margin-bottom: 1.5rem;
}
.slim_box__top_bar_left {
margin: 0 0.5rem 0 0;
height: 1.125rem;
background-image: url("../images/slim_header_top_triangles.svg");
background-position: right;
background-repeat: no-repeat;
}
.slim_box__top_bar_middle,
.slim_box__unicorns,
.slim_box__top_bar_right {
display: none;
}
2023-06-04 22:14:14 +02:00
.slim_box__submenu {
margin-right: 2.25rem;
}
/* slim header - end */
.header__claim {
margin: 1.2rem 1.5rem 0 1.5rem;
grid-row: 3 / span 1;
grid-column: 1 / span 5;
background: var(--wtf-dark-blue);
}
.header__claim h2 {
margin-left: 1.5rem;
}
.header__claim h2 span {
padding: 0 1.5rem;
}
.header__claim p {
margin: 0;
padding: 1.5rem;
color: var(--wtf-nearly-black);
}
.header__claim ul {
display: flex;
justify-content: space-between;
margin: 1.5rem;
}
.header__claim ul li.-first,
.header__claim ul li.-second,
.header__claim ul li.-third {
color: var(--wtf-nearly-white);
margin: 0;
font-size: 1.75rem;
}
.header__sub_claim {
grid-column: 1 / span 5;
padding: 0;
margin: 0 1.5rem 0 1.5rem;
}
.sub_claim__box {
padding-bottom: 2.5rem;
}
.header__primary_nav {
height: 2.5rem;
}
.secondary_nav__navlist {
margin-right: 1rem;
}
.primary_nav__navlist {
2022-07-24 11:33:49 +02:00
display: flex !important;
margin-right: 1.5rem;
}
.primary_nav__toggle {
display: none;
}
.content__inner_box.-logo_header {
margin: -0.5rem 1.5rem 0 1.5rem;
}
/* homepage - start */
.content__box.-heading {
margin-bottom: 1rem;
}
.content__half_box {
flex-direction: column;
padding: 0;
width: auto;
}
.content__inner_half_box {
width: auto;
margin: 0 1.5rem;
}
.content__box.-card_box.-homepage {
2021-03-07 16:20:19 +01:00
margin-top: 0;
padding-top: 0;
}
.card {
max-width: 250px;
}
.contact__box {
display: flex !important;
flex-direction: column;
}
.contact__box h1 {
transform: translateX(0) rotate(0);
color: var(--wtf-orange);
background-image: none;
font-size: 3.5rem;
margin: 0 0 0 1.5rem;
order: 1;
}
.contact__box .contact_info__box {
margin: 0.5rem 0 0 1.5rem;
align-self: start;
order: 3;
width: 90%;
max-width: 75ch;
display: flex;
justify-content: space-between;
}
.contact__box .contact_form_box {
order: 2;
}
/* homepage - end */
2021-04-06 18:24:25 +02:00
.pod_ctrl_box {
margin-top: 1.5rem;
}
.content__box.-card_box.-homepage {
margin-top: 0;
padding-top: 0;
}
.services_box {
display: block;
margin: 0 1.5rem 3rem 1.5rem;
}
.services_box h1 {
color: var(--wtf-orange);
background-image: unset;
margin-bottom: 1rem;
}
.services_card_box {
margin: 0;
}
.bubble_grid {
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(6, 10rem);
}
h1.big_heading {
font-size: 3.5rem;
}
2023-06-04 22:14:14 +02:00
.card_grid {
grid-template-columns: 1fr;
}
}
@media screen and (max-width: 595px) {
:root {
--column-count: 1
}
/* global styles - start */
h1 {
font-size: 2.5rem;
}
h2 {
font-size: 1.75rem;
}
h3 {
font-size: 1.5rem;
}
h4 {
font-size: 1.25rem;
}
/* global styles - start */
.header__secondary_nav {
display: none;
}
.header__primary_nav {
background-color: transparent;
}
header {
margin-bottom: 0;
}
header, .header__bg_box, .header__slim_box {
display: flex;
flex-direction: column;
justify-content: center;
}
.header__logo_box {
z-index: 41;
}
.header__bg_box {
background-image: none;
}
.header__claim {
margin: 0.5rem 0.5rem 0 0.5rem;
grid-row: 3 / span 1;
grid-column: 1 / span 5;
background: var(--wtf-dark-blue);
}
.header__claim h2 span {
padding: 0 1.5rem;
}
.header__claim p {
margin: 0;
padding: 1.5rem;
background: var(--wtf-dark-blue);
color: var(--wtf-nearly-white);
}
.header__claim h2 {
margin-left: 0.5rem;
}
.header__claim h2 span {
padding: 0 0.5rem;
}
.header__claim p {
margin: 0;
padding: 1.5rem;
color: var(--wtf-nearly-black);
}
.header__claim ul {
display: flex;
justify-content: space-between;
margin: 1rem;
}
.header__claim ul li.-first,
.header__claim ul li.-second,
.header__claim ul li.-third {
color: var(--wtf-nearly-white);
margin: 0;
font-size: 1.25rem;
}
.header__claim ul li::before {
content: unset;
}
.header__sub_claim {
grid-column: 1 / span 5;
padding: 0;
margin: 0 0.5rem 0.5rem 0.5rem;
}
.header__claim p, .header__sub_claim p {
font-size: 1rem;
}
.header__claim h2, .header__sub_claim h2 {
font-size: 1.25rem;
}
.bg_box__top_bar_left,
.bg_box__top_bar_middle,
.bg_box__top_bar_right,
.bg_box__unicorns,
.bg_box__big_bg,
.bg_box__bottom_bar_left,
.bg_box__bottom_bar_middle,
.bg_box__bottom_bar_right,
.bg_box__very_bottom_bar {
display: none;
}
/* slim header - start */
.header__slim_box {
background-image: none;
2023-06-04 22:14:14 +02:00
margin: 0 0 1.5rem 0;
padding: 0;
z-index: 40;
}
.slim_box__top_bar_left {
margin: 0 0.5rem 0 0;
height: 1.125rem;
background-image: url("../images/slim_header_top_triangles.svg");
background-position: right;
background-repeat: no-repeat;
}
.slim_box__top_bar_middle,
.slim_box__top_bar_right,
.slim_box__unicorns {
display: none;
}
2023-06-04 22:14:14 +02:00
.slim_box__submenu {
height: 2rem;
padding-top: 0.5rem;
margin-right: 2.25rem;
padding-right: 0.5rem;
2023-06-04 22:14:14 +02:00
}
.slim_box__submenu a {
font-size: 1.25rem;
margin: 0 0 0.75rem 1rem;
2023-06-04 22:14:14 +02:00
}
.slim_box__submenu a img {
height: 1.5rem;
}
/* slim header - end */
.sub_claim__box {
padding: 0 1rem 1rem 1rem;
}
/* mobile nav - Start */
.header__primary_nav {
position: absolute;
left: 0;
top: 0;
justify-content: flex-end;
}
.primary_nav__toggle {
display: block;
margin: 2.25rem 1rem 0 0;
}
.primary_nav__navlist {
display: none;
position: absolute;
top: 6.5rem;
right: 0;
border-top: 2px solid var(--wtf-nearly-black);
border-left: 2px solid var(--wtf-nearly-black);
border-bottom: 2px solid var(--wtf-nearly-black);
background-color: var(--wtf-light-grey);
box-shadow: 5px 0px 15px 5px rgba(0, 0, 0, 0.25);
}
.primary_nav__navitem {
margin: 0;
padding: 1rem 1rem 1rem 1.5rem;
display: block;
}
.primary_nav__navlink {
color: var(--wtf-nearly-black)
}
.primary_nav__navlink:hover {
color: var(--wtf-mid-grey);
}
/* mobile nav - Ende */
/* homepage - start */
.content__inner_box.-logo_header {
margin: -0.5rem 1.5rem 0 1.5rem;
}
.content__box.-heading {
margin-bottom: 1rem;
}
.content__half_box {
flex-direction: column;
padding: 0;
width: auto;
}
.content__inner_half_box {
width: auto;
margin: 0 1.5rem;
}
.content__box.-card_box.-homepage {
2021-03-07 16:20:19 +01:00
margin-top: 0;
padding-top: 0;
}
.card {
margin-top: 1.5rem;
2021-03-07 16:20:19 +01:00
max-width: 450px;
}
.contact__box {
display: block;
}
.contact__box {
display: flex !important;
flex-direction: column;
}
.contact__box h1 {
transform: translateX(0) rotate(0);
color: var(--wtf-orange);
background-image: none;
font-size: 3.5rem;
margin: 0 0 0 1.5rem;
order: 1;
}
.contact__box .contact_info__box {
margin: 0.5rem 0 0 1.5rem;
align-self: start;
order: 3;
width: 90%;
max-width: 75ch;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.contact__box .contact_info__box p {
margin-right: 0.5rem;
}
.contact__box .contact_form_box {
order: 2;
}
/* homepage - end */
2021-03-14 18:01:33 +01:00
/* content - start */
.content__teaser {
font-size: 1rem;
}
2021-04-06 18:24:25 +02:00
.pod_ctrl_box {
margin-top: 1.5rem;
}
.services_box {
display: block;
margin: 0 1.5rem 3rem 1.5rem;
}
.services_box h1 {
color: var(--wtf-orange);
background-image: unset;
margin-bottom: 1rem;
}
.services_card_box {
margin: 0;
}
.services_card,
.services_card.-even {
flex-direction: column;
}
.services_card__text_box h2 {
margin-top: 0;
}
h1.big_heading {
font-size: 2.5rem;
}
.bubble_grid {
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(11, 10rem);
}
.bubble_grid__card {
padding: 2rem;
grid-column: 1 / span 2;
grid-row: 2 / span 3;
}
2023-06-04 22:14:14 +02:00
.card_grid {
grid-template-columns: 1fr;
}
/* content - end */
2021-03-14 18:01:33 +01:00
/* footer - start */
footer {
grid-template-rows: 23px auto;
grid-template-columns: auto 34px 15%;
}
.footer__wrapper {
padding: 6% 0%;
}
.footer__nav {
flex-direction: column;
}
.footer__navitem {
margin: 1rem 0;
padding: 0;
order: 2;
}
.footer__navitem.-second {
order: 1;
}
/* footer - end */
}