@@ -4,18 +4,21 @@ import KanvasIcon from "./kanvas-icon.svg";
4
4
5
5
const BannerSectionWrapper = styled . div `
6
6
7
- display: flex;
8
- background: #000000;
9
- border-radius: 0% 85% 0% 0% / 0% 80% 0% 0% ;
10
- -webkit-box-shadow: 5px -5px 15px 5px rgba(0,0,0,0.33);
11
- box-shadow: 1px -5px 5px 1px rgba(235,192,23,.5);
12
-
13
- padding: 8rem 6rem 3rem 6rem;
14
- max-width: 1140px;
15
- width: 100%;
16
- margin: auto;
17
- min-height: 25rem;
18
-
7
+ display: flex;
8
+ flex-wrap: nowrap;
9
+ background: #000000;
10
+ border-radius: 0% 85% 0% 0% / 0% 80% 0% 0% ;
11
+ -webkit-box-shadow: 5px -5px 15px 5px rgba(0,0,0,0.33);
12
+ box-shadow: 1px -5px 5px 1px rgba(235,192,23,.5);
13
+ gap: 5rem;
14
+ padding: 6rem 6rem 6rem 6rem;
15
+ max-width: 1140px;
16
+ width: 100%;
17
+ margin: auto;
18
+ min-height: 25rem;
19
+ align-content: end;
20
+
21
+ div.banner-text {
19
22
h1 {
20
23
/* background-color: ${ props => props . theme . black } ; */
21
24
font-weight: 500;
@@ -35,7 +38,7 @@ const BannerSectionWrapper = styled.div`
35
38
}
36
39
@media screen and (max-width: 448px) {
37
40
font-size: 38px;
38
- span{
41
+ span {
39
42
font-size: 48px;
40
43
}
41
44
}
@@ -44,62 +47,58 @@ const BannerSectionWrapper = styled.div`
44
47
margin: 1.5rem 0;
45
48
}
46
49
}
47
- h2 {
48
- margin-bottom: 1rem;
49
- font-size: 1.95rem;
50
- font-weight: 400;
51
- color: ${ props => props . theme . white } ;
52
- font-style: italic;
53
- span {
50
+ h2 {
51
+ margin-bottom: 1rem;
52
+ font-size: 1.95rem;
53
+ font-weight: 400;
54
+ color: ${ props => props . theme . white } ;
55
+ font-style: italic;
56
+ span {
57
+ font-style: normal;
58
+ }
59
+ }
60
+ h2.readyPlayer {
61
+ margin: 2rem 0rem 0rem 0rem;
62
+ background-color: black;
63
+ position: absolute;
64
+ z-index: 1;
65
+ padding: 1.5rem;
66
+ color: white;
54
67
font-style: normal;
68
+ text-transform: uppercase ;
69
+ font-size: 2.5rem;
70
+ text-align: center;
55
71
}
56
- }
57
- h2.readyPlayer {
58
- margin: 2rem 0rem 0rem 0rem;
59
- background-color: black;
60
- position: absolute;
61
- z-index: 1;
62
- padding: 1.5rem;
63
- color: white;
64
- font-style: normal;
65
- text-transform: uppercase ;
66
- font-size: 2.5rem;
67
- text-align: center;
68
- }
69
-
70
- }
71
- .banner-text p {
72
- color: ${ props => props . theme . saffronColor } ;
73
- margin-bottom: .5rem;
74
- font-weight: 400;
75
- font-size: 1.75rem;
76
- font-style: italic;
77
- min-width: 18rem;
78
- font-family: "Qanelas Soft";
79
- span {
72
+ p {
80
73
color: ${ props => props . theme . saffronColor } ;
74
+ margin-bottom: .5rem;
75
+ font-weight: 400;
76
+ font-size: 1.75rem;
77
+ font-style: italic;
78
+ min-width: 18rem;
79
+ font-family: "Qanelas Soft";
80
+ span {
81
+ color: ${ props => props . theme . saffronColor } ;
82
+ }
81
83
}
82
- }
83
- h4 {
84
- text-transform: uppercase;
85
- padding-left: 1rem;
86
- font-style: italic;
87
- font-size: 1.25rem;
88
- color: ${ props => props . theme . white } ;
89
- span {
84
+ h4 {
85
+ text-transform: uppercase;
90
86
padding-left: 1rem;
87
+ font-style: italic;
88
+ font-size: 1.25rem;
89
+ color: ${ props => props . theme . white } ;
90
+ span {
91
+ padding-left: 1rem;
92
+ }
91
93
}
92
94
}
93
-
94
95
.kanvas-logo {
95
96
width: 14rem;
96
97
overflow: hidden;
97
- margin-top: -7rem;
98
- position: relative;
99
- left: 30%;
100
- z-index: 0;
101
-
102
- }
98
+ display: flex;
99
+ align-self: center;
100
+ flex-wrap: nowrap;
101
+ }
103
102
div.accent-bubble {
104
103
width: 50%;
105
104
height: 100%;
@@ -118,47 +117,46 @@ const BannerSectionWrapper = styled.div`
118
117
@media screen and (max-width: 1700px) {
119
118
.kanvas-logo {
120
119
width: 12rem;
121
- /* right: 12rem; */
122
- /* margin-top: -5rem; */
123
120
}
124
121
.para {
125
122
margin-top: -3rem;
126
123
}
127
124
}
128
125
@media screen and (max-width: 1200px) {
129
126
.kanvas-logo {
130
- left: 20%;
131
127
width: 10rem;
132
- /* right: 8rem; */
133
- margin-top: -5rem;
134
128
}
135
- /* border-radius: 0% 85% 0% 0% / 0% 60% 0% 0% ; */
129
+ border-radius: 0% 85% 0% 0% / 0% 60% 0% 0% ;
136
130
}
137
131
@media screen and (max-width: 992px) {
138
132
.kanvas-logo {
139
133
width: 8rem;
140
- margin-top: -2rem;
141
- left: 15%;
142
134
}
135
+ .banner-text {
136
+ margin-left: 0rem;
137
+ margin-bottom: 0rem;
138
+ h1 { font-size: 50px; }
139
+ h2 { font-size: 1.25rem; }
140
+ h4 { font-size: 1rem; }
141
+ p { font-size: 1.25rem; }
142
+ }
143
+ gap: 2.5rem;
144
+ min-height: 12rem;
145
+ padding: 6rem 2rem 2rem 2rem;
143
146
border-radius: 0% 85% 0% 0% / 0% 60% 0% 0% ;
144
147
}
145
148
146
149
@media screen and (max-width: 768px) {
147
150
padding: 8rem 2rem 3rem;
148
151
.kanvas-logo {
149
- margin-top: -5rem;
150
- margin-right: 2rem;
151
- left: 7%;
152
- min-width: 5rem;
152
+ min-width: 6rem;
153
153
}
154
154
border-radius: 0% 85% 0% 0% / 0% 40% 0% 0% ;
155
155
}
156
156
@media screen and (max-width: 500px) {
157
157
.kanvas-logo {
158
- margin-top: -5rem;
159
- margin-right: 2rem;
160
- left: 0%;
161
- min-width: 3rem;
158
+
159
+ /* min-width: 3rem; */
162
160
}
163
161
border-radius: 0% 85% 0% 0% / 0% 40% 0% 0% ;
164
162
}
0 commit comments