﻿/* barlow-regular - latin-ext_latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/barlow-v12-latin-ext_latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/barlow-v12-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/barlow-v12-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/barlow-v12-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/barlow-v12-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/barlow-v12-latin-ext_latin-regular.svg#Barlow') format('svg'); /* Legacy iOS */
}

/* barlow-700 - latin-ext_latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/barlow-v12-latin-ext_latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/barlow-v12-latin-ext_latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/barlow-v12-latin-ext_latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/barlow-v12-latin-ext_latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/barlow-v12-latin-ext_latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/barlow-v12-latin-ext_latin-700.svg#Barlow') format('svg'); /* Legacy iOS */
}

/*header epilog bg*/
@media screen and (orientation: landscape) {
	.portrait {display: none;}
}

@media screen and (orientation: portrait) {
	.landscape {display: none;}
}

/*schrift und links*/

*,
html,
body,
p,
td,
em {
  font-size: calc(15px + (18 - 15) * ((100vw - 320px) / (1600 - 320)));
  font-family: 'Barlow', sans-serif;
}

h1.title {
  font-size: 5vw !important;
  font-weight: 700;
  font-family: 'Barlow Semi Condensed', sans-serif;
  text-align: center;
  line-height: 1;
  color: #fff !important;
}

h1 {
  font-size: 2.2em;
  font-weight: 700;
  font-family: 'Barlow Semi Condensed', sans-serif;
  color: red !important;
}

h2 {
  font-size: 1.8em;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
}

h3 {
  font-size: 1.4em;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
}

h4 {
  font-size: 1.2em;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
}



a {font-weight: 500;}
a:link {text-decoration: none!important; text-transform: uppercase;} 
a:visited {text-decoration: none!important; text-transform: uppercase;} 
a:hover {text-decoration: none!important; text-transform: uppercase;} 
a:focus {text-decoration: none!important; text-transform: uppercase;}
a:active {text-decoration: none!important; text-transform: uppercase;} 

figcaption {
  font-size: 12px;
  padding-top: 4px;}
	
.red {
	text-transform: uppercase;
	font-weight: 500;
  color: red !important;
}

sup {
  font-size: 0.6em;
  text-decoration: underline;
}

/*
@media screen and (hover:hover) {
  a:hover img {filter:drop-shadow(2px 2px 3px black);}
  a img {
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}     
}*/


body {
  position: relative;
}

/*topnav*/
.topnav, .subnav{
  overflow: hidden;
  position: sticky;
  top: 0;
  width: 100%;
  height: 50px;
  z-index:2;
  transition: .2s;
  box-shadow: 2px 3px 4px var(--black);
}

.topnav a {
  float: left;
  display: block;
  text-align: center;
  padding: 8px 20px;
  text-decoration: none;
  font-size: 1.1em;
  transition: .2s;
  user-select: none;
  font-size: 1.2em;
}
  
.topnav .navicon {
  display: none;
  padding: 6px 12px;
  font-size: 1.4em;
  cursor: pointer;
}



.topnav .navicon:after {
	content:"☰";
	/*content:"≣";*/
}

.topnav.responsive .navicon:after {
	content:"✕";
}

.topnav.responsive a {
	font-size: 1.2em;
}

@media screen and (max-width: 800px) {
  .topnav a:not(:first-child) {display: none; }
  .topnav a.navicon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 800px) {
  .topnav.responsive {position: sticky; height:auto; padding-bottom: 1em;}
  .topnav.responsive .navicon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

#overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, .5);
  display: none;
}


.language.portrait {
  margin: 10px;
  user-select: none;
  font-size: 1.6em;
}

.language.portrait img {
	height: 1.6em; 
	margin-bottom: 0.4em;
}

.language.landscape{
	position: absolute;
	top: -6px;
	right: 8px;
	margin: 12px;
	user-select: none;
	transition: 0.2s;
}
.language.landscape img {
	height: 1.1em; 
	margin-bottom: 4px;
	filter: invert(50%);
}

/*seiten-teile*/

header {
  height: calc(100vh - 50px);
  background: none;
  /*mix-blend-mode: multiply;*/
}

.hero {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  background-color: var(--yellow);
  background-image: url("..hero/baden-skatecross-3-landscape.png"), url("..hero/background_gelb.jpg");
  background-attachment: fixed;
  background-position: center, top;
  background-repeat: no-repeat;
  background-size: cover, cover;
}

@media screen and (orientation: portrait) and (min-width: 760px) {
  .hero {
    background: url("../hero/baden-skatecross-3-portrait.png"), url("..hero/background_gelb.jpg");
    background-position: center, top;
    background-repeat: no-repeat;
    background-size: 100%, cover;
    background-attachment: fixed;
    height: 100vh;
    overflow: hidden;
  }
}

@media screen and (orientation: portrait) and (max-width: 759px) {
  .hero {
    background: url("../hero/baden-skatecross-3-portrait.png"), url("..hero/background_gelb_mobile.jpg");
    background-attachment: fixed;
    background-position: center, top;
    background-repeat: no-repeat;
    background-size: 150vw, 300vw;
    height: 100vh;
    overflow: hidden;

  }
}

.hero-content {
  position: relative;
}

header h1 {
  font-size: 7.8vw;
  margin: 0;
  padding: 0;
  font-family: Barlow, sans-serif;
  color: #fd1700!important;
  opacity: .95;
  mix-blend-mode: hard-light;
}

@media screen and (orientation: portrait) {
  header h1 {
    font-size: 18vw;
    font-weight: bold;
    /*font-family: 'Barlow Semi Condensed', sans-serif;*/
    margin: 0;
    padding: 0;
    line-height: 1;
  }
}


header h3 {
  margin: 0;
}



.content {
  max-width: initial;
  padding: 0;
  margin: auto;
}

@media screen and (orientation: portrait){
.content{
  margin-left: 0;
  margin-right: 0;
  width: 100%;}
}

section {
  /*backdrop-filter: blur(3px) grayscale(100%);*/
  background-color: rgba(255, 255, 255, 0.98);
}


.section-content {
  max-width: 900px;
  margin: 0px auto 4px;
  padding: 3em 12px;
}

hr {
  margin: 4em 0 3em;
  border: none;
  background: none;
  border-top: 2px dotted var(--red);
}

.w3-table th:first-child,
.w3-table td:first-child,
.w3-table-all th:first-child,
.w3-table-all td:first-child {
  padding-left: 0;
}

.w3-table td,
.w3-table th,
.w3-table-all td,
.w3-table-all th {
  padding: 6px 0;
}

.schedule td {
  color: var(--black);
  line-height: 1.4;
}

@media screen and (orientation: portrait) and (max-width:759px) {
  .schedule td {
    width: 50vw;
  }
}

.logo-container{
  display: flex;
  justify-content:space-between;
}

.logo-container a img {
  height: 5em;
  padding: 12px 0px;
}

footer { box-shadow: 2px 3px 4px var(--black);
border-top: 1px solid var(--black);}

footer hr {
  padding-top: 0px;
  padding-bottom: 0px;
}

footer p, footer a, footer ul, footer li {font-size: 0.8em!important; color: gray!important;}
footer li {font-size: inherit!important;}

.legal {max-width: 1400px; margin: auto; hyphens: auto; margin-bottom: 3em; padding-top:3em;}

.flex-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}

.flex-container > div {
  width: 15vw;
  margin: 10px;
  text-align: center;
}

@media screen and (max-width: 900px){
.flex-container > div {
  width: 20vw;
}
}

@media screen and (max-width: 450px){
.flex-container > div {
  width: 50vw;
}
}	

/*buttons*/


.hide_btn, .btn_hide_de, .btn_hide_en {
  display: none;
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: red; /* Set a background color */
  color: white!important; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 6px 12px 8px 12px; /* Some padding */
  border-radius: 50%; /* Rounded corners */
  font-size: 18px; /* Increase font size */
  transition: 0.2s;
}

.close {
  position: fixed;
  top: 0;
  right: 0;
  padding: 8px 16px;
  cursor: pointer;
  z-index: 2;
  user-select: none;
  font-size: 24px;
}

.close:after {
  content: '✕';
}

.btn_show_en, .btn_show_de {
	text-align:right; 
	cursor: pointer;
}

.btn_show {cursor: pointer;}


/*formulare*/
#haftung, #exclusion {
	padding: 24px;
	padding-bottom: 16px;
}

.formular {margin-bottom: 3em;}
 
input {
  width: 100%;
  transition: .2s;
}
    
textarea {
  width: 100%;
  padding: 4px;
  resize: none;
  height: auto;
  width: 100%;
  transition: .2s;
}

input[type="radio"] {
 -moz-appearance: none;
 -webkit-appearance: none;
 appearance: none;
 width: 1.2em;
 height: 1.2em;
 transition: .2s;
 border: none;
 cursor: pointer;
 vertical-align: middle;
}

input[type="checkbox"] {
 -moz-appearance: none;
 -webkit-appearance: none;
 appearance: none;
 width: 1.2em;
 height: 1.2em;
 border: none;
 outline: none;
 transition: .2s;
 cursor: pointer;
 vertical-align: middle;
}	

input.de, input.en {
  width: 30%; 
  border: none;
  text-align: center;
  -webkit-transition: .2s;
  -moz-transition: .2s;
  transition: .2s;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  user-select: none;
  color: #fff;
  background-color: #aaa;
  margin: .4em 0;
  line-height: 1.75;
  padding: 8px 2px;
}


input.de:active, input.en:active, input.de:hover, input.en:hover {
  color: var(--red);
  background-color: #ffdd00;
}

    /*
#front {
  position:absolute;
  width:100%;
  height:100%;
  left:0;
  top:0;
  cursor: not-allowed;
}

.formular {position: relative;}
*/

.reg-header {
  background: url('../hero/background_gelb.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 10%;
}

.reg-header h3 {
  font-size: 3.5em;
  padding: 0;
  margin: 12px 0;
  mix-blend-mode: multiply;
}

@media screen and (orientation: portrait) {
  .reg-header h3 {
    font-size: 1.6em;
  }
}

span.fehler {
  color: red !important;
  font-style: italic;
  font-weight: bold;
}