diff --git a/assets/styles/style.css b/assets/styles/style.css index a0b5d06..536c155 100644 --- a/assets/styles/style.css +++ b/assets/styles/style.css @@ -65,3 +65,56 @@ body{ margin-bottom: 84px; } +@media screen and (max-width:992px) { + + .top-infocard-image{ + width: 40%; + } + .second-card{ + grid-template-columns: 1fr; + margin: 0 23px; + } + + .top-infocard-description{ + margin: 0 28px 73px; + padding: 26px 36px; + } + .top-infocard-title{ + font-size: 28px; + line-height: 34px; + text-transform: uppercase; + } + + .top-infocard-subtitle{ + font-size: 20px; + line-height: 24px; + } +} + +@media screen and (min-width:2500px){ + + .top-infocard-text { + max-width: 2000px; + } + + .top-infocard-title{ + font-size: 144px; + line-height: 174px; + margin-bottom: 84px; + + } + + .top-infocard-subtitle{ + margin-top: 219px; + font-size: 96px; + line-height: 117px; + } + + .top-infocard-description{ + font-size: 48px; + line-height: 72px; + margin-bottom: 252px; + } + +} +