/* Basis layout voor sticky footer */

* {
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;


}

html,
body {
    min-height: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background-color: #FFF6FD;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; 
}





/* body {
  margin: 0;
  background-color: #f0f0f0;
  background-image: radial-gradient(#aaa 10px, transparent 1px);
  background-size: 100px 100px;
  animation: moveDots 10s linear infinite;
} */

@keyframes moveDots {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}


/* Header */
header {
    background-color: #252525;
    width: 100%;
    color: white;
    padding: 10px;
    margin-bottom: 20px;
    position: sticky;
    text-align: center;
    display: flex;
    justify-content: right;
    font-family: 'poppins';
    position: fixed;
    
}

header h1 {
    margin: 0;
}

h3 {
    margin: 0;
    font-family: 'poppins';
    color: #000000
}

hr {
    border: 0;
    height: 2px;
    background-color: #000000;
    margin: 0;
}

.box-headernav {
    display: flex;
    position: sticky;
    width: 100%;
    justify-content: space-between;
}

/* Navigatiebalk */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #FF8FEA;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border: 3px solid #ffffff;
    padding-right: 0;


}

.dropdown-content a:hover {
    /* background: rgba(237, 237, 237, 0.44); */
    background-color: #FFF6FD;
    color: #FF8FEA;
    font-family: 'poppins';
    /* font-weight: bold; */

}



.dropdown:hover .dropdown-content {
    display: block;

}


.drop {
    font-family: "poppins";
}

.nav {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
    justify-content: space-between;
    z-index: 99999;
    /* background-color: lightskyblue; */

    width: 50%;
    height: 46.34px;
    border-radius: 50px;
    border: 3px solid #FF8FEA;
    font-family: 'poppins';
    margin-top: 2px;

}

.navmenu,
.dropbtn {
    color: #FF8FEA;

}

.navmenu:hover,
.dropbtn:hover {
    color: #FFF6FD;
    /* font-weight: bold; */
}

.navmenu_lo:hover {
    color: white;
    background: #FFC5D3;
    font-weight: bold;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #555;
}



/* Main content */
main {
    flex: 1;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    background-color: #FFF6FD;
    background-image: radial-gradient(#FF8FEA 10px, transparent 2px);
    background-size: 200px 200px;
    /* background-attachment: fixed; */

}

/* .boxtoggle{
    background-color: black;
    height: 25rem;
    width: 10rem;
    position: fixed;
} */
.togglemenu {
    width: 7.75rem;
    height: 20.8125rem;
    flex-shrink: 0;
    border-radius: 0rem 5rem 5rem 0rem;
    border: 3px solid #FF8FEA;
    background: #FFF;
    position: fixed;
    display: flex;
    align-items: center;
    top: 25%;
    text-decoration: none;

}

.togglemenu ul {
    padding: 0rem;
    /* Verwijdert de standaard marge/padding */
    margin: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 15rem;
    color: #FF8FEA;
    text-decoration: none;
    font-size: 30px;
    font-family: 'yeseva one';
}

svg {
    position: absolute;
}

.togglemenu ul li:hover {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.togglemenu ul li a {
    color: #FF8FEA;
    text-decoration: none;
    padding: 8px 12px;
}

.togglemenu ul li a:hover {
    color: #000000;
    text-decoration: none;
    padding: 8px 12px;
}

.togglemenu ul li a.active {
    color: rgb(10, 6, 6);
    font-weight: bold;
    border-left: 5px solid #FF8FEA;
}

.writebox {
    width: 73.5rem;
    height: auto;
    flex-shrink: 0;
    border-radius: 42.9375rem 42.375rem 0rem 0rem;
    border: 3px solid #FF8FEA;
    background: #FFF;
    margin-top: 7rem;
    /* Nieuw toegevoegd */
    /* padding: 2rem; */
    /* Binnenruimte zodat tekst niet tegen de rand plakt */
    box-sizing: border-box;
    /* Zorgt dat padding niet de box vergroot */
    overflow: auto;
    /* Zorgt dat inhoud scrollt als het groter wordt */
    color: black;
    overflow-y: auto;
    /* Verbergt wat buiten de ronde vorm valt */
    padding: 15rem 10rem 2rem;
    /* Genoeg ruimte rondom */
}

/* .writebox h1 {
    color: black;
} */

.title {
    font-family: "Yeseva one", serif;
    font-size: 2.5rem;
    color: #ff8fea;
    margin-bottom: 1rem;
}

.subtitle {
    color: #FF8FEA;
    font-family: 'yeseva one';
    font-weight: 100;
    font-size: 1.30rem;
}

.evidencetitle {
    color: black;
    font-family: poppins;
    font-weight: 100;
    text-decoration: underline;
}

.bodytext {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    color: black;
    line-height: 1.6;
    max-width: 60ch;
    /* margin: 0 auto; */
    text-align: left;
    margin: 0;
}

/* Footer */
footer {
    background-color: #FF8FEA;
    color: white;
    text-align: center;
    padding: 0.2rem;
    font-family: 'poppins';
}

  #scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    /* display: none; Hidden by default */
    height: 60px;
    width: 60px;
    background-color: #000000;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 16px;
    transition: opacity 0.3s, transform 0.3s;
    font-weight: bold;
}

/* Show the button when the user scrolls down 20px from the top of the document */
#scrollToTopBtn:hover {
    background-color: #EB2DC8;
    transform: scale(1.1);
}

.topbtn{
    height: 40px;
    width: 50px;
}


/* Responsive gedrag */
@media (max-width: 800px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li a {
        width: 100%;
        text-align: center;
    }

    .title {
        font-family: "Yeseva one", serif;
        font-size: 2.5rem;
        color: #ff8fea;
        margin-bottom: 1rem;
        display: flex;
        justify-content: center;

    }

    .subtitle {
        color: #FF8FEA;
        font-family: 'yeseva one';
        font-weight: 100;
        font-size: 1.30rem;
        display: flex;
        justify-content: center;
        margin-top: 3rem;

    }

    .togglemenu {
        /* height: auto;
        position: static;
        border-radius: 0;
        margin-bottom: 1rem; */
        display: none;
    }

    .writebox {

        background-color: #b71f1f;
        background-image: radial-gradient(#aaa 2px, transparent 2px);
        background-size: 100px 100px;
        background-attachment: fixed;

        width: 30.5rem;
        height: 100%;
        flex-shrink: 0;
        border-radius: 42.9375rem 42.375rem 0rem 0rem;
        /* border: 3px solid #FF8FEA; */
        border-top: 3px solid #FF8FEA;
        border-left: 3px solid #FF8FEA;
        border-right: 3px solid #FF8FEA;
        border-bottom: none;
        background: #FFF;

        /* Nieuw toegevoegd */
        padding: 2rem;
        /* Binnenruimte zodat tekst niet tegen de rand plakt */
        box-sizing: border-box;
        /* Zorgt dat padding niet de box vergroot */
        overflow: auto;
        /* Zorgt dat inhoud scrollt als het groter wordt */
        color: black;

    }

}