* {
    outline: none;
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #333;
    background-color: #efefef;
    font-family: "Droid Sans";
    perspective: 800px;
    transition: all .5s;
} body.reversed {
    transform: scaleX(-1);
}

h1 {
    text-align: center;
}

table {
    border-collapse: collapse;
    margin: 30px 0;
    width: 100%;
}

td, th {
    padding: 5px;
    text-align: center;
}

tr {
    border-top: 1px solid #ddd;
}

thead tr {
    border: none;
}

thead img {
    width: 20px;
}

button {
    border: none;
    color: white;
    background: none;
    background-color: #aaa;
    padding: 8px;
    font-family: inherit;
    border-radius: 5px;
    cursor: pointer;
} button:hover {
    background-color: #bbb;
}

button.green {
    background-color: #86de5f ;
} button.green:hover {
    background-color: #a2e684;
}

button.blue {
    background-color: #6bb8ec;
} button.blue:hover {
    background-color: #8CC7F0;
}

button svg {
    height: 12px;
}

.symbols {
    margin: 0;
    font-family: Roboto, sans-serif;
    height: 100%;
    border-collapse: collapse;
}

.symbols tr {
    border: none;
}

.symbols td {
    width: 50%;
    height: 50%;
    padding: 10px;
    text-align: center;
    font-size: 7vw;
}

.symbols img {
    width: 20vw;
    max-height: 13vh;
    display: block;
    margin: auto;
}

.symbols textarea {
    background: none;
    border: none;
    font-size: inherit;
    font-family: inherit;
    display: inline-block;
    width: 100%;
    text-align: center;
    resize: none;
}

.activity-name {
    min-height: 1rem;
    min-width: 10px;
    display: block;
}

.activity-name:empty::before {
    content: "...";
    color: #888;
    vertical-align: middle;
}

.popup-bg {
    position: fixed;
    overflow: hidden;
    opacity: 0;
    transition: opacity .5s;
    background-color: rgba(0, 0, 0, 0.5);
    bottom: 0;
    right: 0;
    top: 0;
    left: 0;
    transform: scale(0);
}

.popup {
    --animation-duration: .3s;
    position: fixed;
    left: 50%;
    background-color: #fff;
    width: 50%;
    margin: auto;
    padding: 10px;
    box-shadow: 0 0 50px #333;
    transform-origin: 0 20px;
    top: 0;
    transition: all var(--animation-duration);
    opacity: 0;
    transform: translateX(-50%) rotateX(-107deg);
    z-index: -5;
}

.popup.active {
    top: 20px;
    opacity: 1;
    transform: translateX(-50%);
    z-index: 10;
}

.close {
    position: absolute;
    right: 10px;
    top: 5px;
    cursor: pointer;
}

.signature {
    text-align: center;
}

.signature a {
    color: black;
}

.fix-top {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.fix-top button {
    border-bottom-left-radius: 30px 50px;
    border-bottom-right-radius: 30px 50px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding-right: 20px;
    padding-left: 20px;
}

.text-center {
    text-align: center;
}
