File size: 1,439 Bytes
6660737
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#sidebar {
    width: 200px;
    position: fixed;
    height: 100%;
    left: 0;
    background-color: #f8f9fa;
    padding: 20px;
}

#sidebar ul {
    list-style-type: none;
    padding: 0;
}

#sidebar li {
    margin-bottom: 10px;
}

#sidebar a {
    text-decoration: none;
    color: #333;
}

#main-content {
    margin-left: 200px;
    padding: 40px;
}

.tile-element {
    display: inline-block;
    width: 200px;
    margin: 10px;
    cursor: pointer;
    vertical-align: top;
}

.tile-element img {
    width: 100%;
}

#side-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    background: white;
    border: 1px solid #ccc;
    padding: 20px;
    z-index: 1000;
    display: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

#side-panel.active {
    display: flex;
}

#close-button {
    align-self: flex-start;
    cursor: pointer;
    font-size: 20px;
}

#movie-details {
    padding-left: 20px;
    text-align: left;
    flex-direction: column;
}

#movie-poster {
    width: 30%;
    object-fit: contain;
}

#overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    z-index: 999;
}

#overlay.active {
    display: block;
    /* Show overlay when active */
}