html {
    overflow: hidden;
}
body {
    background: url(../images/background.png);
    background-position: center 10%;
    background-size: cover;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    font-family: 'Nunito', sans-serif;
}
.header img {
    max-width: 220px;
}
.et {
    position: absolute;
    top: 9vh;
    left: 52vw;
    pointer-events: none;
    width: 50px;
    height: 50px;
    animation: et-fly;
    animation-delay: 30s;
    animation-duration: 30s;
    animation-iteration-count: 1;
    animation-timing-function: linear;
    opacity:0;
    z-index: 0;
}
@keyframes et-fly {
    0% {
      top: 25vh;
      left: -3vw;
      rotate: 0deg;
      opacity:1;
    }
    12.5% {
      top: 22.5vh;
      left: 11.25vw;
      rotate: 0deg;
      opacity:1;
    }
    25% {
      top: 20vh;
      left: 25vw;
      rotate: 0deg;
      opacity:1;
    }
    37.5% {
      top: 14.5vh;
      left: 38.75vw;
      rotate: 2.5deg;
      opacity:1;
    }    

    50% {
      top: 9vh;
      left: 52vw;
      rotate: 5deg;
      opacity:1;
    }

    62.5% {
      top: 11.5vh;
      left: 65.25vw;
      rotate: 7.5deg;
      opacity:1;
    }
    75% {
      top: 13vh;
      left: 80vw;
      rotate: 15deg;
      opacity:1;
    }
    87.5% {
      top: 16.5vh;
      left: 94.75vw;
      rotate: 17.5deg;
      opacity:1;
    }
    100% {
      top: 18vh;
      left: 107vw;
      rotate: 20deg;
      opacity:1;
    }
  }

#modal-welcome .uk-modal-body{
    padding: 0px 0px 25px 0px;
}
.welcome {
    width:580px; 
    background-position:top;
    background-repeat: no-repeat; 
    margin: 0 auto;
    padding: 0px 20px 20px 20px;
    text-align:center;
    background-color: rgb(7 21 39 / 100%);
    border-radius: 10px;
    z-index: 1;
}
.welcome img {
    position: relative;
    top: -15px;
    left: -8px;
    width: 103%;
    display: block;
    max-width: unset;
    pointer-events: none;
}
.welcome h1 {
    margin-top: 0px;
    color:#fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 34px;
}
.welcome p {
    color:#fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 32px;
}
.welcome-close {
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 195px;
    color:#fff;
    background-color: transparent;
    transition: .3s;
    margin: 0 auto;
    border-radius:15px;
    font-family: 'Nunito', sans-serif;
}
.welcome-close:hover {
    background-color: #fff;
    color:rgb(7 21 39 / 100%);
}
.welcome-close svg {
    display: none;
}
.instructions{
    position: absolute;
    bottom: 310px;
    border: 1px solid #FFF4E3;
    border-radius: 15px;
    display: inline-block;
    padding: 5px;
    width: 266px;
    text-align: center;
    color: #E4B14E;
    margin-top: 100px;
    margin-left: 30px;
    font-family: 'Nunito', sans-serif;
    font-size: 22px;
    font-style: italic;
    pointer-events: none;
    transition: 1s;
    opacity: 0;
}
.instructions::after{
    content: url(../images/arrow.png);
    position: absolute;
    right: -60px;
    top: 30px;
}
.log-pile {
    width: 320px;
    position: absolute;
    bottom: 35px;
    left: 5px;
    z-index:1;
    pointer-events: none;
}
.highlighted-log {
    background-image: url(../images/drag_log.png);
    background-color: transparent;
    position: absolute;
    width: 266px;
    height: 192px;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: 90px;
    left: 35px;
    cursor: pointer;
    z-index: 1;
    animation: log-pulse 1s infinite;
}


.campfire {
    position: absolute;
    display: inline-block;
    height: 50%;
    width: 24vw;
    margin: 10px;
    bottom: 0px;
    left: 50%;
    background-image: url(../images/logs.png);
    background-position: 100% 96%;
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate(-50%, 0);
    z-index: 1;
}
.campfire .flame-small {
    display: inline-block;
    position: absolute;
    width: 26vw;
    bottom: 5vw;
    left: 52%;
    transform: translate(-50%, 0);
    z-index: 1;
    max-width: unset;
}
.campfire .flame-big {
    display: inline-block;
    position: absolute;
    bottom: 100px;
    width: 160px;
    left: 52%;
    transform: translate(-50%, 0);
    z-index: 1;
    max-width:unset;
    opacity:0;
}
.campfire-grow .flame-big{
    transition: 5s;
    animation: flame-grow 5s;
}

@keyframes log-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes flame-grow {
    0% {
        width: 26vw;
        opacity:0;
    }
    25% {
        width: 33vw;
        opacity:1;
    }
    50% {
        width:33vw;
        opacity:1;
    }
    75% {
        width: 33vw;
        opacity:1;
    }
    100% {
        width: 33vw;
        opacity:0;
    }
}

.marshmallows{
    position: absolute;
    left: 52%;
    transform: translate(-50%, 0);
    z-index: 3;
    width: 60vw;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    bottom: 270px;
}

@media (max-width: 1700px) {
    .marshmallows{
        width: 67vw;
        position: absolute;
        bottom: 220px;
    }
}
@media (max-width: 1500px){
    .marshmallows {
        width: 72vw;
    }
    .marshmallow-left, .marshmallow-left-toasted {
        rotate: 322deg;
    }    
    .marshmallow-right, .marshmallow-right-toasted {
        rotate: 26deg;
    }
}
@media (min-width: 1300px) {
    .operation-warm {
        background-color: #182230 !important;
        width: 220px !important;
        margin: 0 auto !important;
        position: absolute !important;
        left: unset !important;
        right: 40px !important;
        bottom: 40vh !important;
        padding: 10px 20px !important;
        border-radius: 15px !important;
        padding-bottom: 20px !important;
        z-index: 99 !important;
    }
}

.marshmallow-left {
    animation: bounce-one 1s infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
    position: absolute;
    left: 0;
    pointer-events: none;
}
.marshmallow-left-toasted {
    animation: bounce-one 1s infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
    position: absolute;
    left: 0;
    opacity: 0;
    transition: 3s;
    pointer-events: none;
}

.marshmallow-right {
    animation: bounce-two 1s infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
    position: absolute;
    right: 0;
    pointer-events: none;
}
.marshmallow-right-toasted {
    animation: bounce-two 1s infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
    position: absolute;
    right: 0;
    opacity: 0;
    transition: 3s;
    pointer-events: none;
}
.unhide {
    opacity: 1;
    transition: 3s;
}

@keyframes bounce-one {
    0% {
        top: 0px;
    }
    100% {
        top: 10px;
    }
}

@keyframes bounce-two {
    0% {
        top: 10px;
    }
    100% {
        top: 0px;
    }
}

.donors {
    position: absolute;
    top: 70px;
    right: 50px;
    background-color: rgb(7 21 39 / 65%);
    font-family: 'Nunito', sans-serif;
    font-weight: bold;
    color: #fff;
    width: 240px;
    z-index: 1;
}
.donors-overlay {
    position: absolute;
    top: 95px;
    right: 50px;
    background: linear-gradient(360deg, rgb(7 21 39), transparent, transparent, transparent, transparent);
    z-index: 2;
    width:240px;
    height:310px;
}


.donors img {
    margin-top:-30px;
}
.donors .donor-name {
    text-align: center;
    margin: 0px 0px 30px 0px;
    text-transform: uppercase; 
}
.donor-list-container {
    overflow: hidden;
    position:relative;
    height:400px;    
}



.donor-list {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
.donor-list .name {
    text-align: center;
    padding-bottom:40px;
    text-transform: uppercase;
    font-family: 'Nunito', sans-serif;
    font-size:20px;
    font-weight: bold;
}


.hide-overflow {
    height:300px;
    overflow:hidden;
}

.wrapper{
    width:100%;
    min-height:300px;
    position:relative;
    margin:auto;
    overflow:hidden;
    text-transform: uppercase;
  }
  
  .wrapper::after {
    width:100%;
    min-height: 350px;
    content:"";
    position:absolute;
  }
  
  .box{
    height:30px;
    width:100%;
    position:absolute;
    font-size:18px;
    line-height:50px;
    text-align:center; 
    display:none;   
  }
  
  
  
  .boxes {
    position:relative;
    bottom:-30px;
  }

@keyframes scrolling-list {
    0% {
      transform: translate(0, 100%);
    }
    100% {
        transform: translate(0, -3000%);
    }
    
  }

.donor-list:hover{
    animation-play-state: paused;
}

.donor-list .donor-name {
    display: block;
    padding: 10px;
}

.donor-list .donor-name:nth-child(n+2) {
    transform: translateY(-30px);
}
.operation-warm {
    background-color: #182230;
    width: 310px;
    margin: 0 auto;
    position: relative;
    left: -20px;
    padding: 10px 20px;
    border-radius: 15px;
    padding-bottom: 20px;
}
.operation-warm p {
    font-family: 'Nunito', sans-serif;
    text-transform: unset;
    margin-bottom:5px;
    color: #fff;
}
.operation-warm img {
    max-width: 80%;
    margin: 10px auto 10px;
    display: block;
}

.log-counter {
    width: 233px;
    height: 167px;
    background: url(../images/log-counterv2.png);
    background-size:cover;
    position: absolute;
    bottom: 30px;
    right: 50px;
    z-index: 3;
    
}

.hold {
    opacity: 1;
    cursor: move;
}

.ground {
    background: url(/images/ground.png);
    height:125px;
    position: absolute;
    bottom:0px;
    width: 100%;
    z-index:0;
    pointer-events: none;
}
.ground-mobile {
    display:none;
    pointer-events: none;
}
.ground-mobile-second {
    display:none;
    pointer-events: none;
}

/* Add some basic styling */
.slot-machine {
    overflow: hidden;
    height: 70px;
    top: 30px;
    position: relative;
  }
  
  .slot-display {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    height: 70px;
    width: 200px;
    position: relative;
    top: 0px;
    overflow: hidden;
    z-index: 9;
    margin-right: 0px;
    left: 16px;
  }
  
  .number {
    margin: 0 14px;
    transition: 5s;
    color: #ffffff;
    font-weight: bold;
    font-family: 'Nunito', sans-serif;
  }
 

  @keyframes roll-up {
    from { transform: translateY(0%); }
    to { transform: translateY(100%); }
  }
  @keyframes roll-down {
    from {transform: translateY(100%);}
    to {transform: translateY(0%);}
    }
  .slot-display-up {
    animation: roll-up 1s ease-in-out;
  }
  .slot-display-down {
    animation: roll-down 1s ease-in-out;
  }

  #modal-center .uk-modal-dialog{
    background: url(../images/modal_bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 680px;
    height: 430px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  #modal-center .uk-modal-dialog h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 40px;
    font-weight: 700;
    margin-top: -40px;
    margin-bottom:0px;
    color: #fff;
  }
  #modal-center .uk-modal-dialog p {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    color: #fff;
    text-align:center;
  }
  @media (min-width: 640px){
    .uk-modal-body {
        padding: 30px 40px;
    }
  }

  #modal-center .uk-modal-dialog svg {
    display: none;
  }
  #modal-center .uk-modal-dialog button {
    position: absolute;
    bottom: 70px;
    left: 50%;
    margin: 0 auto;
    transform: translate(-50%);
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    font-weight: bold;
    font-size: 18px;
  }

.star {
    position: absolute;
    z-index: 0;
    
}
.star-one {
    top: 10vh;
    left: 25vw;
    animation: twinkle-one 10s infinite ease-in-out;
}
.star-two {
    top: 7vh;
    left: 30vw;
    animation: twinkle-one 4s infinite ease-in-out;
}
.star-three {
    top: 5vh;
    left: 42vw;
    animation: twinkle-one 6s infinite ease-in-out;
}
.star-four {
    top: 32vh;
    left: 45vw;
    animation: twinkle-one 8s infinite ease-in-out;
}
.star-five {
    top: 20vh;
    left: 58vw;
    animation: twinkle-one 2s infinite ease-in-out;
}
.star-six {
    top: 38vh;
    left: 64vw;
    animation: twinkle-one 5s infinite ease-in-out;
}
.star-seven {
    left: 66vw;
    top: 11vh;
    animation: twinkle-one 3s infinite ease-in-out;
}
.star-eight {
    top: 19vh;
    left: 94vw;
    animation: twinkle-one 7s infinite ease-in-out;
}

@keyframes twinkle-one {
    0% {
        opacity:.2;
        scale: .6
    }
    50% {
        opacity:1;
        scale: 1;
    }
    100% {
        opacity:.2;
        scale:.6
    }
}
@keyframes twinkle-two {
    0% {
        opacity:.2;
    }
    100% {
        opacity:1;
    }
}
@keyframes twinkle-two {
    0% {
        opacity:.2;
    }
    100% {
        opacity:1;
    }
}
@keyframes twinkle-two {
    0% {
        opacity:.2;
    }
    100% {
        opacity:1;
    }
}
@keyframes twinkle-two {
    0% {
        opacity:.2;
    }
    100% {
        opacity:1;
    }
}

  @media (max-width: 1299px) {
    html, body {
        overflow-x: hidden;
        overflow-y: scroll;
        background: unset;
    }
    body {
        height: unset;
        display: flex;
        flex-direction: column;
        background: url(../images/background.png);
        background-position: top center;
        background-size: auto 680px;
        background-repeat: no-repeat;
        background-color: #0a1020;
    }
/* width */
::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background:#ffffff;
    border-radius: 5px;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #151f39; 
    border-radius: 5px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #0a1020; 
  }
    .mobile-bg {
        background: url(../images/background.png);
    }
    .header{
        order: 1;
        display: flex;
        margin-bottom:100px;
    }
    .header img {
        max-width: 145px;
    }   
    .star-one {
        top: 7vh;
        left: 3vw;
    } 
    .star-two {
        top: 17vh;
        left: 3vw;
    }
    .star-three {
        top: 0vh;
        left: 43vw;
    }
    .star-four {
        top: 4vh;
        left: 85vw
    }

    .star-six {
        top: 27vh;
        left: 64vw;
    }
    .star-seven {
        left: 86vw;
        top: 19vh;
    }

    .star-eight{
        display:none;
    }
    #modal-welcome .uk-modal-body {
        padding: 0px 15px 15px 15px;
    }
    .welcome {
        order: 2;
        display: flex;
        width: 369px;
        max-width:80%;
        display: block;
        margin: 0 auto;
        z-index:1;
    }
    .welcome h1 {
        font-size: 28px;
    }
    .welcome img {
        top: -20px;
        left: -23px;
        width: calc(100% + 50px);
    }
    .welcome p {
        font-size: 18px;
        line-height: 22px;
    }
    
    .campfire {
        order: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        position: relative;
        width: 378px;
        max-width: 90%;
        height: 500px;
        bottom: unset;
        left: unset;
        transform: unset;
        touch-action: none;
        pointer-events: none;     
    }
    .campfire .flame-small {
        display: inline-block;
        position: absolute;
        width: 100%;
        bottom: 80px;
        left: 52%;
        transform: translate(-50%, 0);
        z-index: 1;
        max-width: unset;
    }
    .campfire-grow .flame-big {
        transition: 5s;
        animation: flame-grow 5s;
    }
    @keyframes flame-grow {
        0% {
            width: 26vw;
            opacity:0;
        }
        25% {
            width: 120%;
            opacity:1;
        }
        50% {
            width:120%;
            opacity:1;
        }
        75% {
            width: 120%;
            opacity:1;
        }
        100% {
            width: 33vw;
            opacity:0;
        }
    }

    .ground {
        display: none;
    }

    .ground-mobile {
        background: url(/images/ground_mobile.png);
        background-size: cover;
        background-repeat: no-repeat;
        position: absolute;
        display: block;
        bottom: -570px;
        width: 100%;
        height: 100vh;
    }
    .ground-mobile-second{
        background: url(/images/ground_mobile_second.png);
        background-size: cover;
        background-repeat: repeat-y;
        position: absolute;
        display: block;
        bottom: -1075px;
        width: 100%;
        height: 136vh;
    }
    .instructions {
        z-index: 1;
    }

    .instructions::after {
        right: -60px;
        top: -70px;
        transform: scaleY(-1);
    }    
    .marshmallows {
        position: relative;
        display: flex;
        order: 3;
        width: 110%;
        top: -340px;
    }
    .marshmallow-left, .marshmallow-left-toasted {
        rotate: 45deg;
        width: 36vw;
    }
    .marshmallow-right, .marshmallow-right-toasted {
        rotate: 315deg;
        width: 36vw;
    }
    .log-pile {
        order: 5;
        display: flex;
        position: relative;
        margin: 0 auto;
        margin-top: 40px;
        }
    .highlighted-log {
        position: relative;
        order: 6;
        display: flex;
        margin: 0 auto;        
        top: -250px;
        left: 20px;
        rotate: 160deg;
        pointer-events: auto;
        z-index: 99;
    }
    .invisible {
        background-image: none;
        position: relative;
        order: 6;
        width: 266px;
        height: 192px;
        animation: log-pulse 1s infinite;
        display: flex;
        margin: 0 auto;
        top: -250px;
        left:20px;
        
    }
    .invisible img {
        display: none;
    }

    .instructions {
        order: 7;
        position: relative;
        display: flex;
        margiN: 0 auto;
        top: -170px;
        max-width: 75%;
        padding: 15px;
        align-items: center;
        justify-content: center;
    }
    .instructions::after{
        left: -23px;
        bottom: 8px;
        transform: scale(-1, -1);
        display: inline-block;
        width: 80px;
    }
    .donors {
        order: 8;
        position: relative;
        margin: 0 auto;
        top: -90px;
        width: 300px;
        min-height: 300px;
        right: unset;
        pointer-events: none;
    }    
    .donors-overlay{
        display: none;
    }

    .donor-list-container {
        height: 300px;
        pointer-events: none;
    }
    .operation-warm {
        background-color: #182230;
        width: 310px;
        margin: 0 auto;
        margin-top: -145px;
        left:0px;
        position: relative;
        padding: 10px 20px;
        border-radius: 15px;
        padding-bottom: 20px;
        z-index: 999;
        display: flex;
        order: 8;
        flex-direction: column;
    }
    .log-counter {
        position: relative;
        margin: 40px auto 40px;
        order: 9;
        display: flex;
        right: unset;
        bottom: unset;
        pointer-events: none;
    }

    .no-scroll {
        -webkit-overflow-scrolling: touch;
    }

    #modal-center .uk-modal-dialog{
        background: url(../images/thank_you_modal_mobile.png);
        background-size: cover;
        width: 370px;
        height: 523px;
    }
    #modal-center .uk-modal-dialog h1 {
        font-size: 32px;
    }
    #modal-center .uk-modal-dialog button {
    position: absolute;
    bottom: 45px;
    height: 50px;
    left: 50%;
    width: 100%;
    text-shadow: 2px 2px 10px black;
    }
    .lds-ring {
        opacity:0;
    }

    .et {
        animation-duration: 15s;
        animation-delay: 20s;
    }
    @keyframes et-fly{
        0% {
            top: 12vh;
            left: -10vw;
            rotate: 0deg;
            opacity: 1;
        }
        25%{
            top: 8vh;
            left: 25vw;             
            rotate: 0deg;
            opacity: 1;
        }
       
        52% {
            top: 6vh;
            left: 54vw;
            rotate: 5deg;
            opacity: 1;
        }
        
        75%{
            top: 8vh;
            left: 81vw;            
            rotate: 10deg;
            opacity: 1;
        }
        100% {
            top:12vh;
            left:110vw;
            opacity: 1;
            rotate: 15deg;
        }
    }

  }
  @media (max-width: 700px) {
    .marshmallows {
        width: 150%;
    }
    .marshmallow-left, .marshmallow-left-toasted {
        width: 55vw;
    }
    .marshmallow-right, .marshmallow-right-toasted {
        width: 55vw;
    }
  }
  @media (max-width: 600px){
    .star-five {
        top: 46vh;
        left: 38vw;
    }
  }


/* Height Rules for Desktop */
@media screen and (max-height: 900px) and (min-width: 1300px){

    .highlighted-log {
        height: 192px;
        width:226px;
        bottom: 40px;
    }
    .log-pile {
        width:260px;
    }
}
@media screen and (max-height: 850px) and (min-width: 1300px){
    .donors-overlay {
        height: 33vh;
    }
    .wrapper {
        height: 33vh;
    }
    .wrapper::after{
        height: 33vh;
    }
    .hide-overflow {
        height: 33vh;
    }
    .welcome {
        padding: 0px 10px 10px 10px;
    }
    .header {
        padding: 25px 40px;
    }
    .header img {
        max-width: 190px;
    }
    .instructions {
        position: absolute;
        bottom: 260px;
    }    
}

@media screen and (max-height: 750px) and (min-width: 1300px){
    .welcome {
        width: 369px;
    }
    .welcome h1 {
        font-size: 28px;
    }
    .welcome p {
        font-size: 18px;
        line-height: 22px;
    }
    .instructions {
        font-size: 18px !important;
        line-height: 22px !important;
        width: 240px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .box {
        font-size: 18px;
    }
}
@media screen and (max-height: 700px) and (min-width: 1300px){
    .donors-overlay, .wrapper, .wrapper::after, .hide-overflow {
        height: 25vh;
    }

}

.lds-ring {
    display: inline-block;
    position: absolute;
    width: 80px;
    height: 80px;
    top: 140px;
    right: 130px;
    z-index: 99;
  }
  .lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
  }
  .lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
  }
  .lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
  }
  .lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
  }
  @keyframes lds-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
