* { padding: 0; margin: 0; border: none; outline: none; } p { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; color: whitesmoke; } body { background-color: #282828; padding: 10px; } button { padding: 5px; background-color: darkred; color: whitesmoke; display: inline-flex; gap: 5px; align-items: center; justify-content: center; font-family: 'Courier New', Courier, monospace; cursor: pointer; } .clients { display: flex; gap: 5px; flex-wrap: wrap; } .clients > div { padding: 5px; background-color: #3b3b3b; box-sizing: border-box; display: flex; flex-direction: column; flex: 1; min-width: 100px; max-width: 200px; min-height: 150px; } .clients div[name='main'] { position: relative; cursor: pointer; flex: auto; margin-bottom: 5px; } .clients img { width: 100%; height: 100%; } .clients p { color: whitesmoke; text-shadow: 0 0 5px black, 0 0 10px black; } .clients p:nth-of-type(1) { position: absolute; top: 5px; left: 5px; pointer-events: none; } .clients p:nth-of-type(2) { position: absolute; bottom: 5px; right: 5px; cursor: text; } .clients p:nth-of-type(3) { position: absolute; top: 5px; right: 5px; pointer-events: none; color: orange; } .clients p:nth-of-type(4) { position: absolute; top: 30px; right: 5px; pointer-events: none; color: orange; text-shadow: 0 0 10px black; } .main-client { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #282828; z-index: 1; padding: 10px; box-sizing: border-box; overflow: auto; display: flex; flex-direction: column; gap: 10px; } .main-client button { position: absolute; right: 10px; top: 10px; background-color: darkred; z-index: 2; } .main-client .data { display: flex; padding-top: 35px; position: relative; gap: 10px; box-sizing: border-box; max-height: 460px; } .main-client .data p { position: absolute; top: 10px; left: 50%; transform: translate(-50%, -50%); } .main-client .data > div { display: flex; flex-wrap: wrap; overflow: auto; gap: 5px; min-width: 400px; min-height: 400px; } .main-client .data > div:nth-of-type(1) img { flex: auto; min-width: 70px; width: 115px; border-radius: 10px; } .main-client .data > div:nth-of-type(2) img { width: 400px; height: 100%; } .main-client .info { overflow: auto; height: 50%; padding: 10px; box-sizing: border-box; background-color: #0c0c0c; }