@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&display=swap');


/* META */

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

h1, h2 {
    text-align: center;
    font-family: 'Oswald', sans-serif;
}

h1 {
    font-size: 3rem;
}

a:link {
    color: #007bff;
    text-decoration: underline;
}

a:visited {
    color: #6385a9;
    text-decoration: underline;
}

.section {
    position: relative;
}

.section.dismissed,
.section.dismissed .content-box,
.section.dismissed .text-content,
.section.dismissed > *:not(.dismiss-btn) {
    display: block !important;
}
.flashcard-inner {
    transform: rotateY(180deg) !important;
}

.dismiss-btn {
    display: none !important;
}

.dismiss-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    text-align: center;
    line-height: 15px;

    height: 32px;
    width: 32px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: background 0.2s;
}
.dismiss-btn:hover {
    background: #f8d7da;
}
.section.dismissed .content-box,
.section.dismissed .text-content,
.section.dismissed > *:not(.dismiss-btn) {
    display: none !important;
}

@media (max-width: 600px) {
    .topnav a {
        display: block;
        margin: 10px 0;
    }

    .content-box {
        flex-direction: column;
    }

    .content-box video {
        margin: 0 0 20px 0;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    .content-box {
        flex-direction: row;
    }

    .content-box video {
        margin-right: 20px;
    }
}

@media (min-width: 1025px) {
    .content-box {
        flex-direction: row;
    }

    .content-box video {
        margin-right: 20px;
    }
}

#altToggle {
    display: none;
}

#aguero .videoblock video {
    display: none;
}

/* HEADER */
header {
    display: none;
    width: 100%;
    background-color: #232323;
    padding: 20px 0;
    text-align: right;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.topnav {
    display: none;
    justify-content: flex-end;
    gap: 20px;
    padding: 10px 20px;
    background-color: #232323;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.topnav a {
    display: none;    margin: 0 20px;
    text-decoration: none;
    color: #a5a5a5;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    text-align: right;
}
.topnav a:hover {
    text-decoration: underline;
}
.topnav a.current {
    color: #ffffff;
    outline: #1b1833;
    text-decoration: underline;
}

/* MAIN */
.mainnavcontainer {
    display: none;    text-align: center;
    background-color: #ffffff;
    border-color: #232323;
    border-radius: 2px;
    position: sticky;
    border: 2px solid #232323;
    top: 0;
    z-index: 999;
}

#mainnav {
    position: sticky;
    top: 10px;
    z-index: 1002;
}
.mainnav a {
    margin: 0 20px;
    text-decoration: none;
    color: #000000;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    text-align: justify;
    position: sticky;
    top: 0;
    z-index: inherit;
}
.mainnav a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    #mainnav {
        padding: 5px 10px;
    }

    #mainnav a {
        font-size: 1rem;
        margin: 0 10px;
    }
}

/* FLASHCARDS */
.flashcards-container ul {
    display: block;
}

.flashcards-container li.flashcard {
    display: block;
    max-width: 100%;
    position: static;
}

.flashcard,
.flashcard-inner,
.flashcard-front,
.flashcard-back {
    position: static !important;
    display: block !important;
    transform: none !important;
    border: none !important;
    box-shadow: none !important;
    text-align: left !important;
    padding: 0;
    margin: 0;
}
.flashcard-front {
    display: none !important;
}

.flashcard-inner.flipped {
    transform: none !important;
  }


@media (max-width: 768px) {
  .flashcards-container ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .flashcards-container li.flashcard {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

.countdown {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem !important;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0;
}

.enlarged {
    transform: scale(1.2);
    transition: transform 0.3s ease-in-out;
}

#bevezeto {
    scroll-margin-top: 80px;

}

/* CONTENT BOX */
.content-box {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        background-color: transparent;
        color: black;
        margin-bottom: auto;
}
.content-box h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 10px;
    color: black;
}
.content-box .text-content {
    display: contents;
}
.content-box .text-content .text-top {
    grid-area: text-top;
}
.content-box .text-content .text-bottom {
    grid-area: text-bottom;
    text-align: justify;
}
@media (max-width: 768px) {
    .content-box {
        grid-template-areas:
            "title"
            "video"
            "text-top"
            "text-bottom";
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
    }
}

#ramadan {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}
#ramadan img {
    max-width: 100%;
    max-height: 300px;
    padding: 0;
    margin: 0;
}
#husvet {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}
#husvet img {
    max-width: 100%;
    max-height: 250px;
    padding: 0;
    margin: 0;
}
#aguero {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}
#aguero .content-box video {
    display: none;    justify-self: center;
    align-self: center;
    grid-area: video;
    width: 0%;
    height: auto;
    max-width: 550px;
}
#csikidam {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}
#csikidam img {
    max-width: 30%;
    height: auto;
}


/* FOOTER */
footer {
    display: none;    width: 100%;
    background-color: #232323;
    padding: 20px 0;
    text-align: center;
    color: #ffffff;
    outline: #1b1833;
}

footer p {
    display: none;    text-align: center;
    margin: 0 auto;
}

@media print {
    .print-photo {
        max-width: 30%;
        height: auto;
    }

    .transcript {
        display: none;
    }

    h2 {
        font-size: 3rem;
        text-align: justify;
        font-family: 'Oswald', sans-serif;
    }
}