body {
    width: 60%;
    margin: 10px auto;
    padding: 7px;
    font-family: Vedana,Arial,"Arial Black",serif;
    font-size: medium;
    color: rgb(0, 0, 0);
    font-weight: bold;
    background-image: url(../images/back.jpg);
    background-size: 20%;
    line-height: 1.5em;
   }
   
   main{
    line-height: 1.6em;
   }
   aside{
    background-image: url(../images/绿白.png);
    background-size: 20%;
   }

    h2,p,header,article,ul#album{
     margin-bottom: 10px;
     padding: 7px;
   }
    header,footer{
	background-image: url(../images/back2.jpg);
    font-family:STXinwei;
    font-size: x-large;
    }
    
    .b,footer,header{
        text-align: center;
    }
    
    .first{
        display: grid;
        grid-template-columns: auto auto auto;
        justify-items: center;
        justify-content: center; 
        align-content: center; 
        
    }
    .head{
        text-align: center;
        max-width: 35%;
    }
    .zs{
        justify-self: start;
        max-width: 20%;     
    }

    .ys{
        justify-self: end;
        max-width: 20%;
    }

   .last{
        display: grid;
        grid-template-columns: auto auto auto;
        justify-content: center; 
        align-content: end;
    }

    .zx{
        justify-self: start;
        align-self: end;
        max-width: 20%;     
    }

    .yx{
        justify-self: end;
        align-self: end;
        max-width: 20%;
    }
    
    .wen{
        display: grid;
        grid-template-columns: auto auto auto;
        justify-items: center;
        justify-content: center;
        align-items: center;
    }
    .LH{
        max-width: 100%;
    }
    
   
    article{
        background-size: 30%;
    }
    .xia{
        background-image: url(../images/绿白.png);
        background-size: contain;
    }
   
    .b{
        font-family: STXingkai;
        font-size: larger;
        font-weight: lighter;
    }

    .w{
        font-family: STZhongSong;
        font-size: x-large;
    }
    
    .e{
        color: #000000;
    }

    .w{
        color: #000000;
        text-align: center;
    }
    footer{
        margin-bottom: 0px;
        padding: 7px;
        font-size: large;
    }
    h2{
        color: #000000;
        font-weight: bolder;
        font-size: 130%;
        text-shadow: 0 0 1px #efe5d0;
    }
    .d{
        margin-bottom: 0px;
        border-bottom: 2px inset #ccc;
    }
    .h{
        text-align: center
     }
    a:link, a:hover, a:visited {
        text-decoration: none;}

        a:link {
            color: #efe5d0;
            border-bottom: thin dotted #efe5d0;
        }
        
        a:visited {
            color: #efe5d0;
            border-bottom: thin dotted #efe5d0;
        }
    
        .stop a:hover,.stop a:link,.stop a:visited{
            display: block;
            color: #8c8c8c;
            text-shadow: 1px 1px 4px #efe5d0;
            cursor: default;
        }

    .container{
        display: flex;
        flex-flow: row nowrap;
        gap: 10px;
    }
    main{
        flex-grow: 2;
        flex-shrink: 1;
        flex-basis: auto;
    }
    .xia{
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: auto;
    }
    
   
       nav ul{
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
       }
       nav ul li{
        flex: 1;
       }
       nav ul li a:link, nav ul li a:hover, nav ul li a:visited{
        display: block; 
        color: #000000;
        padding: 15px;
        text-shadow: 1px 1px 4px #efe5d0;
       }
       nav li:nth-child(n+2){
        border-left: 3px outset rgba(0, 0, 0, 0.4);
       }
        nav li{
            border-top: 3px inset rgba(0, 0, 0, 0.4);
        }
       nav a:hover{
        background-color: rgba(0,0,0,.3);
       }
       nav ul li a:link, nav ul li a:hover, nav ul li a:visited{
       border-bottom: none;
       }
       nav a:hover{
        font-weight: normal;
       }
    
       .dropdown{ 
        position:relative;
       }
       .dropdown-content{ 
        display:none;
        position:absolute;
        z-index: 999;
        background-image: url(../images/back2.jpg);
    }
    .dropdown:hover .dropdown-content{
     display:block; 
     background-color:#4C5B34;
     box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2); 
     width:100%;}
    
     img {
        max-width: 100%;
    }

    .poem{
        background-color: #efe5d0;
        background-image: url(../images/折白.png);
        background-size: 30%;
        padding: 25px;
        padding-left: 80px;
        padding-right: 80px;
        padding-bottom: 10px;
        color: #444;
        line-height: 2.0em;
        border: 2px solid #000000;
        font-style: italic;
        border-radius: 20px;
    }

    .end{
        text-align: right;
        padding: 0px;
    }

ul#album{
    background-color: #efe5d0;
    display: grid;
    grid-template-columns: auto auto auto auto;
    align-items: center;
    justify-content: center;
    justify-items: center;
    padding: 60px;
    gap: 60px;
    background-image: url(../images/绿白.png);
    
}
ul#album li{
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    opacity: .8;
    
}
ul#album {
    text-align: center;
}
ul#album li a img{
    width: 100%;
}
ul#album li a p{
    font-size: 95%;
}
ul#album li:hover{
    opacity: 1;
    box-shadow: 2px 2px 2px 0px rgba(48, 48, 48, 0.3);
    transition: all 0.7s ease;
}
ul#album li a:link, ul#album li a:visited, ul#album li a:hover{
    display: block;
    margin-bottom: 0px;
    padding: 0px;
       
}

ul#album li:nth-of-type(odd):hover{
    transform: rotate(3deg);
    transition: all .3s ease-in-out;
}

ul#album li:nth-of-type(even):hover{
    transform: rotate(-3deg);
    transition: all .3s ease-in-out;
}

button{
    font-family: FZYaoti;
    padding: 5px;
    background-image: url(../images/折白.png);
    background-size: 100%;
    border: 2px solid #000000;
    font-size: 30px;
    border-radius: 8px;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    box-shadow: 0 1px 2px #000000,0 2.5px 5px #000000;
    cursor: pointer;
    width: 50%;
}

button:hover{
    color: rgb(255, 0, 0);
    box-shadow: 0 1.5px 2px 0 #000000,0 1.5px 5px 0 #000000;
}

button:active{
    box-shadow: 0 5px #666;
    transform: translateY(6px);
}

.but{
    display: grid;
    grid-template-columns: auto auto;
}

.butt:hover{
    color: blue;
}

.bu{
    text-align: right;
}

[data-tips]{
    position: relative;
    cursor: help;
}

[data-tips]:after{
    content: attr(data-tips);
    position: absolute;
    top: 0;
    left: 50%;
    width: 100px;
    color: #ffffff;
    background-color: #000000;
    transform: translate(-50%,-90%);
    padding: 5px 10px;
    font-size: 14px;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: all .3s;
    font-family: KaiTi;
    border-radius: 8px;
}

[data-tips]:hover::after{
    visibility: visible;
    opacity: 1;
    transform: translate(-50%,-120%);
}


@media only screen and (max-width:800px){
    body {
        width: 95%;
        margin: 10px auto;
    }
    .container{
        display: block;
    }
}
@media only screen and (max-width: 600px) {
 
    nav {
    margin-top:1px;
    }
    nav ul{
    flex-flow: column;
    }
    nav li:nth-child(n+2){
    border-left-style: none;
    border-top: 1px solid rgba(255,255,255,.7);
    }
   }
    

    
   @media only screen and (min-width: 600px) {}
    
    
   @media only screen and (min-width: 768px) {}
    

    
   @media only screen and (min-width: 992px) {}
    
    
   @media only screen and (min-width: 1200px) {

   }
   @media only screen and (max-width: 600px) {
    ul#album{
        grid-template-columns: auto;
       }

       .last{
        grid-template-columns: auto 300px auto;
    }
}


@media only screen and (min-width: 600px) {
    ul#album li{
        flex-basis: calc(100% / 2 - 10px);
       }
}


@media only screen and (min-width: 768px) {
   ul#album li{
    flex-basis: calc(100% / 2 - 10px);
   }
   
}


@media only screen and (min-width: 992px) {
    ul#album li{
        flex-basis: calc(100% / 3 - 20px);
       }
   
}


@media only screen and (min-width: 1200px) {}