/* ========================= RESET PODSTAWOWY ========================= */ * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } /* ========================= BODY ========================= */ body { background: #f4f7fc; color: #333; padding: 20px; } /* ========================= NAGŁÓWEK ========================= */ h2 { text-align: center; margin-bottom: 30px; color: #4a4a4a; font-size: 2em; } /* ========================= KONTENER MODELI ========================= */ #models-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; } /* ========================= KARTA MODELU ========================= */ .model-card { position: relative; background: #ffffff; border-radius: 15px; padding: 20px; box-shadow: 0 6px 18px rgba(0,0,0,0.08); transition: transform 0.2s, box-shadow 0.2s; overflow: hidden; } .model-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0,0,0,0.12); } /* ========================= 3 KROPKI (MENU) ========================= */ .menu-btn { position: absolute; top: 12px; right: 14px; cursor: pointer; font-size: 22px; color: #777; user-select: none; } .menu-btn:hover { color: #000; } /* ========================= BOCZNY PANEL (SLIDE) ========================= */ .side-menu { position: absolute; top: 0; right: -260px; width: 250px; height: 100%; background: #111; color: #fff; padding: 20px; transition: right 0.3s ease; z-index: 20; display: flex; flex-direction: column; gap: 10px; } .side-menu.open { right: 0; } .side-menu h4 { margin-bottom: 10px; border-bottom: 1px solid #333; padding-bottom: 5px; } .side-menu input { padding: 8px; border-radius: 6px; border: none; font-size: 0.9em; } .side-menu button { padding: 8px; border-radius: 8px; border: none; cursor: pointer; font-weight: bold; background: #6c63ff; color: white; } .side-menu button:hover { background: #574fd6; } /* ========================= NAZWA MODELU ========================= */ .model-card h3 { margin-bottom: 15px; color: #1a1a1a; font-size: 1.4em; border-bottom: 1px solid #e0e0e0; padding-bottom: 5px; } /* ========================= OPIS MODELU (Markdown) ========================= */ .description { font-style: italic; color: #555; margin-bottom: 15px; line-height: 1.5; } /* ========================= FORMULARZ ========================= */ form.predict-form { display: flex; flex-direction: column; gap: 10px; } form.predict-form label { font-weight: 600; } form.predict-form input { padding: 8px 12px; border-radius: 8px; border: 1px solid #ccc; font-size: 0.95em; transition: border 0.2s, box-shadow 0.2s; } form.predict-form input:focus { border-color: #6c63ff; box-shadow: 0 0 5px rgba(108, 99, 255, 0.4); outline: none; } /* ========================= PRZYCISK ========================= */ form.predict-form button { padding: 10px 15px; background: #6c63ff; color: #fff; border: none; border-radius: 10px; cursor: pointer; font-weight: bold; transition: background 0.2s, transform 0.2s; } form.predict-form button:hover { background: #574fd6; transform: translateY(-2px); } /* ========================= OUTPUT ========================= */ .output { margin-top: 10px; font-weight: bold; color: #1a73e8; } /* ========================= DOWNLOAD ========================= */ .download { margin-top: 15px; font-size: 0.9em; } .download a { text-decoration: none; color: #6c63ff; margin-right: 10px; transition: color 0.2s; } .download a:hover { color: #574fd6; text-decoration: underline; } /* ========================= LINIE ========================= */ hr { border: none; height: 1px; background: #e0e0e0; margin: 20px 0; } /* ========================= RESPONSYWNOŚĆ ========================= */ @media (max-width: 600px) { h2 { font-size: 1.5em; } .model-card { padding: 15px; } form.predict-form input, form.predict-form button { font-size: 0.9em; } } .side-menu { pointer-events: none; } .side-menu.open { pointer-events: auto; } .side-menu { position: fixed; }