@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500');

body{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    font-family: 'Montserrat', sans-serif;
}

ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

.preislistetabelle {
    border-collapse: collapse;
    padding: 5px;
    margin: 20px 0;
    font-size: 0.9em;
    min-width: 300px;
}

.preislistetabelle thead tr {
    background-color: #1B9FDB;
}

tr:nth-child(even){
    color: #858585;
}

.container{
    text-align: center;
    padding: 0 10%;
}

.logo_top{
    width: 120px;
    padding: 10px 40px;
}

header{
    display: flex;
    justify-content: space-between;
}

.top-container{
    background-color: #DBDBDB;
    position: fixed;
    width: inherit;
    max-width: 1200px;
    z-index: 7;
    top: 0;
}

.hide-mobile{
    display: none;
}

.menu{
    width: 25px;
    padding-top: 18px;
    padding-right: 20px;
}

.logo_x{
    position: inherit;
    margin-top: 100px;
    width: 45%;
    max-width: 490px;
    margin-bottom: 20px;
    animation:spin 10s ease infinite;
}

@keyframes spin { 0% { -webkit-transform: rotate(-180deg); transform:rotate(-180deg);; } }
@keyframes spin { 50% { -webkit-transform: rotate(180deg); transform:rotate(180deg);;} }

h1{
    color: #707070;
    font-size: 1.0em;
    font-weight: 500;
}

.slogan{
    color: #707070;
    font-size: 0.8em;
    font-weight: 400;
    padding-bottom: 20px;
}

.blue-container{
    background-color: #1B9FDB;
    color: white;
    padding-top: 3em;
    padding-bottom: .5em;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding-left: 10%;
    padding-right: 10%;
}

.service img{
    height: 120px;
}

.service p{
    padding: 5px 10px 30px 10px;
}

.service{
    width: 300px;
}

.footer-container{
    background-color: #DBDBDB;
    display: block;
    padding-top: 25px;
    color: #707070;
    padding-bottom: 25px;
}

.footer-impressum{
    font-weight: 500;
    text-decoration: none;
    color: #292929;
}

.footer-container p {
    font-weight: 400;
}

.footer-container a img{
    width: 120px;
    padding-bottom: 10px;
}

.mobile-nav {
    position: fixed;
    width: 60%;
    top: 0;
    right: 0;
    background-color: #292929;
    height: 100%;
    z-index: 8;
    text-align: left;
}


.mobile-nav ul li a{
    display: block;
    color: white;
    text-decoration: none;
    padding: 1em 2em;
    width: 100%;
    font-weight: 400;
    background-color: #333333;
}

.mobile-nav ul li a:hover{
    background-color: #00ff33;
}

.mobile-nav ul li img{
    width: 20px;
}

.exit-button{
    margin: 20px 20px;
    text-align: right;
}

.container-impressum{
    padding: 20%;
}

.container-kontakt{
    padding: 20%;
    display: block;
}

.container-preisliste{
    padding-top: 50px;
    padding-bottom: 100px;
    display: block;
    max-width: 1200px;
    text-align: center;
}

.text-preisliste {
    padding-top: 15%;
    padding-bottom: 15%;
}

.accordion {
    max-width: 1200px;
    border-radius: 8px;
    overflow: hidden;
    background: #1B9FDB;
}

.accordion__label {
    padding: 14px 20px;
    display: block;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
    color: white;
}

.accordion__label:hover{
    background: rgba(0, 0, 0, 0.1);
}

.accordion__label::after{
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    width: 12px;
    height: 6px;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="50" xmlns="http://www.w3.org/2000/svg"><polygon points="0,0 100,0 50,50" style="fill:%23FFFFFF99;" /></svg>');
    background-size: contain;
    transition: transform 0.4;
}

.accordion__input {
    display: none;
}

.accordion__table {
    background: white;
    padding-top: 10px;
    padding-bottom: 10px;
    display: none;
}

.accordion__input:checked ~ .accordion__table {
    display: block;
}

.accordion__input:checked ~ .accordion__label::after {
    transform: translateY(-50%) rotate(0.5turn);
}

h2{
    font-size: 1.5em;
    color: #707070;
    font-weight: 500;
}

.preislistetabelle {
    border-collapse: collapse;
    padding: 5px;
    margin: 15px auto;
    font-size: 0.9em;
    text-align: left;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    
}

.preislistetabelle thead tr {
    background-color: #1B9FDB;
    text-align: left;
    font-weight: 500;
    color: white;
}

.preislistetabelle td, th {
    padding: 5px 15px;
}

.preislistetabelle tbody tr {
    border-bottom: 1px solid lightgrey;
}

.preislistetabelle tbody tr:last-of-type {
    border-bottom: 2px solid #1B9FDB;
}

tr:nth-child(even){
    color: #858585;
}

@media only screen and (min-width: 800px){
    .footer-container{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    h1{
        font-size: 1.5em;
    }

    .slogan{
        font-size: 1.2em;
    }
}

@media only screen and (min-width: 960px){
    .hide-desktop{
        display: none;
    }

    nav{
        width: 35%;
        padding: 15px 40px;
    }
    .desktop-nav ul{
        display: flex;
        justify-content: space-between;
    }

    .desktop-nav ul li a{
        text-decoration: none;
        color: #292929;
        font-weight: 500;
    }

    .desktop-nav ul li a:hover{
        color: #000000;
    }
}

@media only screen and (min-width: 1000px){
    .logo_x{
        width: 35%;
        margin-top: 140px;
        margin-bottom: 60px;
    }

    .slogan{
        padding-bottom: 60px;
    }
}