File size: 1,654 Bytes
f5071ca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
95
96
97
98
99
100
101
102
103
104
105
106
107
.search-item {
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  cursor: pointer;
  margin-bottom: 15px;

  &:hover {
    .search-item__rating,
    .search-item__addtolist {
      visibility: visible;
    }
    .search-item__img {
      opacity: 0.5;
    }
  }

  .search-item__rating,
  .addtolist {
    &:hover {
      .search-item__img {
          opacity: 0.5;
        }
    }
  }

&__img-box {
  display: flex;
  width: 100%;
  justify-content: center;
}

&__img {
  width: 240px;
  height: 360px;
  cursor: pointer;
  transition: opacity 0.4s, ease 0.6s;

  @media screen and (max-width: 800px) {
    width: 200px;
    height: 320px;
  }
}

&__title {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

&__rating-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

&__rating {
  padding: 5px;
  background-color: black;
  display: inline-flex;
  align-items: center;
  margin-top: 15px;
  border-radius: 5px;
  position: absolute;
  top: 0%;
  visibility: hidden;
  z-index: 40;
  transition: all 0.1s;
}

&__rank {
  font-size: 1.1rem;
  font-weight: lighter;
  margin-left: 7px;
  margin-top: 3px;
  color: white;
}

&__ten {
  font-size: 14px;
  margin-top: 4px;
  color: white;
}

&__imdb {
  width: 50px;
}

&__star {
  width: 30px;
}

&__addtolist {
  position: absolute;
  color: white;
  bottom: 18%;
  text-shadow: 5px 5px 6px black;
  z-index: 40;
  cursor: pointer;
  visibility: hidden;
  display: flex;
  justify-content: center;
  width: 100%;
  align-items: center;
}
}