@import url("reset.css");

/* source-serif-pro-regular - latin */
@font-face {
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/source-serif-pro-v10-latin-regular.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/source-serif-pro-v10-latin-regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/source-serif-pro-v10-latin-regular.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/source-serif-pro-v10-latin-regular.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/source-serif-pro-v10-latin-regular.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/source-serif-pro-v10-latin-regular.svg#SourceSerifPro') format('svg');
    /* Legacy iOS */
}

/* source-serif-pro-700 - latin */
@font-face {
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/source-serif-pro-v10-latin-700.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/source-serif-pro-v10-latin-700.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/source-serif-pro-v10-latin-700.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/source-serif-pro-v10-latin-700.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/source-serif-pro-v10-latin-700.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/source-serif-pro-v10-latin-700.svg#SourceSerifPro') format('svg');
    /* Legacy iOS */
}

.clear {
    clear: both;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Serif Pro';
    font-size: 18px;
    line-height: 24px;
    color: #5d5d5d;
}

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.dropdown {
    display: none;
}

nav {
    position: fixed;
    padding: 30px 0px;
    background: #fff;
    left: 0;
    right: 0;
    top: 0;
    padding-bottom: 50px;

}

nav ul {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 500px;
    position: fixed;
    left: 0;
    right: 0;
}

nav ul li {
    float: left;
    padding-left: 10px;
    padding-right: 10px;
}

nav ul li a {
    color: #5d5d5d;
    text-decoration: none;
}

header {
    background: url(../images/steg-sonnenuntergang.jpg);
    padding-top: 350px;
    padding-bottom: 350px;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    padding-left: 10%;
    padding-right: 40%;
}

.logo {
    position: fixed;
    top: 0;
    left: 0;
    margin-left: 100px;
    width: 200px;
    z-index: 2;
    padding-top: 10px;
}

.logo img {
    width: 100%;
}

#impressum a{
    color: #aa3c3c;
    text-decoration: none;
}

h1 {
    font-size: 44px;
    line-height: 50px;
    text-transform: uppercase;
    color: #fff;
    font-style: italic;
    text-shadow: 3px 2px 3px rgba(46, 46, 46, 0.52), 0px 3px 11px rgba(0, 0, 0, 0.56);
    padding-bottom: 20px;
}

h2 {
    font-size: 35px;
    padding-bottom: 30px;
    line-height: 43px;
}

#impressum{
    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: 10%;
    padding-right: 10%;
    background: url(../images/bg-rustikal.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
}

#impressum strong{
    font-weight: 700;
}

#bestattungen {
    text-align: center;
    padding-top: 200px;
    padding-bottom: 200px;
    background: url(../images/wald-hintergrund.jpg);
    background-size: cover;
    background-position: top;
    padding-left: 10%;
    padding-right: 10%;
}

#bestattungen p {
    padding-left: 20%;
    padding-right: 20%;
}

#bestattungen h2 {
    padding-left: 20%;
    padding-right: 20%;
}

#bestattungen strong {
    font-weight: 700;
}

header p {
    color: #fff;
    font-style: italic;
    font-size: 26px;
    line-height: 32px;
}

#ueber-uns .col1 {
    background: url(../images/friedensengel.jpg);
    width: 50%;
    height: 700px;
    background-size: cover;
    background-position: center;
    float: left;
}

#ueber-uns .col2 {
    float: left;
    width: 50%;
    padding-right: 100px;
    padding-left: 70px;
    padding-right: 10%;
    background: url(../images/bg-rustikal.jpg);
    background-attachment: fixed;
    background-size: cover;
    height: 700px;
    display: table;
}

#ueber-uns strong {
    color: #aa3c3c;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
}

.text {
    display: table-cell;
    vertical-align: middle;
}

#bestattungen .col {
    width: 23%;
    padding: 30px;
    float: left;
    margin-left: 1%;
    margin-right: 1%;
    background: rgba(255, 255, 255, 0.81);
    height: 240px;
    margin-top: 30px;
}

#bestattungen .col img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

#bestattungen h3 {
    color: #aa3c3c;
    font-size: 23px;
    font-weight: 700
}


#more {
    display: none;
}

#bestattungen button {
    background: #aa3c3c;
    border: none;
    color: #fff;
    padding: 10px;
    font-size: 20px;
    font-family: 'Source Serif Pro';
}

#bestattungen button:hover {
    cursor: pointer;
}

#leistungen {
    background: url(../images/bg-rustikal.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 150px;
    padding-bottom: 150px;
    padding-left: 10%;
    padding-right: 10%;
}

div.tab-frame input {
    display: none;
}

div.tab-frame label {
    display: block;
    float: left;
    cursor: pointer;
    padding-right: 50px;
    margin-bottom: 80px;
    margin-top: 40px;
}

div.tab-frame input:checked + label {
    background: none;
    color: #aa3c3c;
    font-weight: 700;
    cursor: default;
}

div.tab-frame div.tab {
    display: none;
    clear: left
}

div.tab-frame input:nth-of-type(1):checked ~ .tab:nth-of-type(1),
div.tab-frame input:nth-of-type(2):checked ~ .tab:nth-of-type(2),
div.tab-frame input:nth-of-type(3):checked ~ .tab:nth-of-type(3),
div.tab-frame input:nth-of-type(4):checked ~ .tab:nth-of-type(4),
div.tab-frame input:nth-of-type(5):checked ~ .tab:nth-of-type(5),
div.tab-frame input:nth-of-type(6):checked ~ .tab:nth-of-type(6) {
    display: block;
}

h4 {
    font-size: 22px;
    font-weight: 700;
    line-height: 26px;
    margin-bottom: 40px;
}

#leistungen .tab .col1 {
   width: 48%;
    margin-right: 2%;
    float: left
}

#leistungen .tab .col2 {
   width: 48%;
    margin-left: 2%;
    float: left;
}

.button {
    font-size: 1em;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    background: #aa3c3c;
    transition: all 0.3s ease-out;
}


.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    z-index: 999;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: 70px auto;
    padding: 50px;
    background: #fff;
    border-radius: 5px;
    width: 50%;
    position: relative;
    transition: all 5s ease-in-out;
}

.popup p {
    column-count: 1 !important;
    padding-bottom: 30px;
}


.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.popup .content {
    max-height: 30%;
    overflow: auto;
}

.popup ul {
    list-style: disc !important;
}

#leistungen strong {
    font-weight: 700;
}

#parallax {
    background: url(../images/friedenstaube.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 300px;
    padding-bottom: 300px;
    padding-left: 10&;
    padding-right: 10%;
}

h5 {
    font-size: 50px;
    line-height: 60px;
    color: #fff;
    text-shadow: 3px 2px 3px rgba(46, 46, 46, 0.52), 0px 3px 11px rgba(0, 0, 0, 0.56);
    font-style: italic;
    text-align: center;
}

#trauer .col1 {
    width: 50%;
    float: left;
    padding-left: 10%;
    padding-right: 100px;
    background: url(../images/bg-rustikal.jpg);
    background-size: cover;
    background-attachment: fixed;
    height: 600px;
    display: table;

}

#trauer .col2 {
    height: 600px;
    background: url(../images/haende-herz.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 50%;
    float: left;
}

#trauer span {
    font-size: 23px;
    font-weight: 700;
    color: #aa3c3c;
}

#kontakt {
    background: url(../images/sonnenuntergang.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 150px;
    padding-left: 10%;
    padding-right: 10%;
}

#kontakt .box {
    background: #aa3c3c;
    color: #fff;
    padding: 100px;

}

#kontakt .col1 {
    width: 50%;
    padding-right: 100px;
    float: left;
}

#kontakt .col2 {
    width: 50%;
    padding-left: 100px;
    float: left;

    border-left: 3px solid;
    border-color: #fff;
}

.dse {
    position: fixed;
    bottom: 0;
    left: 0;
    margin-left: 10%;
    background: #aa3c3c;
    padding: 5px;
}

.dse a {
    padding: 10px;
    color: #fff;
    text-decoration: none;
}

#mySidenav a {
    position: fixed;
    right: -35px;
    transition: 0.3s;
    padding: 10px;
    width: 100px;
    text-decoration: none;
    font-size: 20px;
    color: white;
    border-radius: 5px;
}

#mySidenav a:hover {
    right: -30px;
}

#mail {
    top: 320px;
    background-color: #aa3c3c;
}

#mail img {
    height: 45px;
}

/*---------------------------------------
MEDIA Queries | Tablet | Phone
---------------------------------------*/

@media screen and (max-width: 1180px) {
    #bestattungen .col img {
        width: 50px;
        height: 50px;
    }

    #bestattungen h3 {
        color: #aa3c3c;
        font-size: 18px;
        font-weight: 700;
    }

    #bestattungen .col {
        height: 200px;
    }

    header {
        padding-top: 150px;
        padding-bottom: 150px;
    }

    #ueber-uns .col1 {
        width: 30%;
    }

    #ueber-uns .col2 {
        width: 70%;
    }

    #bestattungen p {
        padding-left: 10%;
        padding-right: 10%;
    }

    #trauer .col1 {
        width: 70%
    }

    #trauer .col2 {
        width: 30%;
        background-position: right
    }

    #leistungen .tab .col1 {
        margin-right: 0%;
        width: 100%;
    }
    
      #leistungen .tab .col2 {
        margin-left: 0%;
        width: 100%;
    }

    nav ul {
        margin-left: 40%;
        margin-right: 50px;
        text-align: right;
        width: 100%;
        position: fixed;
        right: 0;
    }
}

@media screen and (max-width: 980px) {
    #bestattungen .col {
        width: 48%;
    }

    #kontakt .col1 {
        width: 100%;
        padding-right: 0px;
        float: left;
    }

    #kontakt .col2 {
        width: 100%;
        padding-left: 0px;
        float: left;
        border-left: none;
        border-color: #fff;
        padding-top: 50px;
    }

    .logo {
        margin-left: 30px;
    }

    #parallax {
        padding-top: 100px;
        padding-bottom: 100px;
        padding-left: 10%;
    }
}

@media screen and (max-width: 850px) {

    nav ul {
        margin-left: 30%;
        margin-right: 50px;
        text-align: right;
        width: 100%;
        position: fixed;
        right: 0;
    }

    header {
        padding-right: 10%;
    }

    #ueber-uns .col1 {
        display: none;
    }

    #ueber-uns .col2 {
        width: 100%;
        padding-left: 10%;
        padding-left: 10%;
        height: auto;
        padding-top: 100px;
        padding-bottom: 100px;
    }

    #bestattungen p {
        padding-left: 0%;
        padding-right: 0%;
    }

    #trauer .col2 {
        display: none;
    }

    #trauer .col1 {
        width: 100%;
        padding-right: 10%;
        height: auto;
        padding-top: 100px;
        padding-bottom: 100px;
    }

}

@media screen and (max-width: 750px) {
    nav ul {
        display: none;
    }

    div.tab-frame label {
        padding-right: 20px
    }

    .dropbtn {
        background-color: #aa3c3c;
        color: white;
        padding: 16px;
        font-size: 16px;
        border: none;
        cursor: pointer;
    }

    .dropbtn:hover,
    .dropbtn:focus {
        background-color: #8e3131;
    }

    .dropdown {
        position: fixed;
        display: inline-block;
        z-index: 99;
        top: 0;
        right: 0;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: rgba(170, 60, 60, 0.92);
        min-width: 160px;
        overflow: auto;
        width: 100%;
        position: fixed;
        height: 100vh;
        top: 0;
        padding-top: 10vh;
        left: 0;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 1;
    }

    .dropdown-content a {
        color: #fff;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: center;
    }

    .dropdown a:hover {
        background-color: rgba(221, 221, 221, 0.12);
    }

    .show {
        display: block;
    }
}

@media screen and (max-width: 650px){
    h1{
        font-size: 34px;
    } 
    
    header p{
        font-size: 24px;
    }
    
    #mail img {
    height: 30px;
}
    
    #mySidenav a {
    position: fixed;
    right: -50px;
}
    
    #mail{
        top: 240px;
    }
    
    #kontakt .box {
    background: #aa3c3c;
    color: #fff;
    padding: 50px;
}
    
    #kontakt{
        padding-left: 3%;
        padding-right: 3%;
    }
    
    h5 {
    font-size: 30px;
}
    #bestattungen .col {
    width: 100%;
}
    
    div.tab-frame label {
    padding-right: 20px;
    width: 100%;
    margin-bottom: 20px;
    margin-top: 0px;
}
    
    #bestattungen{
        padding-top: 100px;
        padding-bottom: 100px;
    }
    
    .dse {
    position: fixed;
    bottom: 0;
    left: 0;
    margin-left: 0%;
    background: #aa3c3c;
    padding: 5px;
}
    
    .dse a{
        font-size: 13px;
    }
}
