h1 {
    text-align: center;
    font-size: var(--font-xl);
    white-space: pre;
    color: var(--font-color);
    text-shadow: 2px 5px 20px var(--glow-color), 1px 1px 2px var(--glow-color);
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 40px;
    align-self: center;
    margin: 0px 0px 50px 0px;
}

.footer {
    position: fixed;
    width: 100%;
    height: 100px;
    bottom: 0px;
    left:   0px;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    z-index: 10;

    animation-name: footer-slide-in;
    animation-duration: 300ms;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

@keyframes footer-slide-in {
  from {bottom: -100px;}
  to {bottom: 30px;}
}

a {
    color: #8ff;
}

#menu {
    position: absolute;
    bottom: 0px;
    right: -70px;
    height: 100%;
    text-align: center;
    z-index: 100;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;

    animation-name: menu-btns-slide-in;
    animation-duration: 500ms;
    animation-delay: 2s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

#menu svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1em;
    height: 1em;
    color: var(--glow-color);
    fill: var(--glow-color);
    stroke: var(--glow-color);
    stroke-width: 1px;
}

#menu button {
    cursor: pointer;
    border: 0.15em solid var(--glow-color);
    border-radius: 0.45em;
    width: 50px;
    min-width: 50px;
    height: 50px;
    margin: 10px 0px;
    background: none;
    font-size: var(--font-lg);
    font-weight: 900;
    letter-spacing: var(--font-sm);
    transition: transform 300ms;
    filter: opacity(0.8);
}

#menu button:hover {
    background: var(--glow-color);
    transform: scale(1.2);
    filter: opacity(1);

    svg {
        fill: var(--font-color-btn-hover);
        stroke: var(--font-color-btn-hover);
    }
}

@keyframes menu-btns-slide-in {
    from { right: -70px; }
    to { right: 30px; }
}

@keyframes menu-btns-slide-in-mobile {
    from { left: -100vw; }
    to { left: 0vw; }
}

#camera_controls {
    position: absolute;
    bottom: 120px;
    right: 20px;
    width: 20%;
    text-align: center;
    z-index: 100;
}

.element {
    width: 250px;
    height: 300px;
    box-shadow: 0px 0px 12px var(--table-color-primary);
    border: 1px solid var(--table-color-secondary);
    font-family: Helvetica, sans-serif;
    text-align: center;
    line-height: normal;
    overflow-wrap: break-word;
    cursor: default;
}

.element:hover {
    box-shadow: 0px 0px 12px var(--table-color-fourth);
    border: 1px solid var(--table-color-fourth);
    cursor: pointer;
}

.element .number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: var(--font-normal);
    color: var(--font-color);
}

.element .symbol {
    position: absolute;
    top: 40px;
    left: 0px;
    right: 0px;
    font-size: var(--font-xxl);
    font-weight: bold;
    color: var(--font-color);
    text-shadow: 0 0 10px var(--table-color-third);
}

.element .details {
    position: absolute;
    bottom: 15px;
    left: 0px;
    right: 0px;
    font-size: var(--font-normal);
    color: var(--font-color);
}

button {
    color: var(--table-color-fourth);
    background: transparent;
    border: 0px;
    padding: 5px 10px;
    cursor: pointer;
}

@media only screen and (max-width: 600px) {
    .bottomPosition {
        position: absolute;
        left: 5px;
        text-align: center;
        margin-bottom: 0px;
    }

    .not-selectable > img {
        transform: scale(0.8);
    }
}

#myModal {
    position: absolute;
    width: 80%;
    height: 80vh;
    text-align: center;
    z-index: 100;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-header {
    background-color: var(--table-color-secondary);
    color: white;
    border-radius: 5px 5px 0px 0px;
    height: 7%;
}

.modal-body {
    padding: 2px 16px;
}

.modal-footer {
    position: absolute;
    background-color: var(--table-color-secondary);
    color: white;
    border-radius: 0px 0px 5px 5px;
    bottom: 0px;
    width: 100%;
}

/* The Close Button */
.close {
    float: right;
    font-size: var(--font-xxl);
    margin-right: 20px;
    margin-top: 10px;
}

.close:hover,
.close:focus {
    color: #f2f2f2;
    text-decoration: none;
    cursor: pointer;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    height: 100%;
    border: 1px solid var(--table-color-secondary);
    color: rgba(255,255,255,0.75);
    text-shadow: 0 0 10px var(--table-color-third);
    animation-name: slide-in;
    animation-duration: 0.3s;
    border-radius: 5px;
}

.slide-out {
    animation-name: slide-out;
    animation-duration: 0.3s;
}

@keyframes slide-in {
    from {transform: scale(0%); opacity: 0}
    to {transform: scale(100%); opacity: 1}
}

@keyframes slide-out {
    from {left: -300; opacity: 1}
    to {left: 0; opacity: 0}
}

@media only screen and (max-width: 600px) {
    #menu {
        position: absolute;
        bottom: 14%;
        left: -100vw;
        width: 100%;
        height: 80px;
        display: flex;
        flex-direction: row;

        animation-name: menu-btns-slide-in-mobile;
    }

    #menu button {
        margin: 0px 10px;
    }
}
