:root {
  --main-bg-color: #E30147;
  --main-dark-color: #121212;
  --main-light-color: #F0F0F0;
  --main-bg-color-rgb: 227,1,71;
  --main-dark-color-rgb: 18,18,18;
  --main-light-color-rgb: 240,240,240;
  --opacity-hover-default: 0.85;
}

/*** START: RESET ***/
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/
*,
::before,
::after {
    box-sizing: border-box; /* 1 */
    border-width: 0; /* 2 */
    border-style: solid; /* 2 */
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the system's `sans` font-family by default.
*/
html {
    line-height: 1.5; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    -moz-tab-size: 4; /* 3 */
    tab-size: 4; /* 3 */
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/
body {
    margin: 0; /* 1 */
    line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/
hr {
    height: 0; /* 1 */
    color: inherit; /* 2 */
    border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr:where([title]) {
    text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/
a {
    color: inherit;
    text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/
b,
strong {
    font-weight: bolder;
}

/*
1. Use the system's `mono` font family by default.
2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace; /* 1 */
    font-size: 1em; /* 2 */
}

/*
Add the correct font size in all browsers.
*/
small {
    font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sub {
    bottom: -0.25em;
}
sup {
    top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/
table {
    text-indent: 0; /* 1 */
    border-color: inherit; /* 2 */
    border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/
button,
input,
optgroup,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    font-weight: inherit; /* 1 */
    line-height: inherit; /* 1 */
    color: inherit; /* 1 */
    margin: 0; /* 2 */
    padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/
button,
select {
    text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button; /* 1 */
    background-color: transparent; /* 2 */
    background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/
:-moz-focusring {
    outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/
:-moz-ui-invalid {
    box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
    vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
    -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/
summary {
    display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
    margin: 0;
}

fieldset {
    margin: 0;
    padding: 0;
}

legend {
    padding: 0;
}

ol,
ul,
menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/
textarea {
    resize: vertical;
}

/*
Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
*/
input::placeholder,
textarea::placeholder {
    opacity: 1;
}

/*
Set the default cursor for buttons.
*/
button,
[role="button"] {
    cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
    cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block; /* 1 */
    vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/
img,
video {
    max-width: 100%;
    height: auto;
}

/*
Make elements with the HTML hidden attribute stay hidden by default.
*/
[hidden] {
    display: none;
}
/*** END: RESET ***/



html {
    font-family: sans-serif;
    line-height: 1.15;
    /*-webkit-text-size-adjust: 100%;*/
    -ms-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    /*font-family: "Helvetica Neue", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";*/
    font-family: "Helvetica Neue", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}


.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.block {
    display: block;
}
.inline-block {
    display: inline-block;
}
small,
.small {
    font-size: 80%;
}


 .mt-1 {
    margin-top: 1px;
 }



.max-w-md {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* ul / ol */
.list-disc-inside {
    list-style-type: disc;
    list-style-position: inside;
}


.box-shadow {
    box-shadow: 1px 1px 5px var(--main-dark-color);
}
.txt-shadow {
    text-shadow: 1px 1px 5px var(--main-dark-color);
}



b,
.bold,
.fw-bold {
    font-weight: 700;
}
.semibold,
.fw-semibold {
    font-weight: 500;
}
.fw-normal {
    font-weight: normal;
}
.fw-light {
    font-weight: 300;
}

i,
.italic,
.fs-italic {
    font-style: italic;
}
.fs-normal {
    font-style: normal;
}


.uppercase {
    text-transform: uppercase;
}
.txt-center {
    text-align: center;
}
.txt-light {
    color: var(--main-light-color);
}
.txt-dark {
    color: var(--main-dark-color);
}

.bg-light, .bg-dark {
    padding: 18px 15px;
}
.bg-light {
    background-color: var(--main-light-color);
    color: var(--main-dark-color);
}
.bg-dark {
    background-color: var(--main-dark-color);
    color: var(--main-light-color);
}


p,
.paragraph {
    margin: 0;
    margin-bottom: 1em;
}

hr {
    border: 1px solid var(--main-bg-color);
    border-width: 1px 0 0;
    margin: 16px 0;
}




.svg-box svg {
    display: block;
    width: 100%;
    height: 100%;
}
h1.svg-box {
    margin: 0;
}
h1.svg-box > svg {
    max-width: 958px;
    margin: 0 auto;
}

body.terms a.block > svg {
    width: 379px; /* half */
    max-width: 70%;
    margin: 0 auto;
}





#footer {
    text-transform: uppercase;
    letter-spacing: 0.05em; /*TMP HACK*/
    padding: 12px 0;
    text-align: center;
}
#footer .contact,
#footer .email {
    font-weight: 500;
}
#footer .links {
    font-size: 0.75rem;
    font-weight: 300;

    flex-grow:0;
    width: 100%;
    /*padding-top:12px;*/
    display: flex;
    justify-content: center;
    flex-direction: row;
    /*gap: 6px;*/

    align-items: center;
}
#footer .links a {
    display: block;
    padding: 11px;
}







body.terms .content {
    background-color: #FFFFFF;
    color: #1A1A1A;

    padding: 16px;
    padding: max(16px, min(2.4vh, 2.4vw)); /* min of 16px */
}
/*
body.terms .content hr {
    margin-left: -16px;
    margin-right: -16px;
    margin-left: min(-16px, max(-2.4vh, -2.4vw));
    margin-right: min(-16px, max(-2.4vh, -2.4vw));
}*/
body.terms .content-footer {
    margin-top: 1px;
    padding-top: 0;
    padding-bottom: 0;
    padding: 0;
}

body.terms .content-footer a {
    display: inline-block;
    padding: 16px;
    padding: 10px max(16px, min(2.4vh, 2.4vw)); /* min of 16px */
}
body.terms ul {
    list-style-type: disc;
    list-style-position: inside;
    margin: 0.5em 0;
}



body.terms .content a {
    color: var(--main-bg-color);
}
body.terms .content a:hover,
body.terms .content a:active,
body.terms .content a:focus {
    /*opacity: var(--opacity-hover-default);*/
    color: rgba(var(--main-bg-color-rgb), var(--opacity-hover-default));
}
















html {
    /*scroll-behavior: smooth;
    */
    /*
    background-color: rgba(255, 69, 0, 0.70);
    background-color: rgba(0, 0, 0, 0.70);
    background-color: rgba(220, 20, 60, 0.70);
    */
    background-color: var(--main-bg-color);
}
html,
body {
    min-height:100%;
    margin:0;
    padding:0;

    /*font-family: Helvetica Neue;*/
}
body {

    

}
.bg {
    height: 100svh;
    
    /*background-color: #E30147;*/
    position: relative;


    max-width: 3200px;
    margin-left: auto;
    margin-right: auto;

    /* test
    border: min(16px, min(2.4lvh, 2.4lvw)) solid var(--main-dark-color);
    */
}
/*
@media (max-width: 720px) {
    .bg {
        transition: height 0.6s ease;
    }
}*/
@media (max-width: 720px) and (pointer: coarse) { /* device of limited accuracy, such as a finger on a touchscreen */
    .bg {
        transition: height 0.6s ease;
    }
}

.bg-title {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;

    height: 100%;
    margin-left: auto;
    margin-right: auto;

    text-align: center;

    font-size: 2.3rem;
    font-weight: 500;
    color: var(--main-light-color);

    position: relative; z-index: 2;
}
.bg-title .logo-wrap {
    width: 68%;
    padding-bottom: 15lvh;
}
body.screenshot .bg-title .logo-wrap {
    padding-bottom: 0;
}

@media (orientation:landscape) {
    .bg-title .logo-wrap {
        width: 50%;
    }
}

.bg .btn-next {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-bg-color);

    position: absolute;
    bottom: 10lvh;
    left: 50%; /* TODO*/

    margin-left: calc(max(42px, min(8lvh, 8lvw)) / 2 * -1);
    width: max(42px, min(8lvh, 8lvw));  /* min of 42px */
    height: max(42px, min(8lvh, 8lvw));
    border-radius: 999px;

    text-align: center;

    font-size: max(0.7rem, min(2.2lvh, 2.2lvw));
    /*
    transform: rotate(180deg);
    */
    opacity: 0.7;

    transition: opacity 0.3s ease;

    text-decoration: none;
}

.bg .btn-next {
    z-index: 3;
    box-shadow: 0 0 2px var(--main-dark-color);
}

body.screenshot .bg .btn-next {
    display: none;
}

.bg .btn-next:hover {
    opacity: 1;
}

.bg .btn-next:after {
    content: '';
    display: inline-block;

    width: 0;
    height: 0;
    border-style: solid;
    border-color: var(--main-light-color) transparent transparent transparent;
    border-width: 1em 0.75em 0 0.75em;
    margin-top: 10%;
}

.bg-inner {
    height: 100%;

    overflow: hidden;
    /*background-color: blue;*/
    position: absolute; z-index: 1;
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    
    padding: 16px;
    padding: min(16px, min(2.4lvh, 2.4lvw)); /* max of 16px */
}
.bg-inner-inner {
    height: 100%;
    overflow: hidden;
    position: relative;

    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-color: transparent;
    background-image: url('/src/assets/images/bg-70-3200/bg1.jpg'); background-position: center 90%;
}
.bg-inner-inner.bg2 {
    background-image: url('/src/assets/images/bg-70-3200/bg2.jpg'); background-position: center 20%;
}
.bg-inner-inner.bg3 {
    background-image: url('/src/assets/images/bg-70-3200/bg3.jpg'); background-position: center center;
}
.bg-inner-inner.test {
    /*background-image: url('https://placehold.co/1440x900/EEE/31343C/png?font=noto-sans&text=1440x900');
    background-image: url('https://elmers.li/images/image0.jpeg');
    background-image: url('/src/assets/images/test/img-2541-web-TS0AG7EV-E8QR91WT.webp');
    background-image: url('/src/assets/images/test/scaledImage.webp');
    */
    
    background-image: url('/src/assets/images/test/2nsHpuWm4ErBbAy5MA7TeL.jpg');
    background-position: 48% 40%
}


.bg-inner-inner2 { /* fallback while loading the img -> TODO: move to parent */
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;

    background-color: rgb(0,0,0, 0.3);
    box-shadow: inset 4px 4px 0px var(--main-light-color), inset -4px -4px 0px var(--main-light-color), inset 0px 0px 150px var(--main-dark-color);
    /*
    box-shadow: inset 4px 4px 0px #000000, inset -4px -4px 0px #000000, inset 0px 0px 150px var(--main-dark-color);
    */
    z-index: -1;
}
#logo {
    display: block;
    margin: auto;


    width: 958px;
    max-width: 100%;
}




a {
    color: var(--main-light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover,
a:active,
a:focus {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}


#events {
    display: flex;

    padding: 16px;
    padding: min(16px, min(2.4lvh, 2.4lvw)); /* max of 16px */
    min-height: 100lvh;
}
body.screenshot #events {
    display: none;
}




.containerXY {
    /*border: 2px solid blue;*/
    max-width: 920px;
    max-width: 960px;
    /*max-width: 1200px;*/
    margin-left: auto;
    margin-right: auto;

}
#events .containerXY {
    /*height: 100%;*/
    /*margin: auto;*/

    width: 100%; /* :( */
}

#events .events-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;

    height: 100%; /* :( */
}





.event .datetime,
.event .links a {
    font-size: 1rem;
}
.bg-light, .bg-dark,
#events .event {
    background-color: var(--main-light-color);
    color: var(--main-dark-color);

    font-size: 1.125rem; /*TMP HACK*/

    padding: 18px 15px;
}
#events .event {
    text-transform: uppercase;
    font-weight: 500; /*TMP HACK*/
    letter-spacing: 0.1em; /*TMP HACK*/
}
#events .event .top {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px;
}
#events .event .datetime {
    flex-grow: 1;
}

#events .event .datetime,
#events .event .links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
}
#events .event .datetime > div,
#events .event .links > a {
    padding: 2px 5px 3px;
    line-height: 1;
    
    background-color: var(--main-dark-color);
    color: var(--main-light-color);
    
    display: block;
}
#events .event .links > a {
    /*font-style: italic;*/
    transition: background-color 0.3s ease, box-shadow 0.3s ease-out;

    font-style: normal;
    transform: skew(-7deg);
    transform-origin: left bottom;
}
#events .event .links > a:hover,
#events .event .links > a:active,
#events .event .links > a:focus {
    /*
    color: rgba(255, 255, 255, 0.6);
    color: rgba(240, 240, 240, 0.6);
    */
    /*text-decoration: none;*/
    text-decoration: underline;
    background-color: rgba(var(--main-dark-color-rgb), var(--opacity-hover-default));
    box-shadow: none;

}

#events .event .title {
    padding-top: 12px;
    font-weight: 700;
}

.bg-dark,
#events .event:nth-child(odd) {
    background-color: var(--main-dark-color);
    color: var(--main-light-color);
}
#events .event:nth-child(odd) .top {
    gap: 8px; /* optical fix +1 */
}
#events .event:nth-child(odd) .datetime,
#events .event:nth-child(odd) .links {
    gap: 6px; /* optical fix +1 */
}
#events .event:nth-child(odd) .datetime > div,
#events .event:nth-child(odd) .links > a {
    background-color: var(--main-light-color);
    color: var(--main-dark-color);
}
#events .event:nth-child(odd) .links > a:hover,
#events .event:nth-child(odd) .links > a:active,
#events .event:nth-child(odd) .links > a:focus {
    text-decoration: underline;
    background-color: rgba(var(--main-light-color-rgb), var(--opacity-hover-default));
    box-shadow: none;

}




.home-text {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.home-text h2,
.home-text .h2 {
    /*
    text-transform: uppercase;
    */
}





/* HOME-TEXT v2 (ugly as hell)
.home-text .bg-light {
    background-color: #ff3366;
    text-align: center;
}

.home-text a {
    color: rgba(var(--main-light-color-rgb), 1);
    text-decoration: none;
}
.home-text a:hover,
.home-text a:active,
.home-text a:focus {
    color: rgba(var(--main-light-color-rgb), var(--opacity-hover-default));
    text-decoration: underline;
}
*/


/* HOME-TEXT v3 */
.events-inner2,
.home-text .bg-light {
    box-shadow: 1px 1px 5px var(--main-dark-color);
}
body.home #events h2 {
    text-shadow: 1px 1px 5px var(--main-dark-color);
}
.home-text .bg-light {
    text-align: center;
}
.home-text a {
    color: rgba(var(--main-bg-color-rgb), 1);
    text-decoration: none;
}
.home-text a:hover,
.home-text a:active,
.home-text a:focus {
    color: rgba(var(--main-bg-color-rgb), var(--opacity-hover-default));
    text-decoration: underline;
}





h1, .h1 {
    font-size: 2rem;
    font-weight: 700;
}
h2, .h2{
    font-size: 1.5rem;
    font-weight: 700;
}
/* START: NOT USED YET */
h3, .h3{
    font-size: 1.4rem;
    font-weight: 700;
}
h4, .h4{
    font-size: 1.3rem;
    font-weight: 700;
}
h5, .h5{
    font-size: 1.2rem;
    font-weight: 700;
}
h6, .h6{
    font-size: 1rem;
    font-weight: 700;
}
/* END: NOT USED YET */

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
    margin-top: 1em;
    margin-bottom: 0.5em;
    line-height: 1.2;
}


h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child,
.h2:first-child,
.h3:first-child,
.h4:first-child,
.h5:first-child,
.h6:first-child {
    margin-top: 0;
}
p:last-child,
.paragraph:last-child { 
    margin-bottom: 0;
}






