/* Hele menu baren */
.menubar {
    display: flex;
    gap: 40px;
    padding: 20px 40px;
    background: green; /*transparent*/
    align-items: center;
    font-family: Arial, sans-serif;
}

/* Links */
.menubar a {
    position: relative;
    text-decoration: none;
    color: black;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.5px;
    padding-bottom: 6px; /*space for the blue underline*/
    transition: color 0.2s ease;
}

/* HOVER effect - make text light blue */
.menubar a:hover {
    color: #7dc8ff;
}

/* The blue line under the link */
.menubar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 3px;
    background: #7dc8ff;
    transition: width 0.25s ease;
}

/* When hovering – show the underline */
.menubar a:hover::after {
    width: 100%;
}

/* Active page (the page you are on) */
.menubar a.active {
    color: #7dc8ff;
}

.menubar a.active::after {
    width: 100%;
}

.done {
  color: darkseagreen;
  text-decoration: line-through solid black 2px;
}

.cursiv {
    font-style: italic;
    color: gray;
    font-size: 13px;
}

/* Make link block-level and remove default link styling */
.container-link {
    display: block;
    text-decoration: none;
    color: inherit;         /* keep colors from the container/content */
    cursor: pointer;
}

/* Hover effect */
.container-link:hover,
.container-link:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.14);
    transition: transform 120ms ease, box-shadow 120ms ease;
}

/* Your “button” style, now as a span */
.button {
    display: inline-block;
    padding: 10px 16px;
    background: #e95420;    /* orange */
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
}

h3 {
    font-size: 30px;
    color: yellow;
}

.container {
    display: block;                   /* Makes the entire <a> behave like a block */
    cursor: pointer;                  /* Shows pointer cursor when hovering */
    text-decoration: none;            /* Removes underline from link */
    color: inherit;                   /* Inherits text color from parent */

    /* Layout and visual styling */
    text-align: center;
    margin: 60px auto;
    max-width: 45%;
    padding: 20px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);

    /* Smooth animation for hover effects */
    transition: transform 120ms ease, box-shadow 120ms ease;

    /* Background blinking animation */
    animation: blinkColor 5s infinite alternate;
}

/* Hover effect for entire container */
.container:hover {
    transform: translateY(-2px);          /* Slight lift on hover */
    box-shadow: 0 6px 14px rgba(0,0,0,0.14); /* Stronger shadow on hover */
}

/* Background color animation between orange and red */
@keyframes blinkColor {
    0% {
        background-color: orange;
    }
    100% {
        background-color: red;
    }
}

/* Fake button visual styling (not a real link, since it's inside a link) */
.button {
    display: inline-block;
    padding: 10px 16px;
    background: #e95420;    /* Button background color */
    color: #fff;            /* Button text color */
    border-radius: 6px;
    margin-top: 10px;
    font-weight: 600;
    text-decoration: none;
}

/* Styling for card title */
h3 {
    font-size: 30px;
    color: yellow;
}