@font-face {
    font-family: 'FadedGlory';
    src: url('fonts/Faded Glory Script.ttf') format('truetype');
}

@font-face {
    font-family: 'Orbikular';
    src: url('fonts/Orbikular-Regular.woff2') format('woff2');
}

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

body {
    background-color: #F7F4EE; /* Din specifikke baggrundsfarve */
    font-family: 'Orbikular', serif;
    height: 100vh;
    overflow: hidden;
}

.hero {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
}


.header {
    height: 85px; 
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F7F4EE;
}

.logo-text {
    font-family: 'FadedGlory', sans-serif;
    color: #07513A;
    font-size: 1.313rem;
    font-weight: normal;
}


.video-wrapper {
    position: relative;
    margin: 0 30px 30px 30px; 
    flex-grow: 1;
    overflow: hidden;
  
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25); /* Mørkner videoen en smule så tekst popper */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

h1 {
    font-family: 'Orbikular', serif;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: normal;
    margin-bottom: 1.5rem;
    max-width: min(900px, 95vw);
    text-rendering: geometricPrecision;
}

p {
    font-family: 'Orbikular', serif;
    font-size: clamp(0.9rem, 1.5vw, 1.313rem);
    max-width: min(550px, 60vw);
    line-height: 1;
    opacity: 0.9;
    text-rendering: geometricPrecision;
}

/* Animationer */
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-text.visible {
    opacity: 1;
    transform: translateY(0);
}