* {
    font-family: 'Noto Sans TC', sans-serif;
}

body {
    background: url('https://source.unsplash.com/random/?moto') center center fixed;
    background-size: cover;
}

.banner {
    width: 100%;
    height: 100vh;
    display: flex;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    align-items: center;
    justify-content: space-around;
    padding: 0 2.5rem;
}

.avatar-container {
    position: relative;
    display: inline-block;
}

.avatar {
    width: 9.375rem;
    height: 9.375rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.25rem;
    transition: .3s ease;
    position: relative;
}

.avatar:hover {
    transform: scale(1.1);
    box-shadow: #ffcddf50 0 0.625rem 1.25rem;
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(0.625rem);
    z-index: 999;
}

.enlarged-avatar-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 37.5rem;
    height: 37.5rem;
    border-radius: 50%;
    overflow: hidden;
}

.enlarged-avatar {
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: 50%;
    object-fit: cover;
    transition: transform .3s ease;
    transform-origin: left;
}

.info {
    width: 50%;
    max-width: 37.5rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.info>h2 {
    display: inline-block;
    width: 256px;
}

.social-links {
    list-style-type: none;
    display: flex;
    padding-left: 0;
}

.social-links li {
    margin-right: 0.9375rem;
}

.social-links a {
    color: #fff !important;
    text-decoration: none !important;
}

.main-content {
    color: #fff;
    width: 50%;
    max-width: 50rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    font-size: 0.9rem;
}

.about-section {

    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    color: #fff;
    text-decoration: none;
}

.blog-links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.blog-block {
    padding: 0.625rem;
    color: #fff !important;
    text-decoration: none !important;
    background-color: rgb(255 255 255 / 35%);
    backdrop-filter: blur(0.375rem);
    -webkit-backdrop-filter: blur(0.375rem);
    border-radius: 0.75rem;
    z-index: 1;
    transition: .3s ease;
}

.blog-block:hover {
    transform: scale(1.02);
    box-shadow: #ffcddf50 0 0.625rem 3.125rem;
}

h1 {
    margin-bottom: 1.25rem;
}

h2 {
    margin-bottom: 1.875rem;
    font-size: 1.25rem;
}

span {
    background: linear-gradient(to right, #ff607e, #FFC107) no-repeat right bottom;
    background-size: 0px 0.125rem;
    transition: background-size 0.3s;
}

span:hover {
    background-position-x: left;
    background-size: 100% 0.125rem;
}

a {
    color: #fff;
    text-decoration: none;
}

p {
    margin-bottom: 0.625rem;
}

@media screen and (max-width: 820px) {
    .banner {
        height: auto;
        flex-direction: column;
        align-items: center;
        padding: 1.25rem;
    }

    .left-section {
        margin-bottom: 1.25rem;
        margin-left: 0;
        align-self: flex-start;
    }

    .info>h2 {
        display: inline-block;
        width: 256px;
    }

    .info,
    .main-content {
        width: 100%;
        max-width: 100%;
    }

    h1 {
        font-size: 1.5rem;
        margin-bottom: 0.625rem;
    }

    h2 {
        font-size: 1rem;
        /* padding-right: 5rem; */
        margin-bottom: 1.25rem;
    }

    .avatar {
        width: 6.25rem;
        height: 6.25rem;
    }

    .enlarged-avatar-container {
        width: 18.75rem;
        height: 18.75rem;
    }

    .blog-links {
        flex-direction: column;
    }

    .blog-block {
        padding: 0.6rem;
    }
}