
#sidebar {
    height: 100vh;
    width:27%;
    min-width: 300px;
    background-image: url(https://i.pinimg.com/736x/b1/c5/2a/b1c52a3e71ba6bae05d13e90bfacbf0e.jpg);
    filter: saturate(130%) brightness(105%);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: fixed;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    left:-0.25em;
    top:-0.2em;
    padding: 1em; box-sizing: border-box;
    border-top-right-radius: 16px;
    gap: 5px;
}

#description {
    border-radius: 5px;
    height: auto;
    width:90%;
    box-sizing: border-box;
    padding: 1em;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: brightness(1.2) blur(0.9px) saturate(1.2);
    -webkit-backdrop-filter:brightness(1.2) blur(0.9px) saturate(1.2);
    text-shadow: 0 0 2px white;
}

#description em {
    font-style: normal;
    font-weight: bold;
}

#ad {
    width: 90%;
    height: 70px;
    background-size:100% 70px;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
    opacity: 1;
}

.buttons {
    width:90%;
    display: flex;
    justify-content: center;
}

button {
    background: linear-gradient(to bottom, rgb(218, 218, 218), rgb(160, 160, 160));
    border: 1px solid rgb(95, 95, 95);
    border-radius: 2px;
}

button:hover {
    background: linear-gradient(to bottom, rgb(193, 193, 193), rgb(110, 110, 110));
}

.dvd {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.dvd img {
    height:100%;
    display: block;
    object-fit: cover;
    transition: filter 0.3s ease;
    pointer-events: none;
}

.dvd:hover {
    transform: perspective(600px) rotateY(-18deg) scale(1.03);
}

.dvd::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    pointer-events: none;
}

.dvd:hover::before {
    animation: shine 0.75s ease forwards;
}

@keyframes shine {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

#list {
    width: 72%;
    height:100vh;
    overflow-y: scroll;
    position: fixed;
    right:0em;
    box-sizing: border-box;    
    top:-0.2em;
    background-color: transparent;
}

.gridbox {
position: relative;

    display: grid;
    grid-template-rows: 250px
                            400px
                            400px;
    grid-template-areas: 'img header header'
                        'desc desc img2'
                        'char char char';
    grid-template-columns: 20% 40% 35%;

    gap:10px;
    padding: 1em;
}

.gridbox2 {
        position: relative;
    
        display: grid;
        grid-template-rows: 250px
                                400px;
        grid-template-areas: 'img header header'
                            'desc desc img2';
        grid-template-columns: 20% 40% 35%;

        gap:10px;
        padding: 1em;
    }
    

#list::-webkit-scrollbar {
    width: 0px;
}

.gridbox > * {
    border-radius: 5px;
    box-sizing: border-box;
    position: relative;
}

.gridbox2 > * {
    border-radius: 5px;
    box-sizing: border-box;
    position: relative;
}

.headerimg {
    grid-area: img;
}

.header {
    grid-area: header;
}

#logo {
    width: 100%;
    position: absolute;
}

#synopsis {
    position: absolute;
    bottom:10px;
    right:10px;
    text-align: right;
}

.desc {
    padding:2em;
    grid-area: desc;
    background-size: cover;
    background-position: center;
}

    .desc .textbox {
        overflow-y: scroll;
        width: 100%;
        height: 100%;
        text-shadow: 0 0 2px white;
    }

.img2 {
    grid-area: img2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.box {
    padding: .5em;
    margin-bottom: 1em;
    box-sizing: border-box;
    width: 100%;
    background-color: white;
    border-radius: 5px;
    border: 1px solid black;
    line-height: 20px;
}

.box t {
    border: 1px solid black;
    padding: 0px 10px;
    border-radius: 5px;
    font-weight: bold;
    margin-right: 5px;
}

.char {
    grid-area: char;
}

.char #char {
    height: 450px;
    position: absolute;
}

@media (max-width: 600px) {
    #sidebar {
        padding: .5em; box-sizing: border-box;
        overflow-y: scroll;
    }
    
    #list {
        max-width: 300px;
        
    }
}

@media (min-width: 600px) and (max-width:1100px) {
    #sidebar {
        padding: .5em; box-sizing: border-box;
        max-width: 300px;
        width:30%;
    }
    
    #list {
        min-width: 300px;
        width:60%;
        max-width: 800px;
    }

}

