html {
    box-sizing: border-box;
    min-height: 100vh;
    font-family: Georgia, Arial, sans-serif;
    font-family: centaur;
    scroll-padding-top: 5rem;
}

*, 
*:before, 
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    max-width: 100vw;
    --oranje: #FF9900;
    --donkergrijs: #4E5050;
    --lichtgroen: #AFBEB9;
}

body {
    background-color: var(--lichtgroen); 
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}

body a {
    text-decoration: none;
    color: black;
}

body a:hover {
    color: #99A798;
}

html, body {
    margin: 0;
    padding: 0;
    min-width: 360px;
}

.fadeInRightLeft {
    -webkit-animation: fadeInRightLeft 1.2s both;
    -moz-animation: fadeInRightLeft 1.2s both;
    -o-animation: fadeInRightLeft 1.2s both;
    animation: fadeInRightLeft 1.2s both;
}

@-webkit-keyframes fadeInRightLeft {
    0% {
        opacity: 0;
        -webkit-transform: translateX(100px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
    }
}

@-moz-keyframes fadeInRightLeft {
    0% {
        opacity: 0;
        -moz-transform: translateX(100px);
    }
    100% {
        opacity: 1;
        -moz-transform: translateX(0);
    }
}

@-o-keyframes fadeInRightLeft {
    0% {
        opacity: 0;
        -o-transform: translateX(100px);
    }
    100% {
        opacity: 1;
        -o-transform: translateX(0);
    }
}

@keyframes fadeInRightLeft {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.fadeInLeftRight {
    -webkit-animation: fadeInLeftRight 1.2s both;
    -moz-animation: fadeInLeftRight 1.2s both;
    -o-animation: fadeInLeftRight 1.2s both;
    animation: fadeInLeftRight 1.2s both;
}

@-webkit-keyframes fadeInLeftRight {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
    }
}

@-moz-keyframes fadeInLeftRight {
    0% {
        opacity: 0;
        -moz-transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        -moz-transform: translateX(0);
    }
}

@-o-keyframes fadeInLeftRight {
    0% {
        opacity: 0;
        -o-transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        -o-transform: translateX(0);
    }
}

@keyframes fadeInLeftRight {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.fadeInDownUp {
    -webkit-animation: fadeInDownUp 1.2s both;
    -moz-animation: fadeInDownUp 1.2s both;
    -o-animation: fadeInDownUp 1.2s both;
    animation: fadeInDownUp 1.2s both;
}

@-webkit-keyframes fadeInDownUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(100px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@-moz-keyframes fadeInDownUp {
    0% {
        opacity: 0;
        -moz-transform: translateY(100px);
    }
    100% {
        opacity: 1;
        -moz-transform: translateY(0);
    }
}

@-o-keyframes fadeInDownUp {
    0% {
        opacity: 0;
        -o-transform: translateY(100px);
    }
    100% {
        opacity: 1;
        -o-transform: translateY(0);
    }
}

@keyframes fadeInDownUp {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUpDown {
    -webkit-animation: fadeInUpDown 1.2s both;
    -moz-animation: fadeInUpDown 1.2s both;
    -o-animation: fadeInUpDown 1.2s both;
    animation: fadeInUpDown 1.2s both;
}

@-webkit-keyframes fadeInUpDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-100px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@-moz-keyframes fadeInUpDown {
    0% {
        opacity: 0;
        -moz-transform: translateY(-100px);
    }
    100% {
        opacity: 1;
        -moz-transform: translateY(0);
    }
}

@-o-keyframes fadeInUpDown {
    0% {
        opacity: 0;
        -o-transform: translateY(-100px);
    }
    100% {
        opacity: 1;
        -o-transform: translateY(0);
    }
}

@keyframes fadeInUpDown {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    position: absolute;
    display: block;
    background-image: url(./logo.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 70%;
    max-width: 2300px;
    height: 9%;
    top: 2rem;
    right: 0;
    z-index: -3;
}

.nav {
    width: 90%;
    margin: 5rem auto;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: rgb(255, 255, 255);
    border: 1px solid #99A798;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

@media all and (max-width: 520px) {
    .nav {
        margin: 5rem auto 0rem auto;
    }
}

.nav-items {
    padding: 0;
    list-style: none;
}

.nav-item {
    display: inline-block;
    margin-right: 25px;
}

.nav-item:last-child {
    margin-right: 0;
}

.nav-link,
.nav-link:link, 
.nav-link:visited, 
.nav-link:active,
.submenu-link,
.submenu-link:link, 
.submenu-link:visited, 
.submenu-link:active {
    display: block;
    position: relative;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    outline: none;
}

.nav-link,
.nav-link:link, 
.nav-link:visited, 
.nav-link:active {
    color: #4E5050;
    font-weight: bold;
}

.nav-link::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    -webkit-transform: translate(0, 10px);
    transform: translate(0, 10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-link:hover::before,
.nav-link:hover::before {
    opacity: 1;
    -webkit-transform: translate(0, 5px);
    transform: translate(0, 5px);
}

.dropdown {
    position: relative;
}

.dropdown .nav-link {
    padding-right: 15px;
    height: 17px;
    line-height: 17px;
}

.dropdown .nav-link::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 0;
    border: 5px solid transparent;
    border-top-color: #4E5050;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 999;
    width: 30vw;
    min-width: 15rem;
    max-width: 20rem;
    margin-left: -100px;
    background: #fff;
    border-radius: 3px;
    line-height: 1.46667;
    margin-top: -5px;
    box-shadow: 0 0 8px rgba(0,0,0,.3);
    opacity:0;
    -webkit-transform: translate(0, 0) scale(.85);
    transform: translate(0, 0)scale(.85);
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    pointer-events: none;
}

.submenu::after, 
.submenu::before {
    content: ""; 
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -10px;
    border: 10px solid transparent;
    height: 0;
}

.submenu::after {
    border-bottom-color: #fff;
}

.submenu::before {
    margin-left: -13px;
    border: 13px solid transparent;
    border-bottom-color: rgba(0,0,0,.1);
    -webkit-filter:blur(1px);
    filter:blur(1px);
}

.submenu-items {
    list-style: none;
    padding: 10px 0;
}

.submenu-item {
    display: block;
    text-align: left;
}

.submenu-link,
.submenu-link:link, 
.submenu-link:visited, 
.submenu-link:active {
    color: #4E5050;
    padding: 10px 20px;
}

.submenu-link:hover {
    text-decoration: underline;
}

.submenu-seperator {
    height: 0;
    margin: 12px 10px;
    border-top: 1px solid #eee;
}

.show-submenu .submenu {
    opacity: 1;
    -webkit-transform: translate(0, 25px) scale(1);
    transform: translate(0, 25px) scale(1);
    pointer-events: auto;
}

.back-to-top-wrapper {
    position: absolute;
    top: 100vh;
    right: 0.25rem;
    bottom: 17rem;
    width: 4em;
    pointer-events: none;
  }
  
  @media all and (max-width: 600px) {
    .back-to-top-wrapper {
        bottom: 35rem;
      }
  }

  .back-to-top-link {
    position: sticky;
    pointer-events: all;
    top: calc(100vh - 5rem);
    display: inline-block;
    text-decoration: none;
    background-color: #fff;
    font-size: 3rem;
    line-height: 3rem;
    text-align: center;
    padding-top: .4rem;
    color: #4E5050;
    width: 3rem;
    height: 3rem;
    border-radius: 8%;
    border: #4E5050 solid 1px;
    transition: transform 80ms ease-in;
    z-index: 999;
  }

  .direct-contact {
    width: 100%;
    position: fixed;
    padding: .5rem .7rem .5rem .7rem;
    border: 1px solid #99A798;
    text-align: center;
    left: 0;
    top: 0;
    background-color: #eee;
    color: #4E5050;
    font-size: 1.1rem;   
    z-index: 998;
}

.direct-contact a {
    color: #4E5050;
}

.header {
    margin: 0 auto;
    margin-bottom: 10rem;
    border: solid transparent 3px;
    font-family: centaur;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    width: min(1200px, 85%);
}

.header a:hover {
    color: black;
}

.donkergrijs {
    color: var(--donkergrijs);
}

.space {
    width: 1rem;
    color: transparent;
}

.oranje {
    color: #FF9900;
}

.float {
    float: left;
}

.wit {
    color: white;
    width: fit-content;
}

@media all and (max-width: 1360px) {
    .header {
        display: block;
    }
}

.spreken-op-uitvaarten-tekst {
    margin: 0 auto;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    padding: 1.5rem;
    width: 60%;
    max-width: 1100px;
    background-color: rgba(255, 255, 255, 0.9);
}

@media all and (max-width: 600px) {
    .spreken-op-uitvaarten-tekst {
        margin-left: 10%;
        width: 80%;
    }
}

.streep-achtergrond-a {
    position: absolute;
    display: flex;
    margin: 0 auto;
    margin-top: 0rem;
    width: 100%;
    height: 70rem;
    background-color: #4E5050;
    z-index: -1;
    background-image: url(./IMG_1338.JPG);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.streep-achtergrond-b {
    position: absolute;
    display: flex;
    margin-top: -5rem;
    margin-left: 0rem;
    width: 100%;
    height: 50vh;
    background-color: #4E5050;
    z-index: -2;
}

.achtergrond-rw {
    width: min(70vw, 1500px);
    margin: 0 auto;
    background-image: url(../images/ramswoerthe.JPG);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

@media all and (max-width: 750px) {
    .achtergrond-rw {
        width: 100%;
    }
}

.achtergrond-st {
    width: min(70vw, 1500px);
    margin: 0 auto;
    background-image: url(./orchidee.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

@media all and (max-width: 750px) {
    .achtergrond-st {
        width: 100%;
    }
}

.achtergrond-zh {
    width: min(70vw, 1500px);
    margin: 0 auto;
    background-image: url(./orchidee.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

@media all and (max-width: 750px) {
    .achtergrond-zh {
        width: 100%;
    }
}

.introductie-tekst {
    margin-left: 10%;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    padding: 1.5rem;
    width: min(700px, 70%);
    background-color: rgba(255, 255, 255, 0.75);
}

@media all and (max-width: 490px) {
    .introductie-tekst {
        margin-left: 0%;
        width: 100%;
    }
}

.witregel {
    height: 10vh;
}

.streep-achtergrond-c {
    position: absolute;
    margin-left: 40%;
    margin-top: 3rem;
    width: 60%;
    height: 1rem;
    background-color: #99A798;
    z-index: 0;
}

@media all and (max-width: 750px) {
    .streep-achtergrond-c {
        margin-left: 0%;
        width: 100%;
    }
}

.streep-achtergrond-d {
    position: absolute;
    margin-top: -15rem;
    margin-left: 93%;
    width: 1rem;
    height: 30rem;
    background-color: #99A798;
    z-index: -1;    
}

.quote, .tweedequote {
    font-family: Brush Script MT;
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 auto;
    padding-left: 2rem;
    text-align: right;
    width: min(1150px, 50%);
}

.quote-tekst {
    text-align: left;
    font-weight: 200;
    color: #4E5050;
}

.gallerij {
    display: flex;
    margin-top: 4rem;
    justify-content: center;
}

.gallerij img {
    width: 30%;
    margin: 2vw;
}

@media all and (max-width: 700px) {
    .gallerij {
        margin: 0 auto;
        margin-top: 2vw;
        display: block;
    }

    .gallerij img {
        min-width: 100%;
        margin: 2vw auto;
    }
}

.achtergrond-voorstellen {
    width: min(75vw, 1500px);
    background-image: url(./richard-rams-woerthe.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

@media all and (min-width: 2200px) {
    .achtergrond-voorstellen {
        margin-left: 10%;
    }
}

@media all and (max-width: 750px) {
    .achtergrond-voorstellen {
        width: 100%;
        margin-left: 0;
    }
}

.voorstellen-tekst {
    margin-left: 30%;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    padding: 1.5rem;
    width: min(700px, 70%);
    background-color: rgba(255, 255, 255, 0.9);
}

.achtergrond-familiekamer {
    width: min(75vw, 1500px);
    background-image: url(../images/behang.jpg);
    background-repeat: no-repeat;
    background-position: center bottom 30%;
    background-size: cover;
    margin: 0 auto;
}


@media all and (max-width: 750px) {
    .achtergrond-familiekamer {
        width: 100%;
    }
}

.achtergrond-plechtigheid {
    width: min(75vw, 1500px);
    background-image: url(../images/stilleven.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin: 0 auto;
}


@media all and (max-width: 750px) {
    .achtergrond-plechtigheid {
        width: 100%;
    }
}

.achtergrond-condoleance {
    width: min(75vw, 1500px);
    background-image: url(../images/condoleance.jpg);
    background-repeat: no-repeat;
    background-position: center bottom 30%;
    background-size: cover;
    margin: 0 auto;
}


@media all and (max-width: 750px) {
    .achtergrond-condoleance {
        width: 100%;
    }
}

.laatste-wensen-tekst {
    margin-left: 0%;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    padding: 1.5rem;
    width: min(700px, 70%);
    background-color: rgba(255, 255, 255, 0.9);
}

.slideshow-container {
    display: block;
    max-width: 1000px;
    height: 40rem;
    position: relative;
    margin: 0 auto;
  }
  
  .mySlides {
    display: none;
  }
  
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: auto;
  }
  
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
  }
  
  .text {
    color: #f2f2f2;
    font-size: 2rem;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }
  
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  .mySlides img {
    object-fit: cover;
    width: 100%;
    height: 40rem;
  }
  
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: rgb(0, 0, 0);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active, .dot:hover {
    background-color: #717171;
  }
  
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }

.streep-achtergrond-e {
    position: absolute;
    display: flex;
    margin-top: 4rem;
    margin-left: 0%;
    width: 50%;
    height: 40vh;
    background-color: #4E5050;
    z-index: -1;
}

@media all and (max-width: 1000px) {
    .streep-achtergrond-e {
        position: absolute;
        display: flex;
        margin-top: 4rem;
        margin-left: 0%;
        width: 30%;
        height: 35vh;
        background-color: #4E5050;
        z-index: -1;
    }
}

.streep-achtergrond-f {
    position: absolute;
    display: flex;
    margin-top: 4rem;
    margin-left: 50%;
    width: 50%;
    height: 28vh;
    background-color: #99A798;
    z-index: -1;
}

@media all and (max-width: 1000px) {
    .streep-achtergrond-f {
        position: absolute;
        display: flex;
        margin-top: 4rem;
        margin-left: 0%;
        width: 30%;
        height: 27vh;
        background-color: #99A798;
        z-index: -1;
    }
}

.streep-achtergrond-g {
    position: absolute;
    display: flex;
    margin-top: -6rem;
    margin-left: 15%;
    width: 50rem;
    height: 30rem;
    background-color: #9E9C89;
    z-index: -1;
}

.streep-achtergrond-h {
    position: absolute;
    display: flex;
    margin-top: -6rem;
    margin-left: 15%;
    width: 70%;
    height: 53rem;
    background-color: #9E9C89;
    background-color: #99A798;
    z-index: -1;
}

.tweede-logo {
    position: absolute;
    display: block;
    margin-top: -45rem;
    margin-left: -15rem;
    background-image: url(./logo.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    width: 110%;
    max-width: 2300px;
    height: 140%;
    max-height: 1900px;
    bottom: 0;
    z-index: -3;
}

.tweede-gallerij {
    background-image: url("https://picsum.photos/400/900");
    background-position: center center;
    background-size: cover;
    display: flex;
    margin-left: 50%;
    height: 50vh;
    width: 40vw;
    min-width: 250px;
    max-width: 30rem;
}

.derde-gallerij {
    background-image: url("https://picsum.photos/900/400");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    display: flex;
    margin-top: 4rem;
    justify-content: center;
    height: 30vh;
    width: 100vw;
}

@media all and (max-width: 600px) {
    .tweede-gallerij {
        margin-left: 40%;
        width: 50vw;
     }
}

@media all and (max-width: 900px) {
    .tweede-logo {
        margin-top: -30rem;
        margin-left: -10rem;
    }
}

footer {
    display: flex;
    padding-top: 1rem;
    bottom: 0;
    justify-content: space-around;
    min-height: 14.5rem;
    width: 100%;
    background-color: #eee;
}

.contact {
    text-align: left;
    width: 20rem;
    min-width: 120px;
}

.contact-titel {
    margin-top: .4rem;
}

.contact-tekst {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.handige-links {
    text-align: center;
    width: 20rem;
    min-width: 120px;

}

.handige-links-titel {
    margin-top: .4rem;
}

.handige-links-tekst {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

button {
    height: 2rem;
    width: 5rem;
}

.button:hover {
    color: #99A798;
    cursor: pointer;
}

.details-modal {
    background: #fff;
    margin: 0 auto;
    border-radius: 0em;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    left: 50%;
    width: 50rem;
    max-width: 80vw;
    pointer-events: none;
    position: relative;
    top: -30rem;
    transform: translate(-50%, -50%);
    text-align: left;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    z-index: 999;
}

.details-modal .details-modal-close {
    align-items: center;
    color: #111827;
    display: flex;
    height: 4.5em;
    justify-content: center;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    width: 4.5em;
}
.details-modal .details-modal-close svg {
    display: block;
}
.details-modal .details-modal-title {
    color: #111827;
    padding: 1.5em 2em;
    pointer-events: all;
    position: relative;
    width: calc(100% - 4.5em);
}
.details-modal .details-modal-title h1 {
    font-size: 2rem;
    font-weight: 600;
    line-height: normal;
}

.details-modal .details-modal-content {
    border-top: 1px solid #e0e0e0;
    padding: 2em;
    pointer-events: all;
    overflow: auto;
    min-height: 70vh;
}

.details-modal-content {
    background-image: url("./logo.jpg");
}

.details-modal-overlay {
    transition: opacity 0.2s ease-out;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.85);
    position: fixed;
    opacity: 0;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
}

details[open] .details-modal-overlay {
    pointer-events: all;
    opacity: 1;
}

details summary {
    list-style: none;
}

details summary:focus {
    outline: none;
}

details summary::-webkit-details-marker {
    display: none;
}

.container {
    text-align: center;
    max-width: 40em;
}

.container > h1 {
    font-weight: 700;
    font-size: 2rem;
    line-height: normal;
    color: #4E5050;
}
.container > p {
    margin-top: 2em;
    margin-bottom: 2em;
}

textarea {
    height: 20rem;
    width: 70%;
}

.social-media {
    text-align: right;
    width: 20rem;
    min-width: 120px;
}

.social-icons a {
    text-decoration: overline;
}

.social-icons img {
    width: 2rem;
    margin-top: .4rem;
    margin-right: .4rem;
    filter: grayscale(1);
    transition: 800ms ease-in-out;
}

.social-icons img:hover {
    filter: grayscale(0);
}

.zakelijke-links {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

@media all and (max-width: 800px) {
    footer {
        display: block;
        padding-top: 1rem;
        padding: 1rem;
        bottom: 0;
        
        min-height: 14.5rem;
        width: 100%;
        background-color: #eee;
    }

    .contact {
        text-align: left;
        width: 20rem;
        min-width: 120px;
    }

    .handige-links {
        text-align: left;
        width: 20rem;
        min-width: 120px;
        padding-top: 1rem;
    }

    .container {
        text-align: left;
        max-width: 40em;
        display: flex;
        gap: 10px;

    }

    .social-media {
        text-align: left;
        width: 20rem;
        min-width: 120px;
        padding-top: 1rem;
    }
}

.bureaubeuriot {
    background-color: #4E5050;
    text-align: center;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: #fff;
}

.bureaubeuriot a {
    color: #fff;
}