/*@font-face {*/
/*    font-family: "TheAntiquaB";*/
/*    src:*/
/*        local("TheAntiquaB"),*/

/*        url("fonts/TheAntiquaB-W5Plain.woff2") format("woff"),*/
/*        url("fonts/TheAntiquaB-W4SemiLight.woff2") format("woff"),*/
/*        url("fonts/TheAntiquaB-W6SemiBold.woff2") format("woff");*/
/*}*/

/*@font-face {*/
/*    font-family: "Azo Sans";*/
/*    src:*/
/*            local("Azo Sans"),*/
/*            url("fonts/AzoSans-Medium.woff") format("woff"),*/
/*            url("fonts/AzoSans-MediumItalic.woff") format("woff"),*/
/*            url("fonts/AzoSans-Regular.woff") format("woff");*/
/*}*/

@font-face {
    font-family: "Red Hat Display";
    src:
            local("Red Hat Display"),
            url("fonts/RedHatDisplay-Bold.woff2") format("woff"),
            url("fonts/RedHatDisplay-Medium.woff2") format("woff"),
            url("fonts/RedHatDisplay-Regular.woff2") format("woff");
}

html {
    height: 100%;
    color: #ccc;
}
body {
    background:#333;
    /*font-family:system-ui, sans-serif;*/
    /*font-family: "TheAntiquaB", sans-serif;*/
    /*font-family: "Azo Sans", sans-serif;*/
    font-family: "Red Hat Display", sans-serif;

    margin:0; padding:0;
    display:flex; align-items:center; justify-content:center;
    height:100%;
    color: #245ba7 ;
    font-size: 24px;
}
.default-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.blue {
    color: #245ba7 ;
}
ul {
    padding-left: 0;
}
li {
    list-style: none;
}
td {
    width: 50%;
    position: relative;
}
.timeline {
    background:#333;
    width:90%;
    min-width: 360px;
    max-width: 600px;
    /*overflow:hidden;*/
    position: relative;
    display: block;
    height: 100%;
    min-height: 500px;
    max-height: 1200px;
}
.timeline audio {
    display: none;
}
.timeline #resolution {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    color: #999;
    text-align: center;
    font-size: 20px;
    z-index: 1;
}
.timeline #audio-control, .timeline #global-slide-control {
    z-index: 1;
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}
.timeline #audio-control {
    right: auto;
    left: 60px;
}
.moment {
    padding: 5px;
    background-color: #245ba7 ;
    border-radius:.6rem;
    box-shadow:0 4px 12px rgba(0,0,0,.1);
    opacity:0;   /* start invisible */
    height: 0;
    /*transform:translateY(40px);  /* start slightly below */
    position: absolute;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align:center;
    overflow: hidden;
    color: white;
}
.moment h1 {
    font-size: 20px;
    font-weight: normal;
    /*font-family: "Azo Sans", sans-serif;*/
    width: 96%;
    padding: 0 2%;
}
.moment h2 {
    font-size: 26px;
    width: 96%;
    padding: 0 2%;
    margin-bottom: 5px;
}
.moment h3 {
    margin-top:0;
    /*color:#222;*/
    font-size: 28px;
}
.moment p {
    font-size: 26px;
}
.moment i {
    font-size: 30px;
}
.moment#m1 {
    height: 100%;
    opacity: 1!important;
    background: #fff;
    /*background-image: url(./images/bottom-left-corner.svg);*/
    /*background-position: bottom right;*/
    /*background-size: 300px 300px;*/
    /*background-repeat: no-repeat;*/
}

.moment#m1 svg{
    overflow: visible;
}
.moment#m1 .hide{
    display: none;
}
.moment#m1 button, .moment#m12 button {
    background-color: #70c1b3;
    border: none;
    color: white;
    padding: 20px 40px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 30px;
    cursor: pointer;
    border-radius: 10px;
}
.moment#m1 h1, .moment#m1 h2, .moment#m1 p {
    color: #245ba7 ;
}
.moment#m1 h1 {
    font-size: 50px;
    margin-top: 40px;
    margin-bottom: 10px
}
@media (max-width: 400px) or (max-height: 600px) {
    .moment#m1 svg {
        max-height: 200px;
    }
    .moment#m1 h1 {
        font-size: 40px;
        margin-top: 20px;
    }
    .moment#m1 button {
        padding: 10px 20px;
        font-size: 26px;
    }
}
.moment .background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(./images/rd-pattern-white.svg);
    opacity: .1;
    z-index: -1;
    background-size: 200%;
}

.moment#m2 {
    background-color: white;
}
.moment#m2 span, .moment#m2 p.intro {
    opacity: 0;
}
.moment#m2 .background {
    background-image: url(./images/rd-pattern-blue.svg);
}

.moment#m2 img {
    width: 140px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.moment#m2 .year {
    margin: 0 -80px 0 -80px;
    display: block;
    color: #70c1b3;
}

.moment#m2 span {
    display: inline-block;
    font-size: 360px;
    font-weight: bold;
    line-height: 260px;
}
.moment#m2 p.intro {
    font-size: 40px;
    font-weight: bold;
    line-height: 40px;
    color: #245ba7 ;
}

@media (max-width: 400px) or (max-height: 600px) {
    .moment#m2 span {
        font-size: 280px;
        line-height: 180px;
    }

    .moment#m2 p.intro {
        margin-top: 10px;
    }
}
.moment#m4 h1, .moment#m4 h2 {
    color: white;
}
.moment#m4 span {
    /*margin-top: 10px;*/
    line-height: 40px;
    /*font-size: 26px;*/
    /*display: block;*/
    color: white;
}
#m4 .background {
    /*background-image: url(./images/gradient.jpg);*/
    /*opacity: 1;*/
}
#m4 .stats-wrapper {
    width: 100%;
}
#m4 .stats-wrapper #readStatsB {
    font-size: 360px;
    /*line-height: 260px;*/
    opacity: 0;
    /*margin-bottom: 40px;*/
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
#m4 .stats-wrapper #readStatsB.length-3 {
    font-size: 250px;
}
#m4 .clock-wrapper {
    z-index: -1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#m4 .clock {
    z-index: 2;
    position: relative;
    width: 32rem;
    height: 32rem;
    margin-left: 1px;
    border-radius: 50%;
    border: 1rem solid currentColor;
    opacity: .6;
}
#m4 .clock:after {
    content: "";
    position: absolute;
    top: 1rem;
    left: 16rem;
    width: 1rem;
    height: 6rem;
    border-radius: .500rem;
    background-color: currentColor;
    opacity: .7;
}
@media (max-width: 400px) or (max-height: 650px) {
    #m4 h2 {
        font-size: 18px;
    }
    #m4 .clock {
        width: 16rem;
        height: 16rem;
        margin-left: 1px;
    }
    #m4 .clock:after {
        top: 1rem;
        left: 7.5rem;
        width: 1rem;
        height: 4rem;
    }
    #m4 .stats-wrapper #readStatsB {
        font-size: 180px;
    }
    #m4 .stats-wrapper #readStatsB.length-3 {
        font-size: 140px;
    }
}
@media (min-height: 650px) and (max-height: 900px) {
    #m4 .clock {
        width: 28rem;
        height: 28rem;
        margin-left: 1px;
    }
    #m4 .clock:after {
        top: 1rem;
        left: 14rem;
        width: 1rem;
        height: 4rem;
    }
    #m4 .stats-wrapper #readStatsB {
        font-size: 300px;
    }
}

.hours-combined, .articles-combined, .puzzles-combined, .collected-2026 {
    font-size: 30px;
    position: absolute;
    bottom: 60px;
    text-align: center;
}

.stats-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#m4a ol {
    width: 80%;
    margin: 0 auto;
}

#m4a li {
    opacity: 0;
    text-align: left;
    list-style: decimal;
}
#m4a .favTopics {
    opacity: 0;
}
@media (min-width: 400px) and (min-height: 600px) {
    #m4a ol {
        margin-bottom: 20px;
    }
}

#m4aa .stats-wrapper span, #m4 .stats-wrapper span {
    display: block;
}
#m4aa h2.articles-combined {
    font-size: 22px;
}
#m4aa .stats-wrapper #readStats2A {
    font-size: 150px;
    line-height: 80px;
    opacity: 0;
}
#m4aa .stats-wrapper #readStats2A.length-4 {
    font-size: 140px;
}
#m4aa .stats-wrapper #readStats2A.length-5 {
    font-size: 100px;
}
#m4aa .stats-wrapper #readStats2B {
    opacity: 0;
}
@media (max-width: 400px) or (max-height: 600px) {
    #m4aa .stats-wrapper #readStats2A {
        font-size: 100px;
        line-height: 80px;
    }
    #m4aa .stats-wrapper #readStats2A.length-4 {
        font-size: 70px;
    }
    #m4aa .stats-wrapper #readStats2A.length-5 {
        font-size: 60px;
    }

}

.moment#m5 .background, .moment#m5a .background {
    background-image: url(./images/rd-pattern-white.svg);
    background-color: #245ba7 ;
}
.moment#m5 a, .moment#m5a a {
    display: block;
    text-decoration: none;
    color: white;
}
.moment#m5 .favArticles, .moment#m5a .favArticles {
    opacity: 0;
}
.moment#m5 .default-wrapper, .moment#m5a .default-wrapper {
    top: 55%;
}

.moment#m5 .title, .moment#m5a .title {
    width: 60%; /* change together with img */
    margin: 0 auto 20px;
    text-align: left;
    display: block;
    font-size: 20px;
    line-height: 14px;
    height: 42px;
    opacity: 0;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.moment#m5 .title::first-letter, .moment#m5a .title::first-letter {
    float: left;
    line-height: 28px;
    font-size: 30px;
    padding-right: 10px;
}
.moment#m5 img, .moment#m5a img {
    width: 60%; /* change together with title */
    object-fit: cover;
    opacity: 0;
    max-height: 140px;
    object-position: top;
}
.moment#m5 .number, .moment#m5a .number {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    text-align: center;
    font-size: 110px;
    opacity: 0;
}

@media (min-width: 500px) and (max-width: 800px) and (min-height: 700px) and (max-height: 800px) {
    .moment#m5 img, .moment#m5a img {
        width: 70%; /* change together with title */
        max-height: 120px;
    }

    .moment#m5 .title, .moment#m5a .title {
        width: 70%; /* change together with img */
        margin-bottom: 10px;
        font-size: 16px;
    }

    .moment#m5 .title::first-letter, .moment#m5a .title::first-letter {
        line-height: 28px;
        font-size: 30px;
        padding-right: 5px;
    }

    .moment#m5 .number, .moment#m5a .number {
        font-size: 70px;
    }
}

@media (max-width: 400px) or (max-height: 700px) {
    .moment#m5 .default-wrapper, .moment#m5a .default-wrapper {
        top: 50%;
    }
    .moment#m5 h2, .moment#m5a h2 {
        display: none;
    }
    .moment#m5 img, .moment#m5a img {
        width: 50%; /* change together with title */
        max-height: 120px;
    }

    .moment#m5 .title, .moment#m5a .title {
        width: 90%; /* change together with img */
        margin-bottom: 10px;
        font-size: 16px;
    }

    .moment#m5 .title::first-letter, .moment#m5a .title::first-letter {
        line-height: 28px;
        font-size: 30px;
        padding-right: 5px;
    }

    .moment#m5 .number, .moment#m5a .number {
        font-size: 70px;
    }
    .moment#m5 .title, .moment#m5a .title {
        width: 90%; /* change together with img */
        margin: 0 auto 10px;
        height: 28px;
        -webkit-line-clamp: 2;
    }
}
@media (max-height: 600px) {
    .moment#m5 .default-wrapper, .moment#m5a .default-wrapper {
        top: 50%;
    }
    .moment#m5 h2, .moment#m5a h2 {
        display: none;
    }
    .moment#m5 img, .moment#m5a img {
        width: 50%; /* change together with title */
        max-height: 80px;
    }
}

.moment#m7 .puzzle {
    width: 140px;
    opacity: 0;
}
.moment#m7 h1, .moment#m8 h1 {
    color: white;
}
.moment#m7 #most-puzzled {
    margin-top: 10px;
    opacity: 0;
}

.moment#m7 #puzzleStats {
    display: inline;
}

@media (min-width: 400px) and (max-width: 500px) and (min-height: 500px) and (max-height: 700px) {
    .moment#m7 .puzzle {
        width: 100px;
    }
}

@media (max-width: 400px) or (max-height: 500px) {
    .moment#m7 .puzzle {
        width: 90px;
    }
    .moment#m7 h2 {
        font-size: 20px;
    }
}


.moment#m8 span  {
    font-weight: bold;
    margin-top: 20px;
    display: block;
}



.moment#m8 .img-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1;
}
.moment#m8 .img-wrapper img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit:cover;
    left: 0;
}
.moment#m8 .img-wrapper .title {
    height: 40px;
    text-align: center;
    vertical-align: bottom;
    position: absolute;
    bottom: 64px;
    padding: 0 2%;
    width: 96%;
    overflow: hidden;
    font-size: 32px;
    line-height: 32px;
    text-shadow: black 0 0 5px;
}

.moment#m9 ul {
    margin: 0 2% 30px 2%;
    opacity: 0;
}

.moment#m9 {
    background-color: white;
    color: #245ba7 ;
}
.moment#m9 h3 {
    color: #70c1b3;
    margin-bottom: 0;
    opacity: 0;
}
.moment#m9 i {
    opacity: 0;
    margin-top: 0;
}
.moment#m9 .background {
    background-image: url(./images/rd-pattern-blue.svg);
}
@media (max-width: 400px) or (max-height: 600px) {
    .moment#m9 h2 {
        font-size: 22px;
    }
    .moment#m9 ul {
        font-size: 20px;
    }
    .moment#m9 h3 {
        font-size: 24px;
    }
    .moment#m9 .default-wrapper {
        top: 55%
    }
}


.moment#m11a {
    background-color: #70c1b3;
}
.moment#m11a .background {
    background-image: url(./images/emg-pattern.svg);
    opacity: .07;
}
.moment#m11a span.donated {
    font-size: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    line-height: 100%;
    margin: 0;
}
.moment#m11a h1 span {
    opacity: 0;
}
.moment#m11a #donated-number-span {
    opacity: 0;
    display: block;
}

.moment#m11a .donated {
    display: inline-block;
}
.moment#m11a h2 {
    opacity: 0;
}
.moment#m11a p {
    font-size: 24px;
}
.moment#m11a span.euro-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    font-size: 700px;
    line-height: 100%;
    opacity: .1;
}

.moment#m11a #actie-rd-logo {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80px;
    transform: translate(-50%, -50%);
}
.moment#m11a .collected-2026 {
    bottom: 120px;
}
@media (max-width: 500px) or (max-height: 600px) {
    .moment#m11a span.donated {
        font-size: 30px;
    }
    .moment#m11a h2 {
        font-size: 20px;
    }
}
.moment#m11 {
    background-color: #70c1b3;
}
.moment#m11 .background {
    background-image: url(./images/emg-pattern.svg);
    opacity: .06;
}
.moment#m11 span {
    opacity: 0;
    display: block;
    font-variant-caps: all-small-caps;
    font-size: 28px;
    margin-bottom: 10px;
}
.moment#m11 span.info-header {
    font-size: 90px;
    font-weight: bold;
    line-height: 50px;
    margin: 0px;
}
@media (max-width: 400px) or (max-height: 700px) {
    .moment#m11 span.info-header {
        font-size: 44px;
        line-height: 16px;
    }
    .moment#m11 h2 {
        font-size: 20px;
    }
    .moment#m11 .default-wrapper {
        top: 60%;
    }
}

.moment#m12 i {
    font-size: 80px;
}
.moment#m12 a {
    opacity: 0;
    display: block;
    cursor: pointer;
}
.moment#m12 button {
    opacity: 0;
    margin-top:10px;
}
.moment#m12 input[type='text'] {
    margin-top: 10px;
    width: 88%;
    padding: 20px 10px;
    font-size: 20px;
    border: #70c1b3 solid 2px;
    border-bottom: 1px solid #ccc;
    opacity: 0;
    border-radius: 10px;
    line-height: 30px;
}
.moment#m12 input[type='text'].active {
    color: #70c1b3;
}
.moment#m12 .default-wrapper {
    width: 80%;
}
@media (max-width: 400px) or (max-height: 600px) {
    .moment#m12 button {
        padding: 10px 20px;
        font-size: 26px;
    }
    .moment#m12 i {
        font-size: 70px;
    }
    .moment#m12 input[type='text'] {
        padding: 10px 10px;
    }
}
.vote i {
    transition: color .2s;
}
.vote i:hover, .vote i.active {
    color: #70c1b3;
}
.vote td {
    width: 33%;
}
.vote a {
    color: white;
    text-decoration: none;
}

.login-page {
    background-color: #245ba7 ;
    color: white;
    text-align: center;
}

.login-page .background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(./images/rd-pattern-white.svg);
    opacity: .1;
    z-index: -1;
}

.login-form {
    margin: 0 auto;
    width: 300px;
}

.login-form input {
    font-size: 26px;
    width: 240px;
    margin-bottom: 20px;
    border: none;
}

.login-form input[type='text'], .login-form input[type='password'] {
    padding: 10px;
}

.login-form input[type='submit'] {
    background-color: white;
    padding: 10px;
    /*min-width: 240px;*/
    color: #245ba7 ;
    width: 260px;
    cursor: pointer;
}
.login-form a {
    font-size: 14px;
    text-decoration: none;
    color: white;
}