-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
158 lines (148 loc) · 2.63 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
*{
margin:2px;
padding: 3px;
box-sizing: border-box;
}
html{
scroll-behavior: smooth;
}
.navbar{
display: flex;
justify-content: center;
align-items: center;
background-color: rgba(0,0, 0, 0.5);
position: sticky;
top: 0;
}
.navbar ul{
display:flex;
list-style: none;
margin:20px 0px;
}
.navbar ul li{
font-family: century;
font-size: 1.1rem;
font-weight: bold;
}
.navbar ul li a{
text-decoration: none;
color:white;
padding:8px 25px;
transition: all.5s ease;
}
.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.5);
height:840px;
justify-content: center;
align-items: center;
color: white
}
#home::before{
content: "";
position:absolute;
top: 0;
right:0;
background: url('pics1.jpg') no-repeat center center/cover;
height:900px;
width:100%;
z-index:-1;
opacity: .8;;
}
.main{
display: flex;
flex-direction: column;
border: 1px solid white;
align-items: center;
position:absolute;
top:30%;
right:10;
}
.headings{
font-family:century;
font-size:3rem;
text-align: center;
margin:40px 0px;
}
.btn{
padding: 10px 35px;
background-color: transparent;
border: 1px solid white;
color:white;
outline:none;
transition: .6s ease;
}
.btn:hover{
cursor:pointer;
background-color:black;
color:WHITE
}
#about{
display: flex;
flex-direction: column;
box-sizing:border-box;
padding:20px
}
#pic{
display:flex;
}
#pic img{
width:575px;
height:400px;
}
#intro{
display: flex;
flex-direction: column;
text-align: justify;
padding:10px;
}
#intro h2{
font-size: 2rem;
margin-bottom: 20px;;
}
#contact{
display:flex;
flex-direction: column;
box-sizing: border-box;
background-color: rgba(0,0, 0, 0.9);
color:white;
padding:20px;
}
.form{
display: flex;
flex-direction: column;
box-sizing: border-box;
align-items: center;
margin: 20px 0px;
}
.input{
padding:12px;
margin:15px;
width: 30%;
border: none;
outline:none;
}
#msg{
width:20%;
padding:10px;
margin:15px;
border:none;
outline:none;
}
#send{
padding:10px;
width:10%;
margin: 40px;
border:none;
outline:none;
}
#send:hover{
cursor:pointer;
box-shadow: 0 0 10px white;
}