@import url('https://fonts.cdnfonts.com/css/comic-sans-ms');
@import url('https://fonts.cdnfonts.com/css/arial');
@import url('https://fonts.cdnfonts.com/css/verdana');
@import url('https://fonts.cdnfonts.com/css/courier-new');
@import url('https://fonts.cdnfonts.com/css/times-new-roman');
@import url('https://fonts.cdnfonts.com/css/comic-sans-ms');

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    background-color: #800000;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px; 
    padding-top: 0px;
    font-size: 1.3em;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Standard Topmenu (Desktop) --- */
nav {
    width: 100vw;
    position: sticky;
    top: 0;
    z-index: 1000;
    left: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: 0; 
    background-color: #c0c0c0; 
    padding: 4px 20px; 
    margin-bottom: 0; 
    border-bottom: 2px solid #ffffff; 
    box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.5), inset 0 -1px 0 #404040;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0px; 
    flex-wrap: wrap;
    align-items: center;
}

nav a {
    display: inline-block;
    background-color: #c0c0c0;
    color: black;
    padding: 6px 16px;
    border: 2px solid;
    border-color: #ffffff #404040 #404040 #ffffff;
    text-decoration: none;
    font-family: 'Comic Sans MS', 'Comic Sans', Arial, sans-serif !important;
    font-weight: bold;
    font-size: 0.85em; 
    line-height: 1.4;
    white-space: nowrap;
    margin: 0;
}

nav a:hover {
    color: black;
    text-decoration: none;
    border-color: #404040 #ffffff #ffffff #404040;
    background-color: #d4d0c8;
}

nav a:active {
    border-color: #404040 #ffffff #ffffff #404040;
    background-color: #adaa9f;
    padding: 7px 15px 5px 17px;
}

nav a.aktiv {
    border-color: #404040 #ffffff #ffffff #404040;
    background-color: #adaa9f;
    padding: 7px 15px 5px 17px;
}

/* --- Scroll margin for #priser anchor --- */
#priser {
    scroll-margin-top: 100px;
}

/* --- Hamburger & Fuldskærmsmenu Styling --- */
.hamburger-btn {
    display: block !important;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 100000;
}

.hamburger-btn img {
    width: 70px;
    height: auto;
    display: block;
}

.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #800000;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.fullscreen-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}

.fullscreen-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.fullscreen-links li {
    margin: 20px 0;
}

.fullscreen-links a {
    font-size: 3.6rem;
    text-decoration: none;
    font-family: 'Comic Sans MS', 'Comic Sans', Arial, sans-serif !important;
    font-weight: bold;
    color: white;
}

.fullscreen-links a:hover {
    color: #ffff00;
}

.fullscreen-links a.regnbue-aktiv {
    background: linear-gradient(to right, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

@media (max-width: 768px) {
    nav {
        display: none !important;
    }
    
    .hamburger-btn {
        display: block !important;
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 100000;
        background: none;
        border: none;
    }
}

@media (max-width: 600px) {
    .hamburger-btn {
        top: 5px;
        right: 5px;
    }
    .hamburger-btn img {
        width: 50px;
    }

    h1 {
        font-size: 2em !important;
        margin-top: 30px !important;   
        margin-bottom: 20px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        overflow: visible;
    }

    #jakob-img {
        width: 64% !important;   
    }

    #skrivemaskine {
        font-size: 1em;
    }

    h2 {
        font-size: 1.5em !important;
    }

    h3, h5 {
        font-size: 1.2em !important;
    }

    h4 {
        font-size: 1.2em !important;
    }

    p, li, a {
        font-size: 0.95em;
    }
}

h1 {
    font-family: 'Comic Sans MS', 'Comic Sans', Arial, sans-serif !important;
    font-size: 3em;
    background: linear-gradient(to right, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    line-height: 1.2;
    padding-bottom: 0.1em;
    margin-top: 50px; 
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: visible;
    text-overflow: clip;
    hyphens: auto;
}

#jakob-img {
    width: 40%;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.5);
}

.wide {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.5);
}

.cvr-gif {
    width: 300px; 
    max-width: 100%;
    height: auto;
    margin-top: 40px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.cookie-img-large {
    width: 80%;
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 5px solid;
    border-color: #555555 #ffffff #ffffff #555555;
}

.win95-frame {
    width: 80%;
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 3px solid #c0c0c0;
    border-top-color: #ffffff;
    border-left-color: #ffffff;
    border-right-color: #404040;
    border-bottom-color: #404040;
    padding: 4px;
    background-color: #c0c0c0;
}

h2 {
    font-size: 2.8em;
    color: yellow;
    font-weight: 400;
    line-height: 1.1;
    margin-top: 60px;
    margin-bottom: 5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h2 .sort-tekst {
    color: black;
}

h3, h5 {
    font-size: 1.8em;
    margin-top: 20px;
    margin-bottom: 5px;
    line-height: 1.1;
    font-style: italic;
    text-shadow: 1px 1px 2px black;
}

h3 {
    color: #00ff00;
}

h4 {
    font-size: 1.8em;
    margin-top: 60px;
    margin-bottom: 5px;
    color: #00e9ff;
    line-height: 1.1;
    text-decoration: underline;
}

h5 {
    color: #ff6666;
    font-family: 'Comic Sans MS', 'Comic Sans', Arial, sans-serif !important;
}

hr {
    margin-top: 60px;
    margin-bottom: 60px;
    border: 0;
    border-top: 1px solid white;
}

.skrivemaskine-hr {
    margin-top: 20px;
    margin-bottom: 60px;
    border: 0;
    border-top: 1px solid white;
}

#skrivemaskine {
    font-style: italic;
    font-size: 1.2em;
    min-height: 3em;
    line-height: 1.4;
    white-space: normal;
    padding: 0 10px;
    margin-top: 30px; 
    margin-bottom: 10px;
}

#skrivemaskine::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

footer a {
    color: white;
    text-decoration: none;
}

footer b, footer p:first-of-type b {
    text-transform: uppercase;
    color: #00e9ff;
}

.bitcoin-logo {
    width: 150px;
    max-width: 100%;
    display: block;
    margin: 10px auto;
}

footer {
    padding-bottom: 50px;
    font-size: 1.1rem;
}

.obs-tekst {
    font-style: italic;
    color: #F2A900;
}

.ejendom {
    opacity: 50%;
}

.win95-knap {
    display: inline-block;
    box-sizing: border-box;
    width: auto;
    padding: 8px 18px;
    background-color: #c0c0c0 !important;
    color: #000000 !important;
    border: 2px solid;
    border-color: #ffffff #404040 #404040 #ffffff !important;
    font-family: 'Comic Sans MS', 'Comic Sans', Arial, sans-serif !important;
    font-weight: bold;
    font-size: 1.125rem;
    text-decoration: none;
    cursor: pointer;
    margin: 20px auto 10px auto;
    text-align: center;
    word-break: break-word;
}

.win95-knap:hover {
    background-color: #d4d0c8 !important;
    border-color: #ffffff #404040 #404040 #ffffff !important;
}

.win95-knap:active {
    border-color: #404040 #ffffff #ffffff #ffffff !important;
    background-color: #adaa9f !important;
    padding: 9px 17px 7px 19px;
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 20px;
}

.pricing-box {
    border: 3px solid;
    border-color: #ffffff #404040 #404040 #ffffff;
    padding: 25px;
    flex: 1 1 320px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.9);
    background-color: #0000AA !important;
    font-family: 'Courier New', Courier, serif;
}

.pricing-content-top {
    min-height: 290px; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pricing-box-glow {
    box-shadow: 0 0 25px 5px #00ff66, 4px 4px 15px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 2;
}

.pkg-title-bronze,
.pkg-title-solv,
.pkg-title-guld {
    font-family: 'Comic Sans MS', 'Comic Sans', Arial, sans-serif !important;
    font-size: 3.75rem !important;
    font-weight: bold;
    font-style: normal;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    margin-top: 5px;
    margin-bottom: 15px;
}

.pkg-title-bronze { color: #cd7f32 !important; }
.pkg-title-solv { color: #c0c0c0 !important; }
.pkg-title-guld { color: #ffd700 !important; }

.solv-label {
    font-size: 0.7rem;
    color: #ffffff;
    font-weight: bold;
    font-family: 'Comic Sans MS', 'Comic Sans', Arial, sans-serif !important;
    font-style: normal;
}

.pricing-price-wrapper {
    margin-bottom: 5px;
}

.pricing-price {
    font-size: 1.6rem;
    font-weight: bold;
    color: #ffff00;
    margin: 0;
    font-family: 'Courier New', Courier, serif;
}

.engangs-tekst {
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: normal;
    font-family: 'Courier New', Courier, serif;
    margin-top: 0px;
    display: block;
}

.md-pris-container {
    margin-bottom: 20px;
}

.md-tekst-fremhævet {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #00ff66;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px dashed #00ff66;
    text-shadow: 1px 1px 2px black;
    font-family: 'Courier New', Courier, serif;
}

.pricing-box p {
    font-size: 1rem;
    color: #ffffff;
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
    font-family: 'Courier New', Courier, serif;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    font-size: 1rem;
    text-align: left;
    font-family: 'Courier New', Courier, serif;
    flex-grow: 1;
}

.pricing-features li {
    padding: 6px 0;
    min-height: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: bold;
    color: #ffffff;
    font-family: 'Courier New', Courier, serif;
    display: flex;
    align-items: center;
}

.feature-yes {
    color: #00ff66 !important;
    margin-right: 10px;
    font-size: 1.1rem;
    text-shadow: 0 0 5px rgba(0, 255, 102, 0.5);
    flex-shrink: 0;
}

.feature-no {
    color: #ff4444;
    margin-right: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.pricing-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    background-color: #c0c0c0;
    color: black;
    border: 2px solid;
    border-color: #ffffff #404040 #404040 #ffffff;
    font-family: 'Comic Sans MS', 'Comic Sans', Arial, sans-serif !important;
    font-weight: bold;
    font-size: 1.65rem !important;
    text-decoration: none;
    margin-top: 25px;
    box-sizing: border-box;
}

.pricing-btn:hover {
    background-color: #d4d0c8;
    border-color: #404040 #ffffff #ffffff #404040;
}

.pricing-btn:active {
    border-color: #404040 #ffffff #ffffff #404040;
    background-color: #adaa9f;
}

.pricing-btn-turkis {
    background-color: #008080 !important;
    color: #ffffff !important;
    border-color: #ffffff #404040 #404040 #ffffff !important;
}

.pricing-btn-turkis:hover {
    background-color: #006666 !important;
    color: #ffffff !important;
}

.pricing-btn-turkis:active {
    border-color: #404040 #ffffff #ffffff #ffffff !important;
    background-color: #004d4d !important;
}

.link-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    box-sizing: border-box;
}

.link-category-box {
    color: #ffffff;
    border: 3px solid;
    border-color: #ffffff #404040 #404040 #ffffff;
    padding: 15px 12px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
}

.link-category-box:nth-child(1) { background-color: #2b772b; }
.link-category-box:nth-child(2) { background-color: #560156; }
.link-category-box:nth-child(3) { background-color: #038484; }
.link-category-box:nth-child(4) { background-color: #560909; }

.link-category-box h3 {
    color: #ffff00;
    text-shadow: none;
    margin-top: 10px;
    margin-bottom: 15px;
    font-family: 'Comic Sans MS', 'Comic Sans', Arial, sans-serif !important;
    font-style: normal;
    font-size: 1.875rem;
    text-align: center;
    line-height: 1.2;
}

.link-item {
    margin-bottom: 20px;
    text-align: center;
}

.category-hr {
    border: 0;
    border-top: 1px solid #808080;
    border-bottom: 1px solid #ffffff;
    margin: 10px 0;
}

.link-description {
    color: #ffffff;
    font-size: 0.8925rem;
    margin: 8px 0;
    font-style: normal;
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.link-category-box:nth-child(1) .link-title-text { color: #00FF00; }
.link-category-box:nth-child(2) .link-title-text { color: #FF00FF; }
.link-category-box:nth-child(3) .link-title-text { color: #00FFFF; }
.link-category-box:nth-child(4) .link-title-text { color: #FF0000; }

.link-title-text {
    font-size: 1.425rem;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}

.link-logo {
    width: 90px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 15px auto 5px auto;
}

.link-category-box .win95-turkis-btn {
    display: inline-block;
    width: auto;
    padding: 6px 18px;
    background-color: #c0c0c0 !important;
    color: #000000 !important;
    border: 2px solid;
    border-color: #ffffff #404040 #404040 #ffffff !important;
    font-family: 'Comic Sans MS', 'Comic Sans', Arial, sans-serif !important;
    font-weight: bold;
    font-size: 1.05rem;
    text-decoration: none;
    cursor: pointer;
    margin: 15px auto 5px auto;
    text-align: center;
    box-sizing: border-box;
}

.link-category-box .win95-turkis-btn:hover {
    background-color: #d4d0c8 !important;
    color: #000000 !important;
    border-color: #ffffff #404040 #404040 #ffffff !important;
}

.link-category-box .win95-turkis-btn:active {
    border-color: #404040 #ffffff #ffffff #ffffff !important;
    background-color: #adaa9f !important;
    color: #000000 !important;
    padding: 7px 17px 5px 19px;
}

.webshop-title-link {
    color: inherit;
    text-decoration: none;
}

.webshop-p-link {
    color: white;
}

@media (max-width: 1100px) {
    .link-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .link-grid-container {
        grid-template-columns: 1fr;
        width: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
        padding: 0 10px;
    }
}
