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: rgb(255, 255, 255); 
    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: right 35% bottom 50%;
    width: 100%;
    height: 11%;
    top: 2rem;
    right: 0rem;
    z-index: -3;
} */

.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: 30%;
    top: 2rem;
    right: 0;
    z-index: -3;
}

@media all and (max-width: 700px) {
    .logo {
        top: -10rem;
     }
}

.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 5rem 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: #eee;
    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;
    display: flex;
    font-family: centaur;
    font-size: clamp(1.2rem, 4vw, 2.8rem);
    width: min(1200px, 85%);
}

.header a:hover {
    color: black;
}

.donkergrijs {
    color: var(--donkergrijs);
}

.space {
    width: 1rem;
}

.oranje {
    color: #FF9900;
}

@media all and (max-width: 1360px) {
    .header {
        display: block;
    }
}

.streep-achtergrond-a {
    position: absolute;
    display: flex;
    margin-top: 10rem;
    width: 90%;
    height: 25vh;
    background-color: #4E5050;
    z-index: -1;
}

.streep-achtergrond-b {
    position: absolute;
    display: flex;
    margin-top: 20rem;
    margin-left: 0rem;
    width: 100%;
    height: 20vh;
    background-color: #9E9C89;
    z-index: -1;
}

.achtergrond-intro {
    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-intro {
        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.9);
}

.witregel {
    height: 10vh;
}

.streep-achtergrond-c {
    position: absolute;
    margin-top: 22rem;
    width: 60%;
    height: 1rem;
    background-color: #AFBEB9;
    z-index: -2;
}

.streep-achtergrond-d {
    position: absolute;
    margin-top: 2.5rem;
    margin-left: 18%;
    width: 1rem;
    height: 10%;
    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;
}

@media all and (max-width: 490px) {
    .streep-achtergrond-c {
        display: none;
    }

    .streep-achtergrond-d {
        display: none;
    }

    .quote, .tweedequote {
        width: 80%;
        padding-left: 1rem;
    }
}

.gallerij {
    display: flex;
    margin-top: 4rem;
    justify-content: center;
}

.gallerij img {
    width: 30%;
    margin: 1vw;
}

@media all and (max-width: 700px) {
    .gallerij {
        margin: 0 auto;
        display: block;
    }

    .gallerij img {
        min-width: 100%;
        margin: 0 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.75);
}

@media all and (max-width: 490px) {
    .voorstellen-tekst {
        margin-left: 0%;
        width: 100%;
    }
}

.streep-achtergrond-e {
    position: absolute;
    display: flex;
    margin-top: 5rem;
    width: 90%;
    height: 30vh;
    background-color: #4E5050;
    z-index: -1;
}

.streep-achtergrond-f {
    position: absolute;
    display: flex;
    margin-top: 7rem;
    margin-right: 5rem;
    width: 100%;
    height: 18vh;
    background-color: #99A798;
    z-index: -1;
}

@media all and (max-width: 700px) {
    .streep-achtergrond-f {
        margin-top: -10rem;
    }
}

.streep-achtergrond-g {
    position: absolute;
    display: flex;
    margin-top: -3rem;
    width: 100%;
    height: 30vh;
    background-color: #4E5050;
    z-index: -1;
}

.streep-achtergrond-h {
    background-image: url("./richard-steenwijker-toren.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    position: absolute;
    display: flex;
    margin-top: -10rem;
    margin-left: 10%;
    width: clamp(20rem, 30vw, 24rem);
    height: 35vh;
    z-index: -1;
}

@media all and (max-width: 1450px) {
    .streep-achtergrond-h {
        margin-left: 3%;
    }
}

@media all and (min-width: 2200px) {
    .streep-achtergrond-h {
        height: 50vh;
        margin-left: 20%;
    }
}

.spreken-op-uitvaarten-tekst {
    margin-left: 40%;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    padding: 1.5rem;
    width: min(1400px, 50%);
    background-color: rgba(255, 255, 255, 1);
}

@media all and (max-width: 900px) {
    .spreken-op-uitvaarten-tekst {
        width: min(1400px, 60%);
    }

    .streep-achtergrond-h {
        margin-left: 0%;
        background-position: left;
    }
}

@media all and (max-width: 775px) {
    .streep-achtergrond-h {
        display: none;
    }
}

@media all and (max-width: 520px) {
    .spreken-op-uitvaarten-tekst {
        margin-top: 3rem;
        margin-left: 0;
        width: 100%;
    }

    .disappear {
        display: none;
    }
}

.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: 80%;
    max-width: 2300px;
    height: 80%;
    max-height: 1900px;
    bottom: 0;
    z-index: -3;
}

@media all and (max-width: 520px) {
    .tweede-logo {
        margin-top: -30rem;
        margin-left: -20rem;
        max-height: 1400px;
        width: 160%;
    }
}

.tweede-gallerij {
    display: flex;
    background-image: url("./images/boom-puzzel.jpg");
    background-position: center center;
    background-size: cover;
    margin: 0 auto;
    justify-content: center;
    height: 20rem;
    width: 50%;
}

@media all and (max-width: 1000px) {
    .tweede-gallerij {
        width: 100%;
    }
}

@media all and (min-width: 2200px) {
    .tweede-gallerij {
        height: 30rem;
    }
}

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;
    max-height: 80vh;
    pointer-events: none;
    position: relative;
    top: -30rem;
    transform: translate(-50%, -50%);
    text-align: left;
    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: 1.4rem;
    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: 60vh;
}

.details-modal .details-modal-content a {
    text-decoration: underline;
}

.details-modal-content {
    background-image: url("./logo.jpg");
    background-size: cover;
}

.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: 80%;
}

.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;
}

.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;
    }

    .details-modal {
        position: fixed; 
        top: 50%;
    }

    .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;
}