%PDF- %PDF-
| Direktori : /home2/rezakur1/devita.rezakurnia.com/X9KQ7MW2RT8PY4ND6LV3JH5CG8BF2ZM7QW4/scene9/ |
| Current File : /home2/rezakur1/devita.rezakurnia.com/X9KQ7MW2RT8PY4ND6LV3JH5CG8BF2ZM7QW4/scene9/scene9.css |
:root {
--primary: #00e5ff;
--secondary: #00b7c7;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
width: 100%;
min-height: 100%;
font-family: "Poppins", sans-serif;
}
body {
background:
linear-gradient(rgba(0, 20, 25, 0.55), rgba(0, 20, 25, 0.55)),
url("../assets/images/bg.jpg");
background-size: cover;
background-position: center;
background-attachment: fixed;
color: white;
overflow-y: auto;
overflow-x: hidden;
}
body::before {
content: "";
position: fixed;
inset: 0;
background:
radial-gradient(
circle at top right,
rgba(0, 255, 255, 0.15),
transparent 35%
),
radial-gradient(
circle at bottom left,
rgba(0, 255, 180, 0.12),
transparent 35%
);
pointer-events: none;
}
/* ==========================
SCROLLBAR
========================== */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.05);
}
::-webkit-scrollbar-thumb {
background: var(--primary);
border-radius: 20px;
}
/* ==========================
CONTAINER
========================== */
.container {
max-width: 1600px;
margin: auto;
padding: 105px 45px 130px 45px;
position: relative;
z-index: 2;
}
/* ==========================
GLASS CARD
========================== */
.glass-card {
background: linear-gradient(
135deg,
rgba(255, 255, 255, 0.12),
rgba(255, 255, 255, 0.05)
);
border: 1px solid rgba(255, 255, 255, 0.15);
backdrop-filter: blur(18px);
border-radius: 35px;
padding: 30px;
margin-bottom: 25px;
box-shadow: 0 0 35px rgba(0, 255, 255, 0.05);
}
/* ==========================
TITLE
========================== */
.page-header {
text-align: center;
}
.page-header h1 {
font-size: 42px;
color: var(--primary);
margin-bottom: 15px;
}
.page-header p {
max-width: 900px;
margin: auto;
line-height: 1.9;
color: rgba(255, 255, 255, 0.85);
}
/* ==========================
SECTION TITLE
========================== */
.glass-card h2 {
color: var(--primary);
margin-bottom: 20px;
font-size: 30px;
}
/* ==========================
DATA GRID
========================== */
.data-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}
.data-card {
text-align: center;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 25px;
padding: 25px;
}
.data-card h3 {
font-size: 32px;
color: var(--primary);
margin-bottom: 10px;
}
.data-card span {
display: block;
font-size: 18px;
margin-bottom: 10px;
}
.data-card p {
color: rgba(255, 255, 255, 0.8);
}
/* ==========================
VIEWER
========================== */
.viewer-layout {
display: grid;
grid-template-columns:
1.5fr
1fr;
gap: 25px;
}
.viewer-panel {
display: flex;
flex-direction: column;
}
#naclViewer {
height: 550px;
border-radius: 25px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.viewer-controls {
display: flex;
gap: 15px;
margin-top: 20px;
flex-wrap: wrap;
}
.viewer-info {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 25px;
padding: 25px;
}
.viewer-info h3 {
color: var(--primary);
margin-bottom: 15px;
}
.viewer-info p {
line-height: 1.9;
}
.parameter-box {
margin-top: 20px;
padding: 18px;
border-radius: 18px;
background: rgba(0, 229, 255, 0.08);
border: 1px solid rgba(0, 229, 255, 0.2);
}
.parameter-box strong {
display: block;
margin-bottom: 8px;
}
.ion-info {
margin-top: 20px;
padding: 18px;
border-radius: 18px;
background: rgba(255, 255, 255, 0.05);
min-height: 100px;
}
/* ==========================
SLIDER
========================== */
input[type="range"] {
width: 100%;
margin-top: 20px;
}
.slider-labels {
display: flex;
justify-content: space-between;
margin-top: 10px;
color: rgba(255, 255, 255, 0.8);
}
/* ==========================
FORMULA
========================== */
.formula-box {
padding: 25px;
text-align: center;
font-size: 24px;
line-height: 1.8;
border-radius: 20px;
background: rgba(255, 255, 255, 0.05);
margin-bottom: 25px;
}
.energy-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
.energy-card {
background: rgba(255, 255, 255, 0.06);
border-radius: 20px;
padding: 25px;
text-align: center;
}
.energy-card h3 {
color: var(--primary);
margin-bottom: 10px;
}
/* ==========================
COULOMB
========================== */
.coulomb-container {
display: flex;
align-items: center;
justify-content: center;
gap: 40px;
margin-top: 30px;
}
.ion {
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 26px;
font-weight: 700;
}
.na {
width: 70px;
height: 70px;
background: #b388ff;
}
.cl {
width: 110px;
height: 110px;
background: #66bb6a;
}
.coulomb-line {
width: 250px;
height: 6px;
background: linear-gradient(90deg, red, orange, red);
border-radius: 20px;
animation: pulseLine 1.5s infinite;
}
@keyframes pulseLine {
0%,
100% {
opacity: 0.4;
}
50% {
opacity: 1;
}
}
.coulomb-label {
text-align: center;
margin-top: 20px;
color: var(--primary);
font-weight: 600;
}
/* ==========================
CONCEPT
========================== */
.concept-flow {
display: flex;
justify-content: center;
align-items: center;
gap: 15px;
flex-wrap: wrap;
}
.concept-box {
padding: 18px 25px;
background: rgba(255, 255, 255, 0.06);
border-radius: 18px;
}
.arrow {
font-size: 32px;
color: var(--primary);
}
.concept-text {
margin-top: 25px;
text-align: center;
line-height: 1.9;
}
/* ==========================
QUESTIONS
========================== */
.question-list {
padding-left: 25px;
line-height: 2;
}
.question-list li {
margin-bottom: 12px;
}
textarea {
width: 100%;
min-height: 180px;
margin-top: 25px;
padding: 20px;
border: none;
outline: none;
resize: vertical;
border-radius: 20px;
background: rgba(255, 255, 255, 0.08);
color: white;
font-family: "Poppins", sans-serif;
border: 1px solid rgba(255, 255, 255, 0.12);
}
textarea:focus {
border-color: var(--primary);
}
/* ==========================
BUTTON
========================== */
.btn {
min-width: 220px;
height: 60px;
border: none;
cursor: pointer;
border-radius: 20px;
color: white;
font-size: 16px;
font-weight: 600;
transition: 0.3s;
background: linear-gradient(
135deg,
rgba(0, 180, 180, 0.25),
rgba(0, 255, 255, 0.08)
);
border: 1px solid var(--primary);
}
.btn:hover {
transform: translateY(-3px);
box-shadow: 0 0 20px rgba(0, 255, 255, 0.25);
}
#savePredictionBtn {
margin-top: 20px;
}
/* ==========================
FOOTER
========================== */
.footer {
position: fixed;
left: 45px;
right: 45px;
bottom: 25px;
display: flex;
justify-content: space-between;
z-index: 999;
}
/* ==========================
REVEAL
========================== */
.reveal {
opacity: 0;
transform: translateY(20px);
transition: 0.6s;
}
.reveal.show {
opacity: 1;
transform: translateY(0);
}
/* ==========================
RESPONSIVE
========================== */
@media (max-width: 1200px) {
.viewer-layout {
grid-template-columns: 1fr;
}
.data-grid {
grid-template-columns: repeat(2, 1fr);
}
.energy-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 768px) {
.container {
padding: 105px 20px 150px 20px;
}
.page-header h1 {
font-size: 30px;
}
.data-grid {
grid-template-columns: 1fr;
}
.footer {
left: 20px;
right: 20px;
}
.btn {
min-width: 150px;
height: 55px;
}
.coulomb-container {
flex-direction: column;
}
.coulomb-line {
width: 6px;
height: 180px;
}
}
/* =========================
Glass Modal
========================= */
.modal-overlay {
position: fixed;
inset: 0;
display: flex;
justify-content: center;
align-items: center;
padding: 24px;
background: rgba(15, 23, 42, 0.35);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
opacity: 0;
visibility: hidden;
transition: 0.35s ease;
z-index: 9999;
}
.modal-overlay.show {
opacity: 1;
visibility: visible;
}
.modal-content {
width: min(760px, 95%);
max-height: 85vh;
overflow-y: auto;
padding: 30px;
border-radius: 28px;
background: rgba(255, 255, 255, 0.18);
border: 1px solid rgba(255, 255, 255, 0.25);
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
box-shadow:
0 15px 40px rgba(0, 0, 0, 0.18),
inset 0 1px rgba(255, 255, 255, 0.25);
color: white;
transform: translateY(30px) scale(0.95);
transition: 0.35s ease;
}
.modal-overlay.show .modal-content {
transform: translateY(0) scale(1);
}
.modal-content h2 {
margin-top: 0;
margin-bottom: 20px;
color: #fff;
font-size: 30px;
}
.modal-content h3 {
color: var(--primary);
margin-top: 22px;
margin-bottom: 8px;
font-size: 20px;
}
.modal-content p {
color: rgba(255, 255, 255, 0.9);
line-height: 1.8;
margin: 0;
}
/* Card di dalam modal */
.info-card {
margin-top: 18px;
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 18px;
padding: 18px 22px;
transition: 0.3s;
}
.info-card:hover {
background: rgba(255, 255, 255, 0.14);
transform: translateY(-3px);
}
/* Tombol Tutup */
.modal-close {
position: absolute;
top: 18px;
right: 18px;
width: 42px;
height: 42px;
border-radius: 50%;
border: 1px solid rgba(255, 255, 255, 0.2);
background: rgba(255, 255, 255, 0.12);
color: white;
font-size: 26px;
cursor: pointer;
transition: 0.3s;
}
.modal-close:hover {
background: rgba(255, 255, 255, 0.25);
transform: rotate(90deg);
}
/* Scroll */
.modal-content::-webkit-scrollbar {
width: 8px;
}
.modal-content::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.3);
border-radius: 20px;
}