@@ -67,73 +67,89 @@ const ViewsSectionWrapper = styled.div`
6767 height: 600px;
6868 padding: 0 2%;
6969 }
70- }
71-
72- .hero-text {
73- display: flex;
74- flex-direction: column;
75- flex: 0 0 50%;
76- max-width: 50%;
77- padding-bottom: 3rem;
78-
79- @media only screen and (max-width: 767px) {
80- max-width: 100%;
81- justify-content: center;
82- text-align: center;
83- margin-top: 4rem;
84- }
85-
86- @media only screen and (min-width: 768px) and (max-width: 1100px) {
87- padding-left: 1rem;
88- }
89- }
90-
91- .hero-image {
92- position: relative;
93- display: flex;
94- justify-content: center;
95- flex: 0 0 50%;
96- max-width: 50%;
97- overflow: hidden;
98- height: 100%;
70+
71+ }
72+ .hero-text {
73+ display: flex;
74+ flex-direction: column;
75+ flex: 0 0 50%;
76+ max-width: 50%;
77+ padding-bottom: 3rem;
78+ @media only screen and (max-width: 767px) {
79+ max-width: 100%;
80+ justify-content: center;
81+ text-align: center;
82+ margin-top: 4rem;
83+ }
84+ @media only screen and (min-width: 768px) and (max-width: 1100px) {
85+ padding-left: 1rem;
86+ }
9987
100- @media only screen and (max-width: 767px) {
101- max-width: 100%;
88+
10289 }
10390
104- svg {
105- align-items: center;
106- justify-content: center;
107- width: 70%;
91+ .hero-image {
92+ position: relative;
93+ display: flex;
94+ justify-content: center;
95+ flex: 0 0 50%;
96+ max-width: 50%;
97+ overflow: hidden;
98+ height: 100%;
10899
109- .visualizer-views-colorMode_svg__colorMode1 {
110- fill: ${ ( props ) => props . theme . whiteToGrey737373 } ;
111- transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
112- }
100+ @media only screen and (max-width: 767px) {
101+ max-width: 100%;
102+ }
113103 }
114104
115- .visible {
116- opacity: 1;
117- transition: all 0.2s ease-in ;
105+ h2 {
106+ /* max-width: 90%; */
107+ padding-bottom: 2% ;
118108 }
109+
119110
120- .not-visible {
121- opacity: 0;
122- transition: all 0.5s ease;
123- }
111+ h4 {
112+ max-width: 90%;
113+ @media only screen and (max-width: 767px) {
114+ max-width: 100%;
115+ }
124116 }
125117
126- h2 {
127- padding-bottom: 2%;
128- }
118+ .hero-image {
119+ position: relative;
120+ display: flex;
121+ justify-content: center;
122+ flex: 0 0 50%;
123+ max-width: 50%;
124+
125+
126+
127+ svg {
128+ align-items: center;
129+ justify-content: center;
130+ width: 70%;
131+ .visualizer-views-colorMode_svg__colorMode1 {
132+ fill: ${ ( props ) => props . theme . whiteToGrey737373 } ;
133+ transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
134+ }
135+ }
129136
130- h4 {
131- max-width: 90%;
137+
138+ .visible {
139+ opacity: 1;
140+ transition: all 0.2s ease-in;
141+ }
142+
143+ .not-visible {
144+ opacity: 0;
145+ transition: all 0.5s ease;
146+ }
147+
148+ @media only screen and (max-width: 767px) {
149+ max-width: 100%;
150+ }
132151
133- @media only screen and (max-width: 767px) {
134- max-width: 100%;
135152 }
136- }
137153
138154 .overlay {
139155 width: 483px;
0 commit comments