.main { margin: 50px auto; display: flex; flex-direction: column; width: 90%; max-width: 1200px; background: rgba(255, 255, 255, 0.1); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); padding: 20px; } h1, h2, h3 { color: #ffd700; text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); margin-bottom: 20px; } p, li { font-size: 1rem; margin-bottom: 1em; } ul { list-style-type: square; padding-left: 1.5em; text-align: left; margin: auto; width: fit-content; } a { color: #00ffcc; text-decoration: none; transition: color 0.3s; } a:hover { color: #ff5733; } img { width: 30%; min-height: 30%; height: auto; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); margin-bottom: 20px; float: right; margin-left: 20px; } .step { margin-bottom: 2em; padding: 20px; background: rgba(255, 255, 255, 0.1); border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); display: flex; align-items: center; gap: 20px; } .step img { max-width: 40%; margin: 0; } .step-content { flex: 1; } .step pre { background: rgba(30, 30, 30, 1); color: #cfcfcf; font-family: 'Courier New', Courier, monospace; font-size: 0.9rem; padding: 15px; border: 1px solid #444; border-radius: 10px; overflow-x: auto; } .button { display: inline-block; padding: 10px 20px; margin-top: 10px; background: linear-gradient(to right, #5a0fb8, #1f65d6); color: white; border-radius: 5px; font-weight: bold; text-decoration: none; text-shadow: none; transition: background 0.3s; } .button:hover { background: linear-gradient(to right, #1f65d6, #5a0fb8); color: white; } pre{ max-width: 100%; width: fit-content; align-content: left; text-align: left; margin: auto; overflow-x: auto; } @media (max-width: 768px) { img { float: none; min-width: 100%; margin: 0 auto 20px auto; display: block; } .step { flex-direction: column; text-align: center; } pre, code { margin: 10px auto; max-width: 90%; } }