* {
    margin: 0;
    padding: 0;
    scroll-behavior:smooth;
}

/*----------------- LIGHT MODE -----------------*/

body{
    background-image: url(../img/light_theme.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
#body{
    display: none;
}
.foto {
    padding-bottom: 5%;
    border-bottom: 3px solid black;
    max-width: 100%;
}
.foto img {
    max-width: 100%;
    width: 80%;
}
.loading {
    display: none;
}
.loading.active {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 99999;
}
.loader {
    border: 16px solid white;
    border-radius: 50%;
    border-top: 16px solid #A343FC;
    width: 120px;
    height: 120px;
    animation:spin 2s linear infinite;
}
.header {
    padding-top: 5px;
    padding-bottom: 10px;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(163,67,252,1) 91%);
}
.nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.header a {
    font-family: "Roboto Slab", sans-serif;
    text-decoration: none;
    color: black;
    font-size: 3rem;
}
.footer {
    display: flex;
    width: 96%;
    padding: 2%;
    background-color: rgba(255, 255,255, 0.75);
    border-top: 2px solid black;
}
.footer_text {
    max-width: 70%;
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.footer_contact {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    column-gap: 50px;
}
.footer_contact_text {
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer_voorwaarden {
    display: flex;
    justify-content: flex-end;
}
.footer_voorwaarden a {
    text-decoration: underline 1px solid ;
} 
.footer_logo {
    display: flex;
    justify-content: center;
    max-width: 15%;
}
.footer_logo img {
    max-width: 100%;
}
.footer .locatie {
    display: flex;
}
.mobile_header { 
    display: none;
}
.mode {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 2rem;
}
.purple_text {
    color: #A343FC !important;
}
h1{
    font-family: "Roboto Slab", sans-serif;
    font-size: 2rem;
    padding: 5px;
    text-decoration: underline 2px ;
}
p {
    font-family: "Roboto Slab", sans-serif;
    font-size: 1.2rem;
    padding: 5px;
    text-align: center;
}
a {
    color: black;
    font-size: 1.2rem;
    padding: 5px;
    text-decoration: none;
}
#toTop {
    display: none;
    position: fixed;
    justify-content: end;
    padding-right: 15px;
    padding-bottom: 15px;
    bottom: 0px;
    right: 0px;
}
.intro {
    display: flex;
    justify-content: center;
    background-color: black;
    width: 100%;
    height: 100vh;
}
.inleiding_logo img {
    width: 100%;
}
.inleiding {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    row-gap: 50px;
}
.inleiding_button button {
    border: 2px solid black;
    padding: 20px;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.7) 50%, #A343FC 50%) right;
    background-size: 200%;
    transition: .5s ease-out;
}
.inleiding_button button:hover {
    background-position: left;
}
.cookies {
    display: none;
}
.cookies.active {
    display: flex;
    justify-content: center;
    position: fixed;
    width: 100%;
    text-align: center;
    font-size: 2rem;
}
.explain_cookies {
    padding: 1%;
    background-color: white;
    border: 2px solid black;
    width: 50%;
}
.explain_cookies button {
    font-size: 1.7rem;
    padding: 1%;
}
.homepage .home {
    background-color: rgba(255, 255, 255, 0.4);
    width: 60%;
    display: flex;
    padding-left: 20%;
    padding-right: 20%;
    padding-bottom: 5%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
.home a {
    color: #A343FC !important;
    font-size: 1.4rem;
}
.homepage .about {
    margin-bottom: 5%;
}
.homepage .aboutinformatie {
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 3px solid black;
}
.home .uitleg {
    padding-top: 20px;
}
.aboutpage .about {
    background-color: rgba(255,255,255, 0.4);
    width: 60%;
    padding-left: 20%;
    padding-right: 20%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
    row-gap: 50px;
}
.aboutpage .aboutinformatie {
    padding-bottom: 20px;
    border-bottom: 3px solid black;
}
.aboutpage .who {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 20px;
}
.aboutpage .wij {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    row-gap: 50px;
}
.aboutpage .persoon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    row-gap: 50px;
}
.aboutpage .persoontext {
    max-width: 80%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
.aboutpage .pfp {
    border: 3px solid black;
    border-radius: 45%;
}
.aboutpage .profielfoto{
    max-width: 100%;
}
.aboutpage .persoon img {
    max-width: 90%;
}
.projectpage .informatie a {
    color: #A343FC !important;
}
.projectpage .projects {
    background-color: rgba(255, 255, 255, 0.4);
    width: 60%;
    padding-left: 20%;
    padding-right: 20%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 50px;
    padding-bottom: 50px;
    row-gap: 50px;
}
.projectpage .uitleg {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}
.projectpage .projecten {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 25px;
}
.projectpage .project {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 25px;
    padding-top: 25px;
    border-top: 2px solid black;
    max-width: 100%;
}
.projectpage .h1project {
    font-size: 1.5rem;
    text-decoration: underline 2px;
}
.projectpage .projectinformatie {
    display: flex ;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px;
    height: 100%;
}
.projectpage .informatie {
    display: flex ;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    row-gap: 10px;
    max-width: 50%;
}
.informatie p {
    max-width: 80%;
}
.projectpage .slideshow {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 50%;
    width: 50%;
}
.projectpage .slideshow img {
    border-radius: 10px;
    width: 100%;
}
.projectpage .prev, .projectpage .next {
    background-color: rgba(0, 0, 0, 0.593);
    font-size: 1.7rem;
    position: absolute;
    color: white;
}
.projectpage .next {
    right: 0px;
}
.contactpage .contact {
    background-color: rgba(255, 255, 255, 0.4);
    width: 60%;
    padding-left: 20%;
    padding-right: 20%;
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.contactpage .socials {
    width: 60%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contactpage .platform {
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
.contactpage .pfp {
    border: 3px solid black;
    border-radius: 50%;
}
.contactpage .platform img {
    max-width: 80%;
    width: 80%;
}
.contactpage .mail {
    width: 80%;
    padding-top: 25px;
    margin-top: 25px;
    display: flex;
    row-gap: 10px;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    border-top: 3px solid black;
    border-bottom: 3px solid black;
}
.contactpage .mailinfo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}
.contactpage .mailinfo input {
    font-size: 2rem;
}
.contactpage textarea { 
    font-size: 2rem;
    resize: none;
    width: 100%;
}
.contactpage .send {
    font-size: 2rem;
    padding: 1%;
    border-radius: 25px;
}
.switch {
    position: relative;
    width: 60px;
    height: 34px;
}
.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    width: 60px;
    height: 34px;
    background-color: #87CEFA;
    -webkit-transition: .4s;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #FFE484;
    -webkit-transition: .4s;
    transition: .4s;
}
.round {
    border-radius: 34px;
}
.round:before {
    border-radius: 34px;
}

/*----------------- DARK MODE -----------------*/

.dark-mode {
    background-image: url(../img/dark_theme.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.dark-mode .header {
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(163,67,252,1) 91%);
}
.dark-mode .homepage .home {
    background-color: rgba(0, 0, 0, 0.4);
}
.dark-mode .homepage .aboutinformatie {
    border-bottom: 2px solid white;
}
.dark-mode p {
    color: white;
}
.dark-mode h1 {
    color: white;
}
.dark-mode .footer {
    background-color: rgba(0, 0, 0, 0.7);
    border-top: 2px solid white;
}
.dark-mode a {
    color: white;
}
.dark-mode .pfp {
    border: 3px solid white;
    border-radius: 45%;
}
.dark-mode .projectpage .projects { 
    background-color: rgba(0, 0, 0, 0.4);
}
.dark-mode .projectpage .project{
    border-top: 2px solid white;
}
.dark-mode .slider {
    background-color: #001A38;
}
.dark-mode .slider:before {
    background-color: #FEFCD7;
    transform: translateX(26px);
}
.dark-mode .contactpage .mail {
    border-top: 3px solid white;
    border-bottom: 3px solid white;
}
.dark-mode .contactpage .contact {
    background-color: rgba(0, 0, 0, 0.4);
}
.dark-mode .aboutpage .aboutinformatie {
    border-bottom: 3px solid white;
}
.dark-mode .aboutpage .about {
    background-color: rgba(0,0,0, 0.4);
}
.dark-mode .explain_cookies {
    background-color: black;
    border: 2px solid white;
    width: 50%;
}
.dark-mode .foto {
    border-bottom: 3px solid white;
}
.dark-mode .inleiding {
    background-color: rgba(0, 0, 0, 0.7);
}
.dark-mode .inleiding {
    background-color: rgba(0, 0, 0, 0.7);
}
.dark-mode .inleiding_button button {
    border: 2px solid white;
    padding: 20px;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.7) 50%, #A343FC 50%) right;
    background-size: 200%;
    transition: .5s ease-out;
}
.dark-mode .inleiding_button button:hover {
    background-position: left;
}
/*----------------- PHONE MODE -----------------*/

@media screen and (max-width: 878px) {
    .nav {
        flex-direction: column;
    }
    .homepage .home {
        width: 95%;
        padding-left: 2.5%;
        padding-right: 2.5%;
    }
    .aboutpage .wij {
        align-items: center;
    }
    .aboutpage .maarten {
        flex-direction: column-reverse !important;
    }
    .aboutpage .about{
        padding: 0;
        margin: 0;
        margin-top: 0 !important;
        border-radius: 0;
        width: 100%;
        padding-bottom: 20px;
    }
    .aboutpage .aboutinformatie {
        width: 90%;
    }
    .aboutpage .persoon {
        width: 90%;
        flex-direction: column;
    }
    .aboutpage .persoontext {
        max-width: 100%;
    }
    .projectpage .projects {
        width: 98%;
        padding: 1%;
        border-radius: 0;
        text-align: center;
        margin-top: 0;
        padding-bottom: 20px;
    }
    .projectpage .projecten {
        flex-direction: column;
    }
    .projectpage .uitleg {
        padding: 0;
        padding-top: 10px;
    }
    .projectpage .projectinformatie {
        flex-direction: column;
    }
    .projectpage .informatie {
        max-width: 100%;
        width: 100%;
    }
    .projectpage .slideshow {
        max-width: 100%;
        width: 100%;
    }
    .projectpage .informatie p {
        max-width: 100%;
    }
    .contactpage .contact {
        text-align: center;
        margin: 0;
        width: 100%;
        border-radius: 0;
        margin-top: 0 !important;
        padding-top: 10px;
        padding-left: 0;
        padding-right: 0;
    }
    .contactpage .socials {
        flex-direction: column;
    }
    .contactpage .platform img {
        width: 60%;
    }
    .contactpage .mail {
        flex-direction: column;
    }
    .contactpage .send {
        width: 80%;
        padding: 1%;
        border-radius: 25px;
    }
    .started_button {
        width: 90%;
    }
    .toTop {
        visibility: hidden;
    }
    .switch {
        position: relative;
        width: 80px;
        height: 34px;
    }
    .slider { 
        width: 80px;
    }
    .dark-mode .slider:before {
        background-color: #FEFCD7;
        transform: translateX(46px);
    }
    .next {
        right:0px;
    }
    .contactpage .mailinfo input {
        font-size: 1.3rem;
        width: 100%;
    }
    body {
        margin-bottom: 0;
    }
    .contactpage .contact{
        padding-bottom: 20px;
    }
    .footer {
        flex-direction: column;
    }
    .footer_logo {
        max-width: 100%;
    }
    .footer_text {
        max-width: 100%;
        width: 100%;
        row-gap: 20px;
    }
    .footer_contact{
        flex-direction: column;
        row-gap: 20px;
    }
    .footer_contact_text {
        justify-content: space-between;
    }
    .footer .locatie {
        flex-direction: column;
    }
    .footer_voorwaarden {
        flex-direction: column;
        align-items: center;
    }
    .mobile_header {
        background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(163,67,252,1) 91%);
        border-top: 2px solid black;
        border-bottom: 2px solid black;
        width: 100%;
        display: flex;
    }
    .dark-mode .mobile_header {
        background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(163,67,252,1) 91%);
        border-top: 2px solid white;
        border-bottom: 2px solid white;
    }
    .mobile_nav {
        padding-top: 2%;
        max-width: 90%;
        width: 90%;
        margin-left: 5%;
        display: flex;
        justify-content: space-between;
    }
    .mobile_nav_icon {
        max-width: 30%;
        width: 30%;
    }
    .mobile_nav_icon img{
        width: 100%;
    }
    .mobile_nav_button {
        width: 30%;
        display: flex;
        justify-content: end;
        align-items: center;
    }
    .header {
        padding: 0;
        margin: 0;
        opacity: 0;
        height: 0;
        transition: height 2s, opacity 0.5s;
        border-top: 0;
        border-bottom: 0;
    }
    .header.mobile {
        height: 350px;
        opacity: 1;
        border-bottom: 2px solid black;
        transition: height 0s, opacity 1s;
    }
    .burger_button {
        cursor: pointer;
    }
    .bar1, .bar2, .bar3 {
        width: 35px;
        height: 5px;
        background-color: black ;
        margin: 6px 0;
        transition: 0.4s;
    }
    .active .bar1 {
        transform: translate(0, 11px) rotate(-45deg);
      }
      
    .active .bar2 {opacity: 0;}
      
    .active .bar3 {
        transform: translate(0, -11px) rotate(45deg);
    }
    .explain_cookies { 
        width: 98%;
        padding-bottom: 5%;
    }
    .dark-mode .explain_cookies {
        width: 98%;
        padding-bottom: 5%;
    }
    .cookies.active {
        bottom: 0px;
    }
    .foto img {
        width: 96%;
    }
}


