aboutsummaryrefslogtreecommitdiff
path: root/src/app/movies/styles/search.module.css
blob: ea81e3ff3f08800b05eaf8ca6ce0251391b97452 (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 {
	margin: 0 0.4rem 0 0.4rem;
}

.InputContainer {
	display: flex;
	align-items: center;
	background-color: #121212;
	/* padding: 0.2rem; */
	width: 40vw;
	border-radius: 0.5rem;
}

.SearchIcon {
	margin-left: 0.4rem;
}

.InputContainer input {
	background-color: transparent;
	outline: none;
	border: none;
	padding: 0.4rem;
	font-family: "Lexend Deca", serif;
	margin-left: 0.2rem;
	font-size: large;
	color: white;
	width: 100%;
}

/* Search Results */

.MovieSearchResultsContainer {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	grid-gap: 0.5rem;
	align-items: center;
	margin: 0.2rem 0.2rem 0 0.2rem;
}

.MovieSearchResultsContainer:hover .MovieResultsPrev {
	opacity: 0.5;
}

.MovieSearchResultsContainer:hover .MovieResultsPrev:hover {
	opacity: 1;
	scale: 1.02;
}

.MovieResultsPrev {
	transition: opacity 200ms ease, scale 200ms ease;
}

.MovieEntry {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: white;
	backdrop-filter: blur(10px);
	padding: 0.4rem;
	background-color: #1212129f;
}

.MovieEntry img {
	border-radius: 0.5rem;
}

.MovieEntry p {
	margin: 0 0.2rem 0 0;
	font-size: 18px;
}

.NoResults {
	color: white;
	text-align: center;
}

@media screen and (max-width: 768px) {
	.InputContainer {
		width: 100%;
	}
}