@font-face {
    font-family: 'TJFLucitraVF';
    src: url('assets/font/TJFLucitraVF.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

:root {
    --bg-color: #050212;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --font-main: 'TJFLucitraVF', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 3rem 5rem;
    position: relative;
    z-index: 1;
}

.hero {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
}

.text-content {
    z-index: 10;
}

.main-title {
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    opacity: 0;
    animation: blurIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.sub-title {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 400;
    opacity: 0;
    animation: blurIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.2s;
}

.sub-title i {
    font-style: normal;
    display: inline-block;
    transform: skewX(-15deg);
}

.visual-content {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flower-wrapper {
    position: fixed;
    top: 10vh;
    left: 20vw;
    width: 140vw;
    height: auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    z-index: 0;
    pointer-events: none;
    animation: drift 30s ease-in-out infinite;
    isolation: isolate;
}

.flower-graphic {
    width: 100%;
    height: auto;
    opacity: 0.8;
    overflow: visible !important;
    will-change: transform, opacity;
}

.flower-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    mix-blend-mode: overlay;
    opacity: 0.3;
    -webkit-mask-image: url('assets/svg/oqua.svg');
    mask-image: url('assets/svg/oqua.svg');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

@keyframes drift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-3%, -2%) scale(1.05);
    }

    66% {
        transform: translate(2%, -5%) scale(0.95);
    }
}

@keyframes blurIn {
    0% {
        opacity: 0;
        filter: blur(20px);
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

.footer {
    padding: 2rem 0;
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    height: clamp(1.5rem, 3vw, 2rem);
    width: auto;
    opacity: 0;
    animation: blurIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.4s;
}

.by-azena {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    opacity: 0;
    animation: blurIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.5s;
}

@media (max-width: 900px) {
    .container {
        padding: 2rem;
        overflow-y: auto;
        height: auto;
    }

    body {
        overflow-y: auto;
    }

    .hero {
        padding-top: 2rem;
        display: flex;
        justify-content: center;
        text-align: left;
    }

    .text-content {
        margin-bottom: 3rem;
        width: 100%;
    }

    .flower-wrapper {
        position: fixed;
        top: 60vh;
        left: 40vw;
        width: 150vw;
    }

}

@media (max-width: 600px) {
    .main-title {
        font-size: 3rem;
    }

    .logo-container {
        flex-direction: row;
        align-items: center;
    }
}