/* STYLES.CSS GENERAL STYLEs */
/* General Reset  */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    --entryLevel: rgb(178, 34, 34);      /* firebrick */
    --entryLevel-rgb: 178, 34, 34;      /* firebrick */
    --beginnerLevel: rgb(255, 165, 0);   /* orange */
    --beginnerLevel-rgb: 255, 165, 0;   /* orange */
    --intermediateLevel: rgba(55, 116, 55);
    --intermediateLevel-rgb: 55, 116, 55;
    --upperIntermediateLevel: rgb(83, 83, 194);
    --upperIntermediateLevel-rgb: 83, 83, 194;
    --steelBlue: #d9deef;
    --steelBlueLight: #d9deef73;
    --textBlue: #1a1e30;

}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    scroll-behavior: smooth;
    color: #1a1e30;
}

h1 {
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 3rem;
    line-height: 4rem;
}

h2 {
    font-size: 2rem;
    line-height: 3rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

ul {
    list-style: none;
    padding-left: 0;
}

.bold {
    font-weight: bold;
}

p {
    line-height: 1.6rem;
}

.words-container {
    line-height: 1.75rem;
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 3rem;
        line-height: 3.5rem;
    }

    h2 {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

.twoRemTop {
    margin-top: 2rem;
}

.threeRemTop {
    margin-top: 3rem !important;
}

.mirroredImage {
    transform: rotateY(180deg);
}

.contentsectionOuter {
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

a {
    text-decoration: none;
}

.mainPage {
    min-height: calc(100vh - 246px);
    overflow-x: hidden;
    padding-bottom: 3rem;
}

.PageHeader,
.PageSubHeader {
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.5), 0 2px 5px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.PageSubHeader {
    font-size: clamp(25px, 4vw, 35px);
}


/* Set scroll height to -100px to account for header */
#currentlyReading,
* {
    scroll-margin-top: -500px;
    /* Adjust based on your header height */
}

.topAndBottom20px{
    margin-top: 20px !important;
    margin-bottom: 20px !important;     
}

/* General Styles  */
.three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

}

@media screen and (max-width: 768px) {
    .hideOnMobile {
        display: none !important;
    }
}

.buttonNoStyling {
    background: transparent;
    border: 0;
    cursor: pointer;
}

.button.buttonRight {
    display: block;
    margin-left: auto;
}

.top1Rem {
    margin-top: 1rem;
}

.text-nowrap {
    white-space: nowrap;
}

.flex {
    display: flex;
    flex: 1;
    gap: 15px;
    flex-wrap: wrap;
}

.flex.flexNoWrap {
    flex-wrap: nowrap;
}

.flex-centered {
    justify-content: center;
}

.flex-grow {
    flex-grow: 1;
}

.contentSection {
    width: 85vw;
    max-width: 1000px;
    line-height: 2rem;
    margin: auto;
    margin-top: 2rem;
}

.contentSection1RemTop {
    margin-top: 1rem;
}

.contentSection3RemTop {
    margin-top: 3rem;
}

.contentSectionNoMarginTop {
    width: 85vw;
    max-width: 1000px;
    line-height: 2rem;
    margin: auto;
    margin-top: 0;
}

/* @media screen and (min-width: 1500px) {
    .contentSection.contentSectionStoryGrid {
        max-width: 1200px;
        transform:translateX(-100px);
    }
} */

.contentSectionGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}


/* General Content grid 2 columns */
@media screen and (min-width: 768px) {
    .contentSectionInnerGrid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}


.roundedCorners {
    border-radius: 15px;
}

.contentSectionGridLift,
.contentSectionGridRight {
    width: 100%;
    height: 100%;
}


.contentSection p {
    margin: 1rem 0;
}

.alignCenter {
    text-align: center;
}

.pagination {
    text-align: center;
}

.bgSteelBlue {
    background: var(--steelBlue);
}

/* Text overlay for visibility */
.clearTextOverlayWhite {
    color: white;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.5), 0 2px 5px rgba(0, 0, 0, 0.4);
    font-weight: 600;
}

.largeCentered {
    text-align: center;
    font-size: 3rem;
}

.centered {
    text-align:center;
}

#signup-form {
    padding: 20px 0;
}

/*  */
/* ABOUT PAGE */
/* */

.AboutPageHeader {
    height: min(80vh, 850px);
    display: grid;
    place-items: center;
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    margin: auto;
    text-align: center;
}


/* Pagination */
.pagination a {

    width: 40px;
    height: 40px;
    display: inline-block;
    border-radius: 5px;
    margin: 5px;
    /* display: grid; */
    place-items: center;
    text-align: center;
    text-decoration: none;
    line-height: 35px;
}

/* Pagination kleuren */
/* entry */
a.pagination-a1 {
    color: var(--entryLevel);
    font-weight: bold;
    background: white;
    border: 2px solid var(--entryLevel);
}

a.pagination-a1.active {
    background: var(--entryLevel);
    font-weight: bold;
    color: white;
    border: 2px solid var(--entryLevel);
}

/* beginner */
a.pagination-a2 {
    color: var(--beginnerLevel);
    font-weight: bold;
    background: white;
    border: 2px solid var(--beginnerLevel);
}

a.pagination-a2.active {
    background: var(--beginnerLevel);
    font-weight: bold;
    color: white;
    border: 2px solid var(--beginnerLevel);
}

/* intermediate */
a.pagination-b1 {
    color: var(--intermediateLevel);
    font-weight: bold;
    background: white;
    border: 2px solid var(--intermediateLevel);
}

a.pagination-b1.active {
    background: var(--intermediateLevel);
    font-weight: bold;
    color: white;
    border: 2px solid var(--intermediateLevel);
}

/* upperintermediate */
a.pagination-b2 {
    color: var(--upperIntermediateLevel);
    font-weight: bold;
    background: white;
    border: 2px solid var(--upperIntermediateLevel);
}

a.pagination-b2.active {
    background: var(--upperIntermediateLevel);
    font-weight: bold;
    color: white;
    border: 2px solid var(--upperIntermediateLevel);
}

.paginationLinksGoBack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    align-items: center;
    margin-top: 25px;
}

.boxShadow {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5),
        0 4px 6px -2px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s ease-in-out;
    transition: all 0.25s;
}

.boxShadow:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5),
        0 10px 10px -5px rgba(0, 0, 0, 0.5);
}




/* Button Class scale effect */
.button {
    border-radius: 5px;
    transition: all 200ms ease;
    padding: 15px 25px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    background-color: #007bff;
    /* Added for visibility */
    cursor: pointer;
    text-align: center;
}

button.button {
    padding: 5px 35px;
}

.buttonSmall {
    padding: 5px 15px;
}

.button:hover {
    transform: scale(1.05);
}

.button:active {
    transform: scale(0.98);
    /* Slightly smaller when clicked */
}

.buttonSteelblue {
    background-color: steelblue;
}

.buttonFirebrick {
    background-color: firebrick;
}

.buttonGrey {
    background-color: #e5e7eb;
    color: black;
}

.buttonGrey:hover {
    color: #e5e7eb;
    background-color: black;
}

.button-red {
    background-color: rgb(232, 25, 87);
}

.button-black {
    background-color: black;
}


.background-a1 {
    background: var(--entryLevel);
}
.background-a2 {
    background: var(--beginnerLevel);
}
.background-b1 {
    background: var(--intermediateLevel);
}
.background-b2 {
    background: var(--upperIntermediateLevel);
}


.background-a1 .translate-btn {
border: 2px solid transparent;
}

/* Colored Button styles */
.story-grid .story-item p.button-a1,
.button-a1,
.button-A1,
.badge-a1,
.wordCount-a1,
.itemType-a1,
.speed-active.button-a1 {
    background: var(--entryLevel);
    border: var(--entryLevel) 2px solid;
    color: white;
}

.button-a1:hover,
.background-a1 .grammar-tips-btn:hover, 
.background-a1 .grammar-tips-btn.active,
.background-a1 .translate-btn:hover,
.background-a1 .translate-btn.active {
    border: var(--entryLevel) 2px solid !important;
}

.buttonReadThisStory.button-a1:hover {
    background: var(--entryLevel);
    border: var(--entryLevel) 2px solid;
    color: white;
}

/* .downloadChapterButton.button-a1:hover .download {
    color: var(--entryLevel);
} */

.storySuccessButton.button-a1,
.storySuccessButton.button-a2 .storySuccessButton.button-b1 .storySuccessButton.button-b2 {
    border-color: transparent;
}

.story-grid .story-item p.button-a2,
.button-a2,
.badge-a2,
.wordCount-a2,
.itemType-a2,
.speed-active.button-a2  {
    color:white;
    background: var(--beginnerLevel);
    border: var(--beginnerLevel) 2px solid;
}

.button-a2:hover {
    border: var(--beginnerLevel) 2px solid;
}

.buttonReadThisStory.button-a2:hover {
    color: white;
    background: var(--beginnerLevel);
    border: var(--beginnerLevel) 2px solid;
}

.downloadChapterButton.button-a2:hover .download {
    color: var(--beginnerLevel);
}

.story-grid .story-item p.button-b1,
.button-b1,
.badge-b1,
.wordCount-b1,
.itemType-b1,
.speed-active.button-b1  {
    border: var(--intermediateLevel) 2px solid;
    color: white;
    background: var(--intermediateLevel);
}

.button-b1:hover {
    border: var(--intermediateLevel) 2px solid;
}

.buttonReadThisStory.button-b1:hover {
    background: var(--intermediateLevel);
    border: var(--intermediateLevel) 2px solid;
}

.downloadChapterButton.button-b1:hover .download {
    color: var(--intermediateLevel);
}

.button-b2,
.story-grid .story-item p.button-b2,
.badge-b2,
.wordCount-b2,
.itemType-b2,
.speed-active.button-b2  {
    color: white;
    background: var(--upperIntermediateLevel);
    border: var(--upperIntermediateLevel) 2px solid;
}

.button-b2:hover {
    border: var(--upperIntermediateLevel) 2px solid;
}

.buttonReadThisStory.button-b2:hover {
    background: var(--upperIntermediateLevel);
    border: var(--upperIntermediateLevel) 2px solid;
}

.downloadChapterButton.button-b2:hover .download {
    color: var(--upperIntermediateLevel);
}






/* Button Disabled */
a.disabled-link {
    opacity: 0.6;
    text-decoration: line-through;
    filter: grayscale(50%);
}

p.disabled-link a {
    text-decoration: line-through;
}

/* CITATION STYLES */
.citation {
    cursor: help;
    color: #1a73e8;
    font-size: 0.8em;
    vertical-align: super;
}

.citation-text {
    visibility: hidden;
    width: 6cle00px;
    max-width: 90vw;
    background-color: #f8f9fa;
    color: #333;
    text-align: left;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -150px;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    font-size: 0.9rem;
    line-height: 1.4;
}

@media screen and (max-width: 768px) {
    .citation-text {
        width: 80vw;
        /* Take up 80% of screen width (10% margin on each side) */
        max-width: 80vw;
        /* Ensure it doesn't exceed 80% */
        position: absolute;
        margin: 0;
        left: 0;


    }
}

.citation:hover .citation-text {
    visibility: visible;
    opacity: 1;
}

.key-findings {
    background-color: #f1f8ff;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.key-findings li {
    margin-bottom: 10px;
}


/* Mobile Styles */
@media screen and (max-width: 768px) {
    .nav-list {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #333;
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 20px 0;
    }

    .nav-list.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        margin-left: auto;
    }

    .menu-toggle .menuBar {
        background-color: #fff;
        height: 3px;
        width: 25px;
        margin: 4px 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg);
        position: absolute;
        top: 10px;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg);
        position: absolute;
        top: 10px;
    }

    .dropdown-menu,
    .dropdown-menu .dropdown-menu {
        position: static;
        display: block;
    }
}

/* languageLevelsOuter */
.languageLevelsOuter {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 1rem;
}

@media screen and (max-width: 1040px) {
    .languageLevelsOuter {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

}

@media screen and (max-width: 768px) {
    .languageLevelsOuter {
        grid-auto-flow: row;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        margin: 25px;
    }
}

/*  */
/* LanguageLevels */
/*  */

.languageLevel {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.languageLevel a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    display: block;
    width: 100%;
}

.languageLevel.entry a {
    background-color: rgb(232, 25, 87);
}

.languageLevel.beginner a {
    background-color: rgb(229, 195, 25);
}

.languageLevel.intermediate a {
    background-color: green;
    ;
}

.languageLevel.upperIntermediate a {
    background-color: rgb(24, 109, 226);
}

.languageLevel img {
    width: 50%;
    max-width: 200px;
    display: block;
    margin: auto;
    margin-bottom: 1rem;
}

.languageLevel.entry {
    border: 3px solid var(--entryLevel);
    border-radius: 5px;
    color: var(--entryLevel);
}

.languageLevel.beginner {
    border: 3px solid var(--beginnerLevel);
    border-radius: 5px;
    color: var(--beginnerLevel)
}

.languageLevel.intermediate {
    border: 3px solid var(--intermediateLevel);
    border-radius: 5px;
    color: var(--intermediateLevel);
}

.languageLevel.upperIntermediate {
    border: 3px solid var(--upperIntermediateLevel);
    border-radius: 5px;
    color: var(--upperIntermediateLevel);
}

.languageLevel p {
    color: black;
}

.languageLevel a {
    border: 1px solid;
    padding: 15px;
    display: block;
    text-align: center;
    margin: 0;
}


/*  */
/* Single Languages */
/*  */

.SingleLanguageHeader {
    min-height: 50vh;
    display: grid;
    grid-template-rows: 1fr auto;
    /* Main area + stats area */
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    color: white;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.5), 0 2px 5px rgba(0, 0, 0, 0.4);
    padding: 1rem;
    text-align: center;
}

.SingleLanguageHeader p {
    text-shadow: none !important;
    font-weight: 600;
}

/* Center the title/subtitle div
.SingleLanguageHeader>div:first-child {
    display: grid;
    place-items: center;
    text-align: center;
    align-self: center;
    width: 1100px;
    margin: auto;
    max-width: 90vw;
}

.SingleLanguageHeader>h1 {
    place-self: center;
} */


/* Make the main header a grid container with 3 rows */
.SingleLanguageHeader {
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    /* padding: 2rem; */
}

/* Center the title/subtitle div in the middle row */
.SingleLanguageHeader > div:first-child {
    grid-row: 2;
    display: grid;
    place-items: center;
    text-align: center;
    width: 1100px;
    margin: auto;
    max-width: 90vw;
}

/* .SingleLanguageHeader h1 {
    grid-row: 2;
} */

/* Style the membership perks at the bottom */
.membershipPerks {
    grid-row: 3;
    justify-self: center;
    margin: 0;
    padding-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    font-weight: bold;
    align-self:end;
    margin-top: 1rem;
    /* optional: add some space from bottom edge */
}

/* Stats at the bottom */
.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    font-size: clamp(18px, 0.5vw + 14px, 25px);
    grid-row:3;
}

.hero-stats p::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='white' d='M508.176,243.518c-5.5-6.281-15.109-6.859-21.391-1.313l-44.672,39.547L315.926,393.408c-7.953,7.016-18.078,10.781-28.484,10.781c-3.031,0-6.063-0.297-9.109-0.938l-72.125-15.984l-87.094-19.219l-61.078-13.516l-8.734-1.953c-2.766-0.938-5.219-2.156-7.375-3.766c-3.469-2.516-6.219-5.781-8.109-9.531c-1.938-3.766-2.953-7.953-2.953-12.219c0-2.609,0.438-5.344,1.219-8.016c0.953-2.891,2.313-5.5,3.984-7.813c2.453-3.469,5.781-6.219,9.531-8.094c3.703-1.953,7.875-2.953,12.156-2.953c0.719,0,1.438,0.063,2.156,0.063l62.953,13.594l146,31.578c18.078,3.969,36.938-0.938,50.813-13.219l89.766-79.078l91.656-80.734c8.234-7.297,11.703-18.578,8.891-29.188c-2.75-10.703-11.281-18.875-22.047-21.188l-11.422-2.453l-83.266-18L287.801,78.799c-18.063-3.969-36.922,0.938-50.813,13.234L96.129,215.768L53.77,252.986L16.91,285.361c-1.516,1.734-2.813,3.469-3.969,5.344c-0.656,0.797-1.234,1.516-1.813,2.391c-3.609,4.922-6.5,10.547-8.453,16.703c-1.813,5.703-2.672,11.563-2.672,17.266c0,12.359,3.969,24.141,10.984,33.828c3.531,4.922,7.797,9.25,12.797,12.859c4.906,3.625,10.547,6.516,16.688,8.391l0.656,0.219l64.25,14.094l60.859,13.297l105.672,23.125c5.125,1.156,10.328,1.672,15.531,1.672c17.703,0,34.984-6.359,48.578-18.297l3.609-3.172l125.469-111.094l41.781-37C513.16,259.408,513.738,249.814,508.176,243.518z'/%3E%3C/svg%3E");
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    margin-top: 5px;
    vertical-align: top;
    opacity: 1;
}

.hero-stats-mobile p::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='white' d='M508.176,243.518c-5.5-6.281-15.109-6.859-21.391-1.313l-44.672,39.547L315.926,393.408c-7.953,7.016-18.078,10.781-28.484,10.781c-3.031,0-6.063-0.297-9.109-0.938l-72.125-15.984l-87.094-19.219l-61.078-13.516l-8.734-1.953c-2.766-0.938-5.219-2.156-7.375-3.766c-3.469-2.516-6.219-5.781-8.109-9.531c-1.938-3.766-2.953-7.953-2.953-12.219c0-2.609,0.438-5.344,1.219-8.016c0.953-2.891,2.313-5.5,3.984-7.813c2.453-3.469,5.781-6.219,9.531-8.094c3.703-1.953,7.875-2.953,12.156-2.953c0.719,0,1.438,0.063,2.156,0.063l62.953,13.594l146,31.578c18.078,3.969,36.938-0.938,50.813-13.219l89.766-79.078l91.656-80.734c8.234-7.297,11.703-18.578,8.891-29.188c-2.75-10.703-11.281-18.875-22.047-21.188l-11.422-2.453l-83.266-18L287.801,78.799c-18.063-3.969-36.922,0.938-50.813,13.234L96.129,215.768L53.77,252.986L16.91,285.361c-1.516,1.734-2.813,3.469-3.969,5.344c-0.656,0.797-1.234,1.516-1.813,2.391c-3.609,4.922-6.5,10.547-8.453,16.703c-1.813,5.703-2.672,11.563-2.672,17.266c0,12.359,3.969,24.141,10.984,33.828c3.531,4.922,7.797,9.25,12.797,12.859c4.906,3.625,10.547,6.516,16.688,8.391l0.656,0.219l64.25,14.094l60.859,13.297l105.672,23.125c5.125,1.156,10.328,1.672,15.531,1.672c17.703,0,34.984-6.359,48.578-18.297l3.609-3.172l125.469-111.094l41.781-37C513.16,259.408,513.738,249.814,508.176,243.518z'/%3E%3C/svg%3E");
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    margin-top: 5px;
    vertical-align: top;
    opacity: 1;
}


.hero-stats-mobile p::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='black' d='M508.176,243.518c-5.5-6.281-15.109-6.859-21.391-1.313l-44.672,39.547L315.926,393.408c-7.953,7.016-18.078,10.781-28.484,10.781c-3.031,0-6.063-0.297-9.109-0.938l-72.125-15.984l-87.094-19.219l-61.078-13.516l-8.734-1.953c-2.766-0.938-5.219-2.156-7.375-3.766c-3.469-2.516-6.219-5.781-8.109-9.531c-1.938-3.766-2.953-7.953-2.953-12.219c0-2.609,0.438-5.344,1.219-8.016c0.953-2.891,2.313-5.5,3.984-7.813c2.453-3.469,5.781-6.219,9.531-8.094c3.703-1.953,7.875-2.953,12.156-2.953c0.719,0,1.438,0.063,2.156,0.063l62.953,13.594l146,31.578c18.078,3.969,36.938-0.938,50.813-13.219l89.766-79.078l91.656-80.734c8.234-7.297,11.703-18.578,8.891-29.188c-2.75-10.703-11.281-18.875-22.047-21.188l-11.422-2.453l-83.266-18L287.801,78.799c-18.063-3.969-36.922,0.938-50.813,13.234L96.129,215.768L53.77,252.986L16.91,285.361c-1.516,1.734-2.813,3.469-3.969,5.344c-0.656,0.797-1.234,1.516-1.813,2.391c-3.609,4.922-6.5,10.547-8.453,16.703c-1.813,5.703-2.672,11.563-2.672,17.266c0,12.359,3.969,24.141,10.984,33.828c3.531,4.922,7.797,9.25,12.797,12.859c4.906,3.625,10.547,6.516,16.688,8.391l0.656,0.219l64.25,14.094l60.859,13.297l105.672,23.125c5.125,1.156,10.328,1.672,15.531,1.672c17.703,0,34.984-6.359,48.578-18.297l3.609-3.172l125.469-111.094l41.781-37C513.16,259.408,513.738,249.814,508.176,243.518z'/%3E%3C/svg%3E");
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    margin-top: 5px;
    vertical-align: top;
    opacity: 1;
}

.hero-stats-mobile {
    display: none;
}

@media screen and (max-width: 768px) {
    .hero-stats {
        display: none;
    }

    .hero-stats-mobile {
        display: block;
    }

    .hero-stats-mobile p {
        margin: 0.25rem 0;
    }

}

.hero-stats p {
    margin: 0;
}



.italianHeader,
.spanishHeader,
.frenchHeader,
.dutchHeader {
    background-position: bottom !important;
}

.germanHeader {
    background-position: center !important;
}


.italianHeader h1,
.spanishHeader h1,
.frenchHeader h1,
.germanHeader h1,
.dutchHeader h1 {
    font-size: 4rem;
    text-transform: capitalize;
}




/* Sign up page */
/* Form Container */
/* LOGIN FORM */
.form-container {
    margin: auto;
    padding: 0 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Form Title */
.form-container h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 40px;
}

/* Form Group */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

/* Labels */
.form-group label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.form-group .signupFields {
    flex: 2;
}

.form-group .signupFields input,
.form-group .signupFields textarea {
    width: 100%;
}



.form-group .signupFields .error-message {
    color: firebrick;
    font-weight: bold;
    padding: 5px;
    font-size: 14px;
}

/* Input Fields */
.form-group input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #007bff;
    outline: none;
}



/* Responsive Layout */
@media (min-width: 768px) {
    .form-group {
        flex-direction: row;
        align-items: center;
    }

    .form-group label {
        flex: 1;
        margin-bottom: 0;
        margin-right: 10px;
        text-align: left;
    }

    .form-group input {
        flex: 2;
    }

    .loginFormLinks {
        display: flex;
        justify-content: space-between;
        padding: 20px 0;
    }

    .loginFormLinks p {
        margin: 0.75rem 0 0 0;
    }

    .checkbox-group {
        flex: 1;
    }

    .checkbox-group .checkbox-label {
        font-weight: 500;
    }
}

/* ALERTS */



.alert {
    padding: 15px;
    font-size: 20px;
    color: white;
    font-weight: bold;
    width: 80%;
    position: fixed;
    max-width: fit-content;
    border-radius: 5px;
    top: 125px;
    left: 25px;
}

.alert-success {
    background: darkgreen;
}

.alert-info {
    background: orange;
}

.alert-danger {
    background: firebrick;
}




.flash-message {
    animation: flashMessage 5s ease-in-out forwards;
}

@keyframes flashMessage {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    5% {
        opacity: 1;
        transform: translateY(0);
    }

    95% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }
}

/* GENERAL KEYFRAME */

/* animation: fadeIn 2s 0.5s forwards; */

@keyframes fadeIn {
    from {
        opacity: 0;
        /* Start invisible */
    }

    to {
        opacity: 1;
        /* End fully visible */
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0%);
    }
}

/* SWIPER STYLES */

.languageSlider .swiper-pagination {
    margin-top: 1rem;
    position: static;
}

.mobileOnly {
    display: none;
}

@media screen and (max-width: 768px) {
    .mobileOnly {
        display: block;
    }
}

.desktopOnly {
    display: block;
}

@media screen and (max-width: 768px) {
    .desktopOnly {
        display: none;
    }
}

.makeFlex {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
}

span[aria-current="page"] span {
    text-decoration: underline;
}

/* Previous/Next buttons - active state */
#previous_page,
#next_page {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

#next_page {
    margin-right: -18px;
}

/* Previous/Next buttons - disabled state */
#no_previous_page,
#no_next_page {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
    cursor: not-allowed;
}

/* Hover effects */
#previous_page:hover,
#next_page:hover {
    background-color: #f3f4f6;
    color: #3b82f6;
}

/* Page number links */
nav a[href*="page="] {
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
    color: blue;
}


#no_next_page_mobile,
#no_previous_page_mobile,
#next_page_mobile,
#previous_page_mobile {
    padding: 5px;
    height: 45px;

}


nav a[href*="page="]:hover {
    background-color: #f3f4f6;
    color: firebrick;
}

/* Current page enhancement */
span[aria-current="page"] span {
    text-decoration: underline;
    color: firebrick;
}

.bookSummary br {
    margin-bottom: 1rem;
}

.bookSummary br:nth-of-type(even) {
    display: none;
}

#countries-list option {
    font-size: 50px;
}

/* Make the dropdown arrow visible and clickable */
input[list]::-webkit-calendar-picker-indicator {
    display: block;
    opacity: 1;
    cursor: pointer;
}

/* For Firefox */
input[list]::-moz-list-arrow {
    display: block;
}

/* Optional: Style the input to look more like a select */
input[list] {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

.contentSectionLegal h2, 
.contentSectionLegal h3 {
    margin-top: 1rem;
}

.subsection-list {
    list-style:circle ;
    margin-left: 15px;  
}