.sans {
    font-family: 'Noto Sans JP', sans-serif;
}

.serif {
    font-family: 'Noto Serif JP', serif;
}

.kaisyo {
    font-family: 'Yuji Syuku', sans-serif;
}

body {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    font-size: 0.9em;
}

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

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;
}

.side-content {
    position: relative;
    width: 20%;
    height: 100%;
}

.main-content {
    position: relative;
    width: 55%;
    height: 100%;
}

.preview-content {
    position: relative;
    width: 25%;
    height: 100%;
}

header {
    position: relative;
    width: 100%;
    height: 15%;
}

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

.side-content > header {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
}

.side-content > header > img {
    position: relative;
    width: 20%;
    height: auto;
    max-height: 60%;
}

.side-content > header > div {
    position: relative;
    width: 60%;
    height: 50%;
    margin-left: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.side-content > header > div > span:nth-child(1) {
    position: relative;
    width: 100%;
    height: auto;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgb(0, 0, 0);
    white-space: nowrap;
}

.side-content > header > div > span:nth-child(2) {
    font-size: 0.7em;
    margin-top: 0.2em;
}

.side-content > main {
    background-color: rgb(60, 175, 255);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-content > main::after {
    content: "";
    position: absolute;
    top: 5%;
    left: 98%;
    width: 5px;
    height: 90%;
    border-right: 1px dashed rgb(100, 100, 100);
}

.device-content {
    position: relative;
    width: 100%;
    height: 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.history-content {
    position: relative;
    width: 100%;
    height: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.template-content {
    position: relative;
    width: 100%;
    height: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menu-content {
    position: relative;
    width: 100%;
    height: 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.side-title {
    position: relative;
    width: 100%;
    height: 1.5em;
    padding-left: 15%;
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: left;
    align-items: center;
}

.side-select {
    position: relative;
    width: 90%;
    height: 50%;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.side-select > p {
    position: relative;
    width: calc(100% - 3em);
    height: 100%;
    outline: none;
    border: none;
    padding-left: 1em;
    display: flex;
    justify-content: left;
    align-items: center;
}

.side-select > span {
    position: relative;
    width: 1em;
    height: 100%;
}

.side-select > span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 1em;
    border-right: 2px solid rgb(150, 150, 150);
}

.select-btn {
    position: relative;
    width: 2em;
    height: 100%;
    cursor: pointer;
}

.select-btn::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;
}

.device-list {
    position: absolute;
    top: 90%;
    left: 5%;
    width: 80%;
    height: auto;
    min-height: 3em;
    max-height: 8em;
    border: 3px solid rgb(0, 0, 0);
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    padding: 1% 3%;
    overflow-x: hidden;
    overflow-y: auto;
    display: none;
}

.device-list::-webkit-scrollbar {
    width: 10px;
    height: 1px;
}

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

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

.device-list::-webkit-scrollbar-corner {
    display: none;
}

.device-list.open {
    display: block;
    z-index: 99;
}

.device-list > p {
    position: relative;
    width: 90%;
    min-height: 1.2em;
    border-bottom: 1px solid rgb(0, 0, 0);
    padding-left: 0.5em;
    margin-bottom: 0.2em;
    display: flex;
    justify-content: left;
    align-items: flex-end;
    cursor: pointer;
}

.history-select {
    position: relative;
    width: 90%;
    height: 60%;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    overflow-x: hidden;
    overflow-y: auto;
}

.history-select::-webkit-scrollbar {
    display: none;
}

.history {
    position: relative;
    outline: 1px solid rgb(0, 0, 0);
    margin: auto 4%;
    cursor: pointer;
}

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

.history > img, .history > video {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

.history-btn {
    position: relative;
    width: 90%;
    height: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.history-btn > button {
    position: relative;
    width: 30%;
    height: 50%;
    outline: none;
    border: none;
    border-radius: 50px;
    background-image: linear-gradient(to bottom, rgb(250, 250, 250), rgb(220, 220, 220));
    box-shadow: 1px 1px 3px rgba(100, 100, 100, 0.6);
    font-size: 0.8em;
    margin-left: 0;
    margin-right: auto;
    cursor: pointer;
}

.history-btn > button#copy {
    width: 20%;
}

.history-btn > button#delete {
    width: auto;
    height: 60%;
    aspect-ratio: 1 / 1;
    background-image: none;
    background-color: rgb(255, 0, 0);
    margin-left: auto;
    margin-right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.history-btn > button#delete > img {
    position: relative;
    width: auto;
    max-width: 100%;
    height: 100%;
}

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

.template-select {
    position: relative;
    width: 90%;
    height: 60%;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
}

.template-select::-webkit-scrollbar {
    display: none;
}

.template {
    position: relative;
    outline: 1px solid rgb(0, 0, 0);
    margin: auto 3%;
    cursor: pointer;
}

.template > img, .template > video {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

.template-btn {
    position: relative;
    width: 90%;
    height: 20%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.template-btn > button {
    position: relative;
    width: 60%;
    height: 75%;
    outline: none;
    border: none;
    border-radius: 50px;
    background-color: rgb(220, 220, 220);
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.8em;
    cursor: not-allowed;
}

.template-btn > button:nth-child(2) {
    width: auto;
    aspect-ratio: 1 / 1;
    background-color: rgb(220, 220, 220);
    display: flex;
    justify-content: center;
    align-items: center;
}

.template-btn > button#del > img {
    position: relative;
    width: auto;
    max-width: 100%;
    height: 100%;
}

.menu-content > span {
    font-size: 0.9em;
    color: rgb(255, 255, 255);
}

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

.main-content > header, .preview-content > header {
    display: flex;
    justify-content: left;
    align-items: flex-end;
}

.header-title {
    position: relative;
    width: 90%;
    height: 100%;
    border-bottom: 1px solid rgb(60, 175, 255);
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

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

.sub-content {
    position: relative;
    width: 95%;
    height: 25%;
    font-size: 0.9em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.box-area {
    position: relative;
    width: 44%;
    height: 96%;
    padding: 2% 3%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box {
    position: relative;
    width: 100%;
    height: 100%;
    outline: 1px solid rgb(0, 0, 0);
    overflow: hidden;
}

.box > img, .box > video {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

.item {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    min-width: 1em;
    min-height: 1em;
    margin: 0;
    padding: 0;
    line-height: 1;
    z-index: 3;
    white-space: nowrap;
    outline: none;
    border: none;
    display: inline-block;
    box-sizing: border-box;
    cursor: default;
}

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

.item.vertical {
    writing-mode: vertical-rl;
    width: auto;
    height: auto;
}

.item.open > .ui-resizable-se, .item.open > .ui-resizable-sw {
    position: absolute;
    top: calc(100% - 10px);
    left: calc(100% - 10px);
    width: 20px;
    height: 20px;
    background-color: rgb(170, 170, 170);
    border: 1px solid rgb(0, 0, 0);
    border-radius: 50%;
    z-index: 99;
}

.item.open > .ui-resizable-sw {
    left: -10px;
}

.tool-area {
    position: relative;
    width: 40%;
    height: 95%;
    font-size: 0.9em;
    padding-left: 3%;
    padding-right: 7%;
    padding-top: 3%;
    padding-bottom: 2%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.text-tool {
    position: relative;
    width: 100%;
    height: 15%;
}

.font-tool {
    position: relative;
    width: 100%;
    height: 40%;
}

.background-tool {
    position: relative;
    width: 100%;
    height: 45%;
}

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

.tool-content {
    position: relative;
    width: 100%;
    height: calc(100% - 1.5em);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.text-box {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0 5%;
    display: flex;
    justify-content: left;
    align-items: center;
}

.text-box > button {
    position: relative;
    width: 10%;
    height: 50%;
    outline: none;
    border: none;
    border-radius: 5px;
    background-image: linear-gradient(to bottom, rgb(250, 250, 250), rgb(220, 220, 220));
    box-shadow: 1px 1px 3px rgba(100, 100, 100, 0.6);
    cursor: pointer;
}

.text-box > button:active {
    position: relative;
    top: 2px;
}

.text-box > button:nth-child(1) {
    width: 20%;
    margin-right: 2em;
}

.text-box > button:nth-child(2) {
    height: 100%;
}

.text-box > button:nth-child(3) {
    width: 20%;
    height: 60%;
    margin-left: auto;
    margin-right: 5%;
}

.text-box > button:nth-child(4) {
    width: auto;
    height: 55%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-image: none;
    background-color: rgb(255, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-box > button:nth-child(4) > img {
    position: relative;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

.font-select {
    position: relative;
    width: 100%;
    height: 33%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.font-choice {
    position: relative;
    width: 75%;
    height: 70%;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

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

.font-choice > span:nth-child(2) {
    position: relative;
    width: 1em;
    height: 100%;
}

.font-choice > 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);
}

.size-select {
    position: relative;
    width: 20%;
    height: 70%;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 10px;
    margin-left: 5%;
    padding: 0 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.size-select > input {
    position: relative;
    width: 75%;
    height: 60%;
    outline: none;
    border: none;
    border-bottom: 1px solid rgb(200, 200, 200);
}

.size-select > input::-webkit-inner-spin-button {
    display: none;
}

.size-select > label {
    position: relative;
    width: 25%;
    height: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
}

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

.weight-select > button {
    position: relative;
    width: 15%;
    height: 70%;
    outline: none;
    border: none;
    border-radius: 5px;
    background-image: linear-gradient(to bottom, rgb(250, 250, 250), rgb(220, 220, 220));
    box-shadow: 1px 1px 3px rgba(100, 100, 100, 0.6);
    cursor: pointer;
}

.weight-select > button.none {
    background-image: none;
    background-color: rgb(250, 250, 250);
    color: rgba(0, 0, 0, 0.4);
    box-shadow: none;
    cursor: not-allowed;
}

.weight-select > button:not(.none):active {
    position: relative;
    top: 2px;
}

.color-select {
    position: relative;
    width: 100%;
    height: 30%;
    display: flex;
    justify-content: left;
    align-items: center;
}

.color-choice {
    position: relative;
    width: 40%;
    height: 75%;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 10px;
    padding: 0.5% 3%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.color-choice > input {
    position: relative;
    width: calc(100% - 3em);
    height: 100%;
    outline: none;
    border: none;
    background: none;
    cursor: pointer;
}

.color-choice > span {
    position: relative;
    width: 1em;
    height: 100%;
}

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

.font-list {
    position: absolute;
    top: 38%;
    left: 0;
    width: 60%;
    height: 8em;
    border: 3px solid rgb(0, 0, 0);
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    padding: 1% 3%;
    display: none;
}

.font-list.open {
    display: block;
    z-index: 99;
}

.font-list > p {
    position: relative;
    width: 90%;
    min-height: 1.2em;
    padding-left: 0.5em;
    border-bottom: 1px solid rgb(0, 0, 0);
    display: flex;
    justify-content: left;
    align-items: flex-end;
    cursor: pointer;
}

.color-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 3em;
    border: 3px solid rgb(0, 0, 0);
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    justify-content: left;
    align-items: center;
    display: none;
    overflow-x: auto;
    overflow-y: hidden;
}

.color-list::-webkit-scrollbar {
    width: 10px;
    height: 5px;
}

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

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

.color-list::-webkit-scrollbar-corner {
    display: none;
}

.color-list.open {
    display: flex;
    z-index: 99;
}

.color-list > button {
    position: relative;
    width: auto;
    max-width: 10%;
    height: 80%;
    aspect-ratio: 1 / 1;
    margin: 0 0.3em;
    cursor: pointer;
}

.color-list > button:active {
    position: relative;
    top: 2px;
}

.bgcolor-select {
    position: relative;
    width: 40%;
    height: 20%;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 10px;
    padding: 0.5% 3%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bgcolor-select > input {
    position: relative;
    width: calc(100% - 3em);
    height: 100%;
    outline: none;
    border: none;
    background: none;
    cursor: pointer;
}

.bgcolor-select > span {
    position: relative;
    width: 1em;
    height: 100%;
}

.bgcolor-select > span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 1em;
    border-right: 2px solid rgb(150, 150, 150);
}

.bgfile-select {
    position: relative;
    width: 96%;
    height: 60%;
    margin-top: 5%;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 10px;
    padding: 1% 2%;
    overflow-x: hidden;
    overflow-y: auto;
}

.bgfile-select::-webkit-scrollbar {
    display: none;
}

.bgfile-select > p {
    position: relative;
    width: 90%;
    min-height: 1.2em;
    border-bottom: 1px solid rgb(0, 0, 0);
    padding-left: 1em;
    margin-bottom: 0.3em;
    display: flex;
    justify-items: left;
    align-items: flex-end;
    cursor: pointer;
}

.color-list#bgColorList {
    top: 25%;
}

.image-content {
    position: relative;
    width: 50%;
    height: 100%;
}

.image-content > .tool-title {
    width: 90%;
    margin-left: 10%;
}

.image-area {
    position: relative;
    width: 75%;
    height: 80%;
    border: 1px solid rgb(0, 0, 0);
    margin-left: 10%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.images {
    position: relative;
    border: 1px solid rgb(0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.images > span::after {
    content: "\002B";
}

.images > img {
    position: relative;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

.btn-area {
    position: relative;
    width: 50%;
    height: 90%;
}

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

.content-btn > button {
    position: relative;
    width: 35%;
    height: 60%;
    outline: none;
    border: none;
    border-radius: 10px;
    background-image: linear-gradient(to bottom, rgb(0, 255, 255), rgb(0, 220, 220));
    box-shadow: 1px 1px 3px rgba(0, 100, 100, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-btn > button:nth-child(1) {
    background-image: linear-gradient(to bottom, rgb(255, 255, 0), rgb(255, 200, 0));
    box-shadow: 1px 1px 3px rgba(170, 100, 0, 0.6);
}

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

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

.send-btn > button {
    position: relative;
    width: auto;
    height: 70%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 3px double rgb(60, 175, 255);
    background-image: linear-gradient(to right, rgb(60, 175, 255), rgb(167, 218, 255));
    box-shadow: 2px 2px 5px rgba(30, 85, 170, 0.8);
    color: rgb(255, 255, 255);
}

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

.btn-area > div#error {
    position: absolute;
    left: 0.5em;
    bottom: 0.1em;
    color: rgb(255, 0, 0);
}

.preview-area {
    position: relative;
    width: 90%;
    height: 76%;
    padding: 2% 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.sub-btn > button {
    position: relative;
    width: 50%;
    height: 30%;
    outline: none;
    border: none;
    border-radius: 50px;
    background-image: linear-gradient(to bottom, rgb(250, 250, 250), rgb(220, 220, 220));
    box-shadow: 1px 1px 3px rgba(100, 100, 100, 0.6);
    cursor: pointer;
}

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

.image-contextmenu {
    position: fixed;
    top: 0;
    left: 0;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 10px;
    background-color: rgb(220, 220, 220);
    padding: 0.5em;
    display: none;
    z-index: -1;
}

.image-contextmenu.open {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.image-contextmenu > span:hover {
    color: rgb(255, 150, 0);
    cursor: pointer;
}

.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);
}

.history > *, .template > * {
    cursor: pointer;
}