input[type=submit].portal-button, button.portal-button
{
 font-family: Calibre-Semibold, Sans-serif;
 font-size: 16px;
 color: #FFFFFF;
 background-color: #E96C5C;
 border: 1px solid #E96C5C;
 border-radius: 20px;
 padding: 14px 40px 10px;
}

.history-view div a
{
 font-family: Calibre-Regular, Sans-serif;
 font-size: 16px;
 color: #FFFFFF;
 background-color: #74DC64;
 border: 1px solid #74DC64;
 border-radius: 20px;
 box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
 padding: 6px 10px 2px;
}

.markdown a, a.markdown, a.portal_action_anchor
{
   text-decoration: underline; font-weight: bold
}

.survey-progress-sections .survey-section
{
   background: #eee; border: 1px solid #aaa; border-radius: 0.4em; font-weight: normal !important;
}

.survey-progress-sections .survey-section.active
{
   background: #8ED973; border: 1px solid #888; color: #000 !important;
}

.survey-progress-sections .survey-section.passed
{
   background: #E4F6DD; color: #777 !important; border: 1px solid #999
}

.survey-progress-sections div.survey-section.selectable
{
   border: 1px solid #333 ; cursor: pointer;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Calibre-Semibold, Sans-serif;
    font-size: 16px;
    line-height: 1.5;
    padding: 0px;
    margin: 0;
    background-color: #ffffff;
}

/* Parallax section on larger screens */
.parallax {
    height: 25vh; /* 25% of the viewport height for larger screens */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Media query for small screens (Samsung Galaxy S10e and standard iPhones) */
@media only screen 
  and (min-device-width: 360px) 
  and (max-device-width: 414px) 
  and (min-device-height: 740px)
  and (max-device-height: 896px)
  and (-webkit-device-pixel-ratio: 2),
  only screen 
  and (min-device-width: 360px) 
  and (max-device-width: 414px) 
  and (min-device-height: 740px)
  and (max-device-height: 812px)
  and (-webkit-device-pixel-ratio: 3) {
    .parallax {
        height: 7.5em; /* Approximately 25% of the screen height on small screens */
        background-attachment: scroll; /* Adjusts background scrolling for small screens */
    }
}

.bgzand2 {
    background-image: url(https://meepraten.com/j.a.m.b.o/public-files/bgzand2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    padding: 5px;
    overflow: hidden;
}

.bgzand2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Subtle dark overlay for better text contrast */
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 5px;
}

h1, h2, h3 {
    margin: 5px 0; /* Reduce spacing between text lines */
    font-weight: bold;
    /OFF text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7); /* Stronger shadow for better readability */
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.2rem;
}

.cta-button {
    margin-top: 20px;
    padding: 12px 25px;
    background: linear-gradient(45deg, #f2752b, #e76f60);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 5px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    display: inline-block;
    width: auto;
    max-width: 100%;
    text-align: center;
}

.cta-button:hover {
    background-color: #0056b3;
}

.btn-tm, button.markdown {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #E96C5C; /* MARE-red background */
    font-size: 1.1rem;
    color: white; /* White text */
    cursor: pointer;
    border: 1px solid #E96C5C; /* Remove the default border */
    border-radius: 20px; /* Slightly rounded corners */
    font-size: 13px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    text-align: center
}

.btn-tm:hover {
    background-color: #45a049; /* Darker green on hover */
}

.btn-tm-grey, button.markdown {
    margin-top: 0px;
    padding: 10px 20px;
    background-color: #100706; /* Grijs */
    font-size: 1rem;
    color: #ffffff; /* Dark grey text */
    cursor: pointer;
    border-radius: 20px; /* Slightly rounded corners */
    border: 1px solid #ffffff; /* the default border */
    font-size: 13px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    text-align: center
    display: block
    width: 500px;
}

.btn-tm-grey:hover {
    background-color: #45a049; /* Darker green on hover */
}

.btn-tm:hover {
    background-color: #45a049; /* Darker green on hover */
}

.btn-tm-green, button.markdown {
    margin-top: 0px;
    padding: 10px 20px;
    background-color: #74DC64; /* Grijs */
    font-size: 1rem;
    color: white; /* Dark grey text */
    cursor: pointer;
    border: 1px solid white; /* Remove the default border */
    border-radius: 20px; /* rounded corners */
    font-size: 13px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    text-align: center
    display: block
    width: 500px;
}

.btn-tm-green:hover {
    background-color: #45a049; /* Darker green on hover */
    color: #ffffff
}

.btn-tm-inlogred, button.markdown {
    margin-top: 0px;
    padding: 12px 60px;
    background-color: #E96C5C; /* MARE-rood */
    font-size: 1rem;
    color: #ffffff; /* Dark grey text */
    cursor: pointer;
    border: 1px solid white; /* Remove the default border */
    border-radius: 30px; /* rounded corners */
    font-size: 14px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    text-align: center
    display: block
    width: 200px;
}

.btn-tm-inlogred:hover {
    background-color: #45a049; /* Darker green on hover */
    color: #ffffff
}

.btn-tm-aanmeldgrey, button.markdown {
    margin-top: 0px;
    padding: 12px 60px;
    background-color: #F2F2F2; /* MAREgrijs*/
    font-size: 1rem;
    color: #000000; /* Dark grey text */
    cursor: pointer;
    border: 1px solid #707070; /* Remove the default border */
    border-radius: 30px; /* rounded corners */
    font-size: 14px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    text-align: center
    display: block
    width: 200px;
}

.btn-tm-inlogred:hover {
    background-color: #45a049; /* Darker green on hover */
    color: #ffffff
}

.btn-tm-big, button.markdown {
    margin-top: 0px;
    padding: 10px 30px;
    background-color: #000000; /* Grijs */
    font-size: 2rem;
    color: white; /* Dark grey text */
    font-weight: bolder
    cursor: pointer;
    border: 2px solid white; /* Remove the default border */
    border-radius: 30px;
    font-size: 20px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    text-align: center
    display: block
    width: 500px;
}

.btn-tm-big:hover {
    background-color: #45a049; /* Darker green on hover */
}


@media (max-width: 768px) {
    .bgzand2 {
        height: auto;
        background-size: cover;
        padding: 5px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1rem;
    }

    h3 {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 5px 10px;
        width: 60%;
    }
}

nav {
    position: relative;
    z-index: 10; /* Keep the menu above the background */
}

.menu {
    position: relative;
    z-index: 10; /* Keep the menu above the background */
}
