-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhero.css
More file actions
131 lines (129 loc) · 2.69 KB
/
hero.css
File metadata and controls
131 lines (129 loc) · 2.69 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: poppins, sans-serif;
text-shadow: 0.5px 0.5px 0.5px gray;
}
.hero-section {
display: flex;
justify-content: space-between;
padding: 20px;
margin-top: 3rem;
height: 65vh;
}
@media screen and (max-width: 450px) {
.hero-section {
flex-direction: column;
align-items: center;
width: 100vw;
height: 70vh;
}
}
.left {
width: 55%;
margin-top: 10px;
animation: slidfromleft 1s ease forwards;
opacity: 0;
}
@keyframes slidfromleft {
0% {
opacity: 0;
transform: translateX(-100%);
}
100% {
opacity: 1;
transform: translateX(0);
}
}
@media screen and (max-width: 450px) {
.left {
margin-top: -1rem;
width: 100vw;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
}
p {
margin-top: 15px;
font-size: 18px;
color: #00000088;
padding: 10px;
}
h1 {
font-size: 35px;
color: rgba(0, 0, 0, 0.709);
font-weight: 600;
}
@media screen and (max-width: 450px) {
h1 {
font-size: 20px;
text-align: center;
}
p {
text-align: center;
font-size: 15px;
margin-top: 10px;
}
}
.custom-btn {
display: flex;
justify-content: center;
align-items: center;
margin-top: 20px;
width: 230px;
height: 55px;
color: #fff;
border-radius: 5px;
padding: 10px 25px;
font-size: 18px;
font-weight: 500;
background: transparent;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
gap: 5px;
box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5),
7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
outline: none;
}
.btn-1 {
background: rgb(96, 9, 240);
background: linear-gradient(
0deg,
rgba(96, 9, 240, 1) 0%,
rgba(129, 5, 240, 1) 100%
);
border: none;
}
.btn-1:before {
height: 0%;
width: 2px;
}
.btn-1:hover {
box-shadow: 4px 4px 6px 0 rgba(255, 255, 255, 0.5),
-4px -4px 6px 0 rgba(116, 125, 136, 0.5),
inset -4px -4px 6px 0 rgba(255, 255, 255, 0.2),
inset 4px 4px 6px 0 rgba(0, 0, 0, 0.4);
}
@media screen and (max-width: 450px) {
.custom-btn {
}
}
.right {
width: 40%;
}
@media screen and (max-width: 450px) {
.right {
width: 100%;
margin-top: 30px;
}
}
.right img {
border-radius: 5px;
box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px,
rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
}