#body {
    margin: 0px auto;
    max-width: 1080px;
    user-select: none;
    background-color: #365c84;
    background-image: url('../img/bg.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Microsoft Yahei', 'STXihei', sans-serif;
    overflow: hidden;
}

::-webkit-scrollbar {
    display: none;
}

a {
    color: black;
    text-decoration: none;
}

.blur-box {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
}

#info-box {
    border-radius: 32px;
    height: fit-content;
}

#avatar {
    border-radius: 50%;
    display: block;
    margin: auto;
}

#name-box {
    margin: 16px;
}

.name {
    display: block;
    text-align: center;
    margin: 4px;
    font-weight: 700;
    font-size: 120%;
}

.info-button {
    background-color: white;
    border-radius: 8px;
    text-align: center;
    margin-top: 16px;
}

.info-button span {
    line-height: 24px;
}

#project-box {
    height: fit-content;
}

.project {
    border-radius: 32px;
    height: fit-content;
    overflow: hidden;
    animation: goup 2s ease-in-out backwards;
}

.project-title {
    font-size: 110%;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.project-detail {
    max-width: calc(100% - 64px);
    display: block;
}

#project-box img {
    height: 50px;
    float: right;
}

#pj1 {
    animation-delay: 0s;
}

#pj2 {
    animation-delay: 0.5s;
}

#pj3 {
    animation-delay: 1s;
}

#pj4 {
    animation-delay: 1.5s;
}

#pj5 {
    animation-delay: 2s;
}

#pj6 {
    animation-delay: 2.5s;
}

#dialog-box {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 1;
    overflow: hidden;
}

#dialog-bg {
    overflow: hidden;
    animation: dialog-open 0.3s ease-in-out both;
}

#close-dialog {
    display: block;
    float: right;
    font-size: 150%;
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    margin: calc(-10% - 56px) 0px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

#close-dialog:hover{
    background-color: gainsboro;
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(2px);
}

#dialog-content {
    background-color: white;
    height: 72vh;
    margin-top: -40px;
    padding: 8%;
    border-radius: 32px;
    position: relative;
}

.dialog-content-box {
    display: none;
    margin: auto;
    max-width: 1000px;
}