@font-face {
    font-family: HYGFont;
    src: url('/assets/HYGInormbold.ttf');
    font-weight: bold;
}

html {
    overflow-y: scroll;
    outline: 0 !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

html * {
    font-family: HYGFont;
}

#static-styles {
    outline: 0 !important;
}


html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    /* background-image: url('../assets/img/bg/orange.gif');*/
    background-repeat: repeat-y;
    background-position: top center;
    color: #a60000;
    background-color: #0c3c8c;
    font-family: Verdana, Arial, sans-serif;
    font-weight: bold;
    padding-bottom: 7rem;
}

blockquote {
    font-size: 28px;
    margin-left: 82px;
    background-image: url('../assets/img/note.png');
    background-repeat: no-repeat;
    padding-left: 68px;
    margin-top: 16px;
}


blockquote.song {
    margin-left: 0;
    margin-top: 40px;
    padding-left: 30px;
    background-image: none;
    position: relative;
}

@media screen and (max-width: 768px) {
    blockquote.song {
        padding-left: 0;
    }
}

blockquote.song::after {
    background-image: url('../assets/img/note.png');
    width: 55px;
    height: 93px;
    content: '';
    display: inline-block;
    position: absolute;
    right: -47px;
    top: -35px;
}

blockquote.song p {
    font-size: 25px;
    letter-spacing: -1px;
}

.more-songs {
    text-align: center;
    margin-top: 60px;
    padding-bottom: 60px;
}

.more-songs a::before {
    content: url('../assets/img/note-doppelt.png');
    display: inline-block;
    vertical-align: middle;
}

h2.song {
    padding-left: 30px;
    text-align: left;
}

@media screen and (max-width: 768px) {
    h2.song {
        padding-left: 0;
    }
}

h1 {
    margin: 0;
    color: #0062d0;
    font-size: 72px;
    text-align: center;
}

h2 {
    margin: 0;
    color: #0062d0;
    font-size: 48px;
    text-align: center;
    margin: 0;
}

h3 {
    margin: 0;
    color: #0062d0;
    font-size: 36px;
    text-align: center;
    margin: 0 0 0 0;
}

p {
    margin: 0;
    font-size: 26px;
    font-weight: bold;
    line-height: 26px;
}

span.flashwarning, p.flashwarning {
    display: block;
    margin-top: 8px;
    color: #ffe616;
    font-size: 26px;
    font-weight: bold;
}

a {
    text-decoration: none;
    border: none;
    outline: none;
    color: #0062d0;
}

a img {
    border: 0px;
    outline: 0px;
}

.cufon-loading {
    visibility: hidden !important;
}


#main {
    width: 900px;
    margin: 0 auto;
    text-align: left;
    height: auto !important;
    height: 100%;
    background: #FF8A00;
    min-height: 100%;
    position: relative;

}

/* ----- MOBILE OVERRIDE ----- */
@media (max-width: 1000px) {
    #main {
        width: 100%;
        max-width: none;
    }
}


* html #main {
    height: 100%;
}

#headlinewrapper {
    min-height: 50px;
    height: fit-content;
    text-align: center;
    padding-left: 18px;
    padding-right: 18px;
}

#headlinewrapper p {
    margin-top: 8px;
}

#headerwrapper {
    height: 140px;
    background-color: #fef36f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    scrollbar-width: none;
}

#headerwrapper table {
    border-spacing: 0;
}

#content {
    /* min size 100% - footer - header - margin top  */
    min-height: calc(100vh - 160px - 130px - 32px);
    margin-top: 30px;

}

.content-small {
    margin-top: 55px;

}

#flashwrapper {
    padding-left: 30px;
    padding-right: 30px;
}

#flash {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


#textwrapper {
    padding: 30px 30px 8px 30px;
}

/*TOPMENU*/
.headerbutton {
    width: 110px;
    height: 130px;
}

.headerbutton span {
    color: #0062d0;
    margin: 0;
    padding: 0;
    font-size: 1.75rem;
    display: block;
}

.headerbutton a {
    text-decoration: none;
}

.headerbutton .topmenu-button {
    width: 100px;
    height: 100px;
    overflow: hidden;
    background-image: url('../assets/img/sprites-menu.png');
}

.headerbutton .topmenu-button.trompete {
    background-position: 0 0;
}

.headerbutton:hover .topmenu-button.trompete {
    background-position: -100px 0;
}

.headerbutton .topmenu-button.brot {
    background-position: 0 -100px;
}

.headerbutton:hover .topmenu-button.brot {
    background-position: -100px -100px;
}

.headerbutton .topmenu-button.katze {
    background-position: 0 -200px;
}

.headerbutton:hover .topmenu-button.katze {
    background-position: -100px -200px;
}

.headerbutton .topmenu-button.stift {
    background-position: 0 -300px;
}

.headerbutton:hover .topmenu-button.stift {
    background-position: -100px -300px;
}

.headerbutton .topmenu-button.youtube {
    background-image: url('../assets/img/buttons/gluehwurm.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80% auto;
    transition: all;
    transition-timing-function: ease-in-out;
    transition-duration: 100ms;
}

.headerbutton:hover .topmenu-button.youtube {
    background-image: url('../assets/img/buttons/gluehwurm.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80% auto;
    transform: rotate(10deg);
}

.headerbutton .topmenu-button.schwein {
    background-position: 0 -400px;
}

.headerbutton:hover .topmenu-button.schwein {
    background-position: -100px -400px;
}

.headerbutton .topmenu-button.erdbeere {
    background-position: 0 -500px;
}

.headerbutton:hover .topmenu-button.erdbeere {
    background-position: -100px -500px;
}

.headerbutton .topmenu-button.tom {
    background-position: 0 -600px;
}

.headerbutton:hover .topmenu-button.tom {
    background-position: -100px -600px;
}

.headerbutton.selected {
    background-image: url('../assets/img/buttons/select.png');
    background-repeat: no-repeat;
    background-position: center top;
}

/*FOOTER*/
#footerwrapper {

    width: 100%;
    height: 30px;
    padding-bottom: 10px;
    padding-top: 110px;
}

#footer {
    overflow: hidden;

    padding-left: 30px;
    padding-right: 30px;
}

#footer a {
    color: #a60000;
    text-decoration: none;
}

/* FRIENDS */
#friendswrapper {
    padding: 8px 30px 0px 30px;
}

#friendssubline p {
    text-align: center;
    font-size: 22px;
    letter-spacing: -2px;
}

#friendswrapper a {
    text-decoration: none;
    background: #ff8a00;
}

#friendswrapper a img {
    border: 0px;
}

.friend {
    float: left;
    position: relative;
    height: 8rem;
    width: 8rem;
    zoom: 1;
}

.friend a {
    zoom: 1;
}

.bubbletext {
    height: 8rem;
    width: 8rem;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    line-height: 18px;
}

.description {
    color: #0062d0;
}

#morewrapper a {
    color: #0062d0;
}

#morewrapper {
    padding: 8px 30px 30px 30px;
}

#morebutton {
    float: right;
}


/*FILMS*/
.topmargin {
    margin-top: 22px;
}

#chooser {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-top: 22px;
    gap: 20px;
}

#chooser span {
    font-weight: bold;
    color: #0062d0;
    font-size: 1.75rem;
}

@media (max-width: 768px) {
    #chooser {
        flex-direction: column;
    }
}


.leftcolumn, .rightcolumn {
    text-align: center;
    width: 100%;
    float: left;
}

.imgcontainer {
    width: 100%;
    display: block;
}

.leftcolumn img, .rightcolumn img {
    display: block;
    border: none;
    margin: auto;
    text-align: center;
}


/*POLL*/
#confirmVote {
    padding-left: 30px;
    padding-right: 30px;
    font-size: 32px;
}

/*WEEKLY FILMS*/

#leftFilm, #rightFilm {
    display: block;
    float: left;
    width: 100%;
}


#leftFilm {
    margin-right: 30px;


}


#leftFilmPreview, #rightFilmPreview {
    display: block;
    margin-bottom: 40px;
    width: 100%;
    aspect-ratio: 16/9;

}

#leftFilmPreviewReplace #rightFilmPreviewReplace {
    width: 100%;
    height: 100%;
}

#leftFilm p, #rightFilm p {
    font-size: 22px;
    margin-bottom: 8px;
}

.centerelement {
    text-align: center;
}

.centerelement img {
    display: block;
    margin: auto;
}

/*IMAGE GRID */
#gridwrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 30px;
    margin-top: 30px;
}

.gridelement {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.2s ease;
    aspect-ratio: 16/9;
}

.gridelement.large {

}

.gridelement img {
    max-width: 100%;
    height: auto;
}

.gridelement a {
    color: #0062d0;
    text-decoration: none;
    display: block;
    width: 100%;
}

.gridelement a:hover {
    color: #004a9f;
}

.gridelement a:focus img,
.gridelement a:hover img {
    outline: 2px solid #0062d0;
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #gridwrapper {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
        gap: 40px;
    }

    .gridelement {
        min-height: 90px;
    }

    .gridelement.large {
        grid-column: span 1;
    }
}


/*IMPRINT*/
.imprint {
    text-align: center;
}

.imprint a {
    color: #a60000;
}


/* TEXT COLORS */
.yellow {
    color: #ffe616;
}

.blue {
    color: #0062d0;
}

.red {
    color: #a60000;

}

.white {
    color: white;
}

.hilite {
    position: relative;
}


/* SPIELKÖNIGE */
.spielkoenig-entry {
    width: 213px;
    height: 218px;
    float: left;
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
}

.spielkoenig-name {
    width: 215px;
    margin: auto;
    position: absolute;
    bottom: 0px;
    text-align: center;
    font-size: 20px;
    letter-spacing: -1px;
}

.spielkoenig-name p {
    font-size: 24px;
}

.sprite {
    position: absolute;
    top: 0px;
    left: 0px;
}

.avatar .element1 {
    margin-left: 0px;
}

.avatar .element2 {
    margin-left: -213px;
}

.avatar .element3 {
    margin-left: -426px;
}

.avatar .element4 {
    margin-left: -639px;
}

.avatar .element5 {
    margin-left: -852px;
}

.avatar .element6 {
    margin-left: -1065px;
}

.avatar .level1 {
    z-index: 90;
}

.avatar .level2 {
    z-index: 80;
}

.avatar .level3 {
    z-index: 60;
}

.avatar .level4 {
    z-index: 70;
}

.avatar .level5 {
    z-index: 100;
}


#headerwrapper {
    padding-bottom: 6px !important;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    display: block;
}

#header {
    align-items: center;
    justify-content: center;
    display: flex;
    width: 100%;
    margin-top: 8px;
    min-width: fit-content;
}

/* TOPMENU DIVs*/
div.headerbutton {

    flex-shrink: 0;
    width: 100px;
    overflow: hidden;
    text-align: center;
}

div.headerbutton span {
    font-size: 24px;
    letter-spacing: -1px;
}

div.headerbutton .select {
    background-image: url('../assets/img/buttons/select_small.png');
    background-repeat: no-repeat;
    background-position: center;
}


/* SHOP */
.shopitem {
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 58px;
}

.shopitem:last-child {
    margin-bottom: 24px;
}

.shopitem:first-child {
    margin-top: 50px;
}

.shopitem h2 {
    margin-bottom: 24px;
}

.shopitem p {
    width: calc(100% - 105px);
}


.shopitem p.bubble {
    width: auto;
    float: right;
    padding: 18px 24px 18px 24px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    color: black;
}

.shopitem p.bubble a {
    color: black;
}

.shopitem div.imgwrap, #banner-marmelade {
    text-align: center;
    margin-bottom: 24px;
    width: 100%;
    height: auto;
}

#wallpapers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

#wallpapers a {
    width: 100%;
    display: inline-block;
    aspect-ratio: 16/9;
}

@media screen and (max-width: 768px) {
    #wallpapers {
        grid-template-columns: 1fr;
    }
}

.shop-flashwrapper {
    text-align: center;
    margin-bottom: 20px;
}

#wallpapers {
    width: 464px;
    margin: auto;
    margin-bottom: 16px;
}


#bookLink {
    padding-bottom: 36px;
}

#bookLink .bookwrapper {
    padding-left: 144px;
    padding-top: 64px;
}

#bookLink img {
    float: left;
}

#bookLink p {
    margin-left: 8px;
    margin-top: 62px;
    float: left;
}

#shop-crown {
    display: block;
    width: 110px;
    height: 100px;
    background-image: url('../assets/img/extra/crown_sprite.png');
    overflow: hidden;
    float: left;
}

#shop-crown:hover {
    background-position-x: 110px;
}


.tow-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .tow-column-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.rounded {
    /*border-radius: 0.75rem;*/
    /*overflow: hidden;*/
}

.full {
    width: 100%;
    height: 100%;

}

@media (max-width: 767px) {
    .hide-on-mobile {
        display: none !important;
    }
}