@font-face {
    font-family: 'Tobi Black';
    src: url('../../css/tobi_black-webfont.eot');
    src: url('../../css/tobi_black-webfont.eot?#iefix') format('embedded-opentype'), url('../../css/tobi_black-webfont.woff2') format('woff2'), url('../../css/tobi_black-webfont.woff') format('woff'), url('../../css/tobi_black-webfont.ttf') format('truetype'), url('../../css/tobi_black-webfont.svg#tobi_blackregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

:root {
    --yellow: #ffc21a;
    --fontSize16: 1.481481481481481vh;
    --fontSize24: 2.222222222222222vh;
    --fontSize32: 2.962962962962963vh;
    --fontSize36: 3.333333333333333vh;
    --textShadowMd: 0.2777777777777778vh;
}

.hidden {
    display: none !important;
}


.ld-active .wrapper-outer {
    overflow: hidden;   
}


/* .wrapper-outer{
    animation: wrapper-animation 2s;
} */

.ld-btn {
    display: block;
    border: none;
    outline: none;
    text-transform: uppercase;
    cursor: pointer;
}

.ld-btn-cta {
    font-family: 'Tobi Black';
    color: var(--yellow);
    font-size: var(--fontSize32);
    background: url('../img/cta.png') no-repeat;
    background-size: contain;
    width: 38.05555555555556vh;
    height: 10.74074074074074vh;
    padding-bottom: .9vh;
    text-shadow: 0 var(--textShadowMd) 0 #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ld-btn-cta > span {
    pointer-events: none;
    position: relative;
}
.ld-btn-cta::before {
    content: '';
    opacity: 0;
    background: url('../img/cta_hover.png') no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    transition: opacity .4s;
}
.ld-btn-cta:hover::before {
    opacity: 1;
}
.ua-desktop .ld-btn-close:hover {
    transform: scale(1.2) rotate(10deg);
}
.ld-btn-close {
    background: url('../img/close.png') no-repeat;
    background-size: contain;
    width: 4.351851851851852vh;
    height: 4.444444444444444vh;
    transition-duration: 0.3s;
}

.ld-link {
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
    position: relative;
    z-index: 5;
}
.ld-link:hover {
    color: var(--yellow);
    text-decoration: underline;
}

@keyframes ld {
    from {
        background-size: auto 70vh;
    }
    to {
        background-size: auto 94.44444444444444vh;
    }
}
.legendary-dungeon {
	font-family: 'Tobi Black';
	color: var(--yellow);
	font-size: var(--fontSize16);
	text-transform: uppercase;
	position: fixed;
	background-color: rgba(32,25,41,.85);
	background-image: url('../img/bg2.png');
	background-position: 49% 110%;
	background-repeat: no-repeat;
	background-size: auto 94.44444444444444vh;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	display: flex;
	justify-content: center;
	/* animation: ld 1s; */
}

.ld-content {
    width: 87.96296296296296vh; /* 950px */
    position: relative;
}

.ld-header {
	display: flex;
	justify-content: center;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
}

.ld-logo {
    height: 18vmin;
    margin: 2vmin auto -4vmin;
    position: relative;
    width: 46vmin;
}

@keyframes open-until {
    from {
        opacity: 0;
        transform: scale(.4);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.ld-open-until {
    position: absolute;
    left: 0;
    top: 100%;
}
.ld-open-until-badge {
    background: url('../img/open_until.png') no-repeat;
    background-size: contain;
    font-size: var(--fontSize24);
    height: 15vh;
    width: 31.94444444444444vh;
    text-shadow: 0 var(--textShadowMd) 0 #000;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    text-align: center;
    opacity: 0;
    animation: open-until .3s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}
.ld-open-until-pos {
    transform: rotate(-10deg);
}

.ld-countdown {
    color: #fff;
    font-size: var(--fontSize32);
    min-height: 3.5vh;
}

.ld-close {
	background: url('../img/close_bg_lott.png') no-repeat;
	background-size: contain;
	width: 9.351851851851852vh;
	height: 7.777777777777778vh;
	position: absolute;
	right: 1.851851851851852vh;
	top: calc(100% + -0.5vh);
	display: flex;
	justify-content: center;
	align-items: center;
}

.ld-main {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.ld-chars {
    /* background: url('../img/orcs.png') no-repeat center;
    background-size: contain; */
    height: 65.83333333333333vh;
    width: 96.75925925925926vh;
    top: 16vh;
    animation: ld-chars-anim 1.5s forwards;
    position: relative;
    opacity: 0 !important;
}

@keyframes ld-chars-anim {
    from {
        opacity: 0;
        transform: translate(0, 0%) scale(0.8) rotate(0.3deg);
    }
    to {
        opacity: 1;
        transform: translate(0, 0) scale(1) rotate(0.3deg);
    }
}

.ld-cta {
    margin-top: 8.5vh;
    position: relative;
}

@keyframes skeleton-left {
    /* from {
        opacity: 0;
        transform: translate(30%, -20%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    } */
}
@keyframes skeleton-right {
   /*  from {
        opacity: 0;
        transform: translate(-15%, -10%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    } */
}

.ld-skeleton {
    position: absolute;
    z-index: 1;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}
.ld-skeleton-left {
	background-image: url('../img/shakes2.png');
	width: 55.778vh;
	height: 46.556vh;
	right: 13%;
	bottom: 6%;
	z-index: 10;
	animation: skeleton-left 1.5s;
}
.ld-skeleton-left2 {
	background-image: url('../img/shakes_speedlines.png');
	width: 70.778vh;
	height: 44.556vh;
	right: -26%;
	bottom: 28%;
	z-index: -1;
	animation: skeleton-left 1.5s;
}
.ld-skeleton-shadow {
	background-image: url('../img/shakes_shadow.png');
	width: 55.778vh;
	height: 17.556vh;
	right: 34%;
	bottom: -19%;
	z-index: -1;
	animation: skeleton-left 1.5s;
}
.ld-skeleton-right {
	background-image: url('../img/hand.png');
	width: 52.87vh;
	height: 39.389vh;
	left: 55%;
	bottom: 42%;
	animation: skeleton-right 1.5s;
}

.ld-cta-a{
    z-index: 5;
    position: relative;
}

@media screen and (max-width: 1024px) {
    @keyframes ld {
        from {
            background-size: auto 60vh;
        }
        to {
            background-size: auto 73vh;
        }
    }
    .legendary-dungeon {
        background-size: auto 73vh;
        background-position: 50% 38%;
    }

    .ld-logo {
        min-width: 320px;
        min-height: 138px;
    }

    .ld-open-until {
        top: 85%;
        transform: scale(.85) translateX(-10%);
    }

    .ld-close {
        top: 100%;
        transform: scale(.85);
    }

    .ld-content {
        width: 100%;
    }

   /*  @keyframes ld-chars-anim2 {
        from {
            opacity: 0;
            transform: translate(0, -10%) scale(0.65);
        }
        to {
            opacity: 1;
            transform: translate(0, 0) scale(0.85);
        }
    } */

    .ld-chars {
        top: 6vh;
       /*  animation: ld-chars-anim2 1.5s forwards !important;*/
    } 

    .ld-cta {
        z-index: 1;
        /* margin-top: 6vh; */
    }

     .ld-skeleton-left {
       /*  right: 40%;
        bottom: 58%; */
        width: 45.778vh;
        height: 39.556vh;
    }
    .ld-skeleton-left2 {
        /* right: 40%; */
        /* bottom: 58%; */
        width: 62.778vh;
        height: 37.556vh;
    }
    .ld-skeleton-right { 
        width: 34.87vh;
        height: 29.389vh;
        left: 38%;
        bottom: 46%;
    }
   /* .ld-skeleton-right {
        left: 31%;
        bottom: -5%;
        z-index: -1;
    } */
}
