196 lines
3.8 KiB
CSS
196 lines
3.8 KiB
CSS
|
|
/* Container */
|
|
.container.card {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 30px;
|
|
max-width: 1200px;
|
|
width: calc(100% - 300px);
|
|
padding: 20px;
|
|
flex-wrap: nowrap;
|
|
overflow-x: auto;
|
|
flex-direction: row;
|
|
align-content: center;
|
|
}
|
|
|
|
/* Card */
|
|
.card {
|
|
background-color: #eeeeee;
|
|
box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
|
|
border-radius: 10px;
|
|
padding: 10px;
|
|
width: 250px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Image Container */
|
|
.image-container.card {
|
|
width: 100%;
|
|
position: relative;
|
|
padding-top: 75%; /* Aspect ratio 4:3 */
|
|
border-radius: 5px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.image-container img {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
|
|
/* Description */
|
|
.description {
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
color: #333;
|
|
line-height: 1.6;
|
|
padding: 5px 10px;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.container {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
.card {
|
|
width: 80%;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
/* Container */
|
|
/* Ini harus dihapus/ubah */
|
|
.container {
|
|
max-width: 70%;
|
|
padding: 20px;
|
|
margin: 10px auto;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Subtitle */
|
|
.subtitle {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: rgb(255, 78, 78);
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
/* Title */
|
|
.title {
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* Gradient Line */
|
|
.gradient-line {
|
|
width: 70px;
|
|
height: 2px;
|
|
margin: 10px auto;
|
|
background: linear-gradient(to right, rgb(41, 123, 255), rgb(249, 13, 177));
|
|
}
|
|
|
|
/* === Carousel Styling === */
|
|
.carousel-inner {
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.carousel-item img {
|
|
width: 100%;
|
|
height: 500px;
|
|
object-fit: cover;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.carousel-caption {
|
|
background: rgba(0, 0, 0, 0.5);
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.carousel-control-prev-icon,
|
|
.carousel-control-next-icon {
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Poppins', sans-serif;
|
|
background-color: #393E46;
|
|
}
|
|
|
|
.testimonial-container {
|
|
padding: 2rem 0; /* Kurangi padding atas-bawah */
|
|
}
|
|
|
|
.testimonial-card {
|
|
padding: 1rem; /* Kurangi padding dalam kartu */
|
|
max-width: 250px; /* Perkecil lebar kartu */
|
|
height: 280px; /* Batasi tinggi kartu */
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center; /* Biar konten tetap di tengah */
|
|
}
|
|
|
|
.testimonial-img {
|
|
width: 70px; /* Perkecil ukuran gambar */
|
|
height: 70px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.testimonial-text {
|
|
font-size: 11px; /* Perkecil ukuran teks */
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.gradient-bg {
|
|
background: linear-gradient(135deg, #6f2121, #5a5a5a); /* Gradasi hitam ke abu-abu */
|
|
color: rgb(16, 16, 16); /* Warna teks putih agar kontras */
|
|
padding: 50px 0; /* Spasi atas-bawah */
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Efek Cahaya Abu-abu */
|
|
.gradient-bg::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: -50px;
|
|
left: -50px;
|
|
width: 200px;
|
|
height: 200px;
|
|
background: rgba(0, 0, 0, 0.2); /* Efek putih redup */
|
|
border-radius: 50%;
|
|
filter: blur(80px);
|
|
}
|
|
|
|
.gradient-bg::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: -50px;
|
|
right: -50px;
|
|
width: 200px;
|
|
height: 200px;
|
|
background: rgba(150, 150, 150, 0.2); /* Efek abu-abu soft */
|
|
border-radius: 50%;
|
|
filter: blur(80px);
|
|
}
|
|
|
|
/* Kalender Tetap Clean */
|
|
#calendar-container {
|
|
background: white; /* Latar belakang tetap putih */
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Bayangan agar terlihat modern */
|
|
}
|