@import url('reveal.css');
@import url('default.css');
:root{
    --outermargin:1.5rem;
    --text:#333;
    --green-light:#A1FFE1;
    --main-green:#00C587;
    --link-green:#008957;
}
@font-face {
    font-family: "open";
    src: url("../font/OpenSans-Regular.ttf");
    font-weight:normal;
}
@font-face {
    font-family: "open";
    src: url("../font/OpenSans-Bold.ttf");
    font-weight: bold;
}
@font-face {
    font-family: "boldonse";
    src: url("../font/Boldonse.ttf");
}
h1,h2{
    font-family: "boldonse";
    font-size: 2rem;
    font-weight: normal;
}
h2{
    line-height:1.5;
    margin-top:4rem;
}
h3{
    font-family: "boldonse";
    font-size: 1.25rem;
    margin-top:3rem;
}
a {
    text-decoration: underline;
	color:var(--link-green);
	text-underline-offset: 22%;
	text-decoration-thickness:.06rem; 
}
a:hover{
    text-decoration: none;
}
strong{
    font-family: "open";
    font-weight:bold;
}
p::selection, strong::selection, h1::selection, h2::selection, h3::selection{
  color: white;
  background-color: var(--main-green);
}
ul{
    padding-left: 1rem;
}
html{
    scroll-behavior: smooth;
}
body{
    margin:0;
    font-family: "open";
    line-height: 1.4;
}
.wrap{
    display: flex;
    flex-direction: column;
    width:100%;
    max-width: 1400px;
    margin:0 auto;
    box-sizing: border-box;
}
main{
    margin-bottom:6rem;
}
.default-wrap{
    display: flex;
    flex-direction: column;
    width:100%;
    max-width: 1400px;
    margin:0 auto;
    box-sizing: border-box;
}
#nav{
    padding:var(--outermargin);
    display:flex;
    justify-content:flex-start;
    position: sticky;
    top:-.1rem;
    background-color:rgba(255,255,255,0.65);
    backdrop-filter: blur(20px);
    justify-content: space-between;
    align-items: center;
    transform-origin: top left;
    z-index: 500;
}
#nav #logo{
    transform-origin: top left;
    width: 100%;
    max-width: 200px;
    transition: all 0.25s ease;
}
.logo-box{
    flex:1 1 0;
}
#play{
    opacity: 0.2;
}
#play:hover{
    cursor: pointer;
}
.vol img{
    padding:0 .75rem;
    max-width:30px;
}
/* nav link */
#nav-item{
    border-radius: 10rem;
    padding: .5rem 1rem .5rem 1rem;
    margin-bottom: .5rem;
}
.kontakt-wrap{
    padding:1rem 1rem 1.9rem 1rem;
    background-color: #eee;
    transition: all .5s ease-in;
}
.kontakt-wrap:hover{
    cursor: pointer;
    background-color: #8fe5c9;
}
.hover-link {
  display: inline-block;
  overflow: hidden;
  text-decoration: none;
  color:var(--text);
  height:1.05rem;
}
.hover-link_text {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(.77, 0, .18, 1);
}
.hover-link_text span {
  display: block;
  line-height: 1.2;
}
.burger{
    margin:0;
    background-color: #eee;
    padding:.5rem;
    border-radius:5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: .5rem;
    margin-left:1rem;
    transition: background-color .5s ease-in;
}
.burger:hover, .nav-close:hover{
    cursor: pointer;
    background-color: #8fe5c9;
}
.burger img{
    width:100%;
    max-width: 1.5rem;
}
/* navigation */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 900; 
    top: 0;
    right:-4rem;/*-4rem*/
    background-color:var(--main-green);
    overflow-x: hidden;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    box-sizing: border-box;
    gap:2rem;
    align-items: flex-end;
}
.sidenav a{
    display: flex;
    width: 100%;
    box-sizing: border-box;
    color:white;
    text-decoration: none;
    padding:.5rem 0;
    border-top:1px solid rgba(255,255,255,0.35);
}
.sidenav a:hover{
    background-color: rgba(255,255,255,0.25);
    transition: background-color .5s ease-in;
}
.nav-close{
    border:none;
    background-color: white;
    padding:.75rem;
    line-height: 1.0;
    width:1rem;
    height:1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 4rem;
}
.main-menu{
    width:100%;
}
/* move 1st and 2nd line up */
.kontakt-wrap:hover .hover-link .hover-link_text {
  transform: translateY(-50%);
}
.hero{
    padding:0 var(--outermargin);
}
.inner-hero{
    background-color: #00C587;
    border-radius: 1rem;
    padding:1.5rem;
    padding-bottom: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:4rem;
    overflow: hidden;
}
.inner-hero img{
    max-width: 100px;
}
.pluseinsslot{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap:3rem;
    width:100%;
}
/*slots*/
.claims {
    position: relative;
}
.text {
    font-size: 1.5rem;
    font-family: "boldonse";
    position: absolute;
    top: -1.5rem;
    opacity: 0;
    width:250px;
    line-height:1.6;
}
.box{
    display:flex;
    justify-content: center;
    align-items: center;
    padding:var(--outermargin);
    box-sizing: border-box;
    flex-direction: column;
    scroll-margin-top: 120px;
}
.inner-box img{
    display: flex;
    width: 100%;
}
/* organisation */
.inner-orga{
    max-width: 800px;
}
.green{
    background-color: var(--green-light);
    padding-bottom: 4rem;
    margin-top:4rem;
}
/*contact*/
.contact-wrap{
    background-color: var(--main-green);
    padding:2rem;
    display: flex;
    flex-direction: column;
    gap:1rem;
    justify-content: flex-start;
    align-items: flex-start;
    border-radius: 2rem;
}
.contact-wrap h3{
    margin:0;
    font-size:1.5rem;
}
.contact-wrap a {
    color:var(--text);
    text-decoration: underline;
}
.contact-wrap img{
    max-width: 145px;
    width:100%;
}
footer{
    background-color: var(--main-green);
    color: white;
    padding:3rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.inner-footer{
    display: flex;
    flex-direction: row;
    gap:1.5rem;
}
.inner-footer a{
    color:var(--text);
    text-decoration: underline;
}
@media screen and (min-width: 850px) {
    :root{
        --outermargin:2rem;
    }
    h1,h2{
        font-size: 3rem;
    }
    h3{
        font-size: 1.5rem;
    }
    #nav{
        padding:var(--outermargin);
    }
    #nav #logo{
        max-width: 300px;
    }
    .hero{
        padding:0 2rem;
        margin:0;
    }
    .inner-hero img{
        max-width: 300px;
    }
    .inner-hero{
        padding:2rem;
        overflow: hidden;
        border-radius: 2rem;
    }
    .pluseinsslot{
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 3rem;
        width: 700px;
    }
    .text {
        font-size: 2.3rem;
        width: 400px;
        top: -3.5rem;
    }
    .inner-box{
        max-width:650px;
        width:100%;
    }
    .contact-wrap{
        display: flex;
        flex-direction: row;
        gap:2rem;
        justify-content: center;
        align-items: center;
    }
    .contact-wrap h3{
        margin:0;
        font-size:2.5rem;
    }
    .contact-wrap img{
        max-width: 260px;
    }
    .inner-footer{
        display: flex;
        flex-direction: row;
        gap:1rem;
    }
}