-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
79 lines (70 loc) · 1.25 KB
/
style.css
File metadata and controls
79 lines (70 loc) · 1.25 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
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
section.carousel {
position: relative;
overflow: hidden;
width: 100%;
height: 75dvh;
}
.carousel__item {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
background-color: #14181c;
color: #fff;
opacity: 0;
transition: opacity 0.5s;
}
.carousel__item.active {
opacity: 1;
}
.carousel__item img {
width: 100%;
height: 100%;
object-fit: cover;
filter: blur(2px) brightness(0.6);
}
div.carousel__front-text {
position: absolute;
z-index: 1;
left: 0;
bottom: 0;
width: 40dvw;
padding: 0 0 8rem 3rem;
}
h1.carousel__title {
font-size: 5.5rem;
font-weight: 700;
margin-bottom: 5rem;
line-height: 1.3;
}
a.carousel__cta {
color: #fff;
background-color: var(--color-button-primary);
border: 2px solid var(--color-button-primary);
border-radius: 0.5rem;
padding: 1rem 3rem;
text-decoration: none;
transition: background-color 0.3s;
}
.gallery {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 20px;
}
.collections {
display: flex;
flex-direction: row;
gap: 20px;
}