diff --git a/index.html b/index.html index 46fca23..50f0932 100644 --- a/index.html +++ b/index.html @@ -30,9 +30,6 @@ - @@ -48,8 +45,24 @@

Exploits

pic - + + diff --git a/styles.css b/styles.css index 92ee917..f0d2073 100644 --- a/styles.css +++ b/styles.css @@ -166,19 +166,6 @@ transform: translate(5%, 20%); } - .navbar__btn { - padding-bottom: 2rem; - } - - .button { - display: flex; - justify-content: center; - align-items: center; - width: 80%; - height: 80px; - margin: 0; - } - .navbar__toggle .bar { display: block; cursor: pointer; @@ -289,4 +276,120 @@ .main__img--container { text-align: center; -} \ No newline at end of file +} + +#main__img { + height: 80%; + width: 80%; +} + +@media screen and (max-width: 768px) { + .main__container { + display: grid; + grid-template-columns: auto; + align-items: center; + justify-self: center; + width: 100%; + margin: 0 auto; + height: 90vh; + } + + .main__content { + text-align: center; + margin-bottom: 4rem; + } + + .main__content h1 { + font-size: 2.5rem; + margin-top: 2rem; + } + + .main__content h2 { + font-size: 3rem; + } + + .main__content p { + margin-top: 1rem; + font-size: 1.5rem; + } +} + +@media screen and (max-width: 480px) { + + .main__content h1 { + font-size: 2rem; + margin-top: 3rem; + } + + .main__content h2 { + font-size: 2rem; + } + + .main__content p { + margin-top: 2rem; + font-size: 1.5rem; + } + + .main__btn { + padding: 12px 36px; + margin: 2.5rem 0; + } +} + +.footer__container { + background-color: #141414; + padding: 5rem 0; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} + +#footer__logo { + color: #fff; + display: flex; + align-items: center; + cursor: pointer; + text-decoration: none; + font-size: 2rem; +} + +.footer__links { + width: 100%; + max-width: 1000px; + display: flex; + justify-content: center; +} + +.footer__link--wrapper { + display: flex; +} + +.footer__link--items { + display: flex; + flex-direction: column; + align-items: flex-start; + margin: 16px; + width: 160px; + box-sizing: border-box; +} + +.footer__link--items h2 { + margin-bottom: 16px; +} + +.footer__link--items > h2 { + color: #fff; +} + +.footer__link--items a { + color: #fff; + text-decoration: none; + margin-bottom: 0.5rem; +} + +.footer__link--items a:hover { + color: #e9e9e9; + transition: 0.3s ease-out; +} +