* {
    margin: 0;
    padding: 0;
}

body,
html {
    width: 100%;
    height: 100%;
    user-select: none;
}

.main {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 800px;
    border-radius: 12px;
    background: white;
    background: linear-gradient(-45deg, #EAD6EE, #A0F1EA);
    box-shadow: 0 0 8px 1px rgb(149, 149, 149);
    padding-top: 30px;
}

.main>h1 {
    text-align: center;
    cursor: default;
    color: rgb(54, 164, 164);
    letter-spacing: 2px;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 600px;
    display: flex;
    justify-content: space-around;
    align-content: flex-start;
    flex-wrap: wrap;
    overflow-y: auto;
    padding: 10px 0;
    transition: all 1s;
}

/* 滚动条美化 */
.content::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 8px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}

.content::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 5px;
    background: linear-gradient(#00C9A7,#21bfa5);
}

.content::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    background: transparent;
}

.content>div {
    width: 300px;
    height: 200px;
    background: linear-gradient(-45deg,#0081CF,#0089BA,#008E9B,#008F7A);    
    margin-bottom: 30px;
    border-radius: 20px;
    box-shadow: 0 0 2px 2px rgb(191, 191, 191);
    cursor: pointer;
    transition: all .5s;
}
.content>div>h1{
    text-align: center;
    line-height: 200px;
    /* color: #24bca3; */
    font-size: 24px;
    font-weight: 500;
}
.content>div:hover{
    transform: scale(1.04);
}
.copyright {
    cursor: default;
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 5%;
}
.content>div:nth-child(1){
    background: url(https://blog.iwake.top/wp-content/uploads/2022/03/wallhaven-1kmk39-scaled.jpg) no-repeat center;
    background-size: cover;
}
.content>div:nth-child(2){
    background: url(https://blog.iwake.top/wp-content/uploads/2022/03/wallhaven-3z32j3.jpg) no-repeat center;
    background-size: cover;
}
.content>div:nth-child(3){
    background: url(https://blog.iwake.top/wp-content/uploads/2022/04/wallhaven-dpzww3-scaled.jpg) no-repeat center;
    background-size: cover;
}
.content>div:nth-child(4){
    background: url(https://blog.iwake.top/wp-content/uploads/2022/03/wallhaven-g75r7d.jpg) no-repeat center;
    background-size: cover;
}
.content>div:nth-child(5){
    background: url(https://blog.iwake.top/wp-content/uploads/2022/03/wallhaven-e71pqk-scaled.jpg) no-repeat center;
    background-size: cover;
}
.content>div:nth-child(6){
    background: url(https://blog.iwake.top/wp-content/uploads/2021/01/wallhaven-e71v2l.jpg) no-repeat center;
    background-size: cover;
}
@media (max-width:900px){
    .main{
      width: 100vw;
      height: 100vh;
    }
    .main>h1{
        display: none;
    }
    .content{
        height: 80%;
        width: 100%;
    }
    .content>div{
        width: 260px;
        height: 180px;
    }
    .content>div>h1{
        line-height: 180px;
        font-size: 20px;
    }
}