-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHEADER.CSS
More file actions
116 lines (98 loc) · 1.76 KB
/
Copy pathHEADER.CSS
File metadata and controls
116 lines (98 loc) · 1.76 KB
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
.hero {
position: relative;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: white;
background: rgba(0, 0, 0, 0.5);
}
.hero .slider-item {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
opacity: 0;
visibility: hidden;
transition: opacity 0.6s ease-in-out, visibility 0.6s;
z-index: 1;
}
.hero .slider-item.active {
opacity: 1;
visibility: visible;
}
.hero .slider-bg {
position: absolute;
inset: 0;
transform: scale(1.1);
pointer-events: none;
z-index: -1;
filter: brightness(1,2); /* Adjusted brightness */
}
.hero-content {
max-width: 700px;
padding: 20px;
background: rgba(0, 0, 0, 0.7);
border-radius: 12px;
backdrop-filter: blur(10px);
}
.hero-title {
font-size: 3rem;
font-weight: bold;
margin-bottom: 10px;
text-transform: uppercase;
}
.hero-text {
font-size: 1.2rem;
margin-bottom: 20px;
opacity: 0.9;
}
.hero-buttons {
display: flex;
gap: 12px;
justify-content: center;
}
.btn {
padding: 14px 28px;
font-size: 1rem;
font-weight: bold;
text-transform: uppercase;
border-radius: 8px;
transition: all 0.3s ease;
border: none;
cursor: pointer;
}
.btn:hover {
transform: scale(1.1);
}
.btn-primary {
background: #ff4d00;
color: white;
}
.btn-primary:hover {
background: #cc3c00;
}
.slider-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(255, 255, 255, 0.3);
border: none;
padding: 10px;
cursor: pointer;
font-size: 1.5rem;
border-radius: 50%;
transition: all 0.3s;
}
.slider-btn:hover {
background: rgba(255, 255, 255, 0.7);
}
.slider-btn.prev {
left: 20px;
}
.slider-btn.next {
right: 20px;
}