@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;300;400;500;700;900&display=swap');

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track-piece {
    background-color: #393939;
}

::-webkit-scrollbar-thumb {
    background-color: #FFFFFF;
}

html {
    scrollbar-color: #ffffff #393939;
    scrollbar-width: thin;
}

body {
    position: relative;
    margin: 0;
    font-family: "Source Sans Pro";
    color: white;
    background: #000000;
    font-weight: 200;
    text-shadow: 0px 0px 5px black;
    width: 100vw;
    height: 100vh;
}

#container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

#info-container {
    position: absolute;
    top: 64px;
    left: 256px;
    border: white solid 1px;
    padding: 8px;
    width: 320px;
}

.ptelement {
    position: absolute;
    border: white solid 1px;
    background: black;
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    border-radius: 2px;
    transition: filter 0.3s ease-in-out;
}

.element-name {
    font-size: 10px;
}

.element-a-number {
    position: absolute;
    font-size: 8px;
    top: 4px;
    left: 4px;
}

.element-z-number {
    position: absolute;
    font-size: 8px;
    bottom: 4px;
    left: 4px;
}

#home-link {
    position: absolute;
    top: 40px;
    right: 40px;
}

#home-link-a {
    color: white;
    text-decoration: none;
    font-size: 32px;
    font-weight: 400;
}

#home-icon {
    width: 32px;
    height: 32px;
}

.info-element{
    animation: loadIn 0.2s ease-in-out;
}

@keyframes loadIn {
    from{
        opacity: 0;
        transform: translateY(-10px);
    }
    to{
        opacity: 1;
        transform: translateY(0px);
    }
}