/* Styl pro popup okno */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; /* Větší šířka popup */
    max-width: 800px; /* Max šířka */
    background-color: white;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8); /* Transparentní bílá */
    backdrop-filter: blur(10px); /* Efekt rozmazání pozadí */
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    display: none;
    opacity: 0;
    animation: popupFadeIn 0.5s forwards;
    border-radius: 1em;
}

.popup-content {
    position: relative;
}

.popup-content h3 {
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 20px;
}

.popup-links .info-box i {
    color: #104788; /* Černá barva ikony */
    margin-top: 10px; /* Oddělení ikony od textu */
}

.popup-links {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Větší mezera mezi boxy */
}

.popup-links .info-box {
    width: 32%;
    padding: 20px;
    background-color: rgba(240, 240, 240, 0.9); /* Světlejší pozadí pro kontrast s černou */
    color: black; /* Černá barva textu */
    text-align: center;
    border-radius: 0.5em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.popup-links .info-box a {
    color: black; /* Černá barva textu */
    text-decoration: none;
    font-size: 1.2em; /* Zvýraznění textu */
    font-weight: bold;
}

.popup-links .info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.hidden {
    display: none;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Animace pro mizení popup */
@keyframes popupFadeOut {
    from {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
}