-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathstyle.css
121 lines (106 loc) · 1.67 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body{
max-width: 1440px;
background-color: #F0F4F5;
margin: auto; /* Auto */
overflow: hidden;
}
nav{
height: 15vh;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 5%;
}
nav ul{
display: flex;
align-items: center;
}
nav ul li{
list-style: none;
margin-right: 50px;
font-weight: 600;
font-size: 18px;
}
nav ul li:first-child{
color: #20bc7e;
}
/* Hero Section */
main{
display: flex;
align-items: center;
justify-content: center;
/* height: 85vh; */
}
main section {
width: 50%;
}
.leftsection{
margin-left: 5%;
margin-top: 60px;
position: relative;
}
.topangle{
width: 30px;
}
.leftsection h1{
font-size: 70px;
line-height: 90px;
font-weight: 700;
}
.leftsection p {
color: #808080;
font-size: 18px;
margin: 20px 0;
}
.bottomangle{
width: 30px;
position: absolute;
right: 25px;
}
.stethoscope{
position: absolute;
width: 85%;
top: -60px;
right: -135px;
z-index: -1;
}
.mouse{
position: absolute;
right: -30px;
bottom :0;
width: 30px;
}
.leftsection button{
color: white;
background-color: #20bc7e;
padding: 15px 40px;
border: none;
border-radius: 40px;
font-size: 25px;
}
/* Right Side */
.greenbox, .yellowbox{
position: absolute;
right: 0;
}
.greenbox{
width: calc(100vw/3);
top:200px;
}
.yellowbox{
width: calc(100vw/3.5);
top: 250px;
right: -12px;
}
.doctor{
position: absolute;
right: 0;
bottom: 0;
height: 90%;
}