@font-face {
    font-family: 'HomeVideo';
    src: url('../fonts/home-video/HomeVideo-BLG6G.ttf') format('truetype');
}

@font-face {
    font-family: 'HomeVideoBold';
    src: url('../fonts/home-video/HomeVideoBold-R90Dv.ttf') format('truetype');
}

@font-face {
    font-family: 'FunnelDisplay';
    src: url('../fonts/funnel-display/static/FunnelDisplay-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'FunnelDisplay';
    src: url('../fonts/funnel-display/static/FunnelDisplay-Bold.ttf') format('truetype');
    font-weight: bold;
}

/* Hero Content */
.hero-content {
    min-height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    flex-direction: column;
    overflow-y: visible;
    max-width: 100vw;
    overflow-x: hidden;
}

.hero-content p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Typewriter */
.typewriter {
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Typewriter H3 */
.typewriter-h3 {
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
}

/* Logo Container */
.logo-container {
    transition: opacity 0.8s ease-in-out;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo-container .hero-image {
    max-height: 30px;
    width: auto;
    object-fit: contain;
}

.logo-container .typewriter-h3 {
    font-size: 1.35rem;
    font-family: 'HomeVideo', Arial, sans-serif;
    margin: 0;
    line-height: 1;
}

/* Responsive Design */
@media (max-width: 860px) {
    body {
        height: 100vh;
        max-height: 100vh;
        overflow: hidden;
    }
    
    html {
        height: 100vh;
        max-height: 100vh;
        overflow: hidden;
    }
    
    .hero-content {
        min-height: 100vh;
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 1rem;
        max-width: 100%;
        width: 100%;
        margin-bottom: 0.5rem;
        box-sizing: border-box;
        transform: translateY(-7vh);
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        word-spacing: -0.3em;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin: 0.8rem 0;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Make logo container 20% smaller on mobile */
    .logo-container {
        max-width: 100%;
        flex-wrap: wrap;
    }
    
    .logo-container .hero-image {
        max-height: 24px;
        max-width: 100%;
    }
    
    .logo-container .typewriter-h3 {
        font-size: 1.08rem;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

@media (max-width: 860px) and (min-width: 571px) {
    .hero-content p {
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 570px) {
    .hero-content h1 {
        font-size: 1.5rem;
        word-spacing: -0.3em;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .hero-content p {
        font-size: 0.8rem;
        margin: 0.6rem 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.3rem;
        word-spacing: -0.3em;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
    }
    
    .hero-content p {
        font-size: 0.75rem;
        margin: 0.5rem 0;
    }
}

