.background { background: #151619; height: 100vh; width: 100%; } .content__container { height: 100vh; width: 400px; display: flex; justify-content: center; align-items: center; position: absolute; top: 50%; left: 50%; border-width: 0px 2px; border-style: solid; border-color: #23242a; transform: translate(-50%, -50%); } .popup { border-radius: 4px; width: 100%; background: transparent; padding: 56px; box-sizing: border-box; } .card-container { display: flex; flex-direction: row; gap: 30px; } .card-title { margin: 28px 0 40px 0; font-style: normal; font-weight: 400; font-size: 38px; line-height: 100%; /* identical to box height, or 38px */ color: #ffffff; } .demos_container { background: #141414; border-radius: 16px; } @media screen and (max-width: 1440px) { .card-title { margin: 22px 0 40px 0; } .card-container { gap: 24px; } } @media screen and (max-width: 1152px) { .card-container { gap: 20px; } .card-title { margin: 42px 0 40px 0; } } @media screen and (max-width: 920px) { .card-title { margin: 36px 0 32px 0; } .card-title { font-size: 28px; } .card-container { flex-direction: column; gap: 10px; } .content__container { width: 100%; border: none; } }