.fade {
    opacity: 0;
    transition: all 1s;
    transform: translateY(200px);
}

.fade.in {
    opacity: 1;
    transform: none;
}

* {
    box-sizing: border-box;
    -webkit-text-size-adjust: none;
}

html {
    font-size: 20px !important;
    overflow: hidden !important;
}

body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    font-family: Comic Sans MS, Helvetica Neue, Microsoft Yahei, -apple-system, sans-serif !important;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-touch-callout: none;
}

ul {
    margin: 0;
    padding: 0;
}

img {
    border: 0;
    vertical-align: middle;
}

body {
    cursor: url(/static/icon/default.cur), auto !important;
}

a, img {
    cursor: url(/static/icon/pointer.cur), auto !important;
}

a {
    text-decoration: none;
    color: var(--color-link);
    outline: 0;
}

.content, main {
    height: 100vh;
    width: 100%;
    position: relative;
}

.content {
    background-image: url(/static/img/background.webp);
    background-size: cover;
}

.content-main {
    position: fixed;
    top: 0;
    left: 0;
}

#card {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: width .5s ease, height .5s ease;
}

#card .card-inner {
    padding: 48px;
    margin: -48px;
    border: 0;
    width: 35%;
    position: relative;
}

.avatar {
    height: 128px;
    width: 128px;
}

.card-background {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(128, 128, 128, 0.33);
    filter: blur(10px);
    z-index: -50;
}

.card-background::before {
    content: "";
    position: absolute;
    left: -48px;
    right: -48px;
    top: -48px;
    bottom: -48px;
    background-color: rgba(255, 255, 255, 0.33);
    filter: blur(50px) drop-shadow(0 0 0.75rem #ffffff66);
    z-index: -100;
}

#card .card-inner header {
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.8);
    margin-bottom: 40px;
}

#card .card-inner header img {
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, .3);
    transition: .4s ease-in-out;
}

#card .card-inner header h1 {
    margin: 15px 15px 0;
    color: #fff;
    font-size: 2rem;
    line-height: 1.2em;
    font-weight: 300;
}

#card .card-inner header h2 {
    color: #F6F6F6;
    letter-spacing: 3px;
    font-size: .8rem;
    font-weight: lighter;
}

#card .card-inner footer {
    margin-top: 40px;
}

#card .card-inner footer a {
    color: #EEEEEE;
    transition: all .2s;
}

#card .card-inner footer a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 2px #f6f6f6;
}

#card .card-inner ul {
    position: relative;
    margin: 0;
    list-style-type: none;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 100%;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.8);
    padding-bottom: 40px;
}

#card .card-inner ul li {
    display: inline-block;
    transition: all .2s;
    width: 100%;
    height: 100%;
    border-left: 1px solid hsla(0, 0%, 100%, 0.8);
    border-right: 1px solid hsla(0, 0%, 100%, 0.8);
}

#card .card-inner ul li a {
    color: #EEEEEE;
    transition: all .2s;
}

#card .card-inner ul li a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 2px #f6f6f6;
}

.background {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    pointer-events: none;
}


@media screen and (max-width: 1024px) {
    #card .card-inner {
        width: 45%;
    }
}

@media screen and (max-width: 768px) {
    #card .card-inner {
        width: 50%;
    }
}

@media screen and (max-width: 540px) {
    #card .card-inner {
        width: 60% !important;
    }

    #card .card-inner header h1 {
        font-size: 1rem !important;
    }

    #card .card-inner header h2, #card .card-inner ul li {
        font-size: .8rem !important;
    }
}

@media screen and (max-width: 480px) {
    #card .card-inner {
        width: 90% !important;
    }
}

@media screen and (max-width: 360px) {
    #card .card-inner {
        width: 100% !important;
    }
}
