@@ -51,10 +51,10 @@ body {
5151 background-color : # e3e6f3 ;
5252 padding : 20px 80px ;
5353 box-shadow : 0 5px 15px rgba (0 , 0 , 0 , 0.06 );
54+ z-index : 999 ;
5455 position : sticky;
55- top : 0 ;
56+ top : 0 ;
5657 left : 0 ;
57- z-index : 999 ;
5858}
5959
6060.header-list {
6969 list-style-type : none;
7070 padding : 0 20px ;
7171 position : relative;
72-
7372}
7473.header-list-nav ul a {
7574 text-decoration : none;
8281.header-list-nav ul a .active {
8382 color : # 088178 ;
8483 content : "" ;
85-
8684}
8785.header-list-icon a {
8886 color : # 1a1a1a ;
@@ -94,48 +92,96 @@ body {
9492 color : # 088178 ;
9593}
9694.header-list-nav ul li a : hover ::after ,
97- .header-list-nav ul li a .active ::after {
98- content : "" ;
99- width : 30% ;
100- height : 2px ;
101- background : # 088178 ;
102- position : absolute;
103- bottom : -4px ;
104- left : 20px ;
95+ .header-list-nav ul li a .active ::after {
96+ content : "" ;
97+ width : 30% ;
98+ height : 2px ;
99+ background : # 088178 ;
100+ position : absolute;
101+ bottom : -4px ;
102+ left : 20px ;
105103}
106104
107105/* home main styles */
108106
109107/* hero section styles */
110108
111- section . hero {
109+ section # hero {
112110 background-image : url (images/hero4.png);
113111 width : 100% ;
114112 height : 90vh ;
115113 background-size : cover;
116114 background-position : top 25% right 0 ;
117115 display : flex;
118116 flex-direction : column;
119- align-items : flex-start;
117+ align-items : flex-start;
120118 justify-content : center;
121119 padding : 0 80px ;
122120}
123121
124- section . hero h4 {
122+ # hero h4 {
125123 padding-bottom : 15px ;
126124}
127- section .hero h1 {
128- color : # 088178 ;
129- }
130- section .hero button {
131- background-color : transparent;
132- background-image : url (images/button.png);
133- background-repeat : no-repeat;
134- background-size : cover;
135- border : 0 ;
136- cursor : pointer;
137- font-size : 15px ;
138- font-weight : 700 ;
139- color : # 088178 ;
140- padding : 14px 65px 14px 65px ;
141- }
125+ # hero h1 {
126+ color : # 088178 ;
127+ }
128+ # hero button {
129+ background-color : transparent;
130+ background-image : url (images/button.png);
131+ background-repeat : no-repeat;
132+ background-size : cover;
133+ border : 0 ;
134+ cursor : pointer;
135+ font-size : 15px ;
136+ font-weight : 700 ;
137+ color : # 088178 ;
138+ padding : 14px 65px 14px 65px ;
139+ }
140+
141+ /* feature section styles */
142+ # features {
143+ display : flex;
144+ align-items : center;
145+ justify-content : space-around;
146+ }
147+ # features .f-box {
148+ width : 180px ;
149+ text-align : center;
150+ padding : 25px 15px ;
151+ box-shadow : 20px 20px 34px rgba (0 , 0 , 0 , 0.03 );
152+ border : 1px solid # cce7d0 ;
153+ border-radius : 4px ;
154+ margin : 15px 0 ;
155+ transition : box-shadow 0.3s ;
156+ }
157+ # features .f-box : hover {
158+ box-shadow : 10px 10px 54px rgba (0 , 0 , 0 , 0.1 );
159+ }
160+ # features .f-box img {
161+ width : 100% ;
162+ margin-bottom : 10px ;
163+ }
164+ # features .f-box h6 {
165+ display : inline-block;
166+ padding : 9px 8px 6px 8px ;
167+ line-height : 1 ;
168+ font-size : 14px ;
169+ border-radius : 4px ;
170+ color : # 088178 ;
171+ background-color : # fddde4 ;
172+ }
173+ # features .f-box : nth-child (2 ) h6 {
174+ background-color : # cdebbc ;
175+ }
176+ # features .f-box : nth-child (3 ) h6 {
177+ background-color : # d1e8f2 ;
178+ }
179+ # features .f-box : nth-child (4 ) h6 {
180+ background-color : # cdd4f8 ;
181+ }
182+ # features .f-box : nth-child (5 ) h6 {
183+ background-color : # f6dbf6 ;
184+ }
185+ # features .f-box : nth-child (6 ) h6 {
186+ background-color : # fff2e5 ;
187+ }
0 commit comments