:root { --primary-color: #FF9F1C; --secondary-color: rgb(0, 0, 0); --background-color: #bababa; --text-color: #ffffff; --accent-color: #ff4081; --modal-background: rgba(0, 0, 0, 0.8); --transition-speed: 0.3s; --border-radius: 12px; --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); --border-color: #E0E0E0; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--background-color); color: var(--text-color); line-height: 1.6; } .container { display: flex; flex-direction: column; height: 100vh; width: 100vw; } .upSection { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; width: 100%; height: 65%; gap: 5px; border-radius: 5%; padding: 5px; } .video-container { position: relative; width: 100%; height: 100%; overflow: hidden; background-color: #000; border-radius: 10px; } .video-container video { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; } .video-label { position: absolute; bottom: 10px; left: 10px; color: white; background: rgba(0, 0, 0, 0.5); padding: 2px 8px; border-radius: 4px; font-size: 14px; } .downSection { display: flex; flex-direction: row; align-items: center; width: 99vw; height: 35%; } .controls { width: 40%; height: 95%; display: flex; flex-direction: row; align-items: center; justify-content: center; /* background-color: var(--border-color); */ border-radius: var(--border-radius); flex-wrap: wrap; gap: 2rem; } .btn-next { background: linear-gradient(45deg, #ffd500, #a58900); box-shadow: 0 10px #a58900; color: #ffffff; border: none; border-radius: 50px; padding: 5.2vw; width: 4rem; font-size: 1.2rem; font-weight: 700; cursor: pointer; display: flex; justify-content: center; align-items: center; text-transform: uppercase; margin: 0 0.1rem; transition: 0.3s all; } .btn-create { background: #ffd500; box-shadow: 0 13px #a58900; color: #ffffff; border: 2px solid #3feb80; border-radius: 50px; text-transform: uppercase; width: 4rem; padding: 5vw; font-size: 20px; font-weight: 700; cursor: pointer; display: flex; justify-content: center; align-items: center; } .btnStart { background: linear-gradient(45deg, #007445, #5ab893); color: #ffffff; border-radius: 50px; width: 1rem; padding: 5.5vw; font-size: 20px; font-weight: 700; cursor: pointer; display: flex; justify-content: center; align-items: center; border: none; border-bottom: 10px solid #43a980; transition: 0.3s all; } .btnStart:active{ transform: translateY(5px); border-bottom: none; } .btn-3 { background: linear-gradient(45deg, #ffd500, #a58900); box-shadow: 0 10px #a58900; color: #ffffff; border: none; border-radius: 50px; padding: 5vw; width: 4rem; font-size: 1.2rem; font-weight: 700; cursor: pointer; display: flex; justify-content: center; align-items: center; text-transform: uppercase; margin: 0 0.1rem; transition: 0.3s all; } .btn-4 { background: #0066ff; color: #3feb80; border: 2px solid #3feb80; border-radius: 50px; text-transform: uppercase; width: 3rem; padding: 1vw; font-size: 10px; font-weight: 400; cursor: pointer; display: flex; justify-content: center; align-items: center; } .btn-next:active, .btn-3:active,.btn-create:active .btnStart:active { transform: translateY(6px); box-shadow: none; } .btn-next:disabled, .btn-3:disabled .btnStart:disabled { transform: translateY(6px); box-shadow: none; cursor: not-allowed; filter: blur(1px); } .btn-3:disabled { transform: translateY(6px); box-shadow: none; cursor: not-allowed; filter: blur(1px); } .btnStart:disabled { transform: translateY(6px); box-shadow: none; cursor: not-allowed; filter: blur(1px); border: none; } .chat-container { width: 60%; height: 95%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; background-color: #ffffff; margin-left: 1%; margin-right: 1%; border-radius: 10px; } .messagess { flex: 1; width: 100%; overflow-y: auto; box-sizing: border-box; padding: 1rem; } .chat-input { width: 100%; display: flex; gap: 0.5rem; padding: 0.5rem; } .chat-input input { flex: 1; padding: 0.5rem; border: 1px solid var(--border-color); border-radius: var(--border-radius); font-size: 16px; } .chat-input button { padding: 0.5rem 1rem; background-color: var(--primary-color); color: var(--text-color); border: none; border-radius: var(--border-radius); cursor: pointer; } .me { align-self: flex-end; color: rgb(0, 0, 0); padding: 0.5rem 1rem; border-radius: var(--border-radius); margin: 0.5rem 0; } .partnerMessage { align-self: flex-start; color: rgb(0, 0, 0); padding: 0.5rem 1rem; border-radius: var(--border-radius); margin: 0.5rem 0; } .btn{ border-radius: 20px; } .systemMessage { align-self: center; background-color: var(--secondary-color); color: rgb(0, 0, 0); padding: 0.5rem 1rem; border-radius: var(--border-radius); margin: 0.5rem 0; font-style: italic; font-size: 14px; } .messagess ul { list-style-type: none; margin: 0; padding: 0; } .messagess ul li { padding: 10px; margin: 5px 0; border-radius: 8px; max-width: 70%; word-wrap: break-word; word-break: break-word; font-size: 16px; line-height: 1.4; } .messagess ul .me { color: rgb(0, 0, 0); align-self: flex-end; margin-left: auto; text-align: right; } .messagess ul .partnerMessage { color: rgb(0, 0, 0); align-self: flex-start; margin-right: auto; text-align: left; } .messagess ul .systemMessage { background-color: #555; color: rgb(0, 0, 0); text-align: center; margin: 0 auto; } ::-webkit-scrollbar-track { box-shadow: inset 0 0 6px rgba(0,0,0,0.3); background-color: #F5F5F5; } ::-webkit-scrollbar { width: 12px; background-color: #F5F5F5; } ::-webkit-scrollbar-thumb { box-shadow: inset 0 0 6px rgba(0,0,0,.3); background-color: #555; } @media (max-width: 1023px) { .controls{ flex-direction: column; } .btn-3, .btn-next, .btnStart { padding: 2vw; width: 90%; } } @media (max-width: 790px) { .upSection { flex-direction: column; } } @media screen and (max-width: 520px) { .controls { flex-wrap: wrap; gap: 20px; } .chat-input input { flex: 1; padding: 0.5rem; border: 1px solid var(--border-color); border-radius: var(--border-radius); font-size: 16px; width: 50%; } .btn{ font-size: 13px; } } @media screen and (max-width: 400px) { .controls { flex-wrap: wrap; } .chat-container { width: 100%; margin: 0; border-radius: var(--border-radius); } .chat-input button { font-size: 10px; } .chat-input input { flex: 1; padding: 0.5rem; border: 1px solid var(--border-color); border-radius: var(--border-radius); font-size: 16px; width: 50%; } .chat-input { display: flex; gap: 0.5rem; padding: 0.5rem; } } * { scrollbar-width: 0; } *::-webkit-scrollbar { background-color: transparent; width: 12px; } *::-webkit-scrollbar-thumb { border-radius: 99px; background-color: #ddd; border: 4px solid #fff; } .modal { position: absolute; color: black; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; background-color: rgba(#000, 0.25); background-color: rgba(0, 0, 0, 0.25); /* More explicit color syntax */ z-index: 1000; /* Ensures it's on top of other elements */ } .modal-container { max-height: 90vh; max-width: 500px; margin-left: auto; margin-right: auto; background-color: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 15px 30px 0 rgba(#000, 0.25); @media (max-width: 600px) { width: 90%; } } .modal-container-header { padding: 16px 32px; border-bottom: 1px solid #ddd; display: flex; align-items: center; justify-content: space-between; } .modal-container-title { display: flex; align-items: center; gap: 8px; line-height: 1; font-weight: 700; font-size: 1.125; svg { width: 32px; height: 32px; color: #750550; } } .modal-container-body { padding: 24px 32px 51px; overflow-y: auto; } .rtf { h1, h2, h3, h4, h5, h6 { font-weight: 700; } h1 { font-size: 1.5rem; line-height: 1.125; } h2 { font-size: 1.25rem; line-height: 1.25; } h3 { font-size: 1rem; line-height: 1.5; } & > * + * { margin-top: 1em; } & > * + :is(h1, h2, h3) { margin-top: 2em; } & > :is(h1, h2, h3) + * { margin-top: 0.75em; } ul, ol { margin-left: 20px; list-style-position: inside; } ol { list-style: numeric; } ul { list-style: disc; } } .modal-container-footer { padding: 20px 32px; display: flex; align-items: center; justify-content: flex-end; border-top: 1px solid #ddd; gap: 12px; position: relative; &:after { content: ""; display: block; position: absolute; top: -51px; left: 24px; right: 24px; height: 50px; flex-shrink: 0; background-image: linear-gradient(to top, rgba(#fff, 0.75), transparent); pointer-events: none; } } .button { padding: 12px 20px; border-radius: 8px; background-color: transparent; border: 0; font-weight: 600; cursor: pointer; transition: 0.15s ease; &.is-ghost { &:hover, &:focus { background-color: #dfdad7; } } &.is-primary { background-color: #750550; color: #fff; &:hover, &:focus { background-color: #4a0433; } } } .icon-button { padding: 0; border: 0; background-color: transparent; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; line-height: 1; cursor: pointer; border-radius: 8px; transition: 0.15s ease; svg { width: 24px; height: 24px; } &:hover, &:focus { background-color: #dfdad7; } }