body { background-color: #202225; margin: 0; } #logo { position: relative; left: 24px; top: 24px; } #content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 280px; max-width: 400px; min-height: 400px; background-color: #18191c; border-radius: 5px; box-shadow: 0 8px 16px rgba(0,0,0, 0.24); }