* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
    font-size: 16px;
}
.content{
    position: relative;
    min-height: 860px;
}
#container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
#main {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: auto;
}
.list {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}
.list .item {
    width: calc(50% - 20px);
    margin: 10px;
    position: relative;
}
.list .item .poster {
    width: 100%;
    border-radius: 10px;
    margin: 0;
    padding: 0;
}
.list .item .name {
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 24px;
    text-align: center;
}
.control {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    z-index: 12;
    /*position: absolute;*/
    /*bottom: 15px;*/
    width: 100%;
}
.control button {
    margin: 0 10px;
    padding: 5px 10px;
    font-size: 26px;
}
#modal {
    position: absolute;
    top: 100vh;
    left: 50px;
    width: calc(100% - 100px);
    /*max-height: calc(100% - 100px);*/
    overflow: initial;
    padding: 20px;
    background-color: #5C6BC0;
    z-index: 15;
    opacity: 0;
    transition: none;
    text-align: center;
}
#modal canvas,
#modal img {
    max-width: 100%;
    max-height: 100%;
}
#modal .tips {
    font-size: 22px;
    color: #f8f8f8;
    text-align: center;
}
#modal .close {
    position: absolute;
    top: -16px;
    right: -16px;
    background-color: #5C6BC0;
    background-image: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB3aWR0aD0nMjRweCcgaGVpZ2h0PScyNHB4JyB2aWV3Qm94PScwIDAgMjQgMjQnIHZlcnNpb249JzEuMScgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyB4bWxuczp4bGluaz0naHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayc+PHRpdGxlPueUu+advzwvdGl0bGU+PGcgaWQ9J+eUu+advycgc3Ryb2tlPSdub25lJyBzdHJva2Utd2lkdGg9JzEnIGZpbGw9J25vbmUnIGZpbGwtcnVsZT0nZXZlbm9kZCc+PHBvbHlnb24gaWQ9J+i3r+W+hCcgZmlsbD0nI0ZGRkZGRicgZmlsbC1ydWxlPSdub256ZXJvJyBwb2ludHM9JzE2IDguOTUwNjcgMTUuMDQ5NCA4IDEyIDExLjA0OTY3IDguOTUwNTkgOCA4IDguOTUwNjcgMTEuMDQ5NDEgMTIuMDAwMzQgOCAxNS4wNDkzIDguOTUwNTkgMTYgMTIgMTIuOTUxIDE1LjA0OTQgMTYgMTYgMTUuMDQ5MyAxMi45NTA1OSAxMi4wMDAzNCc+PC9wb2x5Z29uPjwvZz48L3N2Zz4=);
    background-position: 50%;
    background-size: cover;
    background-repeat: no-repeat;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    cursor: pointer;
}
