*::-webkit-scrollbar {
    width: 10px;
    height: 5px;
}

*::-webkit-scrollbar-thumb {
    background-color: rgb(180, 180, 180);
    border-radius: 5px;
    box-shadow: inset 3px 3px 3px rgba(255, 255, 255, 0.2);
}

*::-webkit-scrollbar-track {
    background-color: rgb(240, 240, 240);
    border-radius: 5px;
    box-shadow: inset 3px -3px 5px rgba(100, 100, 100, 0.2);
}

*::-webkit-scrollbar-corner {
    display: none;
}

body {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

header {
    position: relative;
    width: 100%;
    height: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}

main {
    position: relative;
    width: 100%;
    height: 85%;
}

footer {
    position: relative;
    width: 100%;
    height: 5%;
    color: rgb(255, 255, 255);
    background-color: rgb(164, 164, 165);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9em;
}

.app-icon {
    position: relative;
    width: 10%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-icon > img {
    position: relative;
    width: auto;
    max-width: 80%;
    height: auto;
    max-height: 80%;
}

.info-area {
    position: relative;
    width: 70%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.project-info {
    position: relative;
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
}

.project-info > span {
    position: relative;
    width: 4em;
    height: auto;
    font-size: 0.9em;
}

.project-info > input[type="text"] {
    position: relative;
    width: calc(95% - 4em);
    height: 40%;
    padding-left: 0.5em;
    outline: none;
    border: 1px solid rgb(100, 100, 100);
    border-radius: 5px;
}

.project-info > input[type="text"]::placeholder {
    font-size: 0.9em;
}

.dpi-info {
    position: relative;
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
}

.dpi-info > span {
    position: relative;
    width: 4em;
    height: auto;
    font-size: 0.9em;
}

.dpi-info > label {
    position: relative;
    width: 3em;
    height: auto;
    font-size: 0.9em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dpi-info > input[type="number"] {
    position: relative;
    width: 5em;
    height: 40%;
    padding-left: 0.5em;
    outline: none;
    border: 1px solid rgb(100, 100, 100);
    border-radius: 5px;
}

.dpi-info > input[type="number"]::-webkit-inner-spin-button {
    display: none;
}

.dpi-info > button {
    position: relative;
    width: 4em;
    height: 2em;
    margin: auto;
    outline: none;
    border: none;
    border-radius: 50px;
    box-shadow: 1px 1px 3px rgba(100, 100, 100, 0.6);
    background-image: linear-gradient(to bottom, rgb(250, 250, 250), rgb(200, 200, 200));
    cursor: pointer;
}

.dpi-info > button:active {
    position: relative;
    top: 2px;
}

.undo-btn {
    position: relative;
    width: 10%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.undo-btn > img {
    position: relative;
    width: auto;
    height: 40%;
    cursor: pointer;
}

.undo-btn > img:active {
    position: relative;
    top: 2px;
}

.export-btn {
    position: relative;
    width: 20%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.export-btn > button {
    position: relative;
    width: 45%;
    height: 2.5em;
    outline: none;
    border: none;
    border-radius: 50px;
    box-shadow: 1px 1px 3px rgba(100, 100, 100, 0.6);
    color: rgb(255, 255, 255);
    background-image: linear-gradient(to bottom, rgb(204, 129, 248), rgb(119, 49, 159));
    cursor: pointer;
}

.export-btn > button:active {
    position: relative;
    top: 2px;
}

.content-area {
    position: relative;
    width: 100%;
    height: 75%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.timeline-area {
    position: relative;
    width: 100%;
    height: 25%;
    background-color: rgb(240, 240, 240);
}

.side-content {
    position: relative;
    width: 15%;
    height: 100%;
    background-color: rgba(160, 53, 141, 0.9);
}

.box-content {
    position: relative;
    width: 65%;
    height: 100%;
}

.tool-content {
    position: relative;
    width: 20%;
    height: 100%;
    background-color: rgba(119, 49, 159, 0.7);
    font-size: 0.8em;
}

.page-btn {
    position: relative;
    width: 90%;
    height: 40%;
    margin: 0 5%;
    font-size: 0.9em;
    color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.page-btn > span:hover {
    color: rgb(255, 255, 0);
    cursor: pointer;
}

.sub-btn {
    position: relative;
    width: 90%;
    height: 20%;
    margin: 0 5%;
    margin-top: 70%;
    font-size: 0.9em;
    color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.sub-btn > span:hover {
    color: rgb(255, 255, 0);
    cursor: pointer;
}

.box-area {
    position: relative;
    width: 100%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box {
    position: relative;
    width: 90%;
    max-width: 90%;
    height: 90%;
    max-height: 90%;
    outline: 1px solid rgb(0, 0, 0);
    margin: auto;
    overflow: hidden;
}

.error-comment {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    color: rgb(255, 0, 0);
    font-size: 0.8em;
}

.controll-area {
    position: relative;
    width: 100%;
    height: 10%;
    font-size: 0.9em;
    border-top: 1px dotted rgb(100, 100, 100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-time {
    position: relative;
    width: auto;
    height: 100%;
    margin-left: 2%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-time > select {
    position: relative;
    width: 3em;
    height: 50%;
    margin-right: 0.5em;
    outline: none;
    border: 1px solid rgb(100, 100, 100);
    border-radius: 5px;
}

.controll {
    position: relative;
    width: auto;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.controll > label {
    position: relative;
    width: 1em;
    height: 1em;
    border: 0.05em solid currentColor;
    border-radius: 50%;
    color: rgb(0, 0, 0);
    font-size: 25px;
    display: inline-block;
    margin-left: 15px;
    margin-right: 0.3em;
    z-index: 9999;
    cursor: pointer;
}

.controll > label > input[type=checkbox] {
    display: none;
}

.controll > label > input[type=checkbox]:not(:checked) + span::before {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translateY(-50%);
    width: 0px;
    height: 0px;
    border: 0.3em solid transparent;
    border-left: 0.5em solid currentColor;
    box-sizing: border-box;
    content: "";
}

.controll > label > input[type=checkbox]:checked + span::before,
.controll > label > input[type=checkbox]:checked + span::after {
    position: absolute;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 0.1em;
    height: 0.5em;
    box-sizing: border-box;
    background-color: currentColor;
    content: "";
}

.controll > label > input[type=checkbox]:checked + span::before {
    left: 40%;
}

.controll > label > input[type=checkbox]:checked + span::after {
    left: 60%;
}

.timeline-range {
    position: relative;
    width: auto;
    height: 100%;
    margin-right: 2%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-range > label {
    font-size: 0.8em;
}

.timeline-range > input[type="range"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 50%;
    height: 100%;
    background-color: transparent;
    outline: none;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-range > input[type=range]::-webkit-slider-runnable-track {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 30%;
    cursor: pointer;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    background: rgba(140, 51, 150, 0.2);
    border-radius: 25px;
    border: 0px solid #000101;
}

.timeline-range > input[type=range]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: auto;
    height: 140%;
    aspect-ratio: 1 / 1;
    background-color: rgb(140, 51, 150);
    border-radius: 50%;
    margin-top: -3%;
}

.tool-title {
    position: relative;
    width: 100%;
    height: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tool-title > div {
    position: relative;
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.tool-title > div.open {
    color: rgb(255, 255, 255);
    background-color: rgba(119, 49, 159, 0.5);
    box-shadow: 2px 0px 5px rgba(119, 49, 159, 0.7);
}

.tool-area {
    position: relative;
    width: 100%;
    height: 90%;
    background-color: rgba(119, 49, 159, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
}

.tool {
    position: relative;
    width: 90%;
    height: auto;
    font-size: 0.9em;
    margin: 2% 5%;
    border-bottom: 1px solid rgb(200, 200, 200);
    display: none;
}

.tool.open {
    display: flex;
    justify-content: left;
    align-items: flex-end;
}

.tool > span:nth-child(1) {
    position: relative;
    width: 25%;
    height: auto;
    color: rgb(255, 255, 255);
}

.tool > span:nth-child(2), .tool.text > .textstroke-color, .tool > .fade-tool {
    position: relative;
    width: 75%;
    height: 2em;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 5px ;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
}

.tool > span:nth-child(2) > span:nth-child(1), .tool.text > .textstroke-color > span:nth-child(1) {
    position: relative;
    width: calc(100% - 3em);
    height: 100%;
    padding-left: 0.5em;
    display: flex;
    justify-content: left;
    align-items: center;
}

.tool > span:nth-child(2) > span:nth-child(2), .tool.text > .weight > span:nth-child(even), .tool.text > .textstroke-color > span:nth-child(2) {
    position: relative;
    width: 1em;
    height: 100%;
}

.tool > span:nth-child(2) > span:nth-child(2)::after, .tool.text > .weight > span:nth-child(even)::after, .tool.text > .textstroke-color > span:nth-child(2)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 1em;
    border-right: 2px solid rgb(150, 150, 150);
}

.tool > span:nth-child(2) > span:nth-child(3), .tool.text > .textstroke-color > span:nth-child(3) {
    position: relative;
    width: 2em;
    height: 100%;
    cursor: pointer;
}

.tool > span:nth-child(2) > span:nth-child(3)::after, .tool.text > .textstroke-color > span:nth-child(3)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(315deg);
    width: 0.5em;
    height: 0.5em;
    border-left: 2px solid rgb(150, 150, 150);
    border-bottom: 2px solid rgb(150, 150, 150);
    margin-top: -0.1em;
    margin-left: -0.1em;
}

.tool.text > textarea {
    position: relative;
    width: 75%;
    height: 5em;
    resize: none;
    outline: none;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 5px;
    padding: 0.3em;
}

.tool.text > .size {
    position: relative;
    width: 35%;
    height: 2em;
}

.tool.text > .size > input[type="number"] {
    position: relative;
    width: calc(100% - 3em);
    height: 80%;
    padding-left: 0.5em;
    outline: none;
    border: none;
    border-radius: 5px;
}

.tool.text > .size > input[type="number"]::-webkit-inner-spin-button {
    display: none;
}

.tool.text > .weight {
    position: relative;
    width: 40%;
    height: 100%;
    font-size: 0.9em;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.tool.text > .weight > span:nth-child(even) {
    width: 0.5em;
}

.tool.text > .weight > button {
    position: relative;
    color: rgb(255, 255, 255);
    outline: none;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.tool.text > .weight > button.on {
    color: rgb(0, 255, 255);
}

.tool.text > .color, .tool.text > .textstroke-color {
    position: relative;
    width: 35%;
    height: 2em;
}

.tool.text > .color > span:nth-child(1), .tool.text > .textstroke-color > span:nth-child(1) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tool.text > .color > span:nth-child(1) > p, .tool.text > .textstroke-color > span:nth-child(1) > p {
    position: relative;
    width: auto;
    height: 80%;
    aspect-ratio: 1 / 1;
    border-radius: 5px;
    border: 1px solid rgb(0, 0, 0);
}

.tool.text > .textstroke-width {
    width: 40%;
    border: none;
    background-color: transparent;
}

.tool.text > .textstroke-width > input[type="range"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 80%;
    height: 100%;
    background-color: transparent;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tool.text > .textstroke-width > input[type="range"]::-webkit-slider-runnable-track {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 30%;
    cursor: pointer;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    background: rgb(255, 255, 255);
    border-radius: 25px;
    border: 0px solid #000101;
}

.tool.text > .textstroke-width > input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: auto;
    height: 160%;
    aspect-ratio: 1 / 1;
    background-color: rgb(0, 255, 255);
    border-radius: 50%;
    margin-top: -0.15em;
}

.tool > span:nth-child(2).place-btn {
    height: 6em;
    padding: 0 0.3em;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.tool > .place-btn > section {
    position: relative;
    width: 100%;
    height: 1.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tool > .place-btn > section > button {
    position: relative;
    width: 25%;
    height: 100%;
    font-size: 0.9em;
    outline: none;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 5px;
    background-color: rgb(255, 255, 255);
    cursor: pointer;
}

.tool > .place-btn > section > button:hover {
    background-color: rgb(0, 255, 255);
}

.tool > .place-btn > section > button:active {
    position: relative;
    top: 2px;
}

.tool > span:nth-child(2).fade-tool, .tool > .fade-tool {
    position: relative;
    width: 35%;
    height: 3.5em;
    border: none;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.tool > .fade-tool:nth-child(3) {
    margin-left: 5%;
}

.tool > .fade-tool > .fade-title {
    position: relative;
    width: 100%;
    height: 1.5em;
    font-size: 0.8em;
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: left;
    align-items: center;
}

.tool > .fade-tool > .fade-btn {
    position: relative;
    width: 100%;
    height: 2em;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.tool > .fade-tool > .fade-btn > button {
    position: relative;
    width: 27%;
    height: auto;
    aspect-ratio: 1 / 1;
    background-color: rgb(255, 255, 255);
    outline: none;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 5px;
    padding: 0;
    font-size: 0.9em;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.tool > .fade-tool > .fade-btn > button.on {
    background-color: rgb(0, 255, 255);
}

.tool > .fade-tool > .fade-btn > button:active {
    position: relative;
    top: 2px;
}

.tool:last-child {
    height: 3em;
    border-bottom: none;
    padding-top: 0.5em;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.tool:last-child > button {
    position: relative;
    width: 25%;
    height: 2em;
    outline: none;
    border: none;
    border-radius: 50px;
    background-image: linear-gradient(to bottom, rgb(250, 250, 250), rgb(200, 200, 200));
    box-shadow: 2px 2px 5px rgba(100, 100, 100, 0.8);
    font-size: 0.9em;
    cursor: pointer;
}

.tool:last-child > button:last-child {
    width: 30%;
}

.tool:last-child > button:active {
    position: relative;
    top: 2px;
}

.select-list {
    position: absolute;
    left: 0;
    top: 105%;
    width: 90%;
    height: 0;
    border: 2px solid rgb(0, 0, 0);
    border-radius: 5px;
    background-color: rgb(255, 255, 255);
    padding: 0.5em;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: -1;
    visibility: hidden;
    opacity: 0;
}


.select-list.open {
    height: auto;
    z-index: 99;
    visibility: visible;
    opacity: 1;
}

.select-list#sizeSelect.open {
    max-height: 7em;
}

.select-list > p {
    position: relative;
    width: 90%;
    height: 1.5em;
    font-size: 0.9em;
    border-bottom: 1px solid rgb(0, 0, 0);
    margin: 0;
    padding: 2% 5%;
    margin-bottom: 0.5em;
    cursor: pointer;
}

.select-list > p:hover {
    color: rgb(255, 150, 0);
}

.color-palette {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.color-palette > button {
    position: relative;
    width: 8%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 1%;
    outline: none;
    border: 0.05rem solid rgb(0, 0, 0);
    border-radius: 5px;
}

.color-wheel {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 0.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tool.media > .media-area {
    height: 5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tool.media > .media-area > img, .tool.media > .media-area > video {
    position: relative;
    width: auto;
    max-width: 90%;
    height: auto;
    max-height: 90%;
}

.tool.media > .media-file {
    justify-content: center;
    border: none;
    background-color: transparent;
}

.tool.media > .media-file > span, .tool.media > span:nth-child(2).media-file > span {
    position: relative;
    width: 100%;
    height: 2em;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 5px;
    background-color: rgb(255, 255, 255);
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.tool.media > span:nth-child(2).templates {
    height: 2em;
    letter-spacing: 1em;
    padding-left: 1em;
    cursor: pointer;
}

.select-list.templates-area {
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.select-list.templates-area > div {
    position: relative;
    width: 45%;
    height: auto;
    border: 1px solid rgb(0, 0, 0);
    margin-bottom: 0.5em;
}

.select-list.templates-area > div > img {
    position: relative;
    width: 100%;
    height: auto;
}

.select-list.templates-area > div > span {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 0.9em;
    background-color: rgb(255, 255, 255);
}

.timeline-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: left;
    align-items: start;
    overflow: hidden;
}

.time-area {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-left: 10%;
    display: flex;
    flex-direction: column;
    overflow-x: scroll;
    overflow-y: auto;
    z-index: 2;
}

.time-text {
    position: sticky;
    width: calc(100% + 15px);
    height: 20px;
    margin-left: -15px;
    display: flex;
}

.time-label {
    position: relative;
    width: auto;
    height: 100%;
    display: block;
    color: rgb(0, 0, 0);
    font-size: 12px;
    text-align: left;  
}

.time-label.last-label {
    padding-right: 100%;
}

.time-bar {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.time-guide {
    position: relative;
    width: auto;
    height: 100%;
}

.time-guide::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: auto;
    height: 100%;
    border-left: 1px dashed rgba(81, 5, 106, 0.3);
}

.time-guide.line-guide::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: auto;
    height: 100%;
    border-left: 1px solid rgba(81, 5, 106, 0.5);
}

.time-guide.none:not(.time-guide.line-visible.none), .time-label.none:not(.time-label.time-visible.none) {
    visibility: hidden;
}

.current {
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    left: 10%;
    background-color: rgb(0, 0, 255);
    z-index: 1001;
}

.container {
    position: absolute;
    width: 90%;
    height: 100%;
    left: 0;
    top: 0;
    margin-left: 10%;
    margin-top: 20px;
}

.item {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    min-width: 1em;
    height: auto;
    padding: 0;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
    display: inline-block;
    cursor: pointer;
}

.item.open {
    outline: 1px solid rgb(255, 130, 0);
}

.object {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 20px;
    height: 40px;
    padding: 0;
    font-size: 0.8em;
    color: rgb(0, 0, 0);
    border-top: 1px solid rgb(0, 0, 0);
    border-bottom: 1px solid rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: repeat-x;
    background-size: contain;
    z-index: 999;
    cursor: pointer;
}

.object.open {
    outline: 2px solid rgb(255, 145, 0);
}

.object > .ui-resizable-handle {
    width: 10px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.layer {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
}

.progress-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 99999;
    display: none;
}

.progress-dialog.open {
    display: block;
}

.progress-content {
    position: absolute;
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 30%;
    border: 3px solid rgb(0, 0, 0);
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.progress-title {
    position: relative;
    width: 100%;
    height: 50%;
    font-size: 1.7em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress-title > span:nth-child(2) {
    position: absolute;
    bottom: 2%;
    right: 2%;
    font-size: 0.8em;
}

.total {
    position: relative;
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.total-bar {
    position: relative;
    width: 80%;
    height: 70%;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 100px;
    overflow: hidden;
}

.total-bar > span {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: 100%;
    background-color: rgb(175, 141, 189);
}

.total > span:nth-child(2) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.3em;
}

.page-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 100001;
    display: none;
}

.page-dialog.open {
    display: block;
}

.page-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 40%;
    border: 3px solid rgb(0, 0, 0);
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-title {
    position: relative;
    width: 100%;
    height: 30%;
    font-size: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-select-btn {
    position: relative;
    width: 100%;
    height: 70%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.page-select-btn > button {
    position: relative;
    width: 35%;
    height: 30%;
    outline: none;
    border: 3px double rgb(200, 200, 200);
    border-radius: 50px;
    background-image: linear-gradient(to bottom, #ffffff, #b8b8b8);
    box-shadow: 2px 2px 5px rgba(100, 100, 100, 0.6);
    font-size: 1.2em;
    letter-spacing: 0.2em;
    padding-left: 0.2em;
}

.page-select-btn > button:active {
    position: relative;
    top: 2px;
}

.loader-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: animateTheBodyBg 10s linear infinite;
    visibility: hidden;
    opacity: 0;
}

.loader-dialog.open {
    visibility: visible;
    opacity: 1;
    z-index: 9999;
}

@keyframes animateTheBodyBg {
    from {
      filter: hue-rotate(0deg)
    }
  
    to {
      filter: hue-rotate(360deg)
    }
}

.loader {
    position: relative;
    width: 250px;
    height: 250px;
}

.loader span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(calc(18deg * var(--i)));
}

.loader span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #00ff0a;
    box-shadow: 0 0 10px #00ff0a,
        0 0 20px #00ff0a,
        0 0 30px #00ff0a,
        0 0 40px #00ff0a,
        0 0 60px #00ff0a,
        0 0 80px #00ff0a,
        0 0 100px #00ff0a;
    animation: animateTheSpan 2s linear infinite calc(.1s * var(--i));
}

@keyframes animateTheSpan {
    0% {
        transform: scale(1)
    }

    80%,
    90% {
        transform: scale(0)
    }
}

.loader-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5em;
    color: rgb(255, 255, 255);
}