Where the code isn't pretty but it's alive!
<body> <div class="container"> <div class="popup"> <div class="left"> <img src="../../img/Logo.png" alt=""> <h1>FrankenBuilds</h1> <h2>Create an account.</h2> <div class="form"> <input type="email" placeholder="Email"> <input type="password" placeholder="Password"> <input type="submit" value="Sign Up"> </div> <div class="login"> <p>Already have an account? <a href="#">Log in</a></p> </div> </div> <div class="right"> <h2>Where the code isn't pretty<br> but it's alive!</h2> <p>Remember code is a lot like the Frankenstein monster.<br>It can be built and put together many different ways.<br>Just keep creating!</p> </div> </div> </div> </body>
*{ margin: 0; padding: 0; box-sizing: border-box; } @font-face { font-family: 'roboto'; src: url('Roboto'); font-weight: normal; font-style: normal; } .container{ position: relative; background-color: #111111; width: 100vw; height: 100vh; display: flex; justify-content: center; align-items: center; } .popup{ width: 60vw; height: 70vh; display: flex; background-color: #2f2c2c; } .left{ flex: 45%; display: flex; flex-direction: column; align-items: center; padding: 4rem 2rem 1rem 2rem; font-family: "roboto"; } .left img{ width: 14%; } .left h1{ font-size: 3rem; color: white; font-weight: 700; } .left h2{ color: white; font-size: 1rem; font-weight: 400; } .form{ display: flex; flex-direction: column; margin-top: 2rem; } .form input{ width: 100%; padding: 8px 10px; margin: 0.5rem 0; display: inline-block; border: 1px solid #ccc; border-radius: 4px; } input[type="submit"] { background-color: #8cb670; color: white; margin: 8px 0; border: none; cursor: pointer; } .login{ height: 100%; display: flex; align-items: flex-end; color: white; } .login p{ font-weight: 400; font-size: 0.8rem; } .login a{ color: teal; text-decoration: none; } .right{ flex: 55%; background-image: linear-gradient(rgba(30, 26, 26, 0.95), rgba(30, 26, 26, 0.95)), url(../../../img/Logo.png); background-position: center; background-size: contain; background-repeat: no-repeat; display: flex; flex-direction: column; justify-content: center; padding-left: 2rem; } .right h2{ color: white; font-size: 2rem; font-family: "roboto"; font-weight: 700; } .right p{ color: white; padding-top: 2rem; line-height: 1.2; font-size: 0.9rem; font-family: "roboto"; font-weight: 400; } /* Media Queries*/ @media only screen and (max-width: 1024px) { } @media only screen and (max-width: 700px) { .popup{ flex-direction: column; width: 90%; height: 80%; } .left img{ width: 30%; } .left h1{ font-size: 2.8rem; } .right{ display: none; } } @media only screen and (max-width: 320px) { .left img{ width: 30%; } .left h1{ font-size: 2rem; } }