@font-face {
    font-family: fan;
    src: url("../fonts/wanan.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    color: var(--fan-color);
    font-family: "fan", serif;
    text-decoration: none;
}

:root {
    --fan-color: #93acba;
}

html, body {
    color: var(--fan-color);
    background-color: var(--fan-bg-color);
    cursor: var(--fan-cur-point);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a {
    text-shadow: 1px 1px 0 #fff;
    cursor: var(--fan-cur-link);
}

.container {
    width: 300px;
    height: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

header {
    margin-bottom: 20px;
    width: 300px;
    height: 35px;
    line-height: 35px;
    border-radius: 44px;
    background: var(--fan-bg-color);
    box-shadow:  var(--fan-header-shadow);
}

nav {
    width: 260px;
    display: flex;
    justify-content: space-around;
}

.active {
    color: #e67a2a;
}

.switch {
    margin-top: -35px;
    margin-left: auto;
    width: 35px;
    height: 35px;
    text-align: center;
    cursor: var(--fan-cur-link);
}

.switch_moon {
    border-radius: 44px;
    background: var(--fan-moon-linear);
    box-shadow: var(--fan-moon-shadow);
}

.switch_sun {
    border-radius: 44px;
    background: var(--fan-sun-linear);
    box-shadow: var(--fan-sun-shadow);
}


.content {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    background: var(--fan-bg-color);
    box-shadow: var(--fan-content-shadow);
}

.main {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
}

.content section {
    position: absolute;
    opacity: 0;
    transition: .4s ease-out;
}

.content section.active-section {
    opacity: 1;
    z-index: 2;
}

.fan_bg {
    width: 300px;
    height: 200px;
    background-repeat: no-repeat;
    background-size: cover;
}

.fan_bg_half {
    width: 300px;
    height: 100px;
    background-repeat: no-repeat;
    background-size: cover;
}

.logo {
    position: relative;
    margin: -50px auto;
    width: 100px;
    height: 100px;
    transition: all .5s;
    cursor: var(--fan-cur-un);
    z-index: 1;
}

.logo:hover {
    transform: scale(1.15);
}

.logo span {
    color: var(--fan-color);
    font-size: 100px;
    -webkit-text-stroke: 2px var(--fan-color);
}

.logo span::after {
    position: absolute;
    top: 0;
    left: 0;
    content: '\e900';
    filter: blur(1px);
    -webkit-text-stroke-color: blue;
    animation: changecolor 4s linear infinite;
}

.logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.name {
    margin: 55px auto 0;
    width: fit-content;
    font-size: 30px;
    text-shadow: 1px 1px 0 #fff;
    cursor: var(--fan-cur-link);
}

.motto {
    margin: 5px auto 15px;
    width: fit-content;
    text-shadow: 1px 1px 0 #fff;
    cursor: var(--fan-cur-link);
}

.link_box ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
}

.link_box ul li {
    transition: all 0.5s;
    cursor: var(--fan-cur-link);
}

.link_box ul li:hover {
    transform: scale(1.15);
}

.link_button {
    width: 38px;
    height: 38px;
    line-height: 40px;
    border-radius: 10px;
    background: var(--fan-bg-color);
    box-shadow: var(--fan-link-shadow);
    text-align: center;
}

.about {
    margin: 70px auto 0;
    padding: 10px;
    width: 200px;
    font-size: 12px;
    border-radius: 12px;
    background: var(--fan-bg-color);
    box-shadow: var(--fan-about-shadow);
}

.about p {
    color: #168570;
}

.output2 {
    margin-top: 20px;
}

.web {
    margin: 0 auto 20px;
    width: 75%;
    height: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .15);
    padding: 10px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 900;
}

.mt-70 {
    margin-top: 70px;
}

.web_0 {
    line-height: 20px;
    text-align: center;
    background-size: 60px 60px;
    text-shadow: 1px 1px 0 #fff;
    background-image: linear-gradient(135deg, #c7d5e0 0%, #c7d5e0 25%, white 25%, white 50%, #c7d5e0 50%, #c7d5e0 75%, white 75%, white 100%);
    animation: move 1s linear infinite;
    transition: 0.5s;
}

.web_1 {
    color: #AE1100;
    text-align: center;
    text-shadow: 1px 1px 0 #fff;
    transition: 0.5s;
    border-radius: 10px;
    background: var(--fan-bg-color);
    box-shadow:  var(--fan-web-shadow);
}

.web_0:hover, .web_1:hover {
    transform: scale(1.1);
}

.tips {
    width: 73%;
    border-radius: 0 5px 5px 0;
    border-left: 4px solid #2ECC71;
    /*border-top-right-radius: 2px;*/
    margin: 0 auto;
    text-align: center;
    padding: 10px;
    position: relative;
    background-color: #f8f8f8;
    text-shadow: 1px 1px 0 #fff;
    font-size: 15px;
}

footer {
    width: 100%;
    margin: 0 auto;
    font-size: 12px;
    text-align: center;
    position: fixed;
    bottom: 15px;
    text-shadow: 1px 1px 0 #fff;
}

.fan-heart {
    animation: beat 0.5s ease-in-out infinite alternate;
}

@keyframes beat {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.2);
    }
}

@keyframes move {
    0% {
    }
    100% {
        background-position: 60px 0;
    }
}

@keyframes changecolor {
    0% {
        filter: blur(1px) hue-rotate(0);
    }
    100% {
        filter: blur(1px) hue-rotate(360deg);
    }
}
