body {
    font-family: "Quicksand", sans-serif;
    color: #FFF;
    background-color: #000;
    font-size: 18px;
    line-height: 24px;
}

.site-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    background-image: url('/assets/images/wall-texture.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: .5;
    transition: all .3s ease;
}
.site-background.on-hero {
    opacity: 1;
}

.wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    z-index: 2;
}

.font-serif {
    font-family: "Bodoni Moda", serif;
}

.font-stencil {
    font-family: "Stick No Bills", sans-serif;
}

/** Nav **/
nav.navbar {
    background-color: rgba(0,0,0,.3);
    max-width: 100vw;
}
nav.navbar:hover {
    background-color: rgba(0,0,0,.8);
}
nav.navbar a.navbar-brand img {
    height: 72px;
    filter: drop-shadow(0 0 5px #000);
}
@media (max-width: 576px) {
    nav.navbar ul.navbar-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
    }
}
nav.navbar .nav-link {
    color: #fff;
    text-shadow: 0 0 5px rgba(0,0,0,.3);
}
nav.navbar .nav-link:hover {
    text-decoration: underline;
}
nav.navbar .nav-link img {
    display: block;
}
nav.navbar .nav-link img.is-svg {
    width: 24px;
    height: 24px;
    filter: invert(1) brightness(1);
}
nav.navbar .navbar-toggler {
    padding: 8px;
    border: 0;
    background-color: rgba(255,255,255,.1);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
}
@media (max-width: 640px) {
    .hero {
        padding-top: 100px;
    }
}
.hero .backgrounds {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 1920px;
    aspect-ratio: 16 / 10;
    z-index: 1;
    margin-inline: auto;
}
.hero .backgrounds>.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hero .background.logo {
    background-image: url(/assets/images/hero/logo-stencil.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero .background.frames {
    background-image: url(/assets/images/hero/pictures.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
@media (max-width: 640px) {
    .hero .background.frames {
        background-position: center;
    }
}

/** Last video */
section.last-video {
    padding-bottom: 100px;
}
section.last-video .frame {
    width: 80%;
    aspect-ratio: 1037 / 881;
    position: relative;
    margin-inline: auto;
}
section.last-video .frame-image {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    filter: drop-shadow(0 0 60px #451a00) drop-shadow(2px 4px 6px black);
}
section.last-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 74%;
    aspect-ratio: 76 / 61;
    background-color: #000;
    transform: translate(-50%, -51%);
    z-index: 1;
}

/**
 * Typewriting section
 */
.typewriting-section {
    padding-block: 100px;
}
.hero-title {
    font-size: 4rem;
    line-height: 4rem;
    margin: 0;
    letter-spacing: -2px;
}
.typing-effect-wrapper {
    font-size: 2rem;
    min-height: 1.5rem;
}
.cursor {
    display: inline-block;
    width: 2px;
    height: 32px;
    animation: blink 1s infinite;
    margin-left: 5px;
    position: relative;
    top: 5px;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/** manifiesto */
#manifiesto {
    width: 100%;
    overflow: hidden;
}
@media (max-width: 576px) {
    #manifiesto {
        padding-inline: 1rem;
    }
}
#manifiesto ol {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 1rem;
}
#manifiesto .emosido-enganados {
    position: sticky;
    z-index: -1;
    top: 100px;
    bottom: 100px;
    transform: translateX(-15%);
}
@media (max-width: 767px) {
    #manifiesto .emosido-column {
        height: 0;
    }
}
#manifiesto .content-column {
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 30px 0 rgba(0,0,0,.3);
}

/** features */
.features {
    padding-block: 100px;
}
.features h3 {
    text-align: center;
    font-size: 3rem;
    line-height: 2rem;
}
.features span {
    display: inline-block;
    position: relative;
}
.features span::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 20%;
    background-color: #000;
    transform: translate(-50%, -50%);
}
.features .feature:nth-child(1) {
    transform: rotate(10deg);
}
.features .feature:nth-child(1) span::before {
    rotate: -5deg;
}
.features .feature:nth-child(2) {
    transform: rotate(-10deg);
}
.features .feature:nth-child(2) span::before {
    rotate: -5deg;
}
.features .feature:nth-child(3) {
    transform: rotate(5deg);
}
.features .feature:nth-child(3) span::before {
    rotate: -2deg;
}

/* Cards & Hover Effects */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Navbar */
.navbar {
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px);
}

/* Text Emphasis */
.text-secondary-emphasis {
    color: #a0a0a0 !important;
}

footer img {
    display: block;
    width: 80%;
    max-width: 440px;
    margin: 10px auto;
}