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

::selection {
    background-color: black;
    color: white;
}

html, body {
    scroll-behavior: smooth;         
}

body {
    background-color: var(--bg-color);
    color: black;
    font-family: sourcesans, sans-serif;
    font-variant-ligatures: none;
}

a {
    color: var(--link-color);
}

section ul {
    margin-left: 1.25em;
}

p {
    line-height: 1.35;
    padding: 1em 0;
    font-size: 1.25em;
}

ul {
    font-size: 1.25em;
}

details {
    position: relative;    
}

summary {
    display: block;
    list-style: none;
    font-size: 1.25em;
}

details > summary::-webkit-details-marker {
    display: none;
}

summary::before {
    position: absolute;
    right: 1em;
    display: inline-block;
    content: ' ';
    transition: all 300ms;
    background-image: url(../img/arrow.svg);
    background-size: 1.1em;
    background-position: center center;
    height: 20px;
    width: 20px;
    transform: rotate(-90deg);
    transform-origin: center;
}
  
details[open] summary::before {
    transform: rotate(90deg);
    top: 1em;
}

.home h1 {
    font-family: helveticarcb;
    color: white;
    position: absolute;
    z-index: 1;
    left: var(--side-space);
    font-size: 3em;
    width: 80%;
    text-align: center;
    top: -1em;
}

.home h1 img {
    position: relative;
    top: 2em;
    right: -1em;
    width: 300px;
    height: auto;
    padding-top: 75px;
}

.home h1 em {
    font-family: "Comic Sans", "Comic Sans MS", "Chalkboard", "ChalkboardSE-Regular", sans-serif;
    font-style: normal;
    position: relative;    
    margin-left: -0.1em;
    display: inline-block;
    transform: rotate(20deg);
}

h2 {
    font-family: helveticarcb;    
    font-size: 2.5em;
    padding: 0.5em 0;
    font-weight: normal;
}

h2 strong {
    text-transform: uppercase;
}

.alert {
    position: fixed;
    top: 125px;  
    z-index: 999;  
}

.alert p {
    display: inline;
    background-color: var(--info-color);
    color: white;
    font-size: 1em;
    
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 0.25em 0.5em 0.25em 1em;
}

.alert p a {
    color: white;
    text-decoration: none;
}

.bar {
    position: fixed;
    width: 100%;
    height: 4em;
    bottom: 0;
    background-color: rgb(var(--main-color));
    z-index: 1000;
    opacity: 0;
    transition: all 300ms;
}

.bar.opened {
    opacity: 1;
}

.bar img {
    position: absolute;
    right: var(--side-space);
    top: -3em;
    width: 175px;
}

header {
    display: flex;
    background-color: rgb(var(--main-color));
    color: white;

    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    flex-direction: column;    
}

header a {
    color: white;
    text-decoration: none;
}

header nav {
    width: 100%;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}

header nav ul, footer nav ul {
    display: flex;
    list-style: none;
    width: 100%;
    justify-content: center;
    font-size: 1.5em;  
     
}

footer nav ul {
    margin-left: 30%;
    width: 60%;
}

header nav ul li {
    height: 100%;
    width: 100%;
    text-align: center;
    padding: 0.75em 0 0.5em 0;
    font-family: helveticarcb;
}

header nav ul li a {
    color: white;
    display: block;
    height: 100%;
    width: 100%;  
    white-space: nowrap; 
    text-decoration: none;
}

header nav ul li:hover, header nav ul li.active {
    background-color: white;
}

header nav ul li:hover a, header nav ul li.active a {
    color: rgb(var(--main-color));
}

header .lang {
    width: 100%;
    display: flex;
    padding: 0.35em 2.5vw;  
    list-style: none;  
}

header .lang a {
    border: 1px solid white;
    border-radius: 25px;
    padding: 0.2em 0.75em;
    margin-right: 0.5em;
    font-size: 0.8em;
    font-weight: bold;   
}

header .lang a:hover {
    background-color: white;
    color: rgb(var(--main-color));
}

footer {
    flex-direction: column;
    position: relative;
    padding-bottom: 10vh;
}

footer a {
    color: rgb(var(--main-color));
    text-decoration: none;
}

footer .info {
    position: absolute;
    top: 0;
    color: black;

    font-family: helveticarcb;
    padding-left: var(--side-space);    
}

footer nav {
    padding: 0 20vw 0 15vw;
}

footer nav ul li a {
    background-color: rgb(var(--main-color));
    border: 1px solid rgb(var(--main-color));  
    color: white;
    border-radius: 25px;
    padding: 0.2em 0.75em;
    margin: 0 0.25em;
    font-size: 0.8em;
    font-weight: bold;
    white-space: nowrap;
}

footer nav ul li a:hover {
    background-color: white;
    color: rgb(var(--main-color));
}

footer ul {
    width: 100%;
    padding: 2em var(--side-space);
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    justify-content: space-between;
}

footer > ul {
    flex-wrap: wrap;
    row-gap: 0.5em;    
}

footer ul img {
    height: 3vh;
    padding: 0 0.25em;
}


footer ul li:nth-child(2) img {
    height: 2vh;
    margin-top: 1vh;
}

/*
footer ul li a.bms img, footer ul li a.sv img {
    height: 8vh;
    margin-top: -2vh;
}
*/

section {
    scroll-margin-top: 100px;
    padding: 3em 0;
}

.sub {
    margin-top: 10vh;
}

.sub header {
    flex-direction: row;
    align-items: center;
}

.sub main {
    padding: 0 var(--side-space);
    min-height: 70vh;
    padding-bottom: 5em;
}

.sub .back {
    white-space: nowrap;
    margin-right: 2.5vw;
    width: 100%;
    padding: 1em;
    text-align: right; 
    font-size: 1.5em;   
    position: relative;
    line-height: 1;
    top: -0.35em;
}

.sub .back span {
    font-size: 2em;
    position: relative;
    top: 0.15em;
    display: inline-block;
    transform: rotate(-60deg);
}

.sub h1 {
    font-family: helveticarcb;
    font-weight: normal;
    font-size: 3em;
    color: var(--main-color);
    padding-top: 1em;
}

#video {
    background-color: rgba(var(--main-color), 0.25);
    padding: 3em var(--side-space);
}

#was {
    margin: 0 var(--side-space);
    position: relative;
}

#was h2+p {
    font-family: helveticarcb;
    margin-top: -1.5em;
    font-size: 1.5em;
    margin-bottom: 1em;
}

#was ul li {
    padding-bottom: 0.5em;
}

#was em {
    font-size: 0.9em;
    font-style: normal;
}

#wie {
    position: relative;
    margin: 0 0 0 var(--side-space);
    overflow: hidden;
}

#wie p {
    width: 60%;
}

#wie img {
    width: 600px;
    position: absolute;
    z-index: 0;
    right: -150px;
    bottom: -100px;
    object-fit: contain;
}

#faq {
    position: relative;
    z-index: 1;
    padding-top: 2em;
    background-color: rgba(var(--main-color), 0.25);
}

#faq .wp-block-group {
    margin: 2em 5vw;
    padding: 2em 5vw;
    background-color: white;
}

#faq p {
    margin: 0 20vw;
}

#faq details {
    color: white;
    margin: 0.5em 0;      
}

#faq details p {
    margin: 0.5em;
    font-size: 1.2em;
}

#faq details ul {
    margin-left: 3.5em;
}

#faq details summary {
    background-color: rgb(var(--main-color));    
    padding: 0.75em 2em 0.75em 1em;
    font-weight: bold;
    cursor: pointer;    
}

#faq details div {
    padding: 2em 3.5em;
    background-color: rgba(var(--main-color), 0.25);
    color: black;
}

#faq p {
    font-size: 1em;
}

/* SLIDER */

.wp-block-gallery {
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-wrap: nowrap;
    min-width: 100vw;
    position: relative;
    background-color: rgb(var(--main-color));
    background-image: url(../img/bg.png);
    background-size: 100%;
}

.wp-block-gallery {
    pointer-events: none;
}

.wp-block-gallery figure {
    min-width: 100vw;
    transition: all 300ms;
}

.wp-block-gallery figcaption {
    width: 33%;
    right: -1em;
    bottom: -5vh;        
    font-family: helveticarcb;
    font-size: 1.75em;        
    font-weight: normal;
    color: black;
    
    line-height: 1;
    position: absolute;
}

.left, .right{
    content: ' ';
    background-image: url(../img/arrow.svg);    
    background-size: 50px;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;  
    z-index: 1;  
    top: 40%;
    padding: 3em;  
    display: block;
    pointer-events: all;
}

.left {
    left: 2vw;    
}

.right {
    right: 2vw;
    transform: rotate(180deg);
}

.indicators {
    width: 100%;
    position: absolute;
    bottom: 10vh;
    display: flex;
    justify-content: center;
    pointer-events: all;
}

.indicators a {
    margin: 0 10px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid white;
    display: block;
}

.indicators a.active {
    background-color: white;    
}

/* WP */

.wp-block-buttons {
    text-align: center;
    padding: 2em 0;
    
}

.wp-block-button a {
    background-color: rgb(var(--main-color));
    color: white !important;
    border-radius: 0;

}

.wp-block-columns {
    display: flex;
    width: 100%;
    margin-bottom: 0;
}

.wp-block-column {
    flex: 1 1 0;
    width: 0;
}

.wp-block-image img {
    width: 100%;
    object-fit: cover;
}

.wp-block-gallery .wp-block-image img {
    object-fit: contain;
    padding-top: 25vh;
    height: 85vh;
    margin-left: -7.5vw;
}

.has-white-background-color {
    background-color: white;
}

.has-text-align-center {
    text-align: center;
}

.wp-block-embed-youtube {
    overflow: hidden;
    position: relative;
    max-width: 100%;
    height: auto;
}

.wp-block-embed-youtube iframe,
.wp-block-embed-youtube object,
.wp-block-embed-youtube embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wp-block-embed__wrapper {
    position: static;
}

.embed-privacy-input-wrapper {
    display: none;
}

.embed-youtube {
    aspect-ratio: 500/281;
}

.embed-youtube .embed-privacy-logo { 
    background-image: url(../img/yt.png); 
}

.screen-reader-text:focus {
    clip: auto!important;
    background-color: #ddd;
    -webkit-clip-path: none;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    word-wrap: normal!important;
    border: 0;
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

