.main { position:absolute; width:400px; height:500px; top:50%; left:50%; transform:translate(-50%,-50%); } .window { display:flex; flex-direction:column; background-color:#f0f0f0; margin-bottom:10px; border-radius:6px; } .window input { height:30px; font-size:20px; padding:5px 10px; border:none; outline:none; background-color:#f0f0f000; } .btn { display:grid; grid-template-columns:repeat(4,1fr); gap:2px; } .btn input { height:50px; font-size:20px; border:none; outline:none; border-radius:6px; }