html, body {
    font-size: 14px;
    height: 100%;
}

body {
    font-family: "Source Han Sans SC", "Source Han Sans CN", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif;
    background-image: url("../static/overlay.png"), linear-gradient(to right, #868f96 0%, #596164 100%);
    background-repeat: repeat, no-repeat;
    background-size: auto, cover;
    background-position: top left, center;
    background-attachment: fixed, fixed;
}

.wrapper {
    padding: 1.5rem;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.main {
    background-color: #faf9f9;
    max-width: 35rem;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

.banner {
    background-image: url("../static/overlay.svg"), linear-gradient(60deg, rgba(255, 165, 150, 0.5) 5%, rgba(0, 228, 255, 0.35));
    background-size: 100% auto, cover;
    background-position: top left, center;
    padding-bottom: 35%;
}

.face {
    background-color: #faf9f9;
    overflow: hidden;
    width: 30%;
    margin-left: auto;
    margin-right: auto;
    margin-top: -15%;
}

.face img {
    width: 100%;
}

.content {
    padding: 1.5rem 5rem;
    text-align: center;
}

.name {
    color: rgba(0, 0, 0, 0.65);
    font-size: 2.5rem;
    letter-spacing: 0.3rem;
    font-weight: bold;
}

.desc {
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: rgba(0, 0, 0, 0.5);
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
}

.line {
    border-top: 1px dashed #ddd;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.area {
    font-size: 1.5rem;
    color: rgba(0, 0, 0, 0.45);
    margin-bottom: 1rem;
    letter-spacing: 0.1rem;
}

.area span {
    color: rgba(255, 116, 150, 0.5);
}

.project .row {
    margin-left: -0.8rem;
    margin-right: -0.8rem;
}

.project .row .col-6 {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
}

.project a {
    display: block;
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(0, 0, 0, 0.2);
    text-decoration: none;
    padding: 0.4rem 0;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.project a:hover {
    color: rgba(255, 116, 150, 1);
    border-color: rgba(255, 116, 150, 0.5);
}


.contact {
    margin-bottom: 1.5rem;
}

.contact .d-flex {
    margin: auto;
    max-width: 70%;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.contact a {
    color: rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: color 0.3s;
}

.contact a:hover {
    color: rgba(255, 116, 150, 1);
    border-color: rgba(255, 116, 150, 0.5);
}

.contact a i {
    font-size: 2.4rem;
}

.footer {
    font-size: 0.8rem;
    text-shadow: 0 0 0.3rem rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.1rem;
    position: absolute;
    padding: 1rem;
    bottom: 0;
}

@media (max-width: 1000px) {
    html {
        font-size: 12px;
    }

    .wrapper {
        display: block;
        padding: 2rem;
    }

    .content {
        padding: 1.5rem 2rem;
    }

    .footer {
        position: static;
    }
}