h1 { top: 0; left: 0; margin: 10vh; font: bold 18px Arial; color: #595; margin-top: 25px; } body { display: flex; flex-direction: column; } .block { align-items: center; justify-content: space-between; flex-wrap: wrap; width: 100%; text-align: center; border: 1px solid rgb(121, 121, 121); } #colorChange { height: 50%; width: 100%; } img { width: 10%; margin: 10vh; } #formContainer { display: flex; align-items: center; justify-content: center; } input { padding: 0 20px; margin-bottom: 10px; background: #3b3f44; color: white; line-height: 40px; border-width: 0; border-radius: 20px; font-family: "Roboto", sans-serif; } button { text-decoration: none; display: inline-block; width: 140px; height: 45px; line-height: 45px; border-radius: 45px; margin: 10px 20px; font-family: "Montserrat", sans-serif; font-size: 11px; text-transform: uppercase; text-align: center; letter-spacing: 3px; font-weight: 600; color: #524f4e; background: white; box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); transition: 0.3s; } #showhide { position: relative; width: 17px; height: 17px; margin: 0 3px 0 0; cursor: pointer; }