@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');


@import url('https://fonts.googleapis.com/css2?family=Rancho&display=swap');

:root {
    --primary: #094b65;
    --green: #4e4f77;
    --dark-green: #166639;
    --white: #ffffff;
    --black: #202020;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Figtree', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: #fff;
}


p {
    font-size: 1.1rem;
    line-height: 1.6;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    box-shadow: none;
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#header {
    padding: 10px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header .logo {
    color: var(--primary);
    font-weight: 700;
    font-size: 2rem;
    text-decoration: none;
}

#header ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

#header ul li {
    list-style: none;
}

#header ul li a {
    text-decoration: none;
    padding: 6px 15px;
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#header ul li:not(:last-child) a:hover {
    background: var(--primary);
    color: #fff;
}

#header ul li:not(:last-child) a.active {
    border: 1px solid var(--primary);
    background-color: #06384b;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.3);
    color: var(--white);
}



#header ul li:last-child a:hover .phone-icon {
    background-color: var(--white);
    border: 1px solid var(--primary);
    color: var(--primary);
    transition: background-color 0.3s ease;
    animation: pulsate-bck 0.5s ease-in-out infinite both;

}

.phone-icon {
    background-color: var(--primary);
    border: 1px solid var(--primary);
    color: var(--white);
    padding: .5rem;
    border-radius: 50%;
    animation: pulsate-bck 0.5s ease-in-out 10 both;
}

@keyframes pulsate-bck {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.9);
    }
}



section #text,
#text {
    color: var(--primary);
    font-size: clamp(9rem, 10vw, 10rem);
    text-align: center;
    line-height: .55em;
    font-family: 'Rancho', cursive;
}

.hero-text #text {
    color: var(--primary);
    font-size: clamp(5rem, 15vw, 10rem);
    text-align: center;
    line-height: .55em;
    font-family: 'Rancho', cursive;
}

.hero-text #text span {
    font-size: clamp(1.5rem, 3vw, 3rem);
    letter-spacing: 2px;
    font-weight: 400;
    line-height: .55em;
}

.logofooter {
    font-family: 'Rancho', cursive;
    font-size: 3rem;
    color: var(--primary);
    color: var(--white);
}

section {
    overflow: hidden;
    margin-bottom: 3rem;
}

section #text span {
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: 2px;
    font-weight: 400;
    line-height: .55em;
}

.video-bg-container {
    position: relative;
    height: 80svh;
    overflow: hidden;
    width: 100%;
}

.video-bg-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
    filter: blur(5px);
}

.image-container img {
    object-fit: cover;
    border-radius: 3px;
    width: 100%;
    max-height: 500px;
    object-position: top;
}

.hero-text {
    color: white;
    text-align: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.511);
    height: 80svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-text {
    max-width: 1400px;
    display: flex;
    margin: 0 auto;
    padding: 20px;
    gap: 2rem;
    align-items: center;
}

.top {
    object-position: top;
}

.image-container {
    width: 50%;
    height: 100%;
}

.contact-section img {
    object-fit: cover;
    border-radius: 3px;
    width: 50%;
    height: 300px;
}

.card {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ups-section {
    background: var(--primary);
    padding: 1rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: space-evenly;
    align-items: center;
    color: var(--white);
    flex-wrap: wrap;
}

.ups {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ups span {
    font-size: 1.5rem;
}

.bold {
    font-weight: 600;
    font-size: 1rem;
}

.small {
    font-size: .88rem;
}

.card p a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
}

footer {
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-around;
    align-items: end;
}

footer a {
    color: var(--white);
    text-decoration: none;
}

.flex-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 20%;
}

.flex-column a {
    text-align: start;
    padding: .3rem;
}

.flex-column p {
    border-bottom: 1px solid var(--white);
    font-weight: 500;
    width: 100%;
    text-align: start;
}

.reverse {
    flex-direction: row-reverse;
}

/* Sektioner er skjult og skubbet lidt ned, indtil de er i sigte */
.section-hidden {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.9s ease-out, transform 0.6s ease-out;
}

/* Når klassen 'section-show' tilføjes, bliver sektionen synlig */
.section-show {
    opacity: 1;
    transform: translateY(0);
}

.card-section {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;

}

.contact-section {
    color: var(--white);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;

}

.contact-section img {
    object-fit: cover;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    height: 200px;
    width: 100%;
}

.contact-text {
    background: #094b65;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    height: 100%;
    flex: 1;
}

.bottomposition {
    object-position: bottom;
}

a {
    text-decoration: none;
    color: var(--primary);
}

/* 1. Knap — gør den til inline‑block, så overflow fungerer fornuftigt */
.btn,
.login__submit {
    display: inline-block;
    padding: .55rem 1.3rem;
    border-radius: 20px;
    width: fit-content;
    border: 1px solid var(--white);
    color: var(--white);
    background: var(--primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    transition: all .3s ease-in-out;
}

/* 2. Glimtende stribe – nu med skew og smallere bredde */
.btn::before,
.login__submit::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    /* start godt til venstre */
    width: 50%;
    /* smal stribe = mindre overlap */
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.477) 50%,
            transparent 100%);
    transform: skewX(-25deg);
    /* skrå linje – men selve boksen forbliver “flad” */
    transition: left .6s ease-in-out;
    pointer-events: none;
}

.btn:hover::before,
.btn:focus-visible::before,
.login__submit:hover::before,
.login__submit:focus-visible::before {
    left: 125%;

}

.btn:hover,
.login__submit:hover {
    border: 1px solid var(--primary);
    background-color: #06384b;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.196);
}

.big {
    font-size: 2rem;
    font-weight: 700;
    padding: 1.5rem;
    aspect-ratio: 1/1;
    background-color: #06374b86;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary);
    width: auto;
    height: auto;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

h2 {
    color: var(--primary);
    font-weight: 600;
}

.priser {
    background-image: url(../img/bluewater.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 350px;
    height: 300px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.225);
    border-radius: 6px;
    padding: 2.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary);
    justify-content: space-between;
    margin-bottom: 2rem;
}

.prices {
    max-width: 1400px;
    margin: 0 auto;
}

.textwrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.textwrapper .small {
    color: white;
    background-color: #06374b9b;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 0.5rem;
}

.priser-section {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}



@media screen and (max-width: 1000px) {
    #header {
        padding: 10px 20px;
    }

    .video-bg-container,
    .hero-text {
        height: 80svh;
    }
}

@media screen and (max-width: 800px) {
    .article-text {
        flex-direction: column;
        width: 100%;
    }

    .article-text img {
        display: none;
    }

    .card {
        width: 100%;
    }

    .card-section {
        flex-direction: column;
        align-items: center;
    }

    .contact-section {
        width: 100%;
    }

    .video-bg-container,
    .hero-text {
        height: 70svh;
    }
}

@media screen and (max-width: 600px) {

    .video-bg-container,
    .hero-text {
        height: 50svh;
    }

    .hero-text #text {
        margin-top: 4rem;
    }
}

/* ---------- BASIS ---------- */
.nav-toggle {
    display: none;
    /* skjules som udgangspunkt */
    background: none;
    border: none;
    font-size: 0.6rem;
    color: var(--primary);
    cursor: pointer;
    flex-direction: column;
}



/* ---------- BREAKPOINT: 700 px ---------- */
@media (max-width: 700px) {

    /* gør header smallere så logo + knap passer */
    #header {
        padding: 10px 16px;
    }

    /* vis hamburger‑knappen */
    .nav-toggle {
        display: flex;
    }

    #header ul {
        position: absolute;
        top: 100%;
        /* ligger lige under headeren */
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 2rem;
        /* ingen top/bund – giver højde 0 */
        max-height: 0;
        /* skjult */
        overflow: hidden;
        /* gem indholdet når max‑height = 0 */
        transition: max-height .35s ease-out,
            /* fold‑ned animation  */
            padding .35s ease-out;
        /* lidt ind/ud‑padding */
        box-shadow: 0 6px 12px rgba(0, 0, 0, .08);
    }

    /* LISTEN – når menuen er åben */
    #header.open ul {
        max-height: 400px;
        /* stor nok til alle links */
        padding: 1.75rem 2rem;
        /* læg polstring til under fold‑ned */
        transition-timing-function: ease-in;
        /* glid stille på vej op */
    }

    /* lidt større klikmål */
    #header ul li a {
        width: 100%;
    }
}









.login-container {
    display: block;
    position: relative;
    z-index: 0;
    margin: 4rem auto 0;
    padding: 5rem 4rem 0 4rem;
    width: 100%;
    max-width: 825px;
    min-height: 680px;
    background-image: url(../img/BrushWindow.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.225);
}

.login-container:after {
    content: '';
    display: inline-block;
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: radial-gradient(ellipse at left bottom, rgb(9, 75, 101, .9) 0%, rgba(7, 61, 82, 0.9) 59%, rgba(9, 24, 61, 0.942)100%);
}

.form-login {
    position: relative;
    z-index: 1;
    padding-bottom: 4.5rem;
    font-family: 'Figtree', sans-serif;
}

.login-nav {
    padding: 0;
    margin: 0 0 2em 1rem;
}

.login-nav__item {
    list-style: none;
    display: inline-block;
}

.login-nav__item+.login-nav__item {
    margin-left: 2.25rem;
}

.login-nav__item h2 {
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.25rem;
    padding-bottom: .5rem;
}



.login__label {
    display: block;
    padding-left: 1rem;
}

.login__label,
.login__label--checkbox {
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-size: .75rem;
    margin-bottom: .5rem;
}

.login__label--checkbox {
    display: inline-block;
    position: relative;
    padding-left: 1.5rem;
    margin-top: 1rem;
    margin-left: 1rem;
    color: #ffffff;
    font-size: .75rem;
    text-transform: inherit;
}

.login__input {
    color: white;
    font-size: 1rem;
    width: 100%;
    padding: .5rem 1rem;
    border: 2px solid transparent;
    outline: none;
    border-radius: 1.5rem;
    background-color: rgba(255, 255, 255, 0.25);
    letter-spacing: 1px;
}

textarea.login__input {
    height: 100px;
    resize: none;
}

.login__input:hover,
.login__input:focus {
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.763);
    background-color: transparent;
}


.login__input--checkbox {
    position: absolute;
    top: .1rem;
    left: 0;
    margin: 0;
}

.login__submit {
    color: #ffffff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    padding: .75rem;
    border-radius: 2rem;
    display: block;
    width: 100%;
    cursor: pointer;
}

.field:focus-within .login__label {
    color: white;
    transition: color 0.2s ease;
}

.field {
    margin-bottom: 1.5rem;
}

.btn-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

input:valid {
    border-color: rgba(113, 253, 113, 0.539);
    background-color: rgba(255, 255, 255, 0.25);
}


.form-feedback {
    margin-top: 1rem;
    font-size: 1rem;
    color: white;
    min-height: 1.5em;
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    padding: 2rem;
}

.hidden {
    display: none;
}

.form-feedback {
    margin-top: 1rem;
    min-height: 1.5em;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.form-feedback.sending {
    color: white;
}

.form-feedback.success {
    color: white;
    background-color: rgba(255, 255, 255, 0.157);
    border: 2px solid white;
    border-radius: 20px;
}

.form-feedback.error {
    color: rgb(114, 17, 17);
}

.loader {
    width: 150px;
    height: 150px;
    background-color: var(--primary);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 30px 4px rgba(0, 0, 0, 0.5) inset,
        0 5px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.loader:before,
.loader:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 45%;
    top: -20%;
    background-color: #fff;
    animation: wave 5s linear infinite;
}

.loader:before {
    border-radius: 30%;
    background: rgba(255, 255, 255, 0.4);
    animation: wave 5s linear infinite;
}


@keyframes wave {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-40%) rotate(180deg);
    }

    100% {
        transform: translateY(-100%) rotate(360deg);
    }
}

.message {
    font-size: 1rem;
    background-color: #06384b;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    min-width: 25%;
    text-align: center;
}

.message {
    animation: bounce-top 0.9s both;
}

@keyframes bounce-top {
    0% {
        -webkit-transform: translateY(-45px);
        transform: translateY(-45px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 1;
    }

    24% {
        opacity: 1;
    }

    40% {
        -webkit-transform: translateY(-24px);
        transform: translateY(-24px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    65% {
        -webkit-transform: translateY(-12px);
        transform: translateY(-12px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    82% {
        -webkit-transform: translateY(-6px);
        transform: translateY(-6px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    93% {
        -webkit-transform: translateY(-4px);
        transform: translateY(-4px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    25%,
    55%,
    75%,
    87% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    100% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        opacity: 1;
    }
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.status-icon {
    position: absolute;
    right: 0.75rem;
    top: 65%;
    transform: translateY(-50%);
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.input-group.valid .status-icon {
    opacity: 1;
    color: rgb(53, 192, 53);
    content: 'check';
}

.input-group.invalid .status-icon {
    opacity: 1;
    color: rgb(188, 66, 66);
    content: 'error';
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.25) inset !important;
    /* ønsket baggrundsfarve */
    -webkit-text-fill-color: white !important;
    /* ønsket tekstfarve */
    transition: background-color 5000s ease-in-out 0s !important;
    /* for at undgå blink */
}


@media screen and (max-width: 600px) {

    .login-container {
        padding: 3rem 2rem 0 2rem;
        min-height: 600px;
        box-shadow: unset;
    }

    .login-container:after {
        box-shadow: unset;
    }
}

.prices h2 {
    color: var(--primary);
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
}

.smalltext {
    font-size: 1.05rem;
    color: var(--white);
}

.pricescontact{
  width: 100%;
  margin-top: 2rem;
}

.sentence{
  max-width:75ch;
}

.full-width{
  width:100%;
}
