@import url("library/loading.css");
@import url("fonts/fonts.css");

*{
    --purple:#5B4DB7;
    --blue:#42ADC7;
    --green:#81D152;
    --yellow:#F5F263;
    --orange:#FF9D4F;
    --red:#FF5347;

    font-weight: 100;
    letter-spacing: 100;
    color: white;
}

b{
    font-weight: bold !important;
}

body{
    padding: 0;
    margin: 0;
    font-family: "Lora"/*"Frosty Bliss"/*"Nerko One", "Segoe UI Symbol"*/;
    /*text-shadow: 0 0 10px #000, 0 0 10px #000;
    /*background-image: url("media/bg.gif");*/
    background-color: #000;
}
#background_0, #background_1{
    z-index: -1000;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000;
    background-repeat: repeat;
    background-size: cover;
    filter: brightness(50%) hue-rotate(var(--background_hue));
}
@keyframes back{
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
/* 220-0 */
#background_0{
    background-image: url("media/bg01.jpeg");
}
#background_1{
    background-image: url("media/bg11.jpeg");
    animation-name: back;
    animation-duration: 30s;
    animation-iteration-count: infinite;
}
h1, h2, h3, p{
    margin: 0;
    text-align: center;
    /*background: url("rgb.gif");
    background: -webkit-linear-gradient(blue, green, red, yellow);
    animation-name: example;
    animation-iteration-count: infinite;
    animation-duration: 4s;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;*/
}
#hero h1{
    font-size: 8vh;
}
h2{
    font-family: "Ledger";
    font-size: 4.5vh;
}
h3, .li{
    font-size: 2.5vh;
}
#content h1{
    font-family: "Lustria";
}
.li{
    word-wrap: break-all;
}
.ul{
    list-style: none;
    width: fit-content;
}
.ul img{
    margin-bottom: -5px;
    width: 3vh;
    height: 3vh;
}
hr{
    background-color: gray;
}

::-webkit-scrollbar {
    display: none;
}

#navbar{
    /* color: var(--green); */
    width: 100vw;
    height: calc(4vh + 25px);
    /*background-image: url("media/header.png");
    background-position: right;
    background-size: contain;
    background-repeat: repeat-x;
    background-color: var(--green);
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px white, 0 0 10px white;
    background-color: #6A0002;*/
    display: grid;
    grid-template-columns: auto max-content max-content max-content;
}
.navbar_option{
    display: flex;
    align-items: center;
    padding: 15px;
}

#content{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-areas:
        "instruction instruction instruction maps maps maps"
        "mode mode mode mode mode mode"
        "actual actual button button playlist playlist"
        "gallery gallery gallery gallery gallery gallery"
        "videos videos videos videos videos videos";
}
.content-box{
    margin: 12px 0;
    display: flex;
    align-items: center;
}
.content-box-data{
    width: 95%;
    margin: 0 auto;
}
#map{
    display: block;
    width: 100%;
    height: 50vh;
    border-radius: 10px;
}
#mute_btn{
    padding: 3vh;
    margin: auto;
    width: fit-content;
}
#nomute_big{
    /*background-image: url("media/music.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;*/
    display: block;
    margin: 0 auto;
    height: 35vh;
    width: 35vh;
    /*border-radius: 50%;
    border: 4px solid black;*/
    filter: contrast(100%);
    transition: filter 0.5s;
}
.center{
    text-align: center;
    margin: 0 auto;
}
/*#nomute_big:hover{
    filter: contrast(50%);
}*/
#pushthebtnsign{
    margin-bottom: 25px;
}
#youtube{
    display: block;
    margin: auto;
    padding: 6.4vh 0 0 0;
    width: 50vw;
    aspect-ratio: 16/9;
    /* height: 51.2vh; */
}
#arrow_down{
    visibility: hidden;
}
#arrow_right{
    visibility: visible;
}
#showbegin{
    margin: 50px 0;
}
#remtime{
    font-weight: bold !important;
}
#playlistbox{
    height: 100%;
    width: 80%;
    margin: 2vh auto;
}
#playlist{
    display: block;
    margin: 10px auto;
    padding: 1vw;
    border-radius: 0.5vw;
    /* background-color: #222; */
    max-height: 75%;
    overflow-y: auto;
}
#playlist li{
    display: block;
    text-align: left;
    margin: 5px 0px;
    background-color: #7A151850;
    padding: 10px;
    border-radius: 10px;
}
#playlist .now{
    background-color: #1BA83A50;
}
#footer{
    position: relative;
    width: 100vw;
    height: 13vh;
    background: url("media/footer.png");
    background-position: bottom;
    background-size: contain;
    background-repeat: repeat-x;
    margin-top: 5px;
} 
#end{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 5px;
    text-align: center;
}
#actual{
    /* display: grid;
    height: 100%;
    grid-template-columns: 1fr;
    align-items: center; */
}
#actual > div{
    margin: 50px 0 50px 0;
}
#nowplaying{
    display: block;
    margin: 2vh auto 2vh auto;
    border-radius: 5px;
    padding: 8px;
    width: fit-content;
    font-size: 3vh;
    text-align: center;
    /* background-color: #7779; */
    color: #FFF;
}
/*#nomute{
    display: block;
    margin: auto;
    margin-top: calc(6vh - 47px);
    width: 75px;
    height: 75px;
    border-radius: 50px;
    border: 4px solid black;
    filter: contrast(100%);
    transition: filter 0.5s;
}
#nomute{
    display: block;
    margin: auto;
    margin-top: calc(2vh - 5px);
    width: 8vh;
    height: 8vh;
    border-radius: 50%;
    border: 4px solid black;
    filter: contrast(100%);
    transition: filter 0.5s;
}
#nomute:hover{
    filter: contrast(50%);
}
#playtime {
    border: 0;
    border-radius: 5px;
    display: block;
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}*/

#playtime .bar{
    background-image: url("media/candy.jpg");
    background-size: cover;
}


/*@keyframes example {
    0%   {background-color: red;}
    20%  {background-color: yellow;}
    40%  {background-color: blue;}
    80% {background-color: green;}
    100%   {background-color: red;}
}
#background{
    z-index: -100;
    position: fixed;
    min-width: 100vw;
    min-height: 100vh;
}
#nowplay{
    font-family: "Consolas";
}
#statusbar{
    width: 50vw;
    height: 3vh;
}
#full{
    width: 50vw;
    height: 2.5vh;
    padding-top: 0.5vh;
    background-color: green;
}
#elapsed{
    width: 12.5vw;
    height: 2vh;
    background-color: blue;
}*/

@keyframes disk{
    0% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(125px);
    }
    100% {
        transform: translateX(0px);
    }
}

@keyframes move{
    0% {
        transform: translateX(0px) translateY(0px);
    }
    25%{
        transform: translateX(10px) translateY(0px);
    }
    50% {
        transform: translateX(10px) translateY(10px);
    }
    75%{
        transform: translateX(0px) translateY(10px);
    }
    100% {
        transform: translateX(0px) translateY(0px);
    }
}

#b_Dnote, #b_Snote{
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-name: move;
}

#b_Dnote{
    animation-direction: reverse;
}

#b_Disk{
    transition: 0.5s;
    transform: translateX(0px);
}

#nomute_big:hover #b_Disk{
    transform: translateX(125px);
}

#hero{
    /*background-color: #0F02;*/
    /*background-image: url("media/patt.jpg");
    background-size: 150px;*/
    display: grid;
    grid-template-columns: 50vw 50vw;
    grid-template-areas: 
        "title timeline"
        "title slide"
        /*"button button"*/;
}
#hero h2{
    margin-top: 25px;
}

.splide__slide{
    /* padding: 0px 15px; */
}

.splide__slide img{
    max-width: 100%;
}

#hero .splide{
    /*width: 50vw;
    max-width: calc(100% - 50px);*/
    margin: 0 auto;
}

@keyframes hero{
    0%{
        background-size: 300%;
    }
    100%{
        background-size: 100%;
    }
}

#superhero{
    margin-bottom: 6vh;
    /* background: 
        linear-gradient(90deg, rgba(85, 64, 83), #0000 50%),
        linear-gradient(200deg, rgba(46, 173, 182), #0000 50%),
        linear-gradient(0deg, rgba(129, 59, 157), #0000 50%);
    background-size: contain;
    background-position: center;
    mask-image: linear-gradient(0deg, #0000 0%, #000F 1.5%) */
}

#hero_title{
    /*background: 
        linear-gradient(90deg, rgba(85, 64, 83), #0000 50%),
        linear-gradient(200deg, rgba(46, 173, 182), #0000 50%),
        linear-gradient(0deg, rgba(129, 59, 157), #0000 50%);
        linear-gradient(90deg, #8C0D84, #7d9ec970 70%),
        linear-gradient(200deg, #7135F2, #2e204b70 70%),
        linear-gradient(0deg, #120759, #4841ae70 70%);*/
    background-size: contain;
    background-position: center;
    animation-name: hero;
    animation-duration: 10s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    display: grid;
    grid-template-columns: auto;
}

#hero_title h1{
    margin-top: 10%;
}

.splide__track{
    /* border-top-left-radius: 20px; */
    border-bottom-left-radius: 20px;
}

#instruction{
    display: grid;
    grid-template-columns: 1fr;
    height: 100%;
}

#hero_slide{
    display: flex;
    align-items: center;
    position: relative;
    /* -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%); */
    /* mask-image:
        linear-gradient(to top, transparent 0%, #fff 2% 95%, transparent 100%),
        linear-gradient(to left,#fff 98%, transparent 100%); */
    
    mask-size: 100% 100%;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-composite: intersect;
}

#hero_button_box{
    display: flex;
    align-items: center;
}

#hero_button{
    width: fit-content;
    background-color: #FFFD;
    mix-blend-mode: lighten;
    display: block;
    margin: 0 auto;
    padding: 10px;
    font-size: 28pt;
    color: black;
    border-radius: 7px;
    text-transform: uppercase;
    font-family: Roboto;
    transition: background-color 250ms;
    cursor: pointer;
}

#hero_button:hover{
    background-color: #FFF7;
}

#utvonal{
    background-image: url("media/ut.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    height: 30px;
    margin: 0 auto;
    position: absolute;
    aspect-ratio: 362/108;
    margin: 10px;
    right: 0;
}

#maps{
    position: relative;
    width: 70%;
    margin: 0 auto;
}

#cardtable{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: 
        'title1 title2'
        'cards1 cards2';
}
.cardtable_title{
    margin-bottom: 25px;
    font-family: "Ledger";
    font-weight: 700;
}
.cards{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: 100%;
}
.card{
    display: flex;
    justify-content: center;
    height: 100%;
}
.card .content{
    display: grid;
    grid-template-columns: 1fr;
    width: 80%;
    /* height: 100%; */
    transition: transform 1s;
    transform-style: preserve-3d;
    /* background: linear-gradient(45deg, #7A1518, #1BA83A); */
    border: white 2px solid;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #fff;
}
.card .content div img{
    width: 80%;
}
.card .rotate{
    transform: rotateY(180deg);
}
.card .front, .card .back{
    text-align: center;
    border-radius: 10px;
    padding: 5px;
    background-color: rgba(0,0,0,0.5);
    grid-row-start: 1;
    grid-column-start: 1;
    /* height: 100%;
    width: 100%; */
    backface-visibility: hidden;
    transition: background-color 250ms;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}
.card h2{
    font-family: "Mali";
}
.card:hover .front, .card:hover .back{
    background-color: rgba(32,32,32,0.5);
}
.card .back{
    transform: rotateY(180deg);
    padding: 0 20px;
}
.card .back h2{
    font-size: 4vh;
}
.card .back img{
    display: block;
    max-width: 80%;
    max-height: 80%;
    margin: 0 auto;
    border-radius: 5px;
}
.card .icon{
    filter: invert();
}


#years{
    position: relative;
    display: flex;
    align-items: center;
    justify-self: center;
    height: 50px;
    padding: 0px;
}

#years::before{
    /* content: '';
    display: block;
    position: absolute;
    z-index: -1;
    background-color: white;
    width: 100%;
    height: 2px; */
}

#years li{
    /* background-color: black; */
    transition: 500ms;
    padding: 5px;
    margin: 15px;
    position: relative;
    font-size: 0.85rem;
    /* mix-blend-mode: multiply; */

    display: flex;
    align-items: center;
    justify-self: center;

    /* border-color: white;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px; */
}

#years li::before{
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    background-color: white;
    width: 7.5px;
    height: 2px;
    left: -15px;
}
#years li::after{
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    background-color: white;
    width: 7.5px;
    height: 2px;
    right: -15px;
}

#years li.actualyear{
    font-size: 1.8rem;
    /* border-radius: 10px !important; */
}

#viewer{
    display: flex;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    background-color: #7777;
    opacity: 100%;
    visibility: visible;

    transition:
        opacity 0.5s 0s,
        visibility 0s 0s;
}

#viewer.close{
    opacity: 0%;
    visibility: hidden;

    transition:
        opacity 0.5s 0s,
        visibility 0s 0.5s;
}

#viewer img{
    max-width: 80vw;
    max-height: 80vh;
}


@media (max-aspect-ratio: 1200/700) {/*ok*/
    #hero h2{
        margin-top: 15px;
        font-size: 3.5vh;
    }
    #hero h1{
        margin: 0px 0px;
    }
}

@media (max-aspect-ratio: 1100/700) {/*ok*/
    #hero h1{
        font-size: 7vh;
    }
    #hero h2{
        font-size: 3.5vh;
    }
    #hero_button{
        font-size: 4vh;
    }
    #arrow_down{
        visibility: visible;
    }
    #arrow_right{
        visibility: hidden;
    }
    #nomute{
        z-index: 1000;
        position: absolute;
        bottom: calc(2vh - 8px);
        right: 5vw;
        width: 8vh;
        height: 8vh;
    }
    /*#control h2{
        display: block;
        position: absolute;
        margin-left: 5vw;
        width: 75vw;
        left: 0;
    }*/
}

@media (max-aspect-ratio: 1000/700) {
    #hero h2{
        margin-top: 15px;
        font-size: 3vh;
    }
    #hero h1{
        font-size: 6.5vh;
    }
    
    #youtube{
        width: 85%;
    }

    #cardtable{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas: 
            'title1'
            'cards1'
            'title2'
            'cards2';
    }
    .cardtable_title{
        margin-bottom: 25px;
        margin-top: 30px;
    }
}

@media (max-aspect-ratio: 900/700) {    /*Innen mobil*/
    #navbar{
        height: 5vh;
    }
    #hero{
        /*background-color: #0F02;*/
        /*background-image: url("media/patt.jpg");
        background-size: 150px;*/
        display: grid;
        grid-template-columns: 100vw;
        grid-template-areas: 
            "title"
            "timeline"
            "slide";
    }
    #hero_button{
        margin: 10px auto 25px auto;
    }
    #hero h2{
        margin-top: 15px;
        font-size: 3.5vh;
    }
    #hero h1{
        margin: 0px 0px;
        margin-bottom: 15px;
    }
    #actual div:last-child{
        margin-bottom: 0;
    }
    #end{
        font-size: 0.75rem;
    }
    #maps{
        width: 85%;
    }
    .splide__track{
        border-top-left-radius: 0;
    }
    #content{
        display: grid;
        grid-template-columns: 100vw;
        grid-template-areas:
            "instruction"
            "maps"
            "mode"
            "actual"
            "button"
            "playlist"
            "gallery"
            "videos";
    }

    #instruction > div{
        margin-bottom: 25px;
    }

    .splide__track{
        /* border-top-left-radius: 20px; */
        border-bottom-left-radius: 0px;
    }

    #cardtable{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas: 
            'title1'
            'cards1'
            'title2'
            'cards2';
    }
    .cardtable_title{
        margin-bottom: 15px;
        margin-top: 20px;
    }
    .cards{
        grid-template-columns: 1fr;
    }
    .card .content{
        width: 70%;
        margin: 10px 0;
    }
    .card .content div img{
        width: 80%;
    }
    .card .back{
        padding: 15px 20px;
    }
    .card .back h2{
        font-size: 3.5vh;
    }
    .card .back img{
        margin-top: 10px;
    }
    #hero_title{
        margin-bottom: 20px;
    }
    #footer{
        height: 8vh;
    }



    #years li{
        padding: 5px;
        margin: 5px;
        font-size: 0.85rem;
    }
    #years li::before{
        width: 5px;
        left: -5px;
    }
    #years li::after{
        width: 5px;
        right: -5px;
    }

    body.sleep #content{
        grid-template-areas:
            "mode"
            "instruction"
            "maps"
            "actual"
            "button"
            "playlist"
            "gallery"
            "videos";
    }
}

.nemszezon{
    display: none;
}

body.sleep .szezon{
    display: none !important;
}

body.sleep .nemszezon{
    display: unset;
}

body.sleep #content{
    grid-template-areas:
        "mode mode mode mode mode mode"
        "instruction instruction instruction maps maps maps"
        "actual actual button button playlist playlist"
        "gallery gallery gallery gallery gallery gallery"
        "videos videos videos videos videos videos";
}