-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
130 lines (100 loc) · 2.07 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
/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
html, body{
background-color: black;
color: #fff;
margin: 0;
height: 100%;
/* font-family: 'Inter', sans-serif; */
font-family: 'Schibsted Grotesk', sans-serif;
}
.container{
height: 100%;
display: flex;
align-items: center;
}
.text-container{
display: block;
padding-left: 5%;
flex: 2;
align-items: start;
justify-content: start;
z-index: 1;
}
.title{
font-size: 5rem;
font-weight: 600;
}
.subtitle{
font-size: 1.5rem;
font-size: 400;
margin-top: 2.5%;
}
.image-container{
position:absolute;
display: flex;
align-items: end;
justify-content: end;
top: 0;
right: 0;
overflow: hidden;
max-height: 100%;
z-index: 0;
}
.container-image{
width: 80%;
opacity: 0.9;
}
.empty-container{
flex: 3;
/* overflow: hidden; */
height: 100%;
}
.button{
width: auto;
text-decoration: none;
margin-top: 5%;
background-color: #fff;
color: #000;
padding: 10px 20px;
display: flex;
align-items: center;
justify-content: stretch;
width: auto;
border-radius: 2rem;
border: none;
cursor: pointer;
transition: all 0.5s;
position: relative;
overflow: hidden;
}
.button-text{
text-decoration: none;
margin-right: 20px;
transition: all 0.5s;
font-size: 1.1rem;
font-weight: 600;
position: relative;
}
.button-icon{
position: relative;
transform: rotate(-30deg);
width: 2rem;
overflow: hidden;
transition: all 0.5s;
}
svg{
transition: all 0.5s;
}
.button:hover
{
background-color: #1f1f1f;
color: #fff;
}
.button:hover .button-icon {
transform: rotate(0deg);
transform: translateX(5px);
}
.button:hover .button-icon svg{
fill: #fff;
}