@font-face {
    font-family: 'Mostest';
    /* src: url('webfont.eot'); IE9 Compat Modes */
    src: /* url('webfont.eot?#iefix') format('embedded-opentype'), IE6-IE8 */
         url('MostestVF.woff2') format('woff2'), /* Super Modern Browsers */
         url('MostestVF.woff') format('woff'), /* Pretty Modern Browsers */
         url('MostestVF.ttf')  format('truetype'); /* Safari, Android, iOS */
         /* url('webfont.svg#svgFontName') format('svg'); Legacy iOS */
  
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
      margin: 0;
      padding: 0;
      border: 0;
      vertical-align: baseline;
  }

body{
    font-family: 'Mostest';
    /* The image used */
    background-image: url('check-bestanden.jpg');

    /* Full height */
    height: 100%; 

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#background-overlay {
    height: 100vh;
    display: flex; /* Using Flexbox */
    justify-content: center; /* Horizontal Centering */
    align-items: center; /* Vertical Centering */
    background: linear-gradient(to bottom, rgba(28, 0, 75, 0.5), rgba(28, 0, 75, 0.8));
}

#check-bestanden {
    margin-top: calc(0.01852 * (100vw - 360px) + 20px);
    padding: 3rem 2rem;
    display: inline-flex; /* This will let span behave as a flexible inline item */
    background-color: rgba(68, 25, 90, 0.3);
    backdrop-filter: blur(8px);
}

h1 {
    color: rgba(205,106,255,0.4);
    text-shadow:
        -1px -1px 0 #503A5B,  
        1px -1px 0 #503A5B,
        -1px 1px 0 #503A5B,
        1px 1px 0 #503A5B;
    text-align: center;
    font-size: calc(1.10 * (1.5rem + ((1vw - 5.44px) * 2.2917))); 
    /* line-height: calc(1.2em + ((1vh - 320px) / 30));  */
    /* line-height: calc(1.2em + ((1vh - 1vw) / 2)); */
    line-height: calc(16 * (1vh / 3));
}
/* @media (min-width: 2220px) {
    h1 {
      font-size: calc(1.10 * 72px);
      line-height: 1.5em;
    }
} */

@media (max-height: 500px) {
    h1 {
        line-height: calc(1.7rem + (100vw - 360px) * 0.005);
    }
}

#showtitlewrapper{
    display: none;
}


.bar{
    color: white; /* or any contrasting color */    
    background-color: #000; /* ensures the bar is clearly visible */
    font-size: 24px;    
    padding-bottom: 10px;
    padding-right: 10px;
}

#horizontal-bar-bottom {
    z-index: 1000;
    position: fixed;
    bottom: 0;
    left: 0;
    height: 20px; /* or adjust as needed */
    width: 100vw;
    overflow: hidden;
    white-space: nowrap;
}
#horizontal-bar-top {
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    height: 20px; /* or adjust as needed */
    width: 100vw;
    overflow: hidden;
    white-space: nowrap;
    transform: rotate(180deg); /* this rotates the div to be upside-down */
}

.scrolling-text-horizontal {
    white-space: nowrap;
    animation: scrollTextHorizontal 10s linear infinite;
    position: relative;
    left: 0;
}

.text-content-horizontal {
    display: inline-block;
}

@keyframes scrollTextHorizontal {
    0% {
        left: 0;
    }
    100% {
        left: -95%;
    }
}


.text-wide{
    font-variation-settings: "wdth" 1375;
}
.text-narrow{
    font-variation-settings: "wdth" 875;
}

#vertical-bar-right, #vertical-bar-left {
    position: fixed;
    top: 0;
    width: 30px; /* adjust as needed */
    margin-left:-10px;
    margin-right:-10px;
    height: 100vh;
    overflow: hidden;
}
a{
    color: rgba(0,0,255,1);
    /*text-decoration: none;    */
}
a:hover { 
    color: rgba(205,106,255,1);
    /*text-decoration: underline;*/
}
#vertical-bar-right {
    right: 0;
    transform: rotate(180deg); /* this rotates the div to be upside-down */
}
.scrolling-text-vertical {
    animation: scrollTextVertical 15s linear infinite;
    position: relative;
    top: 0;
    width: 20px;
    height: 100vh;
}

.text-content-vertical {
    height: 10%; /* Adjust according to your content */
    display: block;
    transform: rotate(-90deg);
    transform-origin: left top;
    white-space: nowrap;
    position: relative;
    left: 50%;
    top: 50%;
}

@keyframes scrollTextVertical {
    0% {
        top: -100%;    
    }
    100% {
        top: 150%;
    }
}