
/* GENERAL */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
}

body {
    min-height: 100vh;
    font-family: Arial, sans-serif;
    color: #20242a;
    background: #dceefa;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

::-webkit-scrollbar {
    display: none;
    width: 0;
}


/* BACKGROUND */

.background {
    position: fixed;
    inset: 0;
    background: url("images/background.jpg") center / cover no-repeat;
    opacity: 0.7;
    z-index: -1;
    pointer-events: none;
}


/* NAVIGATION */

.navigation {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 13px 28px;

    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    z-index: 100;
}

.navigation nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navigation a {
    color: #20242a;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s ease;
}

.navigation a:hover {
    opacity: 0.5;
}


/* HERO VIDEO */

.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-video {
    display: block;
    width: 75%;
    max-width: 1100px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    pointer-events: none;
}


/* CONTENT SECTIONS */

.content-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 6vw, 5rem);
}


/* CLOUD SCROLL PILL */

#scrollbar {
    position: fixed;
    top: 0;
    right: 15px;
    width: 100px;
    height: 100vh;
    z-index: 999;
    pointer-events: none;
}

#scroll-thumb {
    position: absolute;
    top: 10px;
    right: -20px;
    width: 85px;
    height: 100px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    background: transparent;
    overflow: visible;

    transition: width 0.5s ease, height 0.5s ease;
    pointer-events: auto;
}

/* Cloud image only */
#scroll-thumb::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("images/cloud scroll.png");
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;

    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

/* Keep clock and text above the cloud */
.scroll-content {
    position: relative;
    z-index: 1;
}

#scroll-thumb:hover {
    width: 175px;
    height: 225px;
}


/* PILL CONTENT */

.scroll-content {
    width: 90%;
    height: 90%;
    padding: 25px ;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;

    color: #20242a;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

#scroll-thumb:hover .scroll-content {
    opacity: 1;
}


/* ANALOGUE CLOCK */

.clock-icon {
    width: 23px;
    height: 23px;
}

.clock-icon svg {
    width: 100%;
    height: 100%;
}

.clock-icon circle,
.clock-icon line {
    fill: none;
    stroke: #20242a;
    stroke-width: 2;
    stroke-linecap: round;
}


/* SECTION NAME */

.section-label {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 800;
    writing-mode: vertical-lr;
    text-orientation: upright;
    letter-spacing: -5px;
}


/* DIGITAL TIME */

.time-label {
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
}


/* MOBILE */

@media (max-width: 600px) {

    .navigation {
        top: 18px;
        padding: 12px 18px;
    }

    .navigation nav {
        gap: 18px;
    }

    .navigation a {
        font-size: 12px;
    }

    .hero-video {
        width: 90%;
    }

    #scrollbar {
        right: 5px;
    }
}
