diff --git a/src/App.css b/src/App.css index 74b5e05..cca57b3 100644 --- a/src/App.css +++ b/src/App.css @@ -1,38 +1,5 @@ -.App { - text-align: center; -} - -.App-logo { - height: 40vmin; - pointer-events: none; -} - -@media (prefers-reduced-motion: no-preference) { - .App-logo { - animation: App-logo-spin infinite 20s linear; - } -} - -.App-header { - background-color: #282c34; - min-height: 100vh; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - font-size: calc(10px + 2vmin); - color: white; -} - -.App-link { - color: #61dafb; -} - -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } +* { + margin: 0; + padding: 0; + box-sizing: border-box; } diff --git a/src/components/newsLetter/styles.module.scss b/src/components/newsLetter/styles.module.scss index b660bff..e1efd92 100644 --- a/src/components/newsLetter/styles.module.scss +++ b/src/components/newsLetter/styles.module.scss @@ -36,7 +36,7 @@ font-weight: 400; font-size: 14px; padding: 11px 16px; - max-height: 36px; + max-height: 42px; border: 1px solid #e5e5e5; border-radius: 4px; @@ -61,3 +61,26 @@ } } } + +@media screen and (max-width: 1024px) { + .firstDivNews { + width: 96.88% !important; + + .firstH2 { + font-size: 14px; + } + + .secondDivNews { + flex-direction: column; + width: 100%; + + .newsInput { + width: 100% !important; + } + + .newsButton { + width: 100% !important; + } + } + } +}