body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url(../Images/语音.png);
    background-image: url(../Images/语音.png), linear-gradient(#fff,#FFC2DB);
    
    background-size: 20em;
    background-position: center center;
}
#pageContainer{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
header {
    display: flex;
    flex-direction: row;
    background-color: #ffffff;  
    border-left: #ffeaf5 0.2em solid;
    border-right: #ffeaf5 0.2em solid;
    border-bottom: #ffeaf5 0.2em solid;
    justify-content: space-between;
        align-items: center;
        padding: 10px;
    text-align:left
}
header img {
    height: 2em;
    width: 2em;
    margin: 10px;

}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav  li {
    display: inline;
    margin-right: 15px;
}

nav a {

    text-decoration: none;
    color: #ff8bc9;
    font-weight: bold;
    transition: 2s;
    text-decoration: underline;
    text-decoration-thickness: 0.2em;
    text-decoration-color: rgba(235, 109, 212, 0);
}
nav a.active {
    color: #f6d8e9;
    cursor: default;
    pointer-events: none;
}
nav a:hover:not(.active) {
   color: #903a5e;
   text-decoration: underline;
   text-decoration-thickness: 0.2em;
   text-decoration-color: rgba(235, 109, 212, 100);
}
main {
    flex-grow: 1;
    background-image: url(../Images/overload.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    min-height: 30vw;
    overflow: hidden;
}  
@keyframes Wiggleee{
    0% { transform: translate(-50%, -50%) rotate(0deg);
    animation-timing-function: ease-out; }

    25% { transform: translate(-50%, -50%) rotate(5deg); 
    animation-timing-function: ease-in-out }
    50% { transform: translate(-50%, -50%) rotate(0deg); 
    animation-timing-function: ease-out; }
    75% { transform: translate(-50%, -50%) rotate(-5deg); 
    animation-timing-function: ease-in; }
    100% { transform: translate(-50%, -50%) rotate(0deg); }
}

/* 首页 h1 动画 —— 仅限 page-home */
.page-home main h1 {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
    color: #000;
    text-shadow: 2px 2px 4px #b4b4b4;
    font-size: 20vw;
    white-space: nowrap;
    animation: Wiggleee 3s infinite;
    animation-iteration-count: infinite;
}

aside{
    background-color: #c2c2c2;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25em;
    padding: 0.25em;
}
aside section {
    background-color: #fff1f7;
    flex-grow: 1;
    border-radius: 0.5em;
    padding : 0.5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
#s1 {
    background-image: url(../Images/s1.png);
}
#s2 {
    background-image: url(../Images/s2.png);
}
#s3 {
    background-image: url(../Images/s3.png);
}
#s4 {
    background-image: url(../Images/s4.png);
}
aside h2 {
    text-align: left;
    margin: 0;
    color: #d8d8d8;
}
aside p {
    margin: 0;
    color: #d8d8d8;
    text-shadow: 0 0 0.2em #ffd3e9;
}
footer {
    background-color: #ff8bc9;
    color: rgb(0, 0, 0);
    padding: 1.5em 0.5em 1em 0.5em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
footer a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    
}
footer a:hover {
    color: #ca1287;
    text-decoration: underline;
    text-decoration-color: rgba(235, 109, 212, 100);
    text-decoration-thickness: 0.2em;
}

