/* General Styles */
* {
    box-sizing: border-box; /* Ensures padding and borders are included in width and height calculations */
}

body {
    font-family: 'Helvetica Neue', Helvetica, sans-serif;
    cursor: none; /* Hide the default cursor */
    background-color: #f5f5f5;  /* off-white background */
    margin: 0;
    padding: 0;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}

/* Ensure custom cursor is applied when hovering over text, links, or interactive elements */
a, p, h1, h2, h3, h4, h5, h6, span {
    cursor: none; /* Hide the default cursor on these elements */
}



/* Style for the custom cursor dot */
.custom-cursor {
    position: absolute;
    width: 8px; /* Initial size of the cursor */
    height: 8px; 
    background-color: black; /* Black color */
    border-radius: 50%; /* Round shape */
    pointer-events: none; /* Ensure it doesn't block other elements */
    transform: translate(-50%, -50%); /* Center to the mouse pointer */
    z-index: 9999; /* Ensure it's always on top */
    transition: all 0.1s ease; /* Smooth transition */
}

/* Hollow cursor effect (transparent inside, black outline) */
.custom-cursor.hollow {
    background-color: transparent;
    border: 2px solid black;
}

/* Hover effect for links - hollow with red outline */
.custom-cursor.link-hover {
    width: 16px; /* Slightly larger */
    height: 16px;
    background-color: transparent;
    border: 2px solid #333; /* Red outline */
}

/* Style for the tiny red burst dots */
.burst-dot {
    position: absolute;
    width: 5px; /* Default size of the burst dot */
    height: 5px;
    background-color: #333; /* Red color */
    border-radius: 50%;
    pointer-events: none; /* Don't block other elements */
    animation: burst 2s forwards; /* Slow down the animation to 2 seconds */
}

/* Keyframes for the burst animation */
@keyframes burst {
    0% {
        opacity: 1;
        transform: scale(1) translate(0, 0); /* Start at the cursor position */
    }
    100% {
        opacity: 0;
        transform: scale(0) translate(var(--x), var(--y)); /* Move to a random position */
    }
}

header {
    display: flex;
    justify-content: space-between; /* Space out the logo and the clock */
    align-items: center; /* Vertically center the items */
    position: relative; /* Needed for absolute positioning of the clock */
    padding: 20px;
}

/* Logo Style */
.logo-link {
    display: inline-block; /* Makes sure the logo is inline */
}

.logo {
    width: 100px;  /* Adjust size of the logo */
    height: auto;
}

/* Style for the clock */
.clock {
    font-family: 'DS-Digital', monospace; /* Digital-like font */
    font-size: 18px; /* Smaller font size for the clock */
    color: #333; /* Clock color */
    text-align: center; /* Center the clock text */
    position: absolute; /* Position the clock absolutely */
    left: 50%; /* Center the clock horizontally */
    transform: translateX(-50%); /* Adjust the clock so it's perfectly centered */
    top: 50%; /* Center vertically */
    display: flex; /* To place time and date side by side */
    align-items: center; /* Vertically align time and date */
}

/* Style for the time */
.clock .time {
    font-size: 14px; /* Slightly larger font size for the time */
    margin-right: 10px;
}

/* Style for the date */
.clock .date {
    font-size: 14px; /* Smaller font size for the date */
}


/* Navigation Styles - Menu */
nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

nav a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    margin: 10px 0;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
}

nav a:hover {
    color: #000;
}


#image-center {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Spacing between images */
.image-spacing {
    height: 40px; /* Adjust space between images */
}

#image-center img {
    max-width: 90vw;
    max-height: 80vh;
    height: auto;
    box-shadow: 0 0 3px #ccccccec;
    display: block; /* Ensure each image appears on a new line */
    margin: 40px auto;
    margin-bottom: 10px;
}

img {
    max-width: 100vw;
    max-height: 100vh;
    width: auto;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Vimeo video styling */
.vimeovideo {
    width: 60%; /* Same size as the images */
    max-width: 800px;
    margin: 40px auto; /* Center the video */
    display: block; /* Ensure the video is a block element like the images */
    position: relative; /* Allows for proper iframe styling */
}

.vimeovideo iframe {
    width: 100%; /* Makes the iframe fill the parent div (which is 60% of the container) */
    height: 500px; /* Adjust the height to a reasonable size for the video */
    border: none; /* Remove iframe border */
}

/* Subtitle styling */
.image-subtitle {
    text-align: left;
    padding-left: 20%;
    font-size: 11px; /* Smaller font size for the subtitle */
    color: #7a7a7a; /* Light grey color for the text */
    margin-top: 45px; /* Space between image and subtitle */
    margin-bottom: 40px; /* Space between subtitle and next image */
}

/* Poetry Section Styles */
#poetry {
    padding: 40px 20px;
}

#texttitel {
    font-size: 1.5rem;
    text-align: left;
    margin-bottom: 80px;
}

.poetry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 10px;
}

.poetry-content p {
    text-indent: 30px; /* Indentation for each paragraph */
    text-align: left;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1rem;
}



/* About Section Styles */
#about {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100vw;
    max-height: 100vh;
    height: auto;
    box-shadow: 0 0 3px #ccccccec;
    display: block; /* Ensure each image appears on a new line */
    margin: 40px auto;
    margin-bottom: 10px;
    padding: 20px;
}

.about-image img {
    width: 100%;
    max-width: 300px; /* Adjust the image size */
    height: auto;
}

.about-text {
    flex: 2;
    padding: 20px;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.aboutlinks {
    text-align: right; /* Aligns the links to the right */
}

.aboutlinks a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px; /* Adds some space between the links */
}

.aboutlinks a:hover {
    color: #000;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    background-color: #f5f5f5;
    color: #333;
    width: 100%;
}
footer a {
    color: #333;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments for mobile devices */
@media (max-width: 600px) {
    #image-center img,
    img {
        max-width: 98vw;
        max-height: 60vh;
        margin: 10px auto;
        box-shadow: none;
    }
    .image-subtitle {
        padding-left: 5vw;
        font-size: 10px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .image-spacing {
        height: 20px;
    }
    body {
        padding: 0 2vw;
    }
}
