html{
    margin: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    z-index: -5;
    display: flex;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;

    background: #0e0e0e;
}

main {
 min-width: 100vw;
}

::-webkit-scrollbar {
    display: none;
}


h1, h2, h3, h4 {
    min-height: 1.2em;
    color: #0E0E0E;
    clip-path: polygon(0 100%, 0 100%, 100% 100%, 100% 100%);
    transform: translateY(-100px);
    opacity: 0;
}

a {
    text-decoration: none !important;
    color: #3d031e !important;
}

a:hover {
    color: #ccc !important;
    text-decoration: underline;
}

h1 {
    text-transform: uppercase;
    font-family: tachyon, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 60pt;
    line-height: 1;
    margin: 0
;
}

h2 {
    font-family: tachyon, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 30pt;
    line-height: 1;
    margin: 0;
}

h3 {
    font-family: tachyon, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 27pt;
    line-height: 1;
    margin: 0;
}

#landingpage-header h3 {
    font-size: 15pt !important;
}

#landingpage-header h3 {
    font-size: 15pt !important;
}

h4 {
    font-family: tachyon, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 20pt;
    line-height: 1;
    margin: 0;
}

p {
    color: #0E0E0E;
    font-size: 20px;
    clip-path: polygon(0 100%, 0 100%, 100% 100%, 100% 100%);
    transform: translateY(-100px);
    opacity: 0;

}

nav {
    background: rgb(14,14,14);
    background: -moz-linear-gradient(0deg, rgba(14,14,14,0) 0%, rgba(14,14,14,1) 62%);
    background: -webkit-linear-gradient(0deg, rgba(14,14,14,0) 0%, rgba(14,14,14,1) 62%);
    background: linear-gradient(0deg, rgba(14,14,14,0) 0%, rgba(14,14,14,1) 62%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0e0e0e",endColorstr="#0e0e0e",GradientType=1);

    min-width: calc(100vw - 20px);
    height: 35px;
    align-items: center;
    position: fixed;
    z-index: 10;
    padding: 10px;

    clip-path: polygon(0 100%, 0 0, 0 0, 0 100%);
    opacity: 0;

    transition: height .5s ease-out .2s, background-color .9s ease-out .2s;
    -webkit-transition: height .5s ease-out .2s, background-color .9s ease-out .2s;
    -moz-transition: height .5s ease-out .2s, background-color .9s ease-out .2s;
}

#nav-container {
    background: #f1f1f1;
    height: 100%;
    width: 100%;
    border-radius: 5px;
}

#nav-grid {
    height:35px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    align-items: center;
    justify-items: stretch


}

#logo {
    grid-column: 1;
    color: #0e0e0e;
    padding: 0px 20px;
}

#logo a {
    color: #0e0e0e !important;
    font-size: 15px;
    text-transform: uppercase;
    font-family: tachyon, sans-serif;
    font-weight: 300;
    text-decoration: none;
}

#menu {
    grid-column: 2;
    color: #0e0e0e;
    justify-self: end;
    padding: 0px 20px;
}

.active {
    height: calc(100% - 20px);
    overflow: hidden;
    transition: height .5s ease-out .2s, background-color .9s ease-out .2s;
    -webkit-transition: height .5s ease-out .2s, background-color .9s ease-out .2s;
    -moz-transition: height .5s ease-out .2s, background-color .9s ease-out .2s;
}

.accordion {
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer;
    border: none;
    margin: 0;

}

.accordion img {
    height: 25px;
}

.accordion p {
    color: #f1f1f1;
    padding: 0 6px;
    font-size: 13pt;
    margin: 0;

}

.accordion-item {
    width: 100%;
    height: auto;
    gap: 30px;

}

.accordion-link {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    align-items: center;
    max-width: 300px;
    height: auto;
    gap: 15px;

}

.icon {
    height: 40px;
}

#panel {
    opacity: 0;
    position: absolute;
    display: none;
    width: 87%;
    height: 0%;
    top: -100vh;
    left: 6.5%;
    margin: 0;
    transition: top .5s ease-out .5s;
    -webkit-transition: top .5s ease-out .5s;
    -moz-transition: top .5s ease-out .5s;
}

.panel-active {
    opacity: 1 !important;
    display: grid !important;
    height: auto !important;
    top: 30vh !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    transition: top .5s ease-out .5s;
    -webkit-transition: top .5s ease-out .5s;
    -moz-transition: top .5s ease-out .5s;
}

table.menuTable {
    width: 100%;
    height: 45%;
    text-decoration: none !important;
    font-family: tachyon, sans-serif;
    font-size: 18pt;
    font-weight: 300;
    background-color: #f1f1f1;
    border-collapse: collapse;
    border-width: 5px;
    border-color: #F1F1F1;
    border-style: solid;
    color: #0E0E0E;
  }
  
table.menuTable td, table.menuTable th {
    border-width: 5px;
    border-color: #F1F1F1;
    border-style: solid;
    padding: 10px;
  }
  
table.menuTable thead {
    background-color: #F1F1F1;
  }

.menuTable a {
    text-decoration: none;
    color: #0e0e0e !important;
}

.menuTable a:hover {
    text-decoration: none;
    color: #ccc !important;
    text-decoration: underline;
}

thead {
    padding-bottom: 20px;
  }


footer {
    margin-top: 10vh;
    display: flex;
    height: 100px;
    width: 100vw;
    background: #0e0e0e;
    align-items: center;

}

footer > .footer-section {
    display: flex;
    padding: 0.5rem 15px;
    gap: 1rem;
    align-items: center;
}

#social-section-footer, #imprint-section-footer {
    flex-grow: 1;
}

#imprint-section-footer {
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

#imprint-section-footer a {
 color: #f1f1f1 !important;
 font-size: 10pt;
}

#imprint-section-footer a:hover {
    text-decoration: underline;
}


header {
    max-width: 100vw;
    min-height: calc(100vh - 65px);
    margin: 55px 10px 10px 10px;
    text-align: center;
    background: #f1f1f1;
    border-radius: 5px;

    clip-path: polygon(0 0, 0 0, 100% 0, 100% 0);
    opacity: 0;

    display: grid;
    justify-content: center;
    align-items: center;

}

.page-header {
    display: grid;
    padding: 200px 50px 150px 50px;
    width: 90vw;
    color: #F1F1F1;
}

.page-header h1, .page-header h2 {
    color: #F1F1F1;
}

.expandbutton {
    translate: 0 100px;
    justify-self: center;
}

section {
    max-width: 100vw;
    min-height: calc(100vh - 65px);
    margin: 55px 10px 10px 10px;
    text-align: center;
    background: #f1f1f1;
    border-radius: 5px;
    clip-path: polygon(0 0, 0 0, 100% 0, 100% 0);
    transform: translateY(200px);

    /*display: grid;*/
    justify-content: center;
    align-items: center;
    z-index: -2;
}

.casesection-head {
    z-index: 1;
    position: relative;
    padding: 50px 50px;
    max-width: 100%;
    height: 80vh;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    place-items: start;
    justify-items: center;
    text-align: center;
    align-items: center;

}

.casesection-head h3 {
    padding: 0 0 25px 0;
}

.casesection-coverimage {
    opacity: 0;
    transform: translateY(200px);
    /*clip-path: polygon(0 100%, 0 0, 0 0, 0 100%);*/
}

.casesection-head video {
    max-height: 60vh;
    width: 100%;

}

.casesection-head img {
    max-height: auto;
    width: 100%;

}

.casesection-head div {
    max-height: 60vh;
    max-width: 80%;

}

.casesection-content img {
    padding: 10px;
    max-height: 100%;
    max-width: 100%
}



.casesection-content {
    padding: 0px 50px 150px 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
    overflow: hidden;
    z-index: -1;
}

.casesection-content .column {
    width: 30vw;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wide-case .column {
    width: 45vw !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


button {
    height: 20px;
    width: 20px;
}

.contact {
    padding: 30vh 50px 30vh 50px
}


@media only screen and (max-width: 1400px) {

    .casesection-content .column:last-of-type{
    gap: 10px;
    width: 100%;
    display: grid;
    flex-direction: row;
    flex-wrap: wrap;
    grid-auto-rows: 1fr;
    grid-template-columns: 30vw 30vw;
    justify-items: stretch;
    justify-content: space-evenly;

    }

    .wide-case .column:last-of-type{
    display: flex;
    flex-direction: column;
    gap: 10px;
    
    }

    .casesection-content {
        transform: translateY(0px);
    }
}

@media only screen and (max-width: 1260px) {

    .casesection-head {
        padding: 100px 5px 200px 5px;
        max-width: 100%;
        height: auto;
        display: grid;
        grid-template: auto auto / 1fr;
    
    }

    .casesection-head h3 {
        padding: 100px 0 50px 0;
    }

    .casesection-head p {
        padding: 25px 0 50px 0;
    }

    .casesection-head img, .casesection-head video {
        width: 60vw;
    }

    .casesection-head div {
        width: 100%;
        height: 100%;
        align-self: self-end;
    }

    .casesection-head :nth-child(1) {
        grid-area: 2 / 1 / 2 / 2;

    }

    .casesection-head :nth-child(1), .casesection-head :nth-child(2) {
        grid-area: 2 / 1 / 2 / 2;

    }

    .casesection-head :nth-child(2) {
        grid-area: 1 / 1 / 2 / 2;
    }

    .casesection-content {
        transform: translateY(-50px);
    }
}

@media only screen and (max-width: 900px) {

    h1 {
        font-size: 30pt;
        line-height: 1;
        margin: 0
    ;
    }
    
    h2 {
        font-size: 28pt;
        line-height: 1;
        margin: 0;
    }
    
    h3 {
        font-size: 24pt;
        line-height: 1;
        margin: 0;
    }
    
    h4 {
        font-size: 20pt;
        line-height: 1;
        margin: 0;
    }
    
    p {
        color: #0E0E0E;
        font-size: 8pt;
    
    }

    #logo a {
        font-size: 8pt;
        font-weight: 300;

    }

    .panel-active {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 1fr);
    }

    table.menuTable {
        font-size: 12pt !important;
      }

    .page-header {
        padding: 200px 10px;
        width: 80vw;
    }

    .casesection-head img, .casesection-head video {
        width: 90vw;
    }

    .casesection-content .column:last-of-type{
        width: 70vw;
        padding: 200px 20px 0px 20px;
        transform: translateY(-200px);
        grid-template-columns: 70vw;
    }

    .casesection-content .column {
        width: 70vw;
    }
    
    .wide-case .column {
        width: 70vw !important;
    }
}