+
- Faça da sua
-
- carona
+ Faça da sua carona
+ 600 ? '' : '200px'}
+ height={screenSize > 600 ? '74px' : '80px'}
+ />
uma ação
600 ? '' : '120px'}
+ height={screenSize > 600 ? '74px' : '50px'}
+ margin="15px"
+ className="car-icon"
backgroundColor="#ED8024"
wide
/>
sustentável
600 ? '' : '50px'}
+ height={screenSize > 600 ? '' : '50px'}
margin="10px"
backgroundColor="#17B270"
shadow="#6E361F"
@@ -53,9 +61,8 @@ const HeroSection = () => {
/>
-
- {' '}
-
+
+
);
diff --git a/src/components/HeroSection/styles.css b/src/components/HeroSection/styles.css
index bd4ef3c..0f0d5e6 100644
--- a/src/components/HeroSection/styles.css
+++ b/src/components/HeroSection/styles.css
@@ -7,37 +7,37 @@
color: #000000;
}
-body {
- overflow-x: hidden;
-}
-
.hero-section {
+ width: 100vw;
display: flex;
margin-top: 100px;
flex-direction: row;
justify-content: space-between;
+ align-items: center;
}
-.main {
- translate: 0 2rem;
- align-self: flex-end;
- flex-direction: column;
- width: 100%;
- overflow-x: auto;
+
+.street {
+ max-width: 70%;
}
-.div text {
- padding: 0px 0px 0px 0px;
+.main {
+ text-align: center;
+ max-width: 80%;
}
.row {
- margin-top: 0.5rem;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
+ flex-wrap: wrap;
}
-.street {
- align-self: center;
+
+.row
+.main-text {
+ font-size: 64px;
+ font-weight: 700;
+ line-height: 74.82px;
}
.subtext {
@@ -56,3 +56,29 @@ body {
margin-top: 40px;
margin-bottom: 80px;
}
+
+@media (max-width: 1100px) {
+ .street {
+ display: none;
+ }
+
+ .hero-section {
+ margin: 0 auto;
+ width: 100vw;
+ display: block;
+ margin-top: 50px;
+ }
+
+ .row
+ .main-text {
+ font-size: 30px;
+ }
+
+ .main {
+ margin: 0 auto;
+ }
+
+ .subtext {
+ font-size: 16px;
+ }
+}
diff --git a/src/components/NossoFoco/index.jsx b/src/components/NossoFoco/index.jsx
index 3fac0a4..bba5358 100644
--- a/src/components/NossoFoco/index.jsx
+++ b/src/components/NossoFoco/index.jsx
@@ -4,9 +4,13 @@ import integracao from '../../assets/svg_integracao.svg';
import seguranca from '../../assets/svg_seguranca.svg';
import sustentabilidade from '../../assets/svg_sustentabilidade.svg';
import tempo from '../../assets/svg_tempo.svg';
+import useWindowDimensions from '../../hooks/UseWindowDimensions';
import Chip from '../Chip';
const NossoFoco = () => {
+ const { width } = useWindowDimensions();
+ const isGreatSize = (width >= 1200);
+
return (
@@ -14,10 +18,12 @@ const NossoFoco = () => {
-
+ {isGreatSize ?
+
+ : null}
{
imgSrc={tempo}
imgSize="35px"
/>
-
-
+ {isGreatSize ?
+ <>
+
+
+ >
+ : null}
-
-
+ {isGreatSize ?
+ <>
+
+
+ >
+ : null}
{
imgSrc={integracao}
imgSize="25px"
/>
-
-
+ {isGreatSize ?
+ <>
+
+
+ >
+ : null}
diff --git a/src/components/NossoFoco/styles.css b/src/components/NossoFoco/styles.css
index 63fcaf1..a68422a 100644
--- a/src/components/NossoFoco/styles.css
+++ b/src/components/NossoFoco/styles.css
@@ -10,7 +10,6 @@ body {
}
.container {
- width: 100vw;
display: flex;
flex-direction: column;
justify-content: center;
@@ -19,7 +18,6 @@ body {
}
.chipArea {
- width: 100vw;
display: flex;
flex-direction: column;
justify-content: center;
@@ -69,3 +67,35 @@ body {
align-items: center;
justify-content: center;
}
+
+@media (max-width: 1100px) {
+ .container {
+ margin-top: 100px !important;
+ }
+
+ .textArea {
+ margin-left: 100px;
+ }
+
+ .text {
+ font-weight: 700;
+ font-size: 42px;
+ }
+
+ .firstLine,
+ .secondLine {
+ width: 100%;
+ gap: 15px;
+ margin-bottom: 15px;
+ display: flex;
+ flex-direction: column;
+ }
+
+ .chip {
+ width: 95%;
+ height: 50px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+}
\ No newline at end of file
diff --git a/src/components/Projeto/style.css b/src/components/Projeto/style.css
index 4fd336f..527fb56 100644
--- a/src/components/Projeto/style.css
+++ b/src/components/Projeto/style.css
@@ -67,3 +67,63 @@
text-decoration: none;
font-weight: 800;
}
+
+@media (max-width: 1200px) {
+ .projeto {
+ margin: 0 auto;
+ flex-direction: column;
+ }
+
+ .projeto
+ .photo
+ img {
+ width: 65%;
+ }
+
+ .photo {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ }
+
+ .numbers {
+ justify-content: center;
+ }
+
+ .numbers > p {
+ font-family: 'Lato', sans-serif;
+ text-align: center;
+ font-size: 16px;
+ font-weight: 700;
+ padding: 15px 20px;
+ }
+
+ .numbers > p > h1 {
+ font-family: 'Lato', sans-serif;
+ font-size: 18px;
+ font-weight: 800;
+ }
+
+ .text {
+ padding-left: 0px;
+ width: 320px;
+ }
+
+ .text > h3 {
+ font-size: 32px;
+ text-align: center;
+ }
+
+ .btn-carona {
+ margin-left: 12px;
+ }
+
+ .textButton {
+ font-size: 16px;
+ color: #2b388a;
+ padding-left: 60px;
+ text-decoration: none;
+ font-weight: 800;
+ }
+}
diff --git a/src/components/SolucoesDoCaronae/index.jsx b/src/components/SolucoesDoCaronae/index.jsx
index 8982dd7..0252c58 100644
--- a/src/components/SolucoesDoCaronae/index.jsx
+++ b/src/components/SolucoesDoCaronae/index.jsx
@@ -1,6 +1,7 @@
import './styles.css';
import { Link } from 'react-router-dom';
import pontoImg from '../../assets/ponto-caronae.png';
+import useWindowDimensions from '../../hooks/UseWindowDimensions';
export default function SolucoesDoCaronae() {
return (
@@ -51,11 +52,14 @@ const PontoImg = () => {
};
const VideoEmbutido = ({ videoURL }) => {
+ const { width } = useWindowDimensions();
+ const isGreatSize = (width >= 1100);
+
return (