5
5
box-sizing : border-box;
6
6
font-family : "Poppins" , sans-serif;
7
7
}
8
-
9
8
body {
10
- height : 100 vh ;
11
- /* padding: 10px; */
9
+ padding-top : 70 px ;
10
+ min-height : 100 vh ;
12
11
background : linear-gradient (135deg , # 5cff68, # 05caff );
12
+ background-repeat : no-repeat;
13
+ }
14
+ /* custom scrollbar */
15
+ ::-webkit-scrollbar {
16
+ width : 11px ;
17
+ }
18
+
19
+ ::-webkit-scrollbar-track {
20
+ background-color : transparent;
21
+ }
22
+
23
+ ::-webkit-scrollbar-thumb {
24
+ background-color : # 4c4c4c ;
25
+ border-radius : 20px ;
26
+ border : 3px solid transparent;
27
+ background-clip : content-box;
13
28
}
14
29
30
+ ::-webkit-scrollbar-thumb : hover {
31
+ background-color : # 7d7d7d ;
32
+ }
15
33
.navbar {
16
34
overflow : hidden;
17
- position : relative ;
35
+ position : fixed ;
18
36
background-color : # 1b2731 ;
37
+ top : 0 ;
38
+ width : 100% ;
39
+ height : 70px ;
40
+ display : grid;
41
+ justify-content : center;
42
+ align-items : center;
43
+ z-index : 200 ;
19
44
}
20
45
.nav-content {
21
- padding : 10 px ;
46
+ display : contents ;
22
47
}
23
48
.navbar h3 {
24
49
margin : 0 ;
25
50
padding : 0 ;
26
51
display : inline;
27
52
}
28
53
.container {
29
- position : absolute;
30
- left : 3.5rem ;
31
- margin : 6rem 30rem ;
32
- max-width : 1000px ;
33
- height : 200px ;
54
+ display : grid;
55
+ justify-items : center;
56
+ margin-top : 50px ;
57
+ margin-bottom : 25px ;
58
+ padding-inline : 90px ;
59
+ }
60
+ .box {
34
61
background-color : # fff ;
35
62
padding : 25px 30px ;
36
63
border-radius : 5px ;
37
64
box-shadow : 0 5px 10px rgba (0 , 0 , 0 , 0.15 );
38
65
}
39
-
66
+ .title {
67
+ display : inline-block;
68
+ font-size : 1rem ;
69
+ }
70
+ .title h1 {
71
+ font-size : 1.8rem ;
72
+ }
73
+ .title ::after {
74
+ display : block;
75
+ content : " " ;
76
+ width : calc (100% + 25px );
77
+ height : 4px ;
78
+ margin-top : 8px ;
79
+ margin-bottom : 15px ;
80
+ border-radius : 5px ;
81
+ background : linear-gradient (135deg , # 5cff68, # 05caff );
82
+ }
40
83
.button {
41
- height : 45 px ;
42
- margin : 35 px 0 ;
84
+ height : 40 px ;
85
+ margin-top : 15 px ;
43
86
}
44
87
.button input {
45
88
height : 100% ;
@@ -49,13 +92,27 @@ body {
49
92
color : # fff ;
50
93
font-size : 18px ;
51
94
font-weight : 500 ;
52
- letter-spacing : 1px ;
53
95
cursor : pointer;
54
- transition : all 0.3s ease;
55
96
background-color : # 1b2731 ;
56
97
}
57
98
.button input : hover {
58
- /* transform: scale(1.02); */
59
- background-color : # 1b2731 ;
60
- opacity : 150px ;
99
+ background-color : # 324c62 ;
100
+ }
101
+ .box img {
102
+ display : block;
103
+ margin : 25px auto;
104
+ height : 150px ;
61
105
}
106
+ .box p {
107
+ text-align : center;
108
+ }
109
+
110
+ @media (max-width : 800px ) {
111
+ .container {
112
+ padding-inline : 20px ;
113
+ margin-top : 25px ;
114
+ }
115
+ .box {
116
+ padding : 25px 20px ;
117
+ }
118
+ }
0 commit comments