-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
155 lines (144 loc) · 2.66 KB
/
styles.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins',sans-serif;
}
html {
scroll-behavior: smooth;
}
.navbar {
display: flex;
justify-content: right;
align-items: center;
background-color: rgba(0, 0, 0, 0.848);
position: sticky;
top: 0;
}
.navbar img {
display: flex;
align-items: flex-start;
height: 50px;
width: 50px;
border-radius: 50px;
}
.navbar ul {
display: flex;
list-style: none;
margin: 20px 0px;
}
.navbar ul li {
font-family: 'Poppins',sans-serif;
font-size: 1.1rem;
font-weight: bold;
}
.navbar ul li a {
text-decoration: none;
color: white;
padding: 8px 25px;
transition: all 0.5s ease;
border-radius: 5%;
}
.navbar ul li a:hover {
background-color: white;
color: black;
box-shadow: 0 0 10px white;
}
#home {
display: flex;
flex-direction: column;
background-color: rgba(0, 0, 0, 0);
height: 840px;
justify-content: center;
align-items: center;
}
#home::before {
content: "";
position: absolute;
top: 0;
right: 0;
background: url(Home.jpg) no-repeat center center/cover;
height: 895px;
width: 100%;
z-index: -1;
opacity: 0.8;
}
.main {
display: flex;
flex-direction: column;
align-items: center;
position: absolute;
top: 50%;
}
.headings {
font-family: sans-serif;
font-size: 3rem;
text-align: center;
margin: 40px 0px;
}
.btn {
padding: 10px 20px;
background-color: transparent;
border: 1px solid white;
color: white;
outline: none;
transition: 0.6s ease;
}
.btn a {
text-decoration: none;
color: black;
}
.btn:hover {
cursor: pointer;
background-color: white;
color: black;
box-shadow: 0 0 5px white, 0 0 10px white, 0 0 15px white;
font-weight: bold;
}
#about {
display: flex;
flex-direction: column;
box-sizing: border-box;
padding: 20px;
margin-bottom: 50px;
height: 840px;
background: url("aboutme.jpg") no-repeat center center/cover;
height: 800px;
width: 100%;
}
#intro {
display: flex;
flex-direction: column;
text-align: justify;
padding: 10px;
}
#intro h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 20px;
}
#intro p {
font-size: 20px;
line-height: 27px;
letter-spacing: 1px;
}
#contact {
font-family: sans-serif;
display: flex;
flex-direction: column;
box-sizing: border-box;
background-color: rgba(0, 0, 0, 0.9);
color: white;
padding: 20px;
text-align: center;
bottom: 0;
width: 100%;
}
.img a img {
height: 40px;
width: 40px;
}
#send:hover {
cursor: pointer;
box-shadow: 0 0 10px white;
}