a, input[type="button"] {
    background-color: black;
    border: 2px solid white;
    border-radius: 5px;
    color: white;
    font-family: "Fredoka", Arial, sans-serif;
    margin: 5px;
    padding: 2.5px;
    text-decoration: none;
    transition: 0.5s;
}
a:hover, input[type="button"]:hover {
    border: 2px solid black;
    background-color: white;
    color: black;
}
body {
    background-color: white;
    color: black;
    font-family: "Fredoka", Arial, sans-serif;
    margin: 0;
    transition: 0.5s;
}
footer {
    padding: 10px;
    text-align: center;
}
footer a {
    background-color: transparent;
    border: none;
    margin: 0;
    padding: 0;
}
footer a:hover {
    border: none;
    color: inherit;
}
footer div {
    display: grid;
    justify-content: center;
    justify-items: center;
    margin: auto;
    width: 80%;
}
footer div div {
    font-size: 50%;
    text-align: center;
    width: 20%;
}
footer img {
    margin: auto;
}
footer h2 {
    font-weight: normal;
}
form {
    text-align: center;
}
header {
    background-color: rgb(120, 120 ,120);
    color: white;
    padding: 10px;
    text-align: center;
}
header h1 {
    margin-top: 0;
}
html {
    height: 100%;
    width: 100%;
}
img {
    border-radius: 5px;
}
input[type="text"] {
    background: transparent;
    border-color: rgb(120, 120 ,120);
    border-width: 0 0 2px;
    color: inherit;
    font-family: "Fredoka", Arial, sans-serif;
    outline: none;
    padding: 5px;
    transition: 0.5s;
}
input[type="text"]:focus {
    border-color: skyblue;
}
p {
    text-align: center;
}
select {
    background: transparent;
    border-color: white;
    border-width: 0 0 2px;
    color: white;
    font-family: "Fredoka", Arial, sans-serif;
    outline: none;
    padding: 5px;
    transition: 0.5s;
}
select:focus-visible {
    border-color: skyblue;
}
table {
    border-collapse: separate;
    display: none;
    margin: auto;
    margin-bottom: 5px;
    margin-top: 5px;
    width: 75%;
}
@media only screen and (max-width: 1050px) {
    table {
        overflow-x: auto;
        table-layout: fixed;
    }
}
td, th {
    border: 1px solid #dddddd;
    border-spacing: 0px;
    padding: 7.5px;
    overflow: hidden; 
    text-align: center;
    text-overflow: ellipsis;
    width: 15%;
    word-wrap: break-word;
}
th:hover {
    cursor: pointer;
}
th:hover:nth-child(2) {
    cursor: default;
}
th:first-child {
    border-top-left-radius: 5px;
}
th:last-child {
    border-top-right-radius: 5px;
}
tr:last-child td:last-child {
    border-bottom-right-radius: 5px;
}
tr:last-child td:first-child {
    border-bottom-left-radius: 5px;
}

.Error {
    color: red;
    display: none;
}
.Mode {
    border: none;
    background-color: transparent;
    float: right;
    margin: 0;
    perspective: 1000px;
}
.Mode:hover {
    border: none;
    background-color: transparent;
    color: white;
}
.Mode .Back {
    transform: rotateY(180deg);
}
.Mode .Back, .Mode .Front {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    height: 100%;
    position: absolute;
    width: 100%;
}
.Mode .Inner {
    padding-right: 10px;
    position: relative;
    text-align: center;
    transition: 0.5s;
    transform-style: preserve-3d;
}