aboutsummaryrefslogtreecommitdiff
path: root/src/app/movies/styles/pop_trend.module.css
blob: 362debd21343fc2d858f2c4898e70c6c50892b6f (plain) (blame)
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
.Main {
	color: white;
	margin-left: 0.2rem;
	margin-right: 0.2rem;
}

.Main h2 {
	color: white;
	margin: 0.4rem 0 0 0;
	text-transform: uppercase;
	font-size: 30px;
}

.MovieContainer {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	grid-gap: 0.5rem;
	align-items: center;
}

.MovieContainer::-webkit-scrollbar {
	height: 0;
}

.MovieContainer:hover .MovieEntryPrev {
	opacity: 0.5;
}

.MovieContainer:hover .MovieEntryPrev:hover {
	opacity: 1;
	transform: translateY(-5px) scale(1.02);
	
}

.MovieEntryPrev {
	transition: opacity 200ms ease, transform 200ms ease;
}

.MovieEntry {
	background-color: #1f1f1fc2;
	padding: 0.5rem;
	/* border-radius: 0.5rem; */
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	cursor: pointer;
	backdrop-filter: blur(10px);
	border-radius: 0.5rem;
	overflow: hidden;
}

.MovieEntry img {
	border-radius: 0.5rem;
	box-shadow: 0px 0px 10px 8px rgb(32, 32, 32);
}


.MovieEntry p {
	width: 160px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-align: center;
	margin: 0.3rem 0 0 0;
}

@media screen and (max-width: 768px) {
	.Main h1 {
		font-size: 24px;
		text-align: start;
	}

	.MovieContainer {
		display: flex;
		overflow-x: auto;
		overflow-y: hidden;
	}
}