body {
    padding:0px;
}


#sidebar input {
    width:90%;
    border-radius: 5px;
    border: 1px solid grey;
}

#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;
    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 {
    color: black;
    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;
}

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));
}

#list {
    width: 73%;
    position: absolute;
    right:0;
    top:-0.2em;
    background-color: transparent;
}

.gridlist {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 1em;
    box-sizing: border-box;
}

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

.dvd img {
    width: 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%;
    }
}

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

    .gridlist {
        grid-template-columns: repeat(2, 1fr);
    }
}

@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;
    }
    .gridlist {
        grid-template-columns: repeat(3, 1fr);
    }
}

  