-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
159 lines (159 loc) · 2.93 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Josefin Sans', sans-serif;
}
.hero{
height: 100vh;
width: 100%;
background-image: url(./images/portrait01.jpg);
background-size: cover;
background-position: center;
}
nav{
display: flex;
align-items: center;
justify-content: space-between;
padding-top: 45px;
padding-left: 4%;
padding-right: 4%;
}
.logo{
color: whitesmoke;
font-size: 35px;
letter-spacing: 1px;
cursor: pointer;
}
span{
color: #f9004d;
}
nav ul li{
list-style: none;
display: inline-block;
padding: 10px 15px;
}
nav ul li a{
color: whitesmoke;
text-decoration: none;
font-weight: bold;
text-transform: capitalize;
}
nav ul li a:hover{
color: #f9004d;
transition: .4s;
}
.btn {
background-color: #f9004d;
color: whitesmoke;
text-decoration: none;
border: 2px solid transparent;
font-weight: bold;
padding: 4px 25px;
border-radius: 30px;
transition: transform .4s;
}
.btn:hover{
transform: scale(1.2);
}
.content{
position: absolute;
top: 50%;
left: 8%;
transform: translateY(-50%);
}
h1 {
color: whitesmoke;
margin: 20px 0px 20px;
font-size: 35px;
}
h3{
color: whitesmoke;
font-size: 18px;
margin-bottom: 50px;
}
h4{
color: #fcfc;
letter-spacing: 2px;
font-size: 16px;
}
.newsletter form{
width: 380px;
max-width: 100%;
position: relative;
}
.newsletter form input:first-child{
display: inline-block;
width: 100%;
padding: 14px 130px 14px 15px;
border: 2px solid #f9004d;
outline: none;
border-radius: 30px;
}
.newsletter form input:last-child{
position: absolute;
display: inline-block;
outline: none;
border: none;
padding: 10px 30px;
border-radius: 30px;
background-color: #f9004d;
color: whitesmoke;
box-shadow: 0px 0px 5px #000, 0px 0px 15px #858585;
top: 6px;
right: 6px;
}
.about{
width: 100%;
padding: 85px 0px 0px 0px;
background-color: black;
}
.about img{
height: auto;
width: 300px;
}
.about-text{
width: 550px;
}
.main{
width: 80vw;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-around;
}
.about-text h2{
color: whitesmoke;
font-size: 50px;
text-transform: capitalize;
margin-bottom: 20px;
}
.about-text h5{
color: whitesmoke;
letter-spacing: 2px;
font-size: 22px;
margin-bottom: 25px;
text-transform: capitalize;
}
.about-text p{
color: #fcfc;
letter-spacing: 1px;
line-height: 28px;
font-size: 18px;
margin-bottom: 45px;
}
button{
background-color: #f9004d;
color: whitesmoke;
text-decoration: none;
border: 2px solid transparent;
font-weight: bold;
padding: 13px 30px;
border-radius: 30px;
transition: .4s;
}
button:hover{
background-color: transparent;
border: 2px solid #f9004d;
cursor: pointer;
}