@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

*,
*:before,
*:after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #000;
    font-family: 'Ubuntu', sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(295deg, #aa00aa, #6600aa, #4444bb);
    background-size: 600% 600%;

    animation: BGAnime 10s ease infinite;
}

@keyframes BGAnime {
    0% {
        background-position: 0 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0 50%
    }
}

.te-box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-flow: nowrap row;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.te-box > .card {
    min-width: 960px !important;
    max-width: 1200px !important;
    border: 1px solid silver;
    box-shadow: 0 0 25px gold;
}

#status-line {
    height: 150px;
    background: #333;
    color: wheat;
    margin: 0 15px;
    width: calc(100% - 30px);
    overflow: auto;
}

div[id^="ajax-"] {
    display: none;
}

.update-result {
    background: #000;
    min-height: 200px;
    max-height: 550px;
    border: 3px solid #999;
    border-radius: 3px;
    box-shadow: inset 0 0 15px #aaa;
    margin: 0;
    overflow-y: scroll;
    color: wheat;
}

.holder-template {
    color: mediumvioletred;
    font-weight: 600;
}

.template-box {
    position: relative;
    width: 250px !important;
    height: 160px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 0;
    border: 2px solid gray;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
}

.template-box:hover {
    box-shadow: 0 0 10px purple;
    border: 2px solid blue;
}


.template-box div {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .75);
    width: 100%;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.75rem;
    text-shadow: 0 0 2px black, 0 0 2px black, 0 0 2px black;
}

.template-box input {
    position: absolute;
    left: -30px;
    margin-left: 10px !important;
}

.template-rows {
    display: flex !important;
    flex-flow: wrap row;
    justify-content: space-between;
    gap: 10px;
    padding: 0 15px;
    max-height: 700px;
    overflow: auto;
}

.template-select:checked + div {
    background: rgb(0 0 255 / 35%);
    border: 5px solid orangered;
}
