-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
110 lines (94 loc) · 1.65 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
.container {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
padding-left: 175px;
}
.container>img {
padding-right: 175px;
}
.error {
width: 50%;
text-align: left;
margin-right: 2rem;
}
h1 {
font-size: 36px;
font-weight: 600;
color: #2d2b2b;
margin-top: 2rem;
}
p {
font-size: 20px;
font-family: "eurostile", sans-serif;
margin-top: 1rem;
line-height: 1.5;
}
.cta {
font-weight: 500;
margin-top: 2rem;
}
.cta-back {
padding: 12px 20px;
font-size: 18px;
background-color: #333;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
transition: transform 0.3s ease, box-shadow 0.3s ease;
text-decoration: none;
position: relative;
overflow: hidden;
}
.cta-back::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.1);
transition: transform 0.3s ease;
}
.cta-back:hover::before {
transform: translateX(100%);
}
.cta-back:hover {
transform: scale(1.1);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.cta-back:active {
transform: scale(0.9);
transition: transform 0.2s ease;
}
.hero-img {
height: 70vh;
animation: MoveUpDown 2s ease-in-out infinite alternate-reverse both;
}
@keyframes MoveUpDown {
0% {
transform: translateY(10px);
}
100% {
transform: translateY(-10px);
}
}
@media (max-width: 768px) {
.container {
flex-direction: column;
}
.error {
width: 80%;
margin-right: 0;
margin-bottom: 2rem;
text-align: justify;
}
}