JSFiddle - React, Tailwind, and code Playground
HTML
<div class="max">
<p>
<span class="maxP">Welcome to Pixel Design & Development.</span>
<span class="slogan">We don't only develop beautiful websites, we make elegant solutions to your online needs.</span>
</p>
<img src="http://jpowell43.mydevryportfolio.com/flatDesign/images/clouds.svg" class="clouds" alt="clouds" />
<img src="http://jpowell43.mydevryportfolio.com/flatDesign/images/birds.svg" class="birds" alt="birds" />
<div class="smallWave"></div>
<div class="bigWave"></div>
</div>
CSS
.max {
width: 100%;
height: 590px;
overflow: hidden;
position: relative;
top: 6em;
border-bottom: 5px solid rgba(254, 126, 1, 0.8);
background: #6E93A2;
}
@media only screen and (max-width: 680px) {
.max {
height: 50em;
}
}
.max p {
font-family: 'DroidSansMono';
color: rgb(255, 255, 255);
margin: 0 auto;
width: 80%;
top: 0;
display: block;
position: relative;
}
.maxP {
font-size: 4em;
line-height: 1em;
text-shadow: 0px 2px 0 rgba(0, 0, 0, 0.5);
text-align: left;
position: absolute;
top: 1em;
z-index: 100;
color: #fe7e01;
}
@media only screen and (max-width: 680px) {
.maxP {
font-size: 2.8em;
top: 1.5em;
line-height: 1.5em;
}
}
.slogan {
font-size: 2.5em;
color: rgb(255, 255, 255);
text-shadow: 0px 2px 0 rgba(0, 0, 0, 0.5);
text-align: left;
line-height: 1.5em;
position: absolute;
top: 5em;
z-index: 100;
}
@media only screen and (max-width: 680px) {
.slogan {
font-size: 2.5em;
line-height: 1.5em;
top: 5.5em;
}
}
.homeBtn {
padding: 1em;
display: block;
position: absolute;
font-family: 'DroidSansMono';
font-size: 3em;
text-align: center;
z-index: 99;
width: 14em;
height: 0.4em;
margin-left: -8em;
left: 50%;
top: 0;
cursor: pointer;
overflow: hidden;
background: rgba(0, 0, 0, 0.25);
border: 2px solid rgba(254, 126, 1, 0.8);
color: #fff;
text-shadow: 0 2px 0 rgba(0, 0, 0, 0.8);
}
.homeBtn:hover {
background: #fe7e01;
border: 3px solid transparent;
color: #1b1b1b;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}
/* Home Banner Animations */
.clouds {
width: 20em;
position: absolute;
top: 1em;
opacity: 0.8;
-webkit-animation: Clouds-h 50s linear infinite, Clouds-v 10s ease-in-out infinite, Clouds-Size 10s ease-in-out infinite;
-moz-animation: Clouds-h 50s linear infinite, Clouds-v 10s ease-in-out infinite, Clouds-Size 10s ease-in-out infinite;
-ms-animation: Clouds-h 50s linear infinite, Clouds-v 10s ease-in-out infinite, Clouds-Size 10s ease-in-out...