*{
    margin: 0;
    padding: 0;
}
header{
    margin: 20px;
}
body{
    text-align: center;
    background-image: radial-gradient(rgba(74, 137, 219, 0.726) 5%, rgb(74, 165, 240) 50%, rgb(1, 70, 134) 100%);  
    background-repeat: no-repeat;
    background-size: 100%;
}
.img,.notice,.tips{
    position: relative;
    width: 84%;
    text-align: center;
    padding: 10px 8% 10px 8%;
}
.border{
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    border-color: rgba(0, 0, 255, 0.4);
    border-width: 3px;
    border-style: solid;
    overflow: hidden;
}
.img_div{
    position: relative;
    display: inline-block;
    width: 8%;
    padding-top: 8%; /*设置宽高相等 padding的百分比是基于父元素宽度来计算的内边距*/
    margin: 1% 3%;
    border-radius: 10px;
    overflow: hidden;
}
.img_div img{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
}
.img_div div{
    position: absolute;
    top:0;
    left: 0;
    font:30px bold ;
    letter-spacing: 3px;
    height: 100%;
    width: 100%;

    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-box-pack: center;
    -webkit-box-align: center;
}
.img_div a {
    position: absolute;
    text-decoration: unset;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    color:black;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 0;

    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-box-pack: center;
    -webkit-box-align: center; 
}

.img_div:hover a{
    animation: imgMask 0.5s forwards;
}
@keyframes imgMask{
    from {transform: translateY(50px);opacity: 0;}
    to {opacity: 1;}
}

textarea{
    font-size: 24px;
    background:none;
    border: none;
    overflow: hidden;
    width: 90%;
    height:300px;
    text-align: center;
    resize: none;
    color:white;
    line-height: 1.5em;
    cursor: text;
}
.notice h2{
    margin: 20px;
}
.notice p{
    text-align: right;
    margin-right: 30px;
    margin-bottom: 20px;
}

.tips table{
    width: 100%;
    border-spacing: 30px 15px;
}  
table td{
    line-height: 2em;
    font-size: 22px;
    padding: 5px;
    
}
td a{
    display: block;
    width: auto;
    height: 100%;
    text-decoration: unset;
    color: #000;
    background-color: rgba(78, 160, 253, 0.226);
}
td a:hover{
    background-color: royalblue;
    animation: slowchange 0.3s forwards;
}
@keyframes slowchange{
    from {background-color: rgba(78, 160, 253, 0.226);}
    to {background-color: royalblue;}
}

footer p,a{
    color: rgba(0, 0, 0, 0.5);
    text-decoration: unset;
}