/* CONTAINS EVENTS, ADVENTURES, SETTINGS, DORI SHOP, NUT SHOP */
/*/////////////////////// EVENTS CSS ///////////////////////////////*/
.random-event {
    position: absolute;
    z-index: 100;
    width: 10%;
    height: 10%;
} 

.event-pic-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: vibrate 4s linear 0s 2 normal forwards;
}

.vibrate-more {
    animation: vibrate-hard 2s linear 0s 4 normal forwards;
}

.event-dropdown {
    width: 50%;
    height: 20%;
    position: absolute;
    top: -7.5%;
    left: 25%;
    z-index: 250;
    opacity: 1;
    font-size: 1em;
    text-align: center;
    animation: slidedown 5s cubic-bezier(.17,.67,.33,.83) both;
    pointer-events: none;
    filter: drop-shadow(0.15em 0.2em #65805472);
}

 .event-dropdown > div {
    position: relative;
    z-index: 151;
    color: #1d3011;
    text-shadow: 0.05em 0.05em 0.2em #658054bc;
    font-size: 1.2em;
} 

.event-dropdown-text {
    width: 70%;
    height: 100%;
}

.event-dropdown-image {
    width: 20%;
    height: 80%;
    filter: drop-shadow(0 0 0.2em #000000);
}

.event-dropdown > img {
    position: absolute;
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 0.975;
}

@keyframes slidedown {
    0% { transform: translateY(0);}
    100% { transform: translateY(100%); }
}
 

#prevent-clicker {
    z-index: 20000;
    pointer-events: all;
}

.event-dark {
    z-index: 10000;
    row-gap: 2%;
}

.event-dark-row {
    column-gap: 3%;
}

.event-dark > canvas {
    z-index: 10001;
}

.event-dark::before {
    content: "";
    background-color: black;
    background-size: cover;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.95;
}

.event-description {
    font: inherit;
    font-size: 2em;
    text-align: center;
    color: white;
    z-index: 10001;
    text-shadow: var(--text-shadow-075);
    pointer-events: none;
    position: relative;
    top: 1%;
}

.cancel-event {
    position: absolute;
    top:1%;
    right:1%;
    width: 15%;
    aspect-ratio: 4.6;
    font: inherit;
    color: #710c12;
    background-image: url(./assets/tutorial/exitBox.webp);
    background-size: contain; 
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
}

.event-rain-text {
    height: 10%;
    width: 100%;
    bottom: 1%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.3em;
    color: white;
    text-align: center;
    background-color: #000000c4;
    pointer-events: none;
    z-index: 10007;
}

.text-pop {
    -webkit-animation: text-pop-up-top 3s cubic-bezier(.48,-0.01,0,1) both;
	        animation: text-pop-up-top 3s cubic-bezier(.48,-0.01,0,1) both;
}
  
@keyframes text-pop-up-top {
    0% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
        /* text-shadow: none; */
    }
    100% {
        -webkit-transform: translateY(-450%);
                transform: translateY(-450%);
                /* text-shadow: 0 0.1em 0 #cccccc */
    }
}

.raining-image {
    position: absolute;
    width: 10%;
    aspect-ratio: 1;
    z-index: 101;
    pointer-events: auto;
}

.raining-quicktime {
    width: 17.5%;
    transition: filter 0.5s ease;
}

@keyframes rain {
    from {transform: translateY(0);}
    to {transform: translateY(1000%);}
}

@keyframes rain-rotate {
    from {transform: translateY(0) rotate(0deg);}
    to {transform: translateY(1000%) rotate(360deg);}
}

@keyframes rotation-scale {
    0% {transform: scale(1) rotateZ(0);}
    50% {transform: scale(1.3) rotateZ(180deg);}
    100% {transform: scale(1) rotateZ(360deg);}
}

#reaction-image {
    position: relative;
    z-index: 10001;
    height: 50%;
    aspect-ratio: 1;
}

#reaction-image-bot {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    position: absolute;
}

#reaction-image-arrow {
    position: absolute;
    width: 17%;
    height: 30%;
    bottom:49%;
    left: 41%;
    object-fit: contain;
    transform-origin: center bottom;
    animation: clock-rotating 4s linear infinite;
}

@keyframes clock-rotating {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}

#reaction-image-top {
    width: 20%;
    height: 43%;
    position: absolute;
    object-fit: contain;
    bottom:42%;
    left: 40%;
}

#reaction-button {
    position: relative;
    z-index: 10001;
    width: 35%;
    aspect-ratio: 5.89;
    background-image: url(./assets/tutorial/tut-button.webp);
    color: white;
    text-shadow: #3C3C3C 0.21375em 0 0, #3C3C3C 0.20102554875em 0.06442056725em 0, #3C3C3C 0.16545309125em 0.125256034375em 0, #3C3C3C 0.114100525em 0.17245005em 0, #3C3C3C 0.0495299125em 0.1929347625em 0, #3C3C3C -0.020926788125em 0.1987703525em 0, #3C3C3C -0.08683835em 0.182958245em 0, #3C3C3C -0.140307092em 0.145025515em 0, #3C3C3C -0.18035769em 0.09045148em 0, #3C3C3C -0.209242475em 0.025948895em 0, #3C3C3C -0.20681056375em -0.0373652975em 0, #3C3C3C -0.18052885375em -0.0934511275em 0, #3C3C3C -0.1379573405em -0.138057635em 0, #3C3C3C -0.0800555925em -0.159165915em 0, #3C3C3C -0.0164290525em -0.165675565em 0, #3C3C3C 0.0535315125em -0.1594206825em 0, #3C3C3C 0.1188833225em -0.1486998625em 0, #3C3C3C 0.15738429125em -0.102757115em 0, #3C3C3C 0.1825355875em -0.05246907125em 0;
    font-size: 1.4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

#outcome-text {
    bottom: 50%;
    font-size: 1.7em;
    text-shadow: 0.05em 0.05em  #000000;
    background-color: #000000ee;
}

.box-outer-div {
    position: absolute;
    left: 20%;
    top: 20%;
    z-index: 10001;
    width: 60%;
    height: 50%;
}

.box-event {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap:wrap;
    justify-content: center;
}

.box-image-div {
    width: 25%;
    height: 45%;
}

.box-image-div > img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.box-image-div > img:hover {
    filter: drop-shadow(0 0 0.4em white);
}

.glow:hover {
    filter: drop-shadow(0 0 0.4em white);
}

.slide-in-blurred-top {
	-webkit-animation: slide-in-blurred-top 0.6s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
	        animation: slide-in-blurred-top 0.6s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
}

.box-outcome {
    position: absolute;
    width: 70%;
    height: 150%;
    object-fit: contain;
}

.weasel-back {
    z-index: 10010;
    position: relative;
    left: 4%;
    width: 70%;
    height: 80%;
    background-image: url(./assets/event/weasel-back.webp);
    background-size: contain;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;

}

.weasel {
    width: 15%;
    height: 33%;
    position: relative;
}

.weasel > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.weasel-timer-div {
    position: relative;
    left: 4%;
    width: 7%;
    height: 86%;
    display: flex;
    flex-direction: column;
    justify-content:space-evenly;
    align-items: center;
}

.weasel-timer > p {
    position: absolute;
    top: 45%;
    left: -10%;
    width: 120%;
    aspect-ratio: 1.2;
    font-size: 1.7em;
    z-index: 1005;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background-color: #FEF8AC;
    border-radius: 0.1em;
    text-shadow: #3C3C3C 0.107em 0 0, #3C3C3C 0.1005em 0.0322em 0, #3C3C3C 0.0827em 0.0626em 0, #3C3C3C 0.0571em 0.0862em 0, #3C3C3C 0.0248em 0.0965em 0, #3C3C3C -0.0105em 0.0994em 0, #3C3C3C -0.0434em 0.0915em 0, #3C3C3C -0.0702em 0.0725em 0, #3C3C3C -0.0902em 0.0452em 0, #3C3C3C -0.1046em 0.0130em 0, #3C3C3C -0.1034em -0.0187em 0, #3C3C3C -0.0903em -0.0467em 0, #3C3C3C -0.0689em -0.0690em 0, #3C3C3C -0.0400em -0.0796em 0, #3C3C3C -0.0082em -0.0828em 0, #3C3C3C 0.0268em -0.0797em 0, #3C3C3C 0.0594em -0.0743em 0, #3C3C3C 0.0787em -0.0514em 0, #3C3C3C 0.0913em -0.0262em 0;
}

.weasel-timer {
    position: relative;
    height: 80%;
    aspect-ratio: 0.11855;
}

.weasel-hourglass {
    width: 90%;
    height: 12%;
    object-fit: contain;
}

.weasel-outline {
    position: relative;
    z-index: 1002;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#fake-weasel-alert {
    height: 10%;
    width: 35%;
    background-color: #673f31;
    border: 0.25em solid #371a10;
    border-radius: 1em;
    font-size: 1.1em;
    text-shadow: 0.075em 0.075em  #000000;
    color: white;
    pointer-events: none;
    bottom: 3%;
    position: absolute;
    z-index: 12100;
    opacity: 0;
}

@keyframes fadeOutWeasel {
    0%,60% {opacity: 1}
    100% {opacity: 0}
}

.weasel-sand {
    z-index: 1001;
    position: absolute;
    width: 100%;
    height: 99%;
    bottom: 1%;
    transform-origin: bottom center;
    animation: scale-down 25s linear forwards;
}

@keyframes scale-down {
    0% {
        transform: scaleY(1);
    }
    100% {
        transform: scaleY(0);
    }
}

.spring {
    position: absolute; /* anchor image to container */
    bottom: 0;
    transform-origin: bottom center;
    animation: spring-up 0.2s linear forwards;
}

@keyframes spring-up {
    0% {
        transform: scaleY(0.5);
      }
    50% {
        transform: scaleY(0.75);
      }
    100% {
        transform: scaleY(1);
      }
}

/* ----------------------------------------------
 * Generated by Animista on 2023-2-13 17:9:45
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */
@-webkit-keyframes slide-in-blurred-top {
    0% {
      -webkit-transform: translateY(-100%) scaleY(2.5) scaleX(0.2);
              transform: translateY(-100%) scaleY(2.5) scaleX(0.2);
      -webkit-transform-origin: 50% 0%;
              transform-origin: 50% 0%;
      -webkit-filter: blur(40);
              filter: blur(40);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0) scaleY(1) scaleX(1);
              transform: translateY(0) scaleY(1) scaleX(1);
      -webkit-transform-origin: 50% 50%;
              transform-origin: 50% 50%;
      -webkit-filter: blur(0), drop-shadow(5px 5px 5px #222);
              filter: drop-shadow(5px 5px 5px #222);
      opacity: 1;
    }
}

@keyframes slide-in-blurred-top {
    0% {
      -webkit-transform: translateY(-100%) scaleY(2.5) scaleX(0.2);
              transform: translateY(-100%) scaleY(2.5) scaleX(0.2);
      -webkit-transform-origin: 50% 0%;
              transform-origin: 50% 0%;
      -webkit-filter: blur(40);
              filter: blur(40);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0) scaleY(1) scaleX(1);
              transform: translateY(0) scaleY(1) scaleX(1);
      -webkit-transform-origin: 50% 50%;
              transform-origin: 50% 50%;
      -webkit-filter: blur(0), drop-shadow(5px 5px 5px #222);
              filter: drop-shadow(0 0 1em white);
      opacity: 1;
    }
}

#box-text {
    position: absolute;
    top: 45%;
    width: 100%;
    height: 10%;
    z-index: 10006;
    background-color: #000000e0;
    background-size: cover;
    font-size: 0.7em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 1%;
    text-shadow: #686464 0.21375em 0 0, #686464 0.20102554875em 0.06442056725em 0, #686464 0.16545309125em 0.125256034375em 0, #686464 0.114100525em 0.17245005em 0, #686464 0.0495299125em 0.1929347625em 0, #686464 -0.020926788125em 0.1987703525em 0, #686464 -0.08683835em 0.182958245em 0, #686464 -0.140307092em 0.145025515em 0, #686464 -0.18035769em 0.09045148em 0, #686464 -0.209242475em 0.025948895em 0, #686464 -0.20681056375em -0.0373652975em 0, #686464 -0.18052885375em -0.0934511275em 0, #686464 -0.1379573405em -0.138057635em 0, #686464 -0.0800555925em -0.159165915em 0, #686464 -0.0164290525em -0.165675565em 0, #686464 0.0535315125em -0.1594206825em 0, #686464 0.1188833225em -0.1486998625em 0, #686464 0.15738429125em -0.102757115em 0, #686464 0.1825355875em -0.05246907125em 0;
    
}

.slide-out-animation {
    animation: slide-out-bottom 1.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

@keyframes slide-out-bottom {
    0% {opacity: 1}
    100% {opacity: 0}
}

.minesweeper-backdrop > p {
    flex-basis: 100%;
}
  
.event-mine-bg {
    height: 85%;
    aspect-ratio: 1;
    z-index: 101;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 105%;
    background-image: url(./assets/event/mineEventBG.webp);
}

#mine-info {
    width: 30%;
    z-index: 101;
    height: 85%;
    row-gap: 2%;
}

#mine-info > img {
    height: auto;
    
    width: 100%;
    object-fit: contain;
}

.event-mine-bg > tr > td {
    width: 12%;
    height: 12%;
    background-image: url(./assets/event/mine-unclicked.webp);
    background-size: contain; 
    border: 0.01em inset #71ae2c;
    color: white;
    text-shadow: #3C3C3C 0.21375em 0 0, #3C3C3C 0.20102554875em 0.06442056725em 0, #3C3C3C 0.16545309125em 0.125256034375em 0, #3C3C3C 0.114100525em 0.17245005em 0, #3C3C3C 0.0495299125em 0.1929347625em 0, #3C3C3C -0.020926788125em 0.1987703525em 0, #3C3C3C -0.08683835em 0.182958245em 0, #3C3C3C -0.140307092em 0.145025515em 0, #3C3C3C -0.18035769em 0.09045148em 0, #3C3C3C -0.209242475em 0.025948895em 0, #3C3C3C -0.20681056375em -0.0373652975em 0, #3C3C3C -0.18052885375em -0.0934511275em 0, #3C3C3C -0.1379573405em -0.138057635em 0, #3C3C3C -0.0800555925em -0.159165915em 0, #3C3C3C -0.0164290525em -0.165675565em 0, #3C3C3C 0.0535315125em -0.1594206825em 0, #3C3C3C 0.1188833225em -0.1486998625em 0, #3C3C3C 0.15738429125em -0.102757115em 0, #3C3C3C 0.1825355875em -0.05246907125em 0;
    text-align: center;
} 

.mine-outcome {
    position: absolute;
    width: 50%;
    height: 90%;
    object-fit: contain;
    z-index: 110;
}

.box-outcome {
    position: absolute;
    width: 70%;
    height: 150%;
    object-fit: contain;
}

/* ----------------------------------------------
 * Generated by Animista on 2023-2-13 17:9:45
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */
.slide-in-blurred-bottom {
	-webkit-animation: slide-in-blurred-bottom 0.6s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
	        animation: slide-in-blurred-bottom 0.6s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
}

@-webkit-keyframes slide-in-blurred-bottom {
    0% {
      -webkit-transform: translateY(1000) scaleY(2.5) scaleX(0.2);
              transform: translateY(1000) scaleY(2.5) scaleX(0.2);
      -webkit-transform-origin: 50% 0%;
              transform-origin: 50% 0%;
      -webkit-filter: blur(40);
              filter: blur(40);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0) scaleY(1) scaleX(1);
              transform: translateY(0) scaleY(1) scaleX(1);
      -webkit-transform-origin: 50% 50%;
              transform-origin: 50% 50%;
      -webkit-filter: blur(0), drop-shadow(5px 5px 5px #222);
              filter: drop-shadow(5px 5px 5px #222);
      opacity: 1;
    }
  }
@keyframes slide-in-blurred-bottom {
    0% {
      -webkit-transform: translateY(1000) scaleY(2.5) scaleX(0.2);
              transform: translateY(1000) scaleY(2.5) scaleX(0.2);
      -webkit-transform-origin: 50% 0%;
              transform-origin: 50% 0%;
      -webkit-filter: blur(40);
              filter: blur(40);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0) scaleY(1) scaleX(1);
              transform: translateY(0) scaleY(1) scaleX(1);
      -webkit-transform-origin: 50% 50%;
              transform-origin: 50% 50%;
      -webkit-filter: blur(0), drop-shadow(5px 5px 5px #222);
              filter: drop-shadow(0 0 1em white);
      opacity: 1;
    }
}

.say-container, .hex-container {
    position: absolute;
    width: auto;
    height: 30%;
    aspect-ratio: 0.920;
}

.say-container {
    background: url(./assets/event/says-0.webp) no-repeat center center/cover;
}

.hex-container {
    background: url(./assets/event/hex-0.webp) no-repeat center center/contain;
}

.say-img {
    position: absolute;
    height: 100%;
    object-fit: contain;
    transition: 0.2s ease;
}

.battleship-div {
    position: relative;
    top: 5%;
    width: auto;
    max-width: 90%;
    height: 85%;
    /* background: url(./assets/expedbg/scene/1-B-1.webp) no-repeat center center/cover; */
    aspect-ratio: 2.3;
    z-index: 1;
}

.battleship-left, .battleship-right {
    width: 50%;
    height: 100%;
    padding: 1%;
    box-sizing: border-box;
}

.key-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(7,1fr);
    height: 15%;
    width: 100%;
    box-sizing: border-box;
    column-gap: 2%;
}

.key-container > * {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.key-container > button {
    background: url(./assets/event/clock-arrow.webp) no-repeat center center/contain;
    transition: 0.2s ease;
}

.key-container > button:last-of-type:hover {
    transform: scale(1.1);
}

.key-container > button:last-of-type {
    width: 100%;
    height: 100%;
    font-size: 0.9em;
    color: #f0e5da;
    background: url(./assets/tutorial/exped-button.webp) no-repeat center center/contain;
    
}

.key-container > p, .battleship-right > p {
    width: 100%;
    transform: translateY(30%);
    text-align: center;
    font-size: 1.8em;
    color: white;
    text-shadow: var(--text-shadow-075);
}

.key-container > p {
    position: absolute;
}

.battleship-right > p {
    height: 15%;
    
}

.battleship-container {
    position: relative;
    max-width: 100%;
    flex-grow: 1;
    aspect-ratio: 1;
    background: url(./assets/event/weasel-back.webp) no-repeat center center/cover;
    display: grid;
    grid-template: repeat(auto-fit, minmax(20%, 1fr)) / repeat(auto-fit, minmax(20%, 1fr));
    border: 0.05em solid #ccc567;
}

.battleship-container > div {
    border: 0.05em solid #ccc567;
    position: relative;
}

.battleship-container > div > img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 10;
}

.battleship-cross {
    padding: 15%;
    box-sizing: border-box;
    z-index: 5;
}

.enemy-key {
    pointer-events: none;
    opacity: 0;
    transition: 0.6s ease;
    padding: 0;
}

.block-input::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: all;
    z-index: 20;
}

.battleship-cover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: all;
    z-index: 20;
}

.battleship-cover::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 55%;
    height: 55%;
    transform: translate(-50%, -50%);
    background: url(./assets/tutorial/aranara-8.webp) no-repeat center center/cover;
    pointer-events: all;
    z-index: 20;
    filter: drop-shadow(0 0 0.2em white);
}

.pinball-container {
    position: absolute;
    z-index: 1001;
    top: 4em;
    height: 85%;
    width: auto;
    max-width: 90%;
    aspect-ratio: 0.7;
    background: url(./assets/expedbg/choice/11_B_Fail.webp) no-repeat center center/cover;
}

.launch-button {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: yellow;
    width: 15%;
    height: 10%;
}

.launch-button:last-of-type {
    position: absolute;
    bottom: 10%;
    right: 0;
    background-color: green;
    width: 15%;
    height: 10%;
}

.pinball-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.25);
}

/*/////////////////////////////// ADVENTURE CSS ///////////////////////////////*/
.adventure-map {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: contain;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-image: url(./assets/bg/advBg.webp);
    background-position: center;
    background-size: cover;
    z-index: 11;
}

.adventure-map > * {
    pointer-events: auto;
}

#zoom-scroller {
    position: absolute;
    right: 1%;
    bottom: 9%;
    width: auto;
    height: 12%;
    aspect-ratio: 1/2;
    z-index: 30;
    background-color: var(--bright-green);
    border: 0.15em solid var(--bright-dark-green);
    box-sizing: border-box;
    border-radius: 0.3em;
}

#zoom-scroller > button:first-of-type{
    border-bottom: 0.1em solid var(--bright-dark-green);
}

#zoom-scroller > button {
    width: 100%;
    height: 45%;
    background-color: transparent;
    color: #2b583c;
    margin-top: 2%;
    font-size: 2vw;
}

.char-select {
    position: absolute;
    text-align: center;
    aspect-ratio: 1;
    width: auto;
    height: 10%;
    left: 1%;
    top: 1%;
    box-sizing: border-box;
    background-position: center;
    background-size: contain;
    background-color: #73879C;
    border: 0.2em solid #334a63;
    color: #112338;
    font-size: 0.8em;
}

.notif-select {
    position: absolute;
    background-color: transparent;
    text-align: center;
    aspect-ratio: 3.12;
    width: auto;
    height: 8%;
    right: 3%;
    top: 1%;
    box-sizing: border-box;
    font-size: 0.8em;
}

.notif-select > div {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #000000cb;
    border-radius: 0.5em 0 0 0.5em;
}

.notif-select > div:nth-child(2) {
    position: absolute;
    top: 105%;
}

.notif-select > div:nth-child(3) {
    position: absolute;
    top: 210%;
}

.notif-select > div:nth-child(4) {
    position: absolute;
    top: 315%;
}

.notif-div {
    position: absolute;
    width: 100%;
    height: 100%;
    flex-direction: row;
    justify-content: flex-end;
    gap: 1%;
}

.notif-div > img {
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 0.6em rgba(255, 255, 255, 0.648));
}

.notif-div > p {
    flex-grow: 1;
    border-radius: 0.5em 0 0 0.5em ;
    color: white;
}

.char-menu {
    z-index: 6;
    position: absolute;
    max-width: 90%;
    max-height: 80%;
    width: 80%;
    aspect-ratio: 1;
    top: 13%;
    left: 2%;
    background-color: #71788A;
    border: 0.15em solid #3F4658;
    overflow-y: auto;
}

.char-selected {
    color: #2a2a2a;
    text-shadow: 0.1em 0.1em 0.25em #ffffff7b;
    background-color: #5f9030;
}

.char-menu > div {
    width: 100%;
    height: 20%;
    gap: 2%;
    box-sizing: border-box;
    border-bottom: 0.15em solid #3F4658;
    color: #e7eeff;
    text-shadow: 0.1em 0.1em 0.25em #000000;
    transition: 0.15s ease;
}

.char-menu > div:hover {
    color: white;
    background-color: #38415B;
}

.char-menu > div > img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.char-menu > div > p {
    flex-grow: 1;
    height: 100%;
    object-fit: contain;
    font-size: 0.9em;
    align-items: flex-start;
}

.drag-icon {
    position: absolute;
    bottom: 1%;
    right: 1%;
    touch-action: none;
    height: 6%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 0.1em white);
    transition: 0.1s ease;
}

.drag-icon:hover {
    transform: scale(1.2);
}

.adv-image-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    background-size: contain;
    background-color: transparent;
    z-index: 6;
    pointer-events: all;
    color: white;
    transition: 0.1s ease;
}

.adv-image-btn:hover {
    transform: scale(1.2);
}

.adventure-image {
    top: 0;
    left: 0;
	position: relative;
	user-select: none;
    border: 0.2em solid #3B425E;
}

.adventure-image::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(./assets/expedbg/adventureMap.webp);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    filter: grayscale(0.1) sepia(0.1);
}

.adventure-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(./assets/bg/wood.webp) no-repeat;
    background-size: cover;
    background-position: center;
    gap: 1%;
}

.adventure-video {
    position: relative;
    width: 60%;
    height: 55%;
    border: 0.2em ridge #AEDF7D;
    justify-content: space-around;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    column-gap: 0.5%;
    overflow: hidden;
}

.adventure-currency {
    position: absolute;
    top: 12%;
    color: #204933;
    background-color: #ceeeab;
    border: 0.2em solid #376D50;
    border-radius: 0 0 1em 1em;
    padding: 1% 2% 1% 2%;
    animation: slidedown-pop 0.8s ease-in-out both;
    text-align: left;
}

.adventure-scara-health {
    background-color:#333553 !important; 
    border-left: 0.1em solid #333553 !important;
}

.adventure-scara-barHealth {
    background-color: #a8acd9 !important;
}

.adventure-scara-health > img {
    border-right: 0.1em solid #333553 !important;
}

#adventure-health {
    position: absolute;
    height: 9%;
    width: 75%;
    background-color: #376D50;
    top: 2.5%;
    border-left: 0.1em solid #376D50;
    left: 50%;
    transform: translate(-55%,0);
    display: flex;
    flex-direction: row;
}

#combo-number {
    position: absolute;
    top: 2%;
    right: 1.5%;
    text-align: center;
    color: white;
    filter: drop-shadow(0 0 0.1em black) drop-shadow(0 0 0.05em black) drop-shadow(0 0 0.1em black);
}

.heart-bit {
    z-index: 504;
    width: 100%;
    height: 100%;
    flex-shrink: 1;
    border-right: 0.1em solid #376D50;
}

.heart-bit > img {
    z-index: 504;
    width: 100%;
    height: 100%;
    flex-shrink: 1;
    object-fit: contain;
}

.adventure-health {
    position: absolute;
    top:5%;
    left:0;
    width: 100%;
    height: 90%;
    background-color: #ceeeab;
    transition: 0.2s ease-out;
}

.adventure-video > .enemy {
    width: 25%;
    height: 85%;
    position: relative;
    bottom: -8%;
}

.adventure-video > .wide-enemy {
    width: 75%;
}

.enemyImg {
    width: 100%;
    height: 90%;
    object-fit: contain;
    filter: drop-shadow(0 0 0.3em rgba(255, 255, 255, 0.463));
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: filter 0.3s ease;
}

.battle-text {
    position: absolute;
    left: 20%;
    bottom: 25%;
    object-fit: contain;
    height: 10%;
    width: 60%;
    filter: drop-shadow(0 0 0.2em black);
    animation: battle-text 0.6s linear forwards;
    pointer-events: none;
}

.atk-indicator {
    width: 100%;
    height: 13%;
    object-fit: contain;
    filter: none;
    position: absolute;
    bottom: 10%;
    pointer-events: none;
}

.select-indicator {
    position: absolute;
    object-fit: contain;
    width: 100%;
    height: 1.5em;
    top: 2%;
    animation: glow 0.8s linear infinite forwards;
    filter: drop-shadow(0 0 0.3em white);
}

.staggered {
    filter: grayscale(1) brightness(0.8) sepia(1) hue-rotate(90deg) saturate(2.5);
}

.damaged {
    filter: grayscale(1) hue-rotate(90deg) brightness(0.7);
}

.health-bar {
    position: relative;
    width: 100%;
    height: 5%;
    background-color: #AEDF7D;
    border: 0.1em outset #2E510C;
    box-sizing: border-box;
    border-radius: 0.2em;
    transition: 0.1s ease-in-out;
}

.health-shield {
    position: absolute;
    right: 101%;
    top: 50%;
    height: 275%;
    width: auto;
    object-fit: contain;
    transform: translateY(-50%);
    filter: drop-shadow(0 0 0.1em black);
}

.health-bar-scara {
    position: relative;
    width: 100%;
    height: 5%;
    background-color: #C0C5ED;
    border: 0.1em outset #333455;
    box-sizing: border-box;
    border-radius: 0.2em;
    transition: width 0.1s ease-in-out;
}

.scara-bar {
    background-color: #a2a6dd;
    border: 0.1em outset #333553;
}

.adventure-text {
    position: relative;
    width: auto;
    height: 43%;
    aspect-ratio: 2.08;
    flex-wrap: wrap;
    color: #322a24;
}

.adventure-text > img {
    position: absolute;
    z-index: 501;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skill-mark {
    position: absolute;
    height: 25%;
    aspect-ratio: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#adventure-encounter {
    height: 100%;
    z-index: 502;
    text-align: center;
    gap: 2%;
    aspect-ratio: 1.88;
    padding: 0 0 1% 0;
    box-sizing: border-box;
}

#adventure-encounter > p {
    position: relative;
    height: auto;
    box-sizing: border-box;
    color: #442d10;
    font-size: 1.2em;
    overflow-y: auto;
    padding: 1%;
}

#inventory-offer {
    display: flex;
    position: relative;
    width: 50%;
    height: auto;
    aspect-ratio: 3;
    z-index: 2;
    gap:1%;
}

#inventory-offer > p {
    position: absolute;
    text-align: center;
    width: 100%;
    bottom: 110%;
    color: white;
    font-size: 1.5em;
    text-shadow: var(--text-shadow-075);
}

#inventory-offer > div {
    width: 33.3%;
}

#inventory-offer > img {
    transition: 0.3s ease;
}

#inventory-offer > img:hover {
    transform: scale(1.1);
}

#inventory-offer > img:nth-of-type(1) {
    position: absolute;
    height: 50%;
    top: 100%;
    left: 105%;
}

#inventory-offer > img:nth-of-type(2) {
    position: absolute;
    height: 50%;
    top: 100%;
    right: 105%;
}

#currency-amount {
    position: absolute;
    z-index: 2;
    right: 1%;
    top: 1%;
    height: fit-content;
    border: #35684D 0.1em solid;
    background-color: var(--light-green);
    box-sizing: border-box;

    color: #163525;
    width: auto;
    gap: 1%;
    padding: 0 1% 0 1%;
    text-align: center;
    font-size: 1.8em;
}


#currency-amount > img {
    height: 0.95em;
    filter: drop-shadow(0 0 0.1em black);
    width: auto;
}

.adventure-rewards {
    flex-grow: 1;
    height: auto;
    width: 100%;
    flex-wrap: wrap;
    overflow-y: auto;
    justify-content: flex-start;
    background-color: #1e2a35;
    border-radius: 0.5em 0 0 0.5em;
    border: 0.2em solid #5c6b78;
    box-sizing: border-box;
    scrollbar-color: #5c6b78;
    gap: 5% 2%;
    padding: 1%;
    box-sizing: border-box;
}

.adventure-rewards::-webkit-scrollbar-thumb {
    background-color: #5c6b78;
    border-radius: 0;
}

.item-frame {
    background-position: center;
    background-size: contain;
    width: 20%;
    height: auto;
    aspect-ratio: 1;
    flex-basis: 18%;
    position: relative;
    box-sizing: border-box;
    border-radius: 0.2em;
}

.item-frame > :first-child {
    object-fit: cover;
    filter: drop-shadow(0 0 0.2em black);
}

.item-frame > :nth-child(2) {
    position: absolute;
    bottom: 0;
    height: 20%;
    object-fit: contain;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 0 0.1em black);
}

.item-frame > :nth-child(3) {
    position: absolute;
    top: 0;
    right: 0;
    height: 20%;
    object-fit: contain;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 0 0.2em black);
}

.item-frame-text {
    color: white !important;
    right: 5% !important;
    font-size: 1.6em;
}

.extra-item-tree::after, .extra-item::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 4;
    filter: drop-shadow(0 0 0.05em black);
}

.extra-item::after {
    background: url(./assets/expedbg/bonus.webp) no-repeat center center/contain;
}

.extra-item-tree::after {
    width: 70%;
    aspect-ratio: 1.6;
    background: url(./assets/expedbg/tree-item.webp) no-repeat center center/contain;
}

#adventure-encounter > button {
    width: 100%;
    height: 10%;
    padding-top: 2%;
    padding-bottom: 2%;
    height: fit-content;
    color: white;
    text-shadow: 0 0 0.2em black, 0 0 0.3em black, 0 0 0.4em black;
    box-sizing: border-box;
    background-color: #24303F;
    border: 0.2em solid #6d7884;
    border-radius: 2em;
    transition: 0.3s ease;
}

#adventure-encounter > button:hover {
    background-color: #6c7e90;
}

.adventure-fight {
    display: flex;
    z-index: 502;
    height: 100%;
    justify-content: space-around;
    align-items: flex-start;
    aspect-ratio: 1.88;
    flex-wrap: wrap;
    padding: 1%;
    box-sizing: border-box;
}

.adventure-fight > p {
    position: relative;
    width: 100%;
    aspect-ratio: unset;
    height: 30%;
    text-align: center;
}

.fight-button, .fight-button-scara {
    width: 25%;
    max-height: 45%;
    aspect-ratio: 1;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
}

.fight-button > img, .fight-button-scara > img {
    transition: 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fight-button > p, .fight-button-scara > p {
    position: absolute;
    height: 15%;
    width: auto;
    aspect-ratio: 1;
    bottom: 5%;
    right: 5%;
    background-color: white;
    text-align: center;
    border: 0.15em solid #896C5B;
    padding: 1%;
}

.fight-button > div, .fight-button-scara > div {
    position: absolute;
    top: 100%;
    width: 100%;
    height: 20%;
}

.fight-button > img:hover,.fight-button-scara > img:hover {
    transform: scale(1.08);
}

.battle-selected > img {
    filter: drop-shadow(0.2em 0.2em 0em #386E4E)  
            drop-shadow(-0.1em -0.1em 0em #386E4E)  
            drop-shadow(-0.1em 0.1em 0em #386E4E)  
            drop-shadow(0.1em -0.1em 0em #386E4E);
}

.battle-selected-scara > img {
    filter: drop-shadow(0.2em 0.2em 0em #333455)  
            drop-shadow(-0.1em -0.1em 0em #333455)  
            drop-shadow(-0.1em 0.1em 0em #333455)  
            drop-shadow(0.1em -0.1em 0em #333455);
}

#battle-skill > #refresh-icon {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 101;
    animation: 1.5s rotate linear;
}

.adventure-atk-cooldown {
    border: 0.15em solid #386E4E;
    background-color: #386E4E;
    box-sizing: border-box;
}

.adventure-atk-cooldown-scara {
    border: 0.15em solid #333455;
    background-color: #333455;
    box-sizing: border-box;
}

.inner-cooldown {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #AEDF7D;
}

.inner-cooldown-scara {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #acbbd6;
}

.adventure-atk-cooldown > :last-child, .adventure-atk-cooldown-scara > :last-child{
    border-right: none;
}

.energy-burst {
    position: absolute;
    top: -12.5%;
    left: 25%;
    width: 50%;
    transition: 0.3s ease;
    height: auto;
    aspect-ratio: 1;
    animation: rotation 1.5s infinite linear forwards;
    z-index: 10;
}

.cooldown-bit {
    border-right:0.15em solid #386E4E;
    box-sizing: border-box;
    flex-grow: 1;
    height: 100%;
    z-index: 2;
}

.cooldown-bit-scara {
    border-right:0.15em solid #333455;
    box-sizing: border-box;
    flex-grow: 1;
    height: 100%;
    z-index: 2;
}

.adventure-gif {
    z-index: 503;
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: 15%;
    aspect-ratio: unset;
    object-fit: contain;
    pointer-events: none;
}

#quicktime-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    transition: 0.2s ease;
    background-color: rgba(0, 0, 0, 0.95);
    animation: slide-out-bottom 0.1s linear reverse;
}

.quicktime-bar, .quicktime-block {
    width: auto;
    height: 80%;    
    overflow: hidden;
    position: relative;
}

.quicktime-bar {
    height: 25%;  
    aspect-ratio: 7.15;
}

.quicktime-block {
    aspect-ratio: 2.43;
}

.quicktime-osu {
    position: absolute;
    width: 80%;
    height: 90%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.osu-beat, .osu-cross {
    position: absolute;
    height: 35%;
    max-width: 30%;
    object-fit: contain;
    aspect-ratio: 1;
}

.osu-beat {
    background: url('./assets/expedbg/Beat.webp') no-repeat center center/cover;
    font: inherit;
    color: white;
    font-size: 1.3em;
    text-shadow: var(--text-shadow-075);
    overflow: hidden;
} 

.osu-cross {
    transform: scale(0.6);
    object-fit: contain;
    pointer-events: none;
}

.osu-grad {
    left: 0;
    top: 0;
    border-radius: 50%;
    z-index: 3;
}

.cytus-line {
    position: absolute;
    z-index: 5;
    height: 0.25em;
    width: 100%;
    background-color: #635546;
    transform: translateY(-50%);
}

.cytus-head {
    height: 25%;
    left: 50%;
    transform: translate(-50%, -55%);
}

.cytus-head {
    transition: 0.15s ease;
}

.cytus-beat, .cytus-warn {
    position: absolute; 
    object-fit: contain;
}

.cytus-beat {
    z-index: 10;
    width: 12.5%;
    height: auto;
    transform: translate(-50%, -55%);
}

.cytus-warn {
    width: auto;
    height: 25%;
    z-index: 200;
    aspect-ratio: 0.6;
    animation: blink 0.6s linear forwards;
}

.combat-pop-up {
    animation: scaleIn 1s ease-in-out;
    filter: drop-shadow(0 0 0.3em #a5d9e2);
    z-index: 5;
    width: unset;
    pointer-events: none;
}

.quicktime-img {
    position: absolute;
    transition: 0.05s ease;
    object-fit: contain;
    width: 10%;
    z-index: 2;
}

.quicktime-warn {
    position: absolute;
    aspect-ratio: 0.6;
    height: 80%;
    width: auto;
    object-fit: contain;
    animation: blink 0.4s linear forwards;
    z-index: 10;
}

.text-overlay {
    z-index: 600;
    background-color: #F7F1E6;
    height: 95%;
    flex-wrap: wrap;
    justify-content: space-evenly;
    text-align: center;
}

.text-overlay > p {
    padding: 0 2%;
    width: 100%;
    height: 30%;
    font-size: 1.1em;
    text-align: center;
}

.text-overlay > img {
    height: 50%;
    width: auto;
    aspect-ratio: 1;
    position: relative;
    top: -5%;
    transition: 0.4s ease;
}

.text-overlay > img:hover {
    transform: scale(1.1);
}

.quicktime-warning {
    position: absolute;
    top: 2%;
    width: auto;
    height: 20%;
    object-fit: contain;
    animation: vignette-animation 1s 3 linear forwards;
    pointer-events: none;
}

.counter-button {
    position: absolute;
    bottom: 50%;
    left: 50%;
    height: 25%;
    width: auto;
    aspect-ratio: 1;
    background: url(./assets/expedbg/Circle-Purple.webp) no-repeat center center / cover;
    filter: drop-shadow(0 0 0.1em white);
    transform: translate(-50%, 35%);
}

.counter-img {
    position: absolute;
    bottom: 115%;
    left: 0;
    transform: translateX(-50%);
    width: auto;
    height: 150%;
    object-fit: contain;
}

.mark-button {
    background-image: url(./assets/icon/target.webp);
    transform: translate(-50%, -65%);
    filter: brightness(0);
    pointer-events: none;
}

/*/////////////////////////////// SETTINGS CSS ///////////////////////////////*/
.settings-button {
    height: 24%;
    width: 100%;
    background:transparent;
    position: relative;
}

.settings-button-img {
    width: 100%;
    height: 100%;
    object-fit:contain;
    position: relative;
    z-index: 1000;
}

.settings-button-img-glow::after {
    position: absolute;
    z-index: 1003;
    content: url(./assets/icon/new.webp);
    width: 100%;
    object-fit: contain;
    top:0;
    right: -50%;
    transform: scale(1.5);
}

.settings-button:hover {
    filter: drop-shadow(0 0 0.4em white);
}

.settings-menu {
    position: absolute;
    left: 26%;
    top: 20.5%;
    width: 48%;
    height: 65%;
    row-gap: 1%;
    border: 0.3em outset var(--medium-green);
    border-radius: 1em;
    background-color: var(--light-green);
    color: #1d2e18;
    z-index: -1;
    justify-content: space-around;
    filter: drop-shadow(0.1em 0.1em 0.2em #474d45);
}

.cancel-button {
    position: absolute;
    bottom: 97%;
    left: 98%;
    height:10%;
    aspect-ratio: 1;
    background: transparent url(./assets/icon/cancel.webp) center/contain no-repeat;
}

.patch-button {
    position: absolute;
    z-index: 300;
    top: 2%;
    left: 2%;
    height:10%;
    aspect-ratio: 1;
    background: transparent url(./assets/icon/patch.webp) center/contain no-repeat;
    filter: drop-shadow(0 0 0.25em #4D613D);
}

.settings-text {
    position: relative;
    width: 90%;
    height: 15%;
    z-index: 201;
    object-fit: contain;
}

.advanced-settings-box {
    width: 40% !important;
    height: fit-content !important;
    top: 30% !important;
    transform: translate(-50% -50%) !important;
    font-size: 1em !important;
}

.advanced-menu-form {
    width: 100%;
    height: 100%;
    padding: 1% 5%;
    box-sizing: border-box;
}

.advanced-menu-form > img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 1%;
}

.advanced-menu-form > label {
    margin-bottom: 1%;
    box-sizing: border-box;
    height: 1.5em;
    justify-content: space-between;
}

.text-box {
    position: absolute;
    left: 15%;
    top: 10%;
    width: 70%;
    height: 45%;
    z-index: -1;
    border: 0.25em outset var(--medium-green);
    filter: drop-shadow(0.1em 0.2em 0.1em #474d45);
}

#patch-box {
    background-color: var(--pale-green);
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 85%;
    padding: 0.5%;
    box-sizing: border-box;
}

.text-box > textarea {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    word-break:break-all;
    overflow-wrap: break-word;
    resize: none;
}

.patch-notes-div > img {
    height: 10%;
    width: auto;
    object-fit: contain;
    margin-bottom: 1%;
}

.patch-notes-div > div {
    overflow-y: auto;
    overflow-x: hidden;
    justify-content: unset;
    align-items: unset;
    padding: 1%;
    box-sizing: border-box;
    height: 90%;
    width: 100%;
}

.patch-notes-div > div > p {
    background-color: #DFE2BA;
    border: 0.1em solid var(--dull-green);
    border-top:0;
    color: var(--olive-green);
    padding: 1%;
    border-radius: 0 0 1em 1em;
    width: 85%;
    font-size: 1em;
}

.patch-notes-div > div > p > line {
    border-bottom: 0.15em Solid #5a5e32;
}

.text-box > button:first-of-type {
    position: absolute;
    bottom: 97%;
    left: 98%;
    height:10%;
    aspect-ratio: 1;
    background-color: transparent;
    background-image: url(./assets/icon/cancel.webp);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.patch-notes-div > button:first-of-type {
    height: 3rem;
}

.patch-notes-div > div > div {
    background-color: var(--bright-green);
    border: 0.15em solid var(--dull-green);
    color: var(--dull-green);
    padding: 1%;
    border-radius: 0 .5em .5em 0;
    width: 90%;
    font-size: 1.4em;
    margin-top: 0.5em;
}

.patch-notes-div > div > p > img {
    position: relative;
    top:0.5%;
    height: 1.4em;
    width: auto;
    object-fit: contain;
    transform: scale(1.3);
}

.text-box > button:nth-of-type(2) {
    position: absolute;
    top: 102%;
    left: 0;
    height:20%;
    aspect-ratio: 4.61;
    color: var(--very-dark-green);
    background-color: transparent;
    background-image: url(./assets/tutorial/buttonBox.webp);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.confirm-box {
    position: absolute;
    top: 0.5%;
    aspect-ratio: 2;
    width: 40%;
    max-height: 18%;
    left: 30%;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background-color: var(--light-green);
    border-radius: 1em;
    border: 0.3em solid var(--medium-green);
    color: var(--very-dark-green);
}

.confirm-box > p {
    height: 40%;
    padding: 2%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.confirm-button-div {
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.confirm-button-div :first-child {
    background-image: url(./assets/tutorial/exitBox.webp);
    color: var(--very-dark-red);
}

.confirm-button-div > button {
    width: 49%;
    height: 100%;
    color: var(--very-dark-green);
    aspect-ratio: 4.6;
    background-color: transparent;
    background-image: url(./assets/tutorial/buttonBox.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.volume-scroller-container {
    position: relative;
    width: 100%;
    height: 30%;
    z-index: 201;
}

.volume-scroller-container-children {
    height: 45%;
    width: 100%;
    position: relative;
    display: flex;
}

input {
    cursor: url(./assets/icon/cursor.webp), auto;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

input[type="range"]:focus {
    outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
    background-color: var(--medium-green);
    border-radius: 0.5em;
    height: 20%;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    top: 50%;
    transform: translateY(-50%);

    background-color: var(--dark-green);
    border-radius: 1em;
    height: 400%;
    aspect-ratio: 0.25;
}

input[type="range"]:focus::-webkit-slider-thumb {
    outline: 0.1em solid var(--very-dark-green);
    outline-offset: 0.125em;
}

input[type="range"]::-moz-range-track {
    background-color: var(--medium-green);
    border-radius: 0.5em;
    height: 15%;
}

input[type="range"]::-moz-range-thumb {
    appearance: none;
    position: relative;
    
    border: none;
    background-color: var(--dark-green);
    border-radius: 1em;
    height: 65%;
}

input[type="range"]:focus::-moz-range-thumb {
    outline: 0.1em solid var(--very-dark-green);
    outline-offset: 0.125em;
}

.volume-scroller-container-children > input {
    height: 100%;
    width: 65%;
}

.volume-scroller-container-children > div {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 30%;
}

.volume-scroller-container-children > div > img {
    height: 80%;
    width: 80%;
    object-fit: contain;
}

.settings-bottom {
    width: 100%;
    height: 55%;
    padding: 0 1% 1% 1%;
    box-sizing: border-box;
    display: flex;
    z-index: 201;
    flex-direction: row;
    justify-content: space-between;
}

.settings-bottom-left {
    display: flex;
    gap: 5%;
    width: 55%;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1%;
    box-sizing: border-box;
    text-align: center;
}

.settings-bottom-left > button {
    background-color: var(--pale-medium-green);
    border: 0.15em solid var(--dark-green);
    color: var(--very-dark-green);
    border-radius: 1em;
    width: 85%;
    margin: 0 10%;
    padding: 1% 0;
}

.settings-bottom-right {
    width: 45%;
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.settings-bottom-right > div {
    height: 25%;
    width: 90%;
    background-image: url(./assets/tutorial/buttonBox.webp);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: 0.1s ease;
}

.settings-bottom-right > button {
    height: 45%;
    width: 28%;
    margin-left: 2%;
    margin-right: 2%;
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: 0.2s ease;
}

.settings-bottom-right > button:hover {
    filter: drop-shadow(0.3em 0.3em #474d45b9);
}

.settings-bottom-right > div:hover {
    filter: drop-shadow(0.15em 0.15em #474d45b9)
}

.setting-info {
    background-image: url(./assets/settings/Info.webp);
}

.setting-save {
    background-color: transparent;
    background-image: url(./assets/settings/Save.webp);
    background-size:contain;
}

#currently-saving {
    z-index: 5000;
    position: absolute;
    height: 10%;
    bottom: 2%;
    left: 1%;
    object-fit: contain;
    animation: blink 2s linear 2 forwards;
    filter: drop-shadow(0 0 0.1em #181313);
    pointer-events: none;
}

.setting-clear {
    background-color: transparent;
    background-image: url(./assets/settings/Delete.webp);
    background-size:contain;
}

.switch {
    position: relative;
    display: flex;
    height: 13%;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    column-gap: 1%;
    color: #20301c;
    text-align: center;
}
  
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    display: block;
    position: relative;
    width: auto;
    height: 100%;
    aspect-ratio: 2;
    background-color: var(--light-green);
    -webkit-transition: .4s;
    transition: .4s;
    border: 0.1em solid var(--dark-green);
    box-sizing: border-box;
}

.slider:before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    height: 100%;
    width: 50%;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--dark-green);
}

input:checked + .slider:before {
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
}

.multiplier-button-container {
    display: flex;
    position: absolute;
    flex-direction: column-reverse;
    justify-content:space-between;
    align-items: center;
    width: 100%;
    height: 30%;
    bottom: 2%;
    z-index: 15;
    row-gap: 2%;
}

.multiplier-button {
    background:transparent;
    height: 22%;
    width: 100%;
}

.multiplier-button-img {
    width: 100%;
    height: 100%;
    object-fit:contain;
    position: relative;
}

.dim-filter {
    transition: 0.3s ease;
    filter: brightness(25%);
}

/*/////////////////////// SHOP CSS (TABLE 7) ///////////////////////////////*/
#table7 {
    justify-content: flex-start;
    gap: 1%;
    position: relative;
}

#table7::before {
    position: absolute;
    opacity: 0.9;
    width: 100%;
    height: 100%;
    content: '';
    background-image: url(./assets/bg/dori-back.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#table7 > div {
    position: relative;
    filter: drop-shadow(0.2em 0.3em 0.2em rgba(0, 0, 0, 0.56));
}

#table7 > img {
    filter: drop-shadow(0.1em 0.1em 0.2em #340650ab);
}

.store-timer {
    width: 50%;
    height: 12%;
    background-image: url(./assets/frames/dori-deals.webp);
    color: #4e363c;
}

.store-div {
    width: 95%;
    height: 60%;
    gap: 1%;
    background-color: #694B31;
    border-radius: 1em;
    border: 0.5em outset #876547;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:space-evenly;
    align-items: center;
}

.shop-button {
    position: relative;
    border: 0.2em groove #867357;
    width: 17%;
    height: 40%;
}

.shop-button-container > img {
    width: 100%;
    object-fit: contain;
    max-height: 100%;
}

.shop-button-text {
    background-color: #d4ba93;
    position: relative;
    height: 20%;
    width: 100%;
    column-gap: 1%;
    color: var(--very-dark-brown);
}

.shop-button-primo {
    height: 65%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 0.1em #40280b);
}

.shop-button-container {
    width: 100%;
    height: 80%;
}

.store-dialog {
    position: relative;
    left: 5%;
    width: 75%;
    height: 16%;
    border-radius:0.5em;
    border: 0.35em solid var(--dark-brown);
    background-color: var(--medium-brown);
    column-gap: 1.5%;
}

#table7-text {
    box-sizing: border-box;
    padding: 1.5%;
    width: 70%;
    height: 100%;
    font-size: 1.1em;
    color: var(--very-dark-brown);
}

.shadow-pop-tr {
	-webkit-animation: shadow-pop-tr 0.3s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
	        animation: shadow-pop-tr 0.3s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
}

.store-buy {
    text-align: center;
    width: 20%;
    height: 50%;
    background-color: var(--dark-brown);
    color: white;
    border: 0.15em solid var(--very-dark-brown);
    border-radius:0.5em;
}

.store-buy:hover {
    background-color: #b2a77e;
    color: var(--very-dark-brown);
}

.purchased {
    filter: brightness(25%);
}

#table7 > img {
    position: absolute;
    width: 20%;
    height: 27%;
    bottom: 0;
    left: 0;
    object-fit: contain;
    z-index: 5;
}

/*/////////////////////// NUT SHOP CSS ///////////////////////////////*/
.nut-store-access {
    position: absolute;
    z-index: 10;
    right: 1%;
    bottom: 1%;
    height: 15%;
    aspect-ratio: 1;
    background:url(./assets/icon/nutShop.webp);
    background-size: contain;
    transition: 0.2s ease;
    /* animation: tada 1s linear; */
}

.nut-store-access:hover {
    filter: drop-shadow(0 0 0.8em #f7c624);
}

.nut-store-table, #tree-table {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 500;
    display: none;
    justify-content: flex-start;
    background-color: #E2DAD1;
    row-gap: 1.5%;
}

#nut-store-currency, #tree-store-currency {
    position: absolute;
    left: 8%;
    bottom: 83%;
    width: 20%;
    height: fit-content;
    border-radius: 0.3em 0.3em 0 0;
    border: 0.15em solid #679943;
    border-bottom: 0;
    background: #233d10;
    overflow:hidden;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: #daedcb;
    filter: none;
}

#nut-store-currency > img, #tree-store-currency > img {
    margin-left: 5%;
    height: 1.5em;
    object-fit: contain;
    filter: drop-shadow(0 0 0.15em #b7a81e)
}

.nut-store-table > img {
    position: relative;
    top:1%;
    left: 5%;
    height: 15%;
    max-width: 90%;
    object-fit: contain;
}

#nut-shop-div, #nut-shop-transcend, #nut-shop-ascend {
    position: absolute;
    box-sizing: border-box;
    padding: 1%;
    top: 17%;
    height: 70%;
    width: 90%;
    gap: 1%;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: unset;
    align-items: center;
    border: 0.2em solid #436928;
    border-radius: 1em 0 0 1em;
    background-image: url(./assets/bg/nutShopInterior.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    scrollbar-color: #d3e4d1 #60895a;
    transform: translateZ(0);
}

#nut-shop-ascend {
    text-align: center;
    justify-content: space-between;
    color: #22391f;
}

#nut-shop-ascend > p {
    font-size: 1.4em;
    color: white;
    text-align: center;
    text-shadow: var(--text-shadow-075);
    margin-bottom: 1%;
}

#nut-shop-ascend > div:first-of-type {
    width: 100%;
    height: auto;
    justify-content: space-evenly;
    margin-bottom: 1%;
    max-height: 30%;
}

#nut-shop-ascend > div:last-of-type {
    width: 95%;
    flex-grow: 1;
    overflow-y: hidden;
}

.nut-char-container {
    width: 55%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    align-content: start;
    gap: 2%;
    overflow-y: auto;
    padding: 1%;
    box-sizing: border-box;
    
}

.nut-char-container > img {
    object-fit: contain;
    width: 100%;
    border: 0.2em solid var(--dark-brown);
    border-radius: 0.3em;
    box-sizing: border-box;
    transition: 0.3s ease;
}

.nut-element {
    object-fit: contain;
    width: 10%;
    max-height: 100%;
}

.nut-element:hover {
    filter: unset;
}

.transcend-bottom {
    width: 100%;
    height: fit-content;
}

.transcend-bottom > button {
    transition: 0.15s ease;
    height: auto;
    width: 40%;
    aspect-ratio: 4.61;
    font-size: 1em;
    color: white;
    text-shadow: var(--text-shadow-075);
    background: transparent url(./assets/tutorial/buttonBox.webp) center/contain no-repeat;
}

.transcend-bottom > button:hover {
    filter: drop-shadow(0 0 0.2em #5e7e5b) drop-shadow(0 0 0.1em #556f52);
}

.ascend-info {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 45%;
    height: 100%;
    border: 0.2em solid var(--dark-brown);
    border-radius: 0.3em;
    background-color: var(--light-brown);
    color: var(--very-dark-brown);
    box-sizing: border-box;
}

img[src=""] {
    display: none;
}

.ascend-info > p {
    flex-grow: 1;
    overflow-y: auto;
    padding: 2%;
    box-sizing: border-box;
}

.ascend-info > div {
    color: #f0e5da;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 98%;
    height: auto;
    aspect-ratio: 6;
    background: url(./assets/tutorial/exped-button-long.webp) center / contain no-repeat;
    margin-bottom: 2%;
    transition: 0.2s ease;
}

.ascend-info > div:hover {
    filter: drop-shadow(0 0 0.2em #685024);
}

.ascend-info > div > img {
    height: 1.6em;
    margin-top: 2%;
    margin-bottom: 2%;
    filter: drop-shadow(0 0 0.1em black);
}

.nut-store-table > div::-webkit-scrollbar-thumb {
  background-color: #88AD83;
  border-radius: 0.1em;
}

.nut-store-table > div::-webkit-scrollbar-thumb:hover {
  background-color: #466842;
}

.nut-store-table::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(./assets/bg/nutShop.webp);
    background-size: cover;
    background-position: center;
    opacity: 0.9;
}

.nut-button-container {
    position: absolute;
    bottom: 1%;
    height: 11%;
    width: auto;
    max-width: 90%;
    gap: 1%;
}

.nut-button-container > button {
    transition: 0.15s ease;
}

.nut-shop-button {
    flex: none;
    height: 35%;
    width: 97%;
    box-sizing: border-box;
    padding: 1% 2% 1% 2%;
    row-gap: 2%;
    background-color: #F5F0EA;
    border: 0.2em solid var(--pale-brown);
    border-radius: 0 1em 1.8em 0;
    flex-wrap: wrap;
    align-items: normal;
    justify-content: space-between;
}

.nut-shop-button > p:first-of-type {
    height: 25%;
    width: 70%;
    font-size: 1.2em;
    color: var(--very-dark-brown);
    border-bottom: 0.1em Solid var(--very-dark-brown);
}

.nut-shop-button > p:nth-child(2) {
    position: relative;
    top: 1.5%;
    height: 25%;
    width: 30%;
    text-align: right;
    font-size: 1.2em;
    color: white;
    text-shadow: var(--text-shadow-075);
}

.nut-shop-button > img {
    height: 75%;
    width: 15%;
    object-fit: contain;
    filter: drop-shadow(0 0 0.35em rgb(145, 122, 63));
}

.nut-shop-button > p:nth-child(4) {
    height: 75%;
    width: 55%;
    padding-top: 0.5%;
    color: var(--dark-brown);
}

.nut-shop-button > div {
    position: relative;
    top: 2.5%;
    height: 60%;
    width: 25%;
    row-gap: 2%;
    font: inherit;
    font-size: 1.1em;
    color: var(--very-dark-green);
    background-color: var(--bright-light-green);
    border: 0.2em solid var(--dark-green);
    border-radius: 0.25em 0.25em 0.7em 0.25em;
    transition: 0.35s ease;
}

.nut-shop-button > div:hover {
    background-color: var(--dark-green);
    border: 0.2em solid var(--dark-green);
    color: var(--light-green);
}

.nut-shop-button > div > div {
    height: 30%;
    position: relative;
    display: flex;
    justify-content: center;
    font-size: 0.9em;
    align-items: center;
}

.nut-shop-button > div > div > img {
    height: 1.1em;
    position: relative;
    left:2.5%;
    filter: drop-shadow(0 0 0.2em #b7a81e);
    margin-left: 0.2em;
}

#nut-shop-transcend {
    justify-content: space-evenly;
}

.transcend-dark::before, .chain-lock::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1;
    pointer-events: none;
  }

.nut-transcend > div {
    width: 90%;
    height: 50%;
    justify-content: space-evenly;
}

.nut-transcend > p {
    font-size: 1.6em;
    color: white;
    text-align: center;
    text-shadow: var(--text-shadow-075);
}

.nut-transcend > p:nth-child(3) {
    font-size: 1em;
    color: #254620;
    text-shadow:none;
}

.nut-transcend > div > p {
    width: 45%;
    height: 100%;
    text-align: center;
    font-size: 1.2em;
    background-color: var(--bright-light-green);
    border: 0.2em solid var(--dark-green);
    box-sizing: border-box;
    border-radius: 0 0 1em 1em;
    color: var(--very-dark-green);
}

.nut-button-container > button, .nut-transcend > button {
    height: 100%;
    width: auto;
    max-width: 33%;
    aspect-ratio: 4.61;
    font-size: 1em;
    color: white;
    text-shadow: var(--text-shadow-075);
    background: transparent url("./assets/tutorial/nutPill.webp") center/contain no-repeat;
}

.nut-transcend > button {
    transition: 0.15s ease;
    background: transparent url("./assets/tutorial/buttonBox.webp") center/contain no-repeat;
}

.nut-transcend > :nth-last-child(2) {
    position: absolute;
    font-size: 1.1em;
    background-color: #99B589;
    border: 0.2em solid #5B7B49;
    text-shadow: var(--text-shadow-075);
    padding: 2%;
    z-index: 2;
    line-height: 1.4em;
}

.nut-transcend > :last-child {
    position: absolute;
    height: 10%;
    width: auto;
    aspect-ratio: 1;
    top: 1%;
    right:1%;
    background: transparent url("./assets/icon/help.webp") center/contain no-repeat;
    z-index: 2;
}

.nut-transcend > button:hover {
    filter: drop-shadow(0 0 0.2em #5e7e5b) drop-shadow(0 0 0.1em #556f52);
}

.transcendLogo {
    width: 20%;
    object-fit: contain;
    filter: drop-shadow(0 0 0.2em #31522e) drop-shadow(0 0 0.2em #314f2f);
}
