
.background-container {
    background-image:url('/_Resources/Static/Packages/AktionZivilcourage.Site/Assets/adventskalender-background.jpg');
    background-size:cover;
    background-position: center center;
    background-attachment:scroll;
    background-repeat: no-repeat;
}

#adventskalender-container {
    max-width:1400px;
}

/*tuerchen Zustände*/
.tuerchen-closed, .tuerchen-open, .tuerchen-openable {
    cursor: pointer;
    overflow:hidden;
    -webkit-overflow:hidden;
}

.dataLink{
    z-index:10;
}

/*entry image open*/
.entry_image_container{
    -webkit-transform: translate3d(0, 0, 0);
    overflow:hidden;
}

.adventskalender_entry_inner:hover .adventskalender_entry_image {
    transition: filter 300ms linear, z-index 5ms linear ;
    -webkit-backdrop-filter:none;
    backdrop-filter: none;
    background-size:cover;
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    filter:none;
    box-sizing:border-box;
}

.tuerchen-open .adventskalender_entry_image{
    transition: filter 300ms linear;
    filter: blur(2px);
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing:border-box;
}

.text-background{
    background-color: rgba(0,0,0,0.3);
    z-index: 1;
}

.adventskalender_entry_main /*--> article main*/ {
    text-shadow: 3px 6px 8px #000000;
    z-index:1;
    overflow: hidden;
}

/*header article*/
.article-header {
    word-break: break-word;
}

/*tuerchen number if open*/
.tuerchen-open-num {
    z-index: 4;
    position: absolute;
    text-shadow: 0 2px 2px black;
    bottom:0;
    right:2%;
    border-radius:50px 50px 0 0;
}

.tuerchen-open .tuerchen-open-num{
    display:block;
}

/*adventskalender entry inner <==> article inner*/
.adventskalender_entry_inner{

    transition: backdrop-filter 300ms linear, -webkit-backdrop-filter 300ms linear;
    -webkit-backdrop-filter:blur(3px);
    backdrop-filter: blur(3px);
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    min-height: 120px;
}

.adventskalender_entry_inner:hover{
    transition: backdrop-filter 300ms linear, -webkit-backdrop-filter 300ms linear;
    -webkit-backdrop-filter:none;
    backdrop-filter: none;
}

/*headlines in entry/article inner*/
.adventskalender_entry_inner a:hover {
    text-decoration: none;
}

.tuerchen-open .adventskalender-subheadline {
    transition: font-size 200ms linear;
}

.adventskalender_entry_inner:hover .adventskalender-subheadline{
    transition: font-size 200ms linear;
    font-size: 1.2rem !important;
}

.adventskalender-subheadline{
    font-size:1.0rem !important;
    margin:0!important;
    font-family:'Roboto',sans-serif;
    line-height:1.3;
    font-weight:700;
    color:var(--gray-dark);
}

.tuerchen-title{
    transition:font-size 200ms linear;
}


.tuerchen-openable:hover .tuerchen-title{
    transition: font-size 200ms linear;
    font-size:2rem !important;
}


/*general: before tuerchen is open*/
.tuerchen-openable .adventskalender_entry_image, .tuerchen-openable .adventskalender-subheadline,  .tuerchen-open-num, .tuerchen-closed .dataLink, .tuerchen-openable .dataLink, .tuerchen-closed .adventskalender-subheadline, .tuerchen-open .tuerchen-title, .tuerchen-closed .adventskalender_entry_image{
    display:none;
}


/*open door animation with santa :) */

.santa-container{
    opacity:0;
    display:none;
    transition:border-radius 0ms ease-in;
    transform-origin: left center;
    background-color:white;
    border-radius:50%;
    z-index:50;
    width:40px;
    height:40px;
    justify-content: center;
    align-items: center;
}

.santa-container-appear{
    animation: SantaContainerAppear 750ms linear forwards;
    opacity:1;
}

.santa-icon-appear{
    animation: SantaIconAppear 1s ease-in forwards;
}

.santa-container-doorOpenLeft{
    animation: doorOpenLeft 2.5s ease-in-out forwards;
    opacity:1 !important;
    width:100% !important;
    height:100% !important;
}

.santa-container-doorOpenRight{
    animation: doorOpenRight 2.5s ease-in-out forwards;
    opacity:1 !important;
    width:100% !important;
    height:100% !important;
}

.santa-container-disappear-left {
    width:100% !important;
    height:100% !important;
    transform: perspective(1200px) translateZ(0px) translateX(0px) translateY(0px) rotateY(-105deg);
    animation: santaContainerDisappear 1.5s linear forwards !important;

}

.santa-container-disappear-right {
    width:100% !important;
    height:100% !important;
    transform: perspective(1200px) translateZ(0px) translateX(0px) translateY(0px) rotateY(105deg);
    animation: santaContainerDisappear 1.5s linear forwards !important;

}

.entry_background{
    background-image:url("/_Resources/Static/Packages/AktionZivilcourage.Site/Assets/backgroundEntrySnowflakes.png");
    background-size:cover;
    background-position:center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.entry_background::before {
    content: ' ';
    display: block;
    background-image:url("/_Resources/Static/Packages/AktionZivilcourage.Site/Assets/tannenbaum.png");
    background-size:contain;
    background-position:center center;
    background-repeat: no-repeat;
    height: 100%; width: 100%;
    top: 0; bottom: 0; left: 0; right: 0;
    position: fixed;
    z-index: -10;
}

.entry_background, .site-path{
    background-color:rgba(256,256,256,0.7);
}


@keyframes SantaContainerAppear{
    0%{
        width:40px;
        height:40px;
    }
    100%{
        width:150%;
        height:225%;
    }
}

@keyframes SantaIconAppear{
    0%{
        opacity:0;
    }
    100%{
        opacity:1;
    }
}

@keyframes doorOpenLeft{
    0%{
    }
    100%{
        opacity:1 !important;
        width:100% !important;
        height:100% !important;
        border-radius:0!important;
        transform: perspective(1200px) translateZ(0px) translateX(0px) translateY(0px) rotateY(-105deg);

    }
}


@keyframes doorOpenRight{
    0%{
    }
    100%{
        opacity:1 !important;
        width:100% !important;
        height:100% !important;
        border-radius:0!important;
        transform: perspective(1200px) translateZ(0px) translateX(0px) translateY(0px) rotateY(105deg);

    }
}

@keyframes santaContainerDisappear{
    0%{
        opacity:1;
    }
    100%{
        opacity:0;
    }
}

/*sparkle animation*/
.sparkles-container{
    overflow:hidden;
    z-index: 3;
}

.sparkle-star {
    position: absolute;
    height: 10px;
    width: 10px;

    animation: sparkling 2s linear 0s infinite normal;
    -webkit-animation: sparkling 2s linear 0s infinite normal;
    -moz-animation: sparkling 2s linear 0s infinite normal;
    -ms-animation: sparkling 2s linear 0s infinite normal;
    -o-animation: sparkling 2s linear 0s infinite normal;
}

@keyframes sparkling {
    0% {
        -webkit-transform: scale(1.0);
        opacity: 1;
    }
    25% {
        -webkit-transform: scale(0.5);
        opacity: 0;
    }
    50% {
        -webkit-transform: scale(1.0);
        opacity: 1;
    }
    75% {
        -webkit-transform: scale(0.5);
        opacity: 0;
    }
    100% {
        -webkit-transform: scale(1.0);
        opacity: 1;
    }
}





@media screen and (max-width: 1080px){
    .adventskalender_entry_inner{
        min-height:80px;
    }
}

@media screen and (max-width: 992px){
    .adventskalender_entry_inner{
        min-height:120px;
    }
    body{
        font-size:0.8rem;
    }
}

@media screen and (max-width: 800px){
    .adventskalender_entry_inner{
        min-height:100px;
    }
    .adventskalender-subheadline{
        font-size:0.8rem !important;
    }
    .adventskalender_entry_inner:hover .adventskalender-subheadline{
        transition: font-size 200ms linear;
        font-size: 1rem !important;
    }
}

@media screen and (max-width: 510px){
    .adventskalender_entry_inner{
        min-height:80px;
    }
    body{
        font-size: 0.8rem;
    }
}


