/* Jespers Værktøjskasse - fælles design */

/* --------------------------------
   GENERELLE STYLES - Body, header, footer, font-families, colors, etc.
-------------------------------- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f0d58d;
    color: #222;
}

header {
    text-align: center;
    padding: 40px 20px;
}

header h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

header p {
    font-size: 20px;
    color: #555;
}

header p sup a {
    text-decoration: none;
    color: inherit;
    font-size: 1em;
}

footer {
    text-align: center;
    padding: 30px;
    color: #676767;
}

/* --------------------------------
   KORT DESIGN - Kortene er de klikbare bokse, der repræsenterer hvert program
-------------------------------- */
.kort-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.kort {
    background: rgb(245, 245, 245);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.50);
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.kort-billede {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-top: 0px;
    margin-bottom: 10px;
}

.kort h2 {
    margin-top: -5px;
}

.kort:hover {
    transform: translateY(-10px);
}

.kort {
    position: relative;
}

/* --------------------------------
   ANSVARSFRASKRIVELSE
-------------------------------- */

.ansvarsfraskrivelse {
    max-width: 950px;
    margin: 50px auto 30px;
    padding: 25px;
    border-top: 1px solid #494848;

    text-align: justify;
    font-size: 0.85em;
    line-height: 1.5;
}

.ansvarsfraskrivelse h3 {
    margin-top: 0;
    text-align: center;
}

.ansvarsfraskrivelse p {
    margin-bottom: 10px;
}

.disclaimer-check {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;

    margin-top: 20px;
    padding: 15px;

    text-align: left;
    font-weight: bold;
    cursor: pointer;
}

.disclaimer-check input {
    flex-shrink: 0;
    margin: 3px 10px 0 0;
}

/* --------------------------------
   LÅSTE PROGRAMMER
-------------------------------- */

.program-link.disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

/* --------------------------------
   DISCLAIMER WATERMARK
-------------------------------- */

.disclaimer-watermark {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%) rotate(-35deg);

    width: 50%;

    color: rgba(200, 0, 0, 0.95);

    font-size: 10px;
    font-weight: bold;
    text-align: center;

    line-height: 1.0;

    border: 1px solid rgba(200, 0, 0, 0.95);

    padding: 6px 10px;

    background-color: rgba(255, 255, 255, 0.05);

    white-space: normal;

    pointer-events: none;

    z-index: 10;
}

/* --------------------------------
   MOUSE TOOLTIP - checkBox shows when hover above kort, and disappears when mouse leaves the kort 
-------------------------------- */

.mouse-tooltip {
    position: absolute;
    display: none;

    left: 50%;
    bottom: 15px;

    transform: translateX(-50%);

    padding: 7px 10px;

    background-color: rgba(40, 40, 40, 0.9);
    color: white;

    font-size: 13px;
    text-align: center;

    border-radius: 4px;

    white-space: nowrap;

    pointer-events: none;

    z-index: 10000;
}

