:where([class^="ri-"])::before {
    content: "\f3c2";
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #fafafa;
}

.tartalom-video {
    height: 300px;
    width: 100%;
    position: top;
    border: none;
}

.custom-checkbox {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #40916C;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}

.custom-checkbox:checked {
    background-color: #2D6A4F;
    border-color: #2D6A4F;
}

.custom-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 0.3rem;
    height: 0.6rem;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
}

.hero-section {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 0) 100%), url('https://public.readdy.ai/ai/img_res/90d4a4b2cf566f3a370d74c780e51edf.jpg');
    background-size: cover;
    background-position: center;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #2B5C3B;
}

.custom-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #2B5C3B;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.custom-checkbox:checked {
    background-color: #2B5C3B;
}



.custom-radio {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #2B5C3B;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.custom-radio:checked {
    border-color: #2B5C3B;
}

.custom-radio:checked::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #2B5C3B;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.thumbnail-container {
    display: inline-block;
    position: relative;
    margin: 10px;
}

.thumbnail-img {
    width: auto;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: transform 0.3s;
}

.thumbnail-img:hover {
    transform: scale(1.05);
}

details {
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
}

summary {
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
    outline: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}
.felkover {
    font-weight: bold;
  }
/* High contrast nagybetűs stílus */

.high-contrast {
    background-color: #000 !important;  /* fekete háttér */
    color: #230085 !important;             /* fehér szöveg */
    text-transform: uppercase !important; /* nagybetűs szöveg */
    font-weight: bold !important;       /* félkövér betűk */
    filter: contrast(150%) brightness(120%) !important; /* erős kontraszt */
  }
  
  /* Linkek kontrasztosabbak */
  .high-contrast a {
    color: rgb(184, 32, 32) !important; /* élénk cián */
    text-decoration: underline !important;
  }
  
  /* Gombok is stílusosak */
  .high-contrast button {
    background-color: #fff !important;
    color: #000 !important;
    border: 2px solid #0ff !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    cursor: pointer;
  }
  
  /* Ha van kiemelt szöveg */
  .high-contrast strong, .high-contrast b {
    color: #ff0 !important; /* sárga kiemelés */
  }
  
  /* Képek színei: átlátszó vagy fekete-fehér (opcionális) */
  .high-contrast img {
    filter: grayscale(100%) contrast(150%);
    opacity: 0.9;
  }

@media print {

    nav,
    button,
    .no-print {
        display: none;
    }

    body {
        font-family: serif;
        color: #000;
        background: none;
    }

    html,
    body {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    video,
    iframe[src*="youtube"],
    .video-container {
        display: none !important;
    }


    img {
        max-width: 100px;
        height: auto;
        display: block;
        margin: 10px 0;
    }

    a::after {
        content: " (" attr(href) ")";
    }
}