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

body {
    background-color: #ffffff;
    color: #000000;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 12vh 10vw;
}

.brand {
    display: block;
}

#home-cim {
    display: flex;
    flex-direction: column;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.2em;
    color: #000000;
    text-transform: uppercase;
    opacity: 1;
}

#home-cim span {
    display: block;
}

.content {
    flex-grow: 1;
}

footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 100px;
}

.head-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.head-nav a {
    color: #000000;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    padding: 0.2rem 0;
    transition: color 0.3s ease;
    font-weight: 700;
}

.head-nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1.5px;
    bottom: 0;
    left: 0;
    background-color: #000000;
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.head-nav a:hover {
    color: #333333;
}

.head-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.separator {
    color: #000000;
    font-weight: 700;
    user-select: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .container {
        padding: 6vh 6vw;
    }

    #home-cim {
        font-size: clamp(2.2rem, 11vw, 3.5rem);
        letter-spacing: 0.15em;
    }

    footer {
        justify-content: center;
        margin-bottom: 20px;
        width: 100%;
    }

    .head-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem 1.2rem;
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        width: 100%;
    }

    .separator {
        display: none;
    }
}


/* Slideshow Background Styles */
.slideshow-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background-color: #ffffff;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.slide.active {
    opacity: 1;
}

.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.45);
    z-index: 1;
}

/* Typewriter Blinking Cursor */
.first-name::after,
.last-name::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 0.9em;
    background-color: transparent;
    margin-left: 4px;
    vertical-align: middle;
}

.first-name.typing::after,
.last-name.typing::after {
    background-color: #000000;
    animation: cursorBlink 0.75s step-end infinite;
}

@keyframes cursorBlink {

    from,
    to {
        background-color: transparent
    }

    50% {
        background-color: #000000
    }
}

@media (max-height: 480px) {
    .container {
        padding: 4vh 6vw;
    }

    #home-cim {
        font-size: clamp(1.8rem, 8vh, 2.5rem);
    }

    footer {
        justify-content: center;
        margin-bottom: 15px;
    }
}