-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
139 lines (123 loc) · 2.39 KB
/
style.css
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
body {
margin: 0;
font-family: Arial, sans-serif;
background: linear-gradient(to bottom right, #6a11cb, #2575fc);
color: #ffffff;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
overflow: hidden;
}
.overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
z-index: -1;
}
.container {
display: grid;
grid-template-columns: 1fr 1fr;
max-width: 900px;
width: 100%;
padding: 30px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 15px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
gap: 20px;
}
.left {
display: flex;
flex-direction: column;
gap: 15px;
}
.left h2 {
font-size: 1.2rem;
border-left: 4px solid #ffffff;
padding-left: 10px;
}
button {
padding: 12px 20px;
font-size: 1rem;
font-weight: bold;
color: #ffffff;
background-color: #4a90e2;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s, transform 0.2s;
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}
button:hover {
background-color: #357ab8;
transform: translateY(-2px);
}
button:disabled {
background-color: #777;
cursor: not-allowed;
}
input[type="text"] {
width: 100%;
max-width: 300px;
padding: 10px;
font-size: 1rem;
color: #333;
background-color: rgba(255, 255, 255, 0.8);
border: 2px solid transparent;
border-radius: 8px;
outline: none;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
transition: border-color 0.3s, transform 0.2s;
}
input[type="text"]:focus {
border-color: #4a90e2;
transform: scale(1.02);
}
.videos {
display: flex;
flex-direction: column;
gap: 20px;
text-align: center;
}
.videos h3 {
font-size: 1.1rem;
margin-bottom: 10px;
color: #ffffff;
}
video {
border-radius: 10px;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
transition: transform 0.3s, box-shadow 0.3s;
}
video:hover {
transform: scale(1.05);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
@media (max-width: 768px) {
.container {
grid-template-columns: 1fr;
padding: 20px;
}
}
video {
width: 100%;
height: auto;
max-width: 400px;
max-height: 300px;
border-radius: 10px;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
transition: transform 0.3s, box-shadow 0.3s;
}
video:hover {
transform: scale(1.05);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
.videos {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}