%PDF- %PDF-
| Direktori : /home2/rezakur1/devita.rezakurnia.com/X9KQ7MW2RT8PY4ND6LV3JH5CG8BF2ZM7QW4/scene4/ |
| Current File : //home2/rezakur1/devita.rezakurnia.com/X9KQ7MW2RT8PY4ND6LV3JH5CG8BF2ZM7QW4/scene4/scene4.css |
:root {
--primary: #00e5ff;
--secondary: #00b7c7;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
width: 100%;
height: 100%;
overflow: hidden;
font-family: "Poppins", sans-serif;
}
/* ===================================
BACKGROUND
=================================== */
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;
position: relative;
color: white;
}
body::before {
content: "";
position: absolute;
inset: 0;
background:
radial-gradient(
circle at top right,
rgba(0, 255, 255, 0.18),
transparent 35%
),
radial-gradient(
circle at bottom left,
rgba(0, 255, 180, 0.15),
transparent 35%
);
pointer-events: none;
}
/* ===================================
CONTAINER
=================================== */
.container {
position: relative;
z-index: 2;
width: 100%;
height: 100vh;
padding: 105px 45px 120px 45px;
}
/* ===================================
TITLE
=================================== */
.page-title {
text-align: center;
margin-bottom: 25px;
}
.page-title h1 {
font-size: 42px;
font-weight: 700;
color: white;
text-shadow: 0 0 20px rgba(0, 255, 255, 0.25);
}
.page-title p {
color: rgba(255, 255, 255, 0.8);
margin-top: 6px;
}
/* ===================================
GRID
=================================== */
.menu-grid {
width: 100%;
max-width: 1400px;
margin: auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
}
/* ===================================
CARD POSITION
=================================== */
/*
.menu-card:nth-child(1) {
grid-column: 1 / 3;
}
.menu-card:nth-child(2) {
grid-column: 3 / 5;
}
.menu-card:nth-child(3) {
grid-column: 5 / 7;
}
.menu-card:nth-child(4) {
grid-column: 2 / 4;
}
.menu-card:nth-child(5) {
grid-column: 4 / 6;
} */
/* ===================================
CARD
=================================== */
.menu-card {
position: relative;
min-height: 220px;
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;
cursor: pointer;
transition: 0.35s;
overflow: hidden;
}
.menu-card::before {
content: "";
position: absolute;
width: 180px;
height: 180px;
border-radius: 50%;
top: -90px;
right: -90px;
background: rgba(0, 255, 255, 0.06);
}
.menu-card:hover {
transform: translateY(-8px) scale(1.02);
box-shadow: 0 0 30px rgba(0, 255, 255, 0.25);
}
.menu-number {
position: absolute;
top: 20px;
right: 25px;
font-size: 46px;
font-weight: 700;
color: rgba(255, 255, 255, 0.08);
}
.menu-icon {
font-size: 54px;
margin-bottom: 15px;
}
.menu-card h2 {
color: var(--primary);
margin-bottom: 10px;
font-size: 24px;
}
.menu-card p {
color: rgba(255, 255, 255, 0.85);
line-height: 1.8;
font-size: 15px;
}
/* ===================================
FOOTER
=================================== */
.footer {
position: absolute;
left: 45px;
right: 45px;
bottom: 25px;
display: flex;
justify-content: flex-start;
z-index: 10;
}
.btn {
min-width: 230px;
height: 70px;
border: none;
cursor: pointer;
border-radius: 24px;
font-size: 20px;
font-weight: 600;
color: white;
transition: 0.3s;
backdrop-filter: blur(12px);
border: 1px solid var(--primary);
background: linear-gradient(
135deg,
rgba(0, 180, 180, 0.25),
rgba(0, 255, 255, 0.08)
);
}
.btn:hover {
transform: translateY(-3px);
box-shadow: 0 0 25px rgba(0, 255, 255, 0.35);
}
.btn:active {
transform: scale(0.98);
}
/* =========================
ENTRY ANIMATION
========================= */
.page-title {
opacity: 0;
transform: translateY(-30px);
transition: 0.8s ease;
}
.footer {
opacity: 0;
transform: translateY(30px);
transition: 0.8s ease 1.2s;
}
.menu-card {
opacity: 0;
transform: translateY(40px) scale(0.9);
transition: 0.7s ease;
}
.loaded .page-title {
opacity: 1;
transform: translateY(0);
}
.loaded .footer {
opacity: 1;
transform: translateY(0);
}
.menu-card.show {
opacity: 1;
transform: translateY(0) scale(1);
}
body::before {
content: "";
position: fixed;
inset: 0;
background: linear-gradient(rgba(0, 20, 25, 0.55), rgba(0, 20, 25, 0.55));
z-index: -1;
animation: bgZoom 2s ease;
}
@keyframes bgZoom {
from {
transform: scale(1.08);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
/* ===================================
RESPONSIVE SCALE ONLY
Tidak mengubah layout asli
=================================== */
@media (max-width: 1600px) {
.container {
transform: scale(0.95);
transform-origin: top center;
}
}
@media (max-width: 1400px) {
.container {
transform: scale(0.9);
transform-origin: top center;
}
}
@media (max-width: 1280px) {
.container {
transform: scale(0.85);
transform-origin: top center;
}
}
@media (max-width: 1100px) {
.container {
transform: scale(0.78);
transform-origin: top center;
}
}
@media (max-width: 992px) {
.container {
transform: scale(0.72);
transform-origin: top center;
}
}
@media (max-width: 768px) {
html,
body {
overflow: auto;
}
.container {
transform: scale(0.6);
transform-origin: top center;
width: 166%;
}
}
@media (max-width: 576px) {
.container {
transform: scale(0.5);
transform-origin: top center;
width: 200%;
}
}
@media (max-width: 430px) {
.container {
transform: scale(0.42);
transform-origin: top center;
width: 238%;
}
}