@import "./styles.css";


:root{
    --h-title-color:#3948d2;
}

.header {
    border-bottom: solid 2px var(--bs-blue);
    z-index: 10000;
}

.bg-bottom {
    background-color: var(--h-title-color);
}

/* Left: Name + moran6525 + Bio; Right: Photo，同一行不换行 */
.intro-block {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 2rem;
    padding-top: 7rem;
    padding-bottom: 2.5rem;
    background: linear-gradient(45deg, #fcfcfc, #ffffff);
}

.intro-left {
    flex: 1 1 auto;
    min-width: 0;
}

/* 姓名：与原来 section header h2 一致，不单独改字体 */
.name-title {
    font-family: "Kanit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    color: var(--h-title-color);
    font-size: 2.3rem;
    line-height: 4rem;
    font-weight: 400;
    margin: 0 0 0.25rem 0;
}

/* 正文与 section .main-body 完全一致 */
.intro-left .main-body {
    font-size: 1.3rem;
    font-weight: 200;
    line-height: 2.4rem;
}

#avatar {
    flex: 0 0 auto;
    line-height: 0;
}

#avatar img {
    display: block;
    height: auto;
    width: auto;
    max-height: 220px;
    max-width: 180px;
    object-fit: contain;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
    .intro-block {
        flex-wrap: wrap;
    }
}

section header h2{
    font-family: "Kanit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
    color: var(--h-title-color);
    font-size: 2.3rem;
    line-height: 4rem;
}

section .main-body{
    font-size: 1.3rem;
    font-weight: 200;
    line-height: 2.4rem;
}


.bg-gradient-primary-to-secondary-light {
    background: linear-gradient(45deg, #fcfcfc, #ffffff) !important;
}

.bg-gradient-primary-to-secondary-gray {
    background: linear-gradient(45deg, #f0f0f0, #f1f1f1) !important;
}



.on-top {
    position: relative;
    z-index: 10000;
}

.top-bg {
    background-position: center;
    background-size: fill;
    width: 100%;
    height: 100%;
}

.top-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}


.home-content {
    clear: both;
    padding-top: 1rem;
    margin-top: 0;
}


