
@keyframes scale {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.3);
    }
}

@keyframes scale2 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

@keyframes moveUpDown {
    0% {
        transform: translateY(3px);  /* Start position */
    }
    100% {
        transform: translateY(2px);  /* End position (back to original) */
    }
}

@keyframes moveUpDownHover {
    0% {
        transform: translateY(3px) scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: translateY(2px) scale(1);
    }
}

@keyframes rotate {
    0% {   
        transform: translate(-50%, -50%) rotate(0deg);  /* Start position */
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);  /* End position (back to original) */
    }
}

@keyframes rotate2 {
    0% {   
        transform: translate(-50%, -50%) rotate(360deg);  /* Start position */
    }
    100% {
        transform: translate(-50%, -50%) rotate(0deg);  /* End position (back to original) */
    }
}

@keyframes rotate3 {
    0% {   
        transform: rotate(0deg);  /* Start position */
    }
    50% {
        transform: rotate(20deg);  /* End position (back to original) */
    }
    100% {
        transform: rotate(0deg);  /* End position (back to original) */
    }
}

@keyframes rotate4 {
    0% {   
        transform: rotate(-10deg);  /* Start position */
    }
    50% {
        transform: rotate(10deg);  /* End position (back to original) */
    }
    100% {
        transform: rotate(-10deg);  /* End position (back to original) */
    }
}


#svg-container {
    position: relative;
    z-index: 2;  /* Ensure trucks are in front */
}

body{
    background-color: rgb(26, 53, 94);
    overflow: hidden;
}

#titel{
    position: absolute;         
    top: 5%;                    
    left: 50%;                  
    transform: translateX(-50%);
    transform-origin: center;    
    width: 400px;             
    text-align: center;  
    z-index: 1;
}

.lijnen{
    position: absolute;  
    opacity: 0.2;        
    top: 50%;                    
    left: 50%;                  
    transform: translate(-50%,-50%); /* Center the element */
    transform-origin: center; 
    z-index: 0;
}

#lijn1{
    width: 40%;
    animation: rotate 18s linear infinite; /* Animation settings */
    z-index: 0;
}
#lijn2{
    width: 60%;
    animation: rotate2 25s linear infinite; /* Animation settings */
    z-index: 0;
}
#lijn3{
    width: 80%;
    animation: rotate 10s linear infinite; /* Animation settings */
    z-index: 0;
}
#lijn4{
    width: 100%;
    animation: rotate2 23s linear infinite; /* Animation settings */
    z-index: 0;
}


#truck1{
    animation: moveUpDown 0.2s ease-in-out infinite;
}
#truck2{
    animation: moveUpDown 0.2s ease-in-out infinite;
}
#truck3{
    animation: moveUpDown 0.2s ease-in-out infinite;
}

.hover-text-orange, .hover-text-blue, .hover-text-green {
    font-size: 30px;
    text-anchor: middle;
    fill: rgb(255, 255, 255); /* Set text color to white */
    font-family: Arial, sans-serif;
    font-weight: bold;
    visibility: hidden; /* Initially hidden */
    background-color: aqua;
    z-index: 2;
}



#truck1Ghost{
    z-index: -1;
}
#truck2Ghost{
    z-index: -1;
}
#truck3Ghost{
    z-index: -1;
}


#truck3:hover ~ .hover-text-blue{
    visibility: visible;
}

#truck1:hover ~ .hover-text-orange {
    visibility: visible;
}

#truck2:hover ~ .hover-text-green {
    visibility: visible;
}


.schooltext {
    position: absolute;
    top: 20%;
    left: 35%;
    font-size: 30px;
    text-anchor: middle;
    color: rgb(255, 255, 255); /* Set text color to white */
    font-family: Arial, sans-serif;
    font-weight: bold;
    transform: rotate(45deg);
}


.container-button {
    position: absolute;
    display: flex;
    flex-direction: column;
    /* width: 250px; */
    gap: 40px;
    left: 1%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}


button{
    animation: rotate3 10s ease-in-out infinite;
    height: 100px;
    background-color: transparent;
    border: none;
    width: 250px;
}


.button2020{
    margin-left: 150px;
}
.button2021{
    margin-left: 75px;
}
.button2022{
    margin-left: 0px;
}
.button2023{
    margin-left: 75px;
}
.button2024{
    margin-left: 150px;
}



#aardebol-startpagina{
    height: 90vh;
    width: 90vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.cover{
    height: 100vh;
    width: 100vw;
    position: absolute;
    background-color: rgb(26, 53, 94, 0.8);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}
.cover p{
    font-family: "Bebas Neue", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 40px;
    color: white;
    opacity: 1;
    width: 90%;
    text-align: center;
    margin: 0 auto;
}
a{
    text-decoration: none;    
}
.cover a p{
    /* margin-top: 20px; */
    width: 100%;
    background-color: rgb(28, 86, 172);
    padding: 10px;
    border-radius: 10px;
    font-size: 30px;
}
.cover a p:hover{
    width: 100%;
    background-color: rgb(6, 64, 150);
    /* padding: 10px; */
    border-radius: 10px;
}


#ufo {
    animation: rotate4 10s ease-in-out infinite;
    width: 70%;
    z-index: 4;
}


#beam {
    position: absolute;
    gap: 40px;
    right: 30%;
    top: 65%;
    width: 70%;
    z-index: 3;
}

.ufo {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 40px;
    right: 0%;
    top: 20%;
    width: 30%;
    transform: translateY(-50%);
    z-index: 5;
}