body {
    background-color: #0F1923;
    color: white;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
}

main {
    flex: 1;
}

.tartalom {
    margin-left: 50px;
    margin-right: 50px;
}

nav {
    background-color: #111;
}

.minimap {
    max-width: 3rem;
}

footer {
    background-image: url(./media/background.jpeg);
    color: white;
    text-align: center;
    padding: 10px; 
}

main a, footer a {
    color: #FF4655;
    text-decoration: underline;
}

main a:hover, footer a:hover {
    color: #ffABB2;
}

main a:visited, footer a:visited {
    color: #a40916;
}

.carousel-item {
    min-height: 600px;
}
  
.carousel-item img {
    position: absolute;
    object-fit: cover;
    height: 600px;
}

video {
    max-width: 100%;
}

caption {
    color: white;
    text-align: center;
}

h1 {
    text-align: center;
    font-weight: bold;
    margin: 20px;
}

h2 {
    font-weight: bold;
    margin-top: 20px;
}

.ugras-a-tartalomra {
    position: absolute;
    transform: translateY(-100%);
}

.gyengenlato {
    max-height: 40px;
    border-radius: 40%;
    cursor: pointer;
}

@media print {
    header,
    .carousel,
    footer,
    video,
    details,
    nav {
        display: none !important;
    }

    body {
        color: black;
        background-color: white;
        font-family: Arial, sans-serif;
    }

    p, label {
        font-size: 0.75rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }

    h1, h2, h3 {
        font-size: 1rem;
    }

    img {
        max-height: 3rem;
        max-width: 100%;
        object-fit: contain;
        margin: 0 auto;
        display: block;
    }

    th, td {
        border: 1px solid #000 !important;
        color: black !important;
        padding: 0.25rem !important;
        page-break-inside: avoid;
    }

    @page {
        margin: 1in;
        size: A4;
    }
}