
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #fff; 
    background: linear-gradient(to bottom, #0e3569 0%, #082a52 45%, #000003 100%); 
}

header {
    background: linear-gradient(to bottom, #0e3569 0%, #082a52 45%, #001a33 100%);
    color: white;
    display: flex;               
    align-items: center;         
    justify-content: space-between; 
    padding: 1.5em 2em;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em;
    gap: 2em;
}

.tile {
    background: #004080;
    padding: 1em;
    width: 500px;
    cursor: pointer;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.tile:hover {
    background: #0066cc;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.tile img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Modal */
.modal {
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    opacity: 0;
    pointer-events: none; /* unsichtbar blockiert keine Klicks */
    transition: opacity 0.4s ease;
}

.modal.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: #001a33;
    margin: 10% auto;
    padding: 2em;
    border: 1px solid #888;
    width: 600px;
    border-radius: 8px;
    text-align: center;
    transform: translateY(-20px);
    transition: transform 0.4s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-content img {
    width: 400px;
    height: 300px;
    margin: 1em 0;
    border-radius: 4px;
    object-fit: cover;
}

.close {
    color: #fff;
    float: right;
    font-size: 28px;
    cursor: pointer;
}

.modal-content img:hover {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

header h1 {
    margin: 0;
    font-size: 1.8em;
    font-weight: bold;
}

header nav {
    display: flex;
    gap: 1.5em;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5em;
}

header nav a {
    color: #d0e7ff;
    text-decoration: none;
    font-weight: 500;
}

header nav a:hover {
    text-decoration: underline;
}

header nav a[aria-disabled="true"] {
    color: #7a7a7a;
    pointer-events: none;
    cursor: not-allowed;
    text-decoration: none;
}

footer {
    background: linear-gradient(to bottom, #0e3569 0%, #082a52 45%, #001a33 100%);
    color: white;
    padding: 1.5em 1em;
}

footer p {
    margin: 0.2em 0;
    text-align: center;
}

