html,
body {
    padding: 0px;
    margin: 0px;
    overflow: hidden auto;
    -webkit-appearance: none !important;

    font-family: "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}

* {
    box-sizing: border-box;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

header {
    height: 70px;
    width: calc(100vw - 20px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    margin: 10px;
    overflow: hidden;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    vertical-align: middle;

    border-radius: var(--mdui-shape-corner-large);
    border: .0625rem solid rgb(var(--mdui-color-surface-variant));

    user-select: none;

    animation: splashAnim 2s ease-out;
    transition: all 0.2s;

    background-color: rgb(var(--mdui-color-surface));
}

header mdui-avatar {
    width: fit-content;
    margin: 15px;
    transition: all 0.2s;
}

header h1 {
    font-weight: lighter;
    font-size: 2em;
    width: fit-content;
    margin: 0em;
    transition: all 0.2s;
}

header .blank {
    flex: 1;
}

@keyframes splashAnim {
    0% {
        height: calc(100vh - 80px - 20px);
        flex-direction: column;
        padding-top: 30vh;
    }

    50% {
        height: calc(100vh - 80px - 20px);
        flex-direction: column;
        opacity: 1;
        padding-top: 30vh;
    }

    65% {
        flex-direction: column;
        opacity: 0.1;
    }

    75% {
        opacity: 0;
    }

    85% {
        opacity: 0.1;
        flex-direction: row;
    }

    100% {
        padding-top: 0vh;
        height: calc(70px);
        flex-direction: row;
        opacity: 1;
    }
}

main {
    height: calc(100vh - 80px * 2);
    width: 100vw;
    position: absolute;
    top: 80px;
    left: 0;
    z-index: 1;
    overflow: hidden auto;

    display: flex;
    flex-direction: column;
    align-items: center;
}

main * {
    z-index: 1;
}

main .logo {
    margin-top: 10vh;
    width: 128px;
    height: 128px;
    border-radius: var(--mdui-shape-corner-large);
    box-shadow: 0px 0px 20px #131313;
    user-select: none;
}

main .mainTitle {
    width: 50vw;
    min-width: 350px;
    max-width: 600px;
    margin: 10px;
    margin-top: 10px;
    margin-top: 20px;
}

.dynCube {
    border-radius: 5px;
    background-color: rgb(var(--mdui-color-secondary-container));
    position: fixed;
    top: 100vh;
    z-index: 0;
}

@keyframes movingSquare {
    0% {
        opacity: 0.1;
        top: 100vh;
        transform: rotate(0deg);
    }
    10% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.6;
        top: 50vh;
        transform: rotate(480deg);
    }
    90% {
        opacity: 0.6;
    }
    100% {
        opacity: 0.1;
        top: -10vh;
        transform: rotate(960deg);
    }
}

.contactCard {
    width:90px;
    height:120px;
    margin:5px;
    display: inline-block;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.contactCard .icon {
    margin:20px;
    width:50px;
    height:50px;
}

.historyShots {
    max-width:calc(100vw - 20px);
    max-height:calc(100vh - 180px);
    border-radius: var(--mdui-shape-corner-medium);
    -webkit-user-drag: none;
}

mdui-bottom-app-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    gap: 5px;
    /* background-color: rgba(var(--mdui-color-surface-container), 0.9); */
}