@keyframes cursorAnimation {
    0% { cursor: url(../Img/rotstar/rotstar-0.png), auto; }
    16% { cursor: url(../Img/rotstar/rotstar-1.png), auto; }
    32% { cursor: url(../Img/rotstar/rotstar-2.png), auto; }
    48% { cursor: url(../Img/rotstar/rotstar-3.png), auto; }
    64% { cursor: url(../Img/rotstar/rotstar-4.png), auto; }
    80% { cursor: url(../Img/rotstar/rotstar-5.png), auto; }
    100% { cursor: url(../Img/rotstar/rotstar-0.png), auto; }
}

@-webkit-keyframes cursorAnimation {
    0% { cursor: url(../Img/rotstar/rotstar-0.png), auto; }
    16% { cursor: url(../Img/rotstar/rotstar-1.png), auto; }
    32% { cursor: url(../Img/rotstar/rotstar-2.png), auto; }
    48% { cursor: url(../Img/rotstar/rotstar-3.png), auto; }
    64% { cursor: url(../Img/rotstar/rotstar-4.png), auto; }
    80% { cursor: url(../Img/rotstar/rotstar-5.png), auto; }
    100% { cursor: url(../Img/rotstar/rotstar-0.png), auto; }
}

/* Algemene instellingen */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    animation: cursorAnimation 0.3s infinite;
    -webkit-animation: cursorAnimation 0.3s infinite;
	cursor: url(../Img/rotstar/rotstar-3.png), auto;
}

body {
    font-family: monospace;
    font-size: large;
    background-color: #ffe4e1;
    background-image: url(../Img/spacebg.gif);
    color: #000;
    padding: 0;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}


footer {
    background-color: transparent;
    color: white;
    padding: 10px;
    width: 80%;
    margin: 0 auto;
    position: relative;
    margin-top: auto; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #b700ff;
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
    z-index: -1;
}

footer p {
    text-align: center;
    font-size: 1rem;
    margin-top: 10px;
    color: white;
}

footer marquee {
    width: 100%;
    margin-bottom: 10px;
}

a:hover {
	cursor: url("../Img/Goos.png")50 30, auto;
}

.small{
    font-size: 0.6rem;
    display: inline-block;
}

/* Header */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#handstogetherleft {
    transform-origin: 50% top;
    animation: animateflap 1s ease-in-out infinite;
    width: 100px;
    position: absolute;
    left: -20px; 
    top: 50px; 
    margin-top: 15px;
}

#handstogetherright {
    transform-origin: 50% top;
    animation: animateflap2 1s ease-in-out infinite;
    width: 100px;
    position: absolute;
    right: -20px;
    top: 50px; 
    margin-top: 15px;
}

@keyframes animateflap {
    0% {
        transform: translateY(0px) rotate(105deg) scaleX(-1);
    }

    50% { 
        transform: translateY(-10px) rotate(75deg) scaleX(-1);
    }
    100% {
        transform: translateY(0px) rotate(105deg) scaleX(-1);
    }
}
@keyframes animateflap2 {
    0% {
        transform: translateY(0px) rotate(75deg) scaleY(-1) scaleX(-1);
    }

    50% {
        transform: translateY(-10px) rotate(105deg) scaleY(-1) scaleX(-1);
    }
    100% {
        transform: translateY(0px) rotate(75deg) scaleY(-1) scaleX(-1);
    }
}


.explosion {
    max-width: 100px;
    height: auto;
    gap: 10px;
}

.header a img {
    max-width: 200px;
    height: auto;
    margin: 15px 0px;
    animation: animate 1s ease-in-out infinite;
    -webkit-animation: animate 1s ease-in-out infinite;
    z-index: 999;
    border-radius: 5px;
}

marquee {
    color: #ffffff;
    padding-bottom: 5px;
    padding-top: 5px;
}

.marqueefirst {
    width: 80%;
}

.marqueelogos img {
    display: inline-block;
    vertical-align: middle;
    max-height: 60px; /* Adjust this value based on your needs */
    max-width: 100px;
}

/* Navigatie */
.navbar {
    background-color: #b700ff;
    padding: 10px;
    width: 80%;
    padding: 10px 0 13px 0;
    margin: 0 auto;
    font-size: 1.2rem;
    border-bottom-left-radius: 45%;
    border-bottom-right-radius: 45%;
    z-index: auto;
}


.navbar a {
    color: #ffff00;
    text-decoration: none;
    padding: 0 10px;
    position: relative;
    z-index: 2;
    
}

.navbar a:hover {
    text-decoration: underline;
}

/* Secties */
.section {
    padding: 20px;
    width: 50%;
    margin: 1.5em auto;
    border: 3px dotted #b700ff;
    background: #fffb00cb;
    border-radius: 10px;
}

.sectioncircle {
    padding: 20px 20px 30px 20px;
    width: 50%;
    margin: 1.5em auto;
    border: 3px ridge #b700ff;
    background: #fffb00cb;
    border-radius: 50%;
    rotate: -1.5deg;
}

.stansection {
    padding: 20px;
    width: 50%;
    margin: 1.5em auto;
    border: 3px dotted #b700ff;
    background: #fffb00cb;
    border-radius: 10px;
    rotate: 0.5deg;
}

.sectionportfolio {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    width: 65%;
    margin: 1.5em auto;
    border: 3px dotted #b700ff;
    background: #fffb00cb;
    border-radius: 10px;
}

.NavP {
    position: relative;
    z-index: 2;
}

.handsection {
    padding: 20px;
    width: 30%;
    margin: 1.5em auto;
    border: 3px dotted #b700ff;
    background: #fffb00cb;
    border-radius: 10px;
}

.birdsection {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    margin: auto 0;
}

.freetimecontainer {
    display: flex;
    flex-direction: column;
    width: 85%;
    gap: 10px;
    margin: 40px auto;
    padding: 20px;
}

.freetimesection-left,
.freetimesection-right {
    width: 300px;
    padding: 60px;
    border: 3px dotted #b700ff;
    background: #fffb00cb;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1px;
}

.freetimesection-left {
    align-self: flex-start;
    margin-left: 10%;
}

.freetimesection-right {
    align-self: flex-end;
    margin-right: 10%;
}

.freetimesection-left p,
.freetimesection-right p {
    text-align: center;
    margin-top: auto;
    padding-top: 5px;
    padding-bottom: 10px;
    margin-bottom: -30px;
    width: 100%;
}

.freetimevid {
    width: 300px;
    max-height: 300px;
    border: 0px solid #b700ff;
    border-radius: 40px;
}

.freetimejpeg {
    width:300px;
    height:300px;
    border-radius: 45px;
}

/* Video Galerij */
.video-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.marquee-container {
    width: 100%;
    margin-bottom: 20px;
}
.video-items-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.video-item {
    border: 2px solid #b700ff;
    background-color: #ffe4e1;
    position: relative;
    overflow: hidden;
    max-width: auto;
    padding: 10px;
    text-align: center;
    border-radius: 10px;
}

.video-item-img {
    position: absolute;
    max-width: 45px;
    bottom: 5px;
    right: 5px;
    transform: scaleX(-1);
}

.video-container {
    position: relative;
    width: fit-content;
    margin: 1.5em auto;
}

.pointer {
    position: absolute;
    right: -140px;
    top: 25%;
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 10px;
}

video {
    width: 100%;
    border: 2px solid #000;
}

.verticaal{
    Width: 432px;
    Height: 768px;
}

.horizontaal{
    Width: 768px;
    Height: 432px;
}

.eenbijeen{
    Width: 400px;
    Height: 400px;
}

.thumbnail {
    width: 250px;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
}

.thumbnail:hover {
    animation: animate 1s ease-in-out infinite;
    -webkit-animation: animate 1s ease-in-out infinite;
    cursor: url("../Img/Goos.png")50 30, auto;
}

.Fixedbird {
    position: fixed;
    bottom: -10px;
    Left: -20px;
    z-index: 1;
}

.button {
    Position: fixed;
    bottom: 0px;
    right: 0px;
    z-index: 1;
    border-top-color: #9900ff;
    border-left-color:#9900ff;
    border-top-left-radius: 45%;
    background-color: #fffb00cb;
    font-family: monospace;
}

button:hover {
	cursor: url("../Img/Goos.png")50 30, auto;
}

.hue {
    animation: colorChange 1.2s linear infinite
}

@keyframes colorChange {
    0% {
        filter: hue-rotate(0deg)
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

.wavy {
    position: relative;
}

.wavy span {
    position: relative;
    display: inline-block;
    color: #9900ff;
    font-weight: bold;
    animation: animate 1.7s ease-in-out infinite;
    animation-delay: calc(0.1s * var(--i));
}

@keyframes animate {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


 /* Pop-up venster styling */
 .popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    max-width: 90vw; /* Responsive max-width */
    height: auto;
    transform: translate(-50%, -50%);
    border: 2px solid #000;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    overflow: auto;
    white-space: normal; /* Change from nowrap to normal */
}

.popup.vertical-content {
    width: 462px; /* 432px + 30px padding */
}

.popup.horizontal-content {
    width: 798px; /* 768px + 30px padding */
}

.popup-header {
    background-color: #b700ff;
    color: #fff;
    padding-bottom: 12px;
    padding-right: 10px;
    padding-left: 15px;
    padding-top: 8px;
    font-weight: bold;
    text-align: left;
}
.popup-close {
    float: right;
    cursor: pointer;
    border: ridge 3px #ffff00;
    border-radius: 50%;
    background-color: #dddd00;
    color: #ff0000;
    padding: 0 5px 1px 5px;
}

.popup-content {
    padding: 15px;
    background-color: aliceblue;
    background-size: contain;
    width: 100%;
    box-sizing: border-box;
}

.popup-content p{
    text-align: left;
}

.invisible-table {
    border-collapse: collapse;
    margin-bottom: 15px;
    width: 100%;
    table-layout: fixed;
}

.invisible-table td {
    padding: 3px 0;
    text-align: left;
    max-width: 600px;
    white-space: normal; 
    overflow-wrap: break-word; 
    word-wrap: break-word; 
    word-break: break-word;
    vertical-align: top;
}

.invisible-table .label {
    width: 80px;
    font-weight: bold;
    white-space: nowrap; 
    padding-top: 3px;
}

.invisible-table .value {
    padding-left: 40px;
    padding-top: 3px;
}


/* IDs */

#indexvideo {
    Width: 432px;
    Height: 768px;
    display: block;
    border: solid 5px rgb(255, 238, 0);
    border-radius: 10px;
}

#hoofd:hover {
    -webkit-animation: rotate 1s linear infinite;
    animation: rotate 1s linear infinite;
}

#handsfront {
    position: absolute;
    z-index: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    z-index: 0; 
}

#handsbackleft {
    position: fixed;
    bottom: -10px;
    left: -200px;
    width: 40%;
    transform: rotate(45deg);
}

#handsbackright {
    position: fixed;
    bottom: -10px;
    right: -200px;
    width: 40%;
    transform: rotate(-45deg);
}

#thumbup1, #thumbup2, #thumbup3, #thumbup4 {
    position: absolute;
    width: 35%;
    right: 0;
    bottom: 30%;
    animation: animate 1s ease-in-out infinite;
}

#thumbup2 {
    bottom: 60%;
}

#thumbup3 {
    bottom: 90%;
}

#thumbup4 {
    bottom: 0%;
}

#thumbup5, #thumbup6, #thumbup7 {
    position: absolute;
    width: 35%;
    left: 0;
    bottom: 15%;
    transform: scaleX(-1);
    animation: animate 1s ease-in-out infinite;
}

#thumbup6 {
    bottom: 45%;
}

#thumbup7 {
    bottom: 75%;
}

#koelkastkast {
    width: 250px;
    height: 350px;
    background-image: url(../Img/koelkastkastdicht.jpg);
    background-size: cover;
    background-position: center;
}

#koelkastkast:hover {
    background-image: url(../Img/koelkastkastopen.jpg);
    width: 250px;
    height: 350px;
}



.Birdbody {
    background-image: url(../Img/todaybird.gif);
    background-color: rgb(255, 208, 0);
    animation: Rotate 12s linear infinite;
}

.navbarbird {
    background-color: #b700ff;
    padding: 10px;
    width: 80%;
    margin: 0 auto;
    font-size: 1.2rem;
    border-radius: 54%;
    z-index: 0;
    animation: Rotate 6s linear infinite;
}

@keyframes Rotate {
    0% {
        transform: rotate(0deg) scale(0.5);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(0.5);
    }
}
@keyframes CounterRotate {
    0% {
        transform: rotate(0deg) scale(0.5);
    }

    50% {
        transform: rotate(-180deg) scale(1, 0.8);
    }
    100% {
        transform: rotate(-360deg) scale(0.5);
    }
}

.navbarbird a {
    color: #ffff00;
    text-decoration: none;
    padding: 0 10px;
    position: relative;
    z-index: 2;
}

.navbarbird a:hover {
        text-decoration: underline;
        animation: Rotate 3s linear infinite;
}

.explosionbird {
    max-width: 100px;
    height: auto;
    gap: 10px;
    animation: Rotate 3s linear infinite;
}

.headerbird a img {
    max-width: 200px;
    height: auto;
    margin: 15px 0px;
    animation: animate 1s ease-in-out infinite;
    -webkit-animation: animate 1s ease-in-out infinite;
    z-index: 999;
    border-radius: 5px;
    animation: Rotate 3s linear infinite;
}

.birdsection img {
    max-width: 800px;
    width: 100%;
    height: auto;
    animation: CounterRotate 12s linear infinite;

}

.footerbird {
    border-radius: 58%;
    animation: Rotate 10s linear infinite;
}




















/* Responsive Design */
@media screen and (max-width : 826px ){
    body {
        font-size: medium;
    }
    
    .header h1 {
        flex-wrap: nowrap;
        gap: 5px;
    }

    .explosion{
        max-width: 75px;
        height: auto;
    }

    #handstogetherleft, #handstogetherright {
        max-width: 75px;
        top: 38px;
        height: auto;
    }
    
    .header a img {
        max-width: 150px;
        height: auto;
    }

    .section {
        width: 90%;
        padding: 10px 10px 10px 10px;
    }

    .sectioncircle, .stansection {
        width: 90%;
        padding: 10px 10px 30px 10px;
    }

    .video-item-img {
        max-width: 20%;
        bottom: 1px;
        right: -3px;
    }

    .navbar {
        width: 100%;
        border-radius: 0;
        z-index: 999;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .navbar a {
        display: inline-block;
    }
    
    .freetimecontainer {
        width: 95%;
        padding: 10px;
    }

    .freetimesection-left,
    .freetimesection-right {
        width: fit-content;
        padding: 40px;
    }

    .freetimesection-left {
        margin-left: 5%;
    }

    .freetimesection-right {
        margin-right: 5%;
    }

    .freetimevid {
        max-width: 200px;
        max-height: 200px;
        border-radius: 20px;
    }

    .freetimejpeg {
        max-width: 200px;
        max-height: 200px;
    }

    
    #koelkastkast {
        max-width: 200px;
        max-height: 250px;
    }
    

    .freetimesection-left p,
    .freetimesection-right p {
        font-size: 0.8rem;
        margin-bottom: -15px;
    }

    .video-item {
        width: 40%;
        margin: 5px 0;
        padding: 1%;
    }

    .video-container {
        width: 100%;
        height: auto;
    }

    #indexvideo {
        width: 70%;
        height: auto;
        max-width: 432px;
        max-height: 90vh;
        margin: 0 auto;
        aspect-ratio: 9/16;
        object-fit: contain;
    }

    .popup {
        width: 70%;
        height: auto;
        max-height: 90vh;
        white-space: wrap;
    }

    .verticaal {
        width: 90%;
        height: auto;
        max-width: 432px;
        max-height: 90vh;
        margin: 0 auto;
        aspect-ratio: 9/16;
        object-fit: contain;
    }
    
    .horizontaal {
        width: 90%;
        height: auto;
        max-width: 768px;
        max-height: 90vh;
        margin: 0 auto;
        aspect-ratio: 16/9;
        object-fit: cover;
    }

    .eenbijeen {
        width: 90%;
        height: auto;
        max-width: 400px;
        max-height: 90vh;
        margin: 0 auto;
        aspect-ratio: 1/1;
        object-fit: cover;
    }

    footer {
        width: 90%;
        border-radius: 0;
    }

    .marqueefirst {
        width: 100%;
    }

    .thumbnail {
        width: 100%;
        max-width: 250px;
        height: auto;
    }
}

/* Additional adjustments for very small screens */
@media screen and (max-width: 480px) {
    .navbar {
        font-size: 1rem;
        padding: 10px;
    }

    .navbar a {
        padding: 0 5px;
    }
       /* Header adjustments */
       .header h1 {
        flex-wrap: nowrap;
        gap: 5px;
    }

    .explosion{
        max-width: 50px;
        height: auto;
    }

    #handstogetherleft, #handstogetherright {
        max-width: 45px;
        top: 25px;
        height: auto;
    }
    
    #handstogetherleft{
        left: -10px;
    }
    #handstogetherright{
        right: -10px;
    }
    .header a img {
        max-width: 100px;
        height: auto;
    }
}





@supports (-webkit-touch-callout: none) {
	.cursor {
		-webkit-animation: cursorAnimation 0.3s infinite;
        animation: cursorAnimation 0.3s infinite;
	}
}
