I am throwing together a landing page for a startup. I used flexbox to put my site together and it looks great on desktop but in a mobile device it stacks the entire site so that the background image and the elements of the page are not where they are supposed to be. If you could help me out that would be awesome! (i kept the head and java script links out of this)
body {
background: url(kidtrophy.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
color: #F17442CC;
text-shadow: 2px 2px black;
font-weight: bold;
font-size: 3em;
text-align: center;
font-family: 'Graduate', cursive;
}
.container {
height: 100%;
width: 100%;
flex-direction: column;
display: flex;
position: fixed;
align-items: center;
justify-content: flex-end;
max-width: 2000px;
flex-basis: 2000px;
}
.btn-primary {
background-color: #F17442CC;
border-color: black;
font-size: 24px
}
.btn-primary:hover {
background-color: black;
border-color: white;
}
.clear {
font-family: 'Graduate', cursive;
}
<body>
<div class=container>
<div>
<!-- Begin MailChimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/slim-10_7.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup {
clear: left;
font: 14px Helvetica, Arial, sans-serif;
}
/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<div id="mc_embed_signup">
<form action="https://hometeamsupply.us18.list-manage.com/subscribe/post?u=d1801099dfea9077af487f192&id=18d80a3cb8" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_d1801099dfea9077af487f192_18d80a3cb8" tabindex="-1" value=""></div>
<div class="clear"><input class="btn btn-primary" type="submit" value="Find out more!" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
</div>
</form>
</div>
<!--End mc_embed_signup-->
<!-- Button trigger modal -->
</div>
<div>Being the team MVP was never this easy!</div><br>
</div>
</body>