diff --git a/css/index.css b/css/index.css index 9a902d2..d1e6e5c 100644 --- a/css/index.css +++ b/css/index.css @@ -50,7 +50,6 @@ main { /*-| Texto |-*/ .banner-text-container { - height: 90%; width: 90%; position: relative; flex-direction: column; @@ -85,6 +84,12 @@ main { font-size: 16px; } +.video-pitch { + min-width: 50vw; + height: auto; + aspect-ratio: 16/9; +} + /*-----===| EFEITOS |===-----*/ /*---=| Hover |=---*/ .btn-contact:hover { @@ -100,7 +105,7 @@ main { .banner-text-title { width: 100%; - font-size: 64px; + font-size: 48px; } .btn-contact-container{ @@ -119,7 +124,7 @@ main { .banner-text-title { width: 80%; - font-size: 48px; + font-size: 32px; } .btn-contact-container{ @@ -131,8 +136,9 @@ main { } } -.video-pitch { - min-width: 50vw; - height: auto; - aspect-ratio: 16/9; +@media (max-width: 576px) { + .banner-text-title { + width: 100%; + font-size: 24px; + } } \ No newline at end of file diff --git a/index.html b/index.html index 6105821..69389f4 100644 --- a/index.html +++ b/index.html @@ -52,22 +52,18 @@ - -
- -
-
+
-
-
+
+

A final o que é o

EcoShield

-
+ -
+

@@ -100,27 +96,27 @@

-
+

QUER TER CONHECIMENTO DE UM CASE REAL?

Nos assista no Youtube!

-
+

-
+
-
+
-
+

Fundadores

@@ -167,9 +163,9 @@

Fundadores

-
+ -
+ @@ -183,6 +179,8 @@

Fundadores

- + + + \ No newline at end of file diff --git a/js/index.js b/js/index.js new file mode 100644 index 0000000..756b7ce --- /dev/null +++ b/js/index.js @@ -0,0 +1,13 @@ +/*-----===| VARIÁVEIS |===-----*/ +var headerHeight; +var bannerTextContainer = document.getElementsByClassName('banner-text-container')[0]; + +/*-----===| EVENTOS |===-----*/ +window.onload = calcBannerTextHeight; +window.addEventListener('resize', calcBannerTextHeight); + +/*-----===| FUNÇÕES |===-----*/ +function calcBannerTextHeight() { + headerHeight = document.getElementsByTagName('header')[0].offsetHeight; + bannerTextContainer.style.height = "calc(100% - " + headerHeight + "px)"; +} \ No newline at end of file diff --git a/js/universal.js b/js/universal.js new file mode 100644 index 0000000..9d5e46e --- /dev/null +++ b/js/universal.js @@ -0,0 +1,5 @@ +/*-----===| VARIÁVEIS |===-----*/ + +/*-----===| EVENTOS |===-----*/ + +/*-----===| FUNÇÕES |===-----*/ \ No newline at end of file