
body {
    margin: 0;
    font-family: sans-serif;
    background: linear-gradient(#0b0b0b 90vh, #0b0b0b 105vh);
    overflow-x: hidden;
    font-display: swap !important;
    height: 100%;
}

/*----------Loader----------*/

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b0b0b;
    transition: opacity 0.75s, visibility 0.75s;
    z-index: 10000;
    overflow: hidden; /* To keep everything contained */
  }
  
  .loader--hidden {
    opacity: 0;
    visibility: hidden;
  }
  
  #blobloader {
    background-color: white;
    z-index: -3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0turn); /* Center the element */
    border-radius: 50%; /* This will make it a circle */
    background: linear-gradient(to right, rgb(255, 128, 0), rgb(61, 205, 195)), 
                radial-gradient(circle, rgb(255, 255, 255), rgba(255, 23, 0, 0));
    animation: loading 2.5s linear infinite;
}

#blackloader {
    background-color: black;
    z-index: -2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0turn); /* Center the element */
    border-radius: 50%; /* This will make it a circle */
}

#blurloader {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: -1;
    backdrop-filter: blur(30px);
  }

@keyframes loading {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/*----------Header----------*/


header {
    display: flex;
    justify-content: space-between;
    padding: 15px 50px; 
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: transparent;
    color: #fbfdff;
    font-family: futura-pt-condensed, sans-serif;
    font-weight: 500;
    font-size: 2.5vh;
    padding: 1em; 
}


#logo {
    font-family: Scotch-text-compressed, Times, serif;
    font-size: 5vh;
    font-weight: 500;
    margin-left: 5vh;
    margin-top: 2vh;
    z-index: 69;
}

nav ul {
    list-style-type: none;
    margin-top: 3.5vh;
    margin-right: 1vh;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav li {
    cursor: pointer;
    position: relative; 
    margin-right: 1vh;
    margin-left: 1vh;
}

/* Inactive link styling */
nav a {
    color: #fbfdff; 
    text-decoration: none;
    font-family: futura-pt-condensed, sans-serif;
    font-weight: 400;
    opacity: 0.6;
    transition: color 0.3s ease-in-out;
}

/* Active link styling */
nav li.active a {
    opacity: 0.8;
    font-weight: 450;
}

/* Hover effect for all links */
nav a:hover {
    color: rgb(0, 151, 118);
    opacity: 0,8;
}

/*--------TELEFOON VERSIE--------*/


@media screen and (max-width: 850px) {   
    html{
        overflow-x: hidden;
    }
    #wideNav{
        visibility: hidden;
    }
    #narrowNav{
        visibility: visible;
    }
    #logo {
        font-size: 4vh;
        margin-left: 1vh;
    }
    #whatWeDo h1 {
        margin-left: 5vw;
        max-width: 90vw;
    }
    #whatWeDo p {
        margin-left: 5vw;
        max-width: 90vw;
    }
    #portfolio {
        grid-template-columns: repeat(1, 1fr);
    }
    #CPportfolio {
        grid-template-columns: repeat(1, 1fr);
    }
    .paragraaf {
        width: 90vw;
    }
    #team {
        height: 57.6vw;
        width: 96vw;
    }
    #Services {
        visibility: hidden;
        width: 0;
    }
    .footercontent img {
        height: 50%;
        margin-left: 25px;
    }
    .footercontent p {
        font-size: 1.5vh;
    }
    .footercontent {
        margin-left: -45px;
    }
    .PPFront h1 {
        margin-top: 1vh;
        margin-left: 5vw;
        text-align: center;
        max-width: 90vw;
    }
    .PPFront p {
        width: 90vw;
        margin-left: 5vw;
    }
    .PPButton {
        font-size: 2vh;
    }
    #MissionPhotoDiv img{
        height: 18vh;
        width: auto;
    }    
    #scheikunde{
        margin-left: -30vh
    }
    #landing video { 
        width: 90%;
    }
    #blobloader {
        height: 20vh;
        width: 20vh;
    }
    #blackloader {
        height: 15vh;
        width: 15vh;
    }
}



/*--------TABLET EN DESKTOP VERSIE--------*/


@media screen and (min-width: 851px) { 
    #narrowNav {
        visibility: hidden;
    }
    #menuKnopContainer {
        visibility: hidden;
    }
    #whatWeDo h1 {
        margin-left: 25vw;
        max-width: 50vw;
    }
    #whatWeDo p {
        margin-left: 25vw;
        max-width: 50vw;
    }
    .paragraaf {
        width: 50vw;
    }
    #team {
        height: 30vw;
        width: 50vw;
    }
    .footercontent img {
        height: 80%;
    }
    .footercontent p {
        font-size: 1.7vh;
    }
    .PPFront h1 {
        margin-top: 16vh;
        margin-left: 16vw;
    }
    .PPFront p {
        margin-left: 16vw;
        width: 68vw;
    }
    #MissionPhotoDiv img{
        height: 27vh;
        width: auto;
    }    
    #landing video { 
        width: 65%;
    }
    #blobloader {
        height: 25vh;
        width: 25vh;
    }
    #blackloader {
        height: 20vh;
        width: 20vh;
    }
}


/*--------ALLEEN TABLET VERSIE--------*/


@media screen and (min-width: 851px) and (max-width: 939){ 
    #portfolio {
        grid-template-columns: repeat(1, 1fr);
    }
    #CPportfolio {
        grid-template-columns: repeat(1, 1fr);
    }
}


/*--------ALLEEN DESKTOP VERSIE--------*/


@media screen and (min-width: 940px){ 
    #portfolio {
        grid-template-columns: repeat(3, 1fr);
    }
    #CPportfolio {
        grid-template-columns: repeat(3, 1fr);
    }
}


/*----------PP video aspect ratio----------*/

@media screen and (min-width: 1600px){ 
    #PPVideoContainer {
        width: auto;
        height: 55vh;
    }
    #PPVideoContainer iframe {
        height: 100%; 
        width: auto;
    }
}

@media screen and (min-width: 940px) and (max-width: 1599px){ 
    #PPVideoContainer {
        width: 75vw;
        height: auto;
    }
    #PPVideoContainer iframe {
        height: auto; 
        width: 100%;
    }
}

@media screen and (max-width: 939px){ 
    #PPVideoContainer {
        width: 90vw;
        height: auto;
    }
    #PPVideoContainer iframe {
        height: auto; 
        width: 100%;
    }
}

/*--------MOBIELE NAVBAR--------*/


#narrowNav {
    display: inline-block;
    line-height: 80px;
    text-align: center;
    gap: 0;
    visibility: hidden;
}

#narrowNav ul {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0;
    width: 100vw;
    height: 340px;
    position: fixed;
    margin: 0;
    padding: 0;
    left: 0;
    top: 0;
    background-color: #0b0b0b9c;
}

#narrowNav ul li {
    width: 100vw;
    line-height: 60px;
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: auto;
}

#menuKnopContainer {
    position: fixed;
    width: 100vw;
    height: 5vh;
    text-align: right;
    left: 1px;
    display: flex;
    justify-content: right;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    z-index: 1001;
}

#menuKnop {
    position: relative;
    width: 40px;
    height: 100%;
    margin-top: 3.5vh;
    padding: 0;
    border: none;
    transition: none;
    z-index: 70;
    background: none;

    display: flex;
    flex-direction: column;
    line-height: 10px;
    cursor: pointer;
}

#menuKnop a {
    padding: 0;
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    cursor: pointer;
    z-index: 70;
    color: #fbfdffaa
}

#menuWegscroller {
    position: fixed;
    height: 100vh;
    width: 100%;
    top: 340px;
    background: none;
    visibility: hidden;
    z-index: 70;
}

#menuWegKnop {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 70;
    background: none;
}


/*----------Landing page----------*/



#landing {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#landing video { 
    object-fit: cover;
    z-index: 999;
}

#whatWeDo {
    position: relative;
    width: 100vw;
    height: auto;
    overflow: hidden;
    display: grid;
    margin-top: 0vh;
    text-align: center;
}

#whatWeDo h1 {
    margin-bottom: 0;
    font-size: clamp(40px, 4vh, 70px);
    color: #fbfdff;
    font-family: futura-pt, sans-serif;
}

#whatWeDo p {
    font-size: 2vh;
    font-weight: 400;
}

.project-name {
    text-align: center; /* Tekst centreren */
}

#black-section {
    position: relative;
    width: 100vw;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0vh;
}

video {
    position: absolute;
    top: 50%;
    left: 50%;
    max-height: 80%;
    max-width: 90%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.content {
    transform: translateX(-15vw);
    z-index: 3;
    width: 33vw;
}

#info {
    z-index: 3;
    width: 33vw;
}

p {
    font-size: 2.5vw;
    color: #fbfdff;
    margin-bottom: 2vh;
    font-family: futura-pt, sans-serif;
    font-weight: 700;
    transition: opacity 2s ease-in-out;
    text-align: justify;
}

ul {
    font-size: 2.5vw;
    color: #fbfdff;
    margin-bottom: 2vh;
    font-family: futura-pt, sans-serif;
    font-weight: 700;
    transition: opacity 2s ease-in-out;
    list-style-type: disc; /* Zorgt voor de bullet points */
    margin-left: 2vw; /* Zorgt voor wat ruimte links van de bullet points */
}

li {
    margin-bottom: 2vh; /* Zorgt voor ruimte tussen de items in de lijst */
}

#cases{
    margin-top: 0;
}

/*----------About pagina?----------*/



.paragraaf { 
    overflow: hidden;
    align-items: left;
    justify-content: left;
    max-width: 1500px;

}

.paragraaf h1 {
    font-size: clamp(25px, 2vw, 55px);
    color: #fbfdff;
    margin-bottom: 0.5vh;
    margin-top: 12vh;
    font-family: futura-pt, sans-serif;
    font-weight: 700;
    transition: opacity 2s ease-in-out;
    position: relative;
}

#TheTeamText h1 {
    margin-top: 6vh;
}

.paragraaf p {
    display: flex;
    justify-content: center;
    height: 100%;
    font-size: clamp(15px, 1.5vw, 25px); /* Adjust sizes as needed */
    text-align: justify;
    color: #fbfdff;
    margin: 0;
    font-family: futura-pt, sans-serif;
    font-weight: 400;
    transition: opacity 2s ease-in-out;
    position: relative;
}

.aboutUsSection {
    justify-content: center;
    align-items: center;
    display: flex;
    text-align: center;
}

.header-image {
    position: absolute;
    top: 23%;
    left: 50%;
    height: 100%;
    width: auto;
    transform: translate(-50%, -50%);
    z-index: -1;

}

.pagetitle {
    margin-left: 16vw;
    margin-bottom: 0;
    font-size: clamp(40px, 3.2vw, 70px);
    margin-top: 20vh;
}

.subtitle {
    color: #fbfdff;
    font-family: futura-pt, sans-serif;
    font-weight: 510;
    transition: opacity 2s ease-in-out;
    font-size: clamp(15px, 1.25vw, 27px);
    margin-bottom: 20vh;
    margin-top: -1vh;
    margin-left: 16vw;
}
button {
    margin-left: 9vw;
    margin-right:9vw;
    margin-top: 10%;
    color: #fbfdff;
    cursor: pointer;
    font-family: futura-pt, sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 2vw;
    padding: 0.4em;
    border: solid transparent;
    transition: all 0.5s ease-in-out, border 0.1s, padding 0.5s ease-in-out, transform 2s ease-in-out, font-size 0s linear;
    --b: 2px; /* border thickness */
    --c: #0000 25%,rgb(251, 253, 255) 0; /* define the color here */
    background:
      conic-gradient(from 90deg  at top    var(--b) left  var(--b),var(--c)) 0    0,
      conic-gradient(from 180deg at top    var(--b) right var(--b),var(--c)) 100% 0,
      conic-gradient(from 0deg   at bottom var(--b) left  var(--b),var(--c)) 0    100%,
      conic-gradient(from -90deg at bottom var(--b) right var(--b),var(--c)) 100% 100%;
    background-size: 0.6em 0.6em; /* adjust border length here */
    background-repeat: no-repeat;
  }


button:hover {
    --b: 2px; /* border thickness */
    --c: #0000 25%,rgb(251, 253, 255) 0; /* define the color here */
    background:
      conic-gradient(from 90deg  at top    var(--b) left  var(--b),var(--c)) 0    0,
      conic-gradient(from 180deg at top    var(--b) right var(--b),var(--c)) 100% 0,
      conic-gradient(from 0deg   at bottom var(--b) left  var(--b),var(--c)) 0    100%,
      conic-gradient(from -90deg at bottom var(--b) right var(--b),var(--c)) 100% 100%;
    background-size: 0.8em 0.8em; /* adjust border length here */
    background-repeat: no-repeat;
}



#portfolio {
    height: auto;
    min-width: 60vw;
    max-width: 80vw;
    margin-top: 30vh;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    gap: 1em;
    overflow: hidden;
}

#portfolio a {
    display: block;
    overflow: hidden;
    height: 100%;
    position: relative;
}

#portfolio img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out, filter 0.5s ease-in-out;
}

#portfolio a:hover img {
    transform: scale(1.05);
    filter: blur(2px) brightness(70%) sepia(30%);
}

.overlay {
    position: absolute;
    display: grid;
    bottom: 0;
    background: rgba(0, 0, 0, 0); /* Semi-transparent black background */
    color: #fbfdff; /* White text */
    width: 100%;
    text-align: center;
    padding-bottom: 1em;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.5s ease-in-out; /* Smooth transition */
}

#portfolio a:hover .overlay {
    opacity: 1; /* Show on hover */
}

.project-name {
    font-family: futura-pt, serif;
    font-weight: 600;
    font-size: clamp(25px, 1.8vw, 50px);
    max-width: 90%;
    padding-left: 0;
    display: flex;
    justify-self: center;
    align-self: center;
}

.read-more {
    /* Your styles for 'read more' here */
    font-family: futura-pt, sans-serif;
    margin-top: -0.1em;
    font-weight: 300;
    font-size: clamp(1em,2vw,2em);
    font-style: italic;
    max-width: 90%;
    display: flex;
    justify-self: center;
    align-self: center;
}


@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move only half of the slides before resetting */
        transform: translateX(-100VW);
    }
}

.slider {
    margin-top: 1em;
    width: 100vw;
    overflow: hidden;
    position: relative;
}

.slider::before,
.slider::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 20vw;
    z-index: 2;
    /*background: linear-gradient(to right, rgb(1, 1, 1) 0%,rgba(1, 1, 1, 0) 100%);
*/
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slider::before {
    left: 0;
    top: 0;
}

.slide-track {
    animation: scroll 40s linear infinite;
    display: flex;
    width:200vw; /* Updated width considering all slides */
}

.slide {
    width: 14.29vw;
    height: 15vh;
    align-items: center;
}

.slide img{
    max-height: 100%;
    max-width: 100%;
}

.slide-track:nth-child() {  
    animation: opacity calc(20-14.29*n) linear infinite;
}

#CTA {
    position: relative;
    /*width: 100vw;*/
    overflow: hidden;
    display: grid;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.CTA {
    margin-top: 20vh;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100vw;
}

.CTA p {
    font-size: 4vh;
    max-width: 90%;
}

.information {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100vw;
}

.information p{
    font-size: 2vh;
    margin-bottom: 0vh;
    margin-top: 0vh;
    max-width: 90%;
}

#CTAButton {
    margin-left: 1vw;
    margin-right:1vw;
    margin-top: 2vh;
    color: white;
    cursor: pointer;
    font-family: futura-pt, sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 1.5vh;
    padding: 1em;
    border: solid transparent;
    transition: all 0.5s ease-in-out, border 0.1s, padding 0.5s ease-in-out, transform 2s ease-in-out, font-size 0s linear;
    --b: 2px; /* border thickness */
    --c: #0000 25%,rgb(251, 253, 255) 0; /* define the color here */
    background:
      conic-gradient(from 90deg  at top    var(--b) left  var(--b),var(--c)) 0    0,
      conic-gradient(from 180deg at top    var(--b) right var(--b),var(--c)) 100% 0,
      conic-gradient(from 0deg   at bottom var(--b) left  var(--b),var(--c)) 0    100%,
      conic-gradient(from -90deg at bottom var(--b) right var(--b),var(--c)) 100% 100%;
    background-size: 1em 0.8em; /* adjust border length here */
    background-repeat: no-repeat;
  }


#CTAButton:hover {
    --b: 2px; /* border thickness */
    --c: #0000 25%,rgb(251, 253, 255) 0; /* define the color here */
    background:
      conic-gradient(from 90deg  at top    var(--b) left  var(--b),var(--c)) 0    0,
      conic-gradient(from 180deg at top    var(--b) right var(--b),var(--c)) 100% 0,
      conic-gradient(from 0deg   at bottom var(--b) left  var(--b),var(--c)) 0    100%,
      conic-gradient(from -90deg at bottom var(--b) right var(--b),var(--c)) 100% 100%;
    background-size: 0.6em 0.6em; /* adjust border length here */
    background-repeat: no-repeat;
    background-color: #fbfdff06;
}

#CTAButtonAbout {
    margin-top: 2vh;
}

#footer {
    height: 18vh;
    background-color: #0b0b0b9c;
    margin-top: 10vh;
    display: flex;  /* Added line to align children horizontally */
    bottom: 0;
    position: relative;
    width: 100%;
}

#footerContact {
    height: 18vh;
    background-color: #0b0b0b;
    margin-top: 34vh;
    display: flex;  /* Added line to align children horizontally */
}

.footerPP {
    height: 18vh;
    background-color: #0b0b0b;
    margin-top: 20vh;
    display: flex;  /* Added line to align children horizontally */
}

#chem4allfooter{
    margin-top: 36vh;
}

.footercontent {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;  /* Added line to allow children to grow and take available space */
}

.footercontent img {
    max-height: 100%;
}

.footercontent p {
    color: #949597;
    margin-bottom: 2vh;
    font-family: futura-pt, sans-serif;
    font-style: oblique;
    font-weight: 300;
    transition: opacity 2s ease-in-out;
}

.Dikdrukken {
    font-weight: 700;
    color: #fbfdff;
}





/*-----------About us pagina (staat ook nog verspreid)-----------*/



#MissionPhoto {
    display: flex;
    justify-content: center;
    margin-top: 8vh;
}

#MissionPhoto img {
    opacity: 75%
}

/*-----------The TEAM-----------*/


#team {
    max-height: 900px;
    max-width: 1500px;
    margin-top: 6vh;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2%;
    overflow: hidden;
}

.teamContainer {
    display: block;
    overflow: hidden;
    height: 100%;
    position: relative;
}

.teamContainer img {
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out, filter 0.5s ease-in-out;
    position: absolute;
}

.teamContainer:hover img {
    transform: scale(1.05);
}

.teamOverlay:hover {
    opacity: 1; /* Show on hover */
}

.teamOverlay {
    position: absolute;
    top: 0;
    color: #fbfdff; /* White text */
    width: 100%;
    height: 100%;
    text-align: center;
    /*padding: 1em;*/
    opacity: 0; /* Hidden by default */
    transition: opacity 0.5s ease-in-out; /* Smooth transition */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.member-name {
    font-family: futura-pt, serif;
    font-weight: 600;
    font-size: clamp(15px, 1.5vw, 25px);
    margin: 0;
}

.member-title {
    font-family: futura-pt, sans-serif;
    margin-top: -0.1em;
    padding-bottom: 12%;
    font-weight: 300;
    font-size: clamp(15px, 1.5vw, 25px);
    font-style: italic;
}

#someSpace {
    height: 9vh;
}
#someSpaceHome {
    height: 15vh;
}




/*----------Cases pagina----------*/




#someSpaceCases {
    height: 10vh;
}

#CPcases{
    height: auto;
}

#CPportfolio {
    height: auto;
    min-width: 60vw;
    max-width: 80vw;
    padding-top: 6vh;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    gap: 1em;
    overflow: hidden;
}


#CPportfolio a {
    display: block;
    overflow: hidden;
    height: 100%;
    position: relative;
}

#CPportfolio img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out, filter 0.5s ease-in-out;
}

#CPportfolio a:hover img {
    transform: scale(1.05);
    filter: blur(2px) brightness(70%) sepia(30%);
}

.CPoverlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0); /* Semi-transparent black background */
    color: #fbfdff; /* White text */
    width: 100%;
    text-align: center;
    padding-bottom: 1em;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.5s ease-in-out; /* Smooth transition */
    display: grid;
}

#CPportfolio a:hover .CPoverlay {
    opacity: 1; /* Show on hover */
}




/*----------Contact----------*/




#contactTitle {
    margin-left: 16vw;
    margin-bottom: 0;
    font-size: clamp(40px, 3.2vw, 70px);
    margin-top: 20vh;
    padding-top: 2vh;
}

#contactSubtitle {
    color: #fbfdff;
    font-family: futura-pt, sans-serif;
    font-style: italic;
    font-weight: 400;
    transition: opacity 2s ease-in-out;
    font-size: clamp(20px, 2vw, 50px);
    margin-bottom: 2vh;
    margin-top: -1vh;
    margin-left: 16vw;
}

#contactGegevens {
    margin-top: 0;
}

#gegevens {
    margin-left: 16.25vw;
}

#gegevens p {
    font-size: 1.7vh;
    color: #949597;
    margin-bottom: 0;
    margin-top: 2vh;
    font-family: futura-pt, sans-serif;
    font-style: oblique;
    font-weight: 500;
    transition: opacity 2s ease-in-out;
}



/*----------Projectpagina's----------*/




.PPFront h1 {
    font-size: clamp(40px, 3.2vw, 70px);
    color: #fbfdff;
}

.PPFront p {
    display: flex;
    justify-content: left;
    font-size: clamp(15px, 1.5vw, 25px); 
    text-align: left;
    color: #fbfdff;
    font-family: futura-pt, sans-serif;
    font-weight: 400;
    transition: opacity 2s ease-in-out;
    position: relative;
}

.PPVideoSection {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    padding-top: 0;
    width: 100%;
}

#PPVideoContainer {
    background-color: transparent;
    position: absolute;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
    display: none;
    left: 50vw;
    top: 50vh;
    transform: translate(-50%,-62%); 
}

#PPVideoContainer.visible {
    opacity: 1;
}

#PPVideoContainer iframe {
    aspect-ratio: 16 / 9; 
}


.PPButtonSection {
    height: 10vh;
    z-index: 999;
}

.PPButton {
    margin-left: 16vw;
    margin-top: 3vh;
    z-index: 999;
    position: relative;
}

#Spinning{
    margin-top: -12vh
}

#scheikunde {
    margin-top: 10vh
}


/*-----------BLOB------------*/




@keyframes opacity{
    from{
        opacity:0;
    }
    50%{
        opacity:1;
    }
    100%{
        opacity:0;
    }

}

@keyframes rotate {
    from {
      rotate: 0deg;
    }
    
    20% {
      scale: 1.1 1.0;
    }
    40% {
        scale: 1.2 1.2;
      }
    60% {
        scale: 1.0 1.1;
      }
    80% {
        scale: 1.1 1.2;
      }

    
    to {
      rotate: 360deg;
    }
  }

  @keyframes randomMovement {
    0% { margin-left: 50vw; margin-top: 50vh; }
    10% { margin-left: 40vw; margin-top: 60vh; }
    20% { margin-left: 60vw; margin-top: 40vh; }
    30% { margin-left: 30vw; margin-top: 70vh; }
    40% { margin-left: 70vw; margin-top: 30vh; }
    50% { margin-left: 50vw; margin-top: 50vh; }
    60% { margin-left: 25vw; margin-top: 75vh; }
    70% { margin-left: 75vw; margin-top: 25vh; }
    80% { margin-left: 40vw; margin-top: 60vh; }
    90% { margin-left: 60vw; margin-top: 40vh; }
    100% { margin-left: 50vw; margin-top: 50vh; }
}


  
  #blob {
    background-color: white;
    z-index: -2;
    background-attachment: fixed;
    height: 90vh;
    aspect-ratio: 1;
    position: fixed;
    translate: -50% -50%;
    border-radius: 50%;
    background: linear-gradient(to right, rgb(255, 128, 0), rgb(61, 205, 195)), radial-gradient(circle, rgb(255, 255, 255), rgba(255, 23, 0, 0));
    animation: rotate 20s infinite;
    opacity: 0.6;
    filter: blur(20vh);
  }
  
  #blur {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: -1;
    backdrop-filter: blur(80px);
  }

  @media (max-width: 767px) {
    #blob {
        height: 50vh;
        animation: rotate 20s infinite, randomMovement 60s infinite;
    }
    #blur{
        backdrop-filter: blur(20px);
    }
}
  


