@font-face {
    font-family: "Mojangles";
    src: url("/fonts/mojangles.otf") format("opentype");
}

/* the header */
/* the header */
/* the header */
/* the header */

.logo {
    max-width: 80px;
    height: 40px;
    margin-left: 7px;
}

header {
    height: 50px;
    /*background-color: #E05252;*/
    background-color: #B83232;
    margin-bottom: 20px;
    padding: 5px;
    margin: 0;
    /* make it sticky */
    position: sticky;
    top: 0;
    display: flex;
    /* align items vertically to the center, but not horizontally */
    align-items: center;
    z-index: 10;
}

.right-section {
    /* make it take the rest of the space */
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 10px;
    /* give children some space */
    gap: 15px;
    color: #e3e3e3;
}

.icon {
    width: 20px;
    height: 20px;
    /* set white icons to #e3e3e3 */
}

.nav-links {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.nav-links a, .nav-links a:visited {
    color: #e3e3e3;
    text-decoration: none;
    font-size: 1.1rem;
    margin-right: 10px;   
    transition: color 0.3s ease;
    padding-bottom: 3px; /* Add padding to make space for the border */
}

.nav-links a:hover {
    color: #ffffff; /* Change color on hover */
    border-bottom: 3px solid #ffffff; /* Use border instead of text-decoration */
    transition: color 0.3s ease;
}

.nav-links a:hover::after {
    color: #e3e3e3; /* Keep the pipe color unchanged on hover */
    text-decoration: none;
}

.nav-links a:not(:last-child)::after {
    content: "|";
    margin-left: 10px; /* Adjust spacing as needed */
    color: #e3e3e3; /* Match the color of the links */
}


/* body */
/* body */
/* body */
/* body */

body {
    background-color: #1b1b1c;
    padding: 0;
    margin: 0;
    font-family: "Mojangles", "Noto Sans";
    /* make all text white */
    color: white;
}

/* The slideshow */
/* The slideshow */
/* The slideshow */
/* The slideshow */

.slideshow-container {
    width: 100%;
    height: calc(100vh - 90px); /* Adjust height to account for header and some margin */
    position: relative;
    margin: auto;
    overflow: hidden; /* Hide the images that are not in view */
}

/* The container for all slides */
.slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out; /* Animation for the slide transition */
    will-change: transform; /* Optimize for performance */
}

/* Each individual slide */
.slide {
    min-width: 100%;
    height: 100%;
    object-fit: cover; /* Or 'cover', depending on desired image scaling */
    
    filter:blur(5px) brightness(0.7);
    transition: filter 0.2s ease-in-out;
}

.slide:hover {
    filter: blur(0) brightness(1);
    transition: filter 0.2s ease-in-out;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* The dots/bullets/indicators */
.dots-container {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 3px;
    background-color: transparent;
    border: 2px solid #bbb;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #bbb;
    border-color: #bbb;
}

/* The content card */
/* The content card */
/* The content card */
/* The content card */

.content-card {
    position: absolute;
    width: 22vw;
    /*height: 40vh;*/
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 5;
    padding: 20px;
    border: 4px solid #242424;
    border-radius: 30px;
    background-image: url('/images/planks.png');
    background-repeat: repeat;
    background-size: 40px 40px;
    /* make the pixel art look sharp */
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.content-title {
    width: 100%;
    height: auto;
}

.countdown {
    text-align: center;
    color: #ccc;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
}

.countdown-label {
    font-size: 0.8rem;
    margin-top: 5px;
}

.countdown-digits {
    display: flex;
}

.digit {
    display: inline-block;
    font-size: 1.5rem;
    padding: 10px 8px;
    margin: 0 2px;
    background-color: #111;
    border: 3px solid #3f3f3f;
    border-radius: 5px;
    min-width: 20px;
    text-align: center;
    box-sizing: border-box;
}

#countdown-long, #countdown-short {
    margin: 10px 0;
    display: flex;
    justify-content: center;
}