aboutsummaryrefslogtreecommitdiff
path: root/src/app/movies/styles/pop_trend.module.css
blob: 2e9ebd9c74dabb15cf1f4654f4b3e1e6105ad8bd (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
80
81
.Main {
	color: white;
	margin-left: 0.2rem;
	margin-right: 0.2rem;
}

.Main h1 {
	margin: 0 0 0.5rem 0;
	text-align: center;
	color: transparent;
	background: linear-gradient(90deg,
			var(--neon-green) 40%,
			var(--light-green) 60%,
			var(--neon-yellow) 80%,
			var(--soft-purple) 100%);
	background-size: 60% 50%;
	background-clip: text;
}

.MovieContainer {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 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;
	scale: 1.015;
}

.MovieEntryPrev {
	transition: opacity 200ms ease, scale 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);
}

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