432 lines
8.5 KiB
CSS
432 lines
8.5 KiB
CSS
/**
|
|
* CSS dari Anda, dengan perbaikan pada bagian slider
|
|
*/
|
|
.load-more {
|
|
padding-top: 1.5rem;
|
|
}
|
|
|
|
.load-more a {
|
|
color: black;
|
|
font-weight: 400;
|
|
font-family: 'Quicksand', Tahoma, Geneva, Verdana, sans-serif;
|
|
}
|
|
|
|
@keyframes textGlow {
|
|
0% { text-shadow: 0 0 10px #ff5733; }
|
|
50% { text-shadow: 0 0 20px #ffbd69; }
|
|
100% { text-shadow: 0 0 10px #ff5733; }
|
|
}
|
|
|
|
@keyframes bounce {
|
|
0%, 100% { transform: translateY(0); }
|
|
50% { transform: translateY(-10px); }
|
|
}
|
|
|
|
#randomText {
|
|
font-size: 60px;
|
|
font-weight: bold;
|
|
color: #a020f0;
|
|
}
|
|
|
|
#readingGif {
|
|
width: 200px;
|
|
height: auto;
|
|
display: block;
|
|
margin: 20px auto;
|
|
}
|
|
|
|
#titleHeading {
|
|
margin-bottom: 50px;
|
|
}
|
|
|
|
.timer-box {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
margin: 20px auto;
|
|
}
|
|
|
|
.timer-gif {
|
|
width: 80px;
|
|
height: 80px;
|
|
}
|
|
|
|
.countdown-text {
|
|
font-size: 32px;
|
|
font-weight: bold;
|
|
color: #ff5722;
|
|
animation: countdown-blink 1s infinite alternate;
|
|
}
|
|
|
|
@keyframes countdown-blink {
|
|
from { opacity: 1; }
|
|
to { opacity: 0.5; }
|
|
}
|
|
|
|
.btn-start {
|
|
background: #9c27b0;
|
|
color: #fff;
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
padding: 12px 24px;
|
|
border: none;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease-in-out;
|
|
box-shadow: 0 4px 8px rgba(156, 39, 176, 0.3);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.btn-start:hover {
|
|
background: #ba68c8;
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 6px 12px rgba(186, 104, 200, 0.5);
|
|
}
|
|
|
|
.btn-start:active {
|
|
transform: scale(0.95);
|
|
box-shadow: 0 3px 6px rgba(156, 39, 176, 0.5);
|
|
}
|
|
|
|
#nextText {
|
|
background-color: #9c27b0;
|
|
color: #fff;
|
|
font-size: 18px;
|
|
padding: 12px 24px;
|
|
border: none;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
margin-top: 10px;
|
|
visibility: hidden;
|
|
transition: visibility 0.3s ease;
|
|
position: absolute;
|
|
top: 20px;
|
|
right: 10px;
|
|
}
|
|
|
|
/* Fitur Pengenalan Huruf */
|
|
#huruf .slider-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
overflow: hidden;
|
|
background: none;
|
|
}
|
|
|
|
#huruf .video-wrapper {
|
|
width: 100%;
|
|
max-width: 900px;
|
|
height: auto;
|
|
position: relative;
|
|
background: none;
|
|
padding: 0;
|
|
}
|
|
|
|
#huruf .video-slider {
|
|
position: relative;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
#huruf .video-slide {
|
|
width: 100%;
|
|
max-width: 900px;
|
|
height: auto;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
display: none;
|
|
visibility: hidden;
|
|
}
|
|
|
|
#huruf .video-slide.active {
|
|
display: block;
|
|
visibility: visible;
|
|
position: relative;
|
|
}
|
|
|
|
#huruf .arrow {
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background: rgba(0,0,0,0.5);
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 15px;
|
|
cursor: pointer;
|
|
z-index: 10;
|
|
border-radius: 50%;
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
#huruf .left-arrow {
|
|
left: 10px;
|
|
}
|
|
|
|
#huruf .right-arrow {
|
|
right: 10px;
|
|
}
|
|
|
|
#huruf .arrow:hover {
|
|
background: #ba68c8;
|
|
color: white;
|
|
transform: translateY(-50%) scale(1.1);
|
|
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
|
|
}
|
|
|
|
/* General Styling */
|
|
.about-section {
|
|
padding: 50px 0;
|
|
background: #fff;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.section-head h2 {
|
|
font-size: 2.5em;
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.section-head h2 span {
|
|
color: #007bff;
|
|
}
|
|
|
|
.writing-container {
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
padding: 20px;
|
|
}
|
|
|
|
canvas#writingCanvas {
|
|
display: block;
|
|
margin: 0 auto;
|
|
border-radius: 5px;
|
|
border: 2px solid #8e44ad;
|
|
background: white;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.button-group {
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.button-group button {
|
|
padding: 10px 20px;
|
|
background: #ba68c8;
|
|
color: white;
|
|
border: none;
|
|
cursor: pointer;
|
|
margin: 0 10px;
|
|
border-radius: 5px;
|
|
font-size: 25px;
|
|
}
|
|
|
|
.button-group button:hover {
|
|
background: #8e44ad;
|
|
}
|
|
|
|
#recognitionResult {
|
|
font-weight: bold;
|
|
font-size: 18px;
|
|
color: #4a148c;
|
|
margin-top: 15px;
|
|
text-align: center;
|
|
}
|
|
|
|
.error-message {
|
|
color: red;
|
|
text-align: center;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
/* Media Card (Video dan Audio) */
|
|
.media-card {
|
|
background: #fff;
|
|
border-radius: 12px;
|
|
padding: 15px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
|
|
.media-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
/* Video - Spesifik untuk slider */
|
|
#huruf .video-wrapper video {
|
|
border-radius: 12px;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
/* Audio */
|
|
.audio-wrapper audio {
|
|
border-radius: 12px;
|
|
background: #f8f9fa;
|
|
padding: 8px;
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
|
|
.audio-wrapper audio:hover {
|
|
transform: scale(1.03);
|
|
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* Placeholder Card */
|
|
.placeholder-card {
|
|
border: 1px dashed #dee2e6;
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
|
|
.placeholder-card:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.placeholder-card i {
|
|
color: #6c757d;
|
|
}
|
|
|
|
/* Card Bacaan */
|
|
.txt-entry {
|
|
border: 1px solid #e9ecef;
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
|
|
.txt-entry:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.txt-entry h4 {
|
|
font-size: 1.5rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
/* Button */
|
|
.button {
|
|
background: linear-gradient(135deg, #ba68c8, #9c27b0);
|
|
border: none;
|
|
color: #fff;
|
|
padding: 12px 24px;
|
|
border-radius: 30px;
|
|
font-size: 18px;
|
|
cursor: pointer;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
|
transition: all 0.3s ease;
|
|
display: inline-block;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.button:hover {
|
|
background: linear-gradient(135deg, #8e24aa, #ba68c8);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.button:active {
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
/* Hasil Akurasi */
|
|
.txt-entry p span {
|
|
font-weight: 600;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
/* Swiper Pagination Custom */
|
|
.swiper-pagination-bullet {
|
|
background: #ba68c8;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.swiper-pagination-bullet-active {
|
|
background: #8e24aa;
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Responsive Tweaks */
|
|
@media (max-width: 768px) {
|
|
.swiper-pagination-bullet {
|
|
width: 36px;
|
|
height: 36px;
|
|
font-size: 25px;
|
|
}
|
|
|
|
.button {
|
|
font-size: 0.95rem;
|
|
padding: 10px 16px;
|
|
}
|
|
|
|
.txt-entry h4 {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.media-card {
|
|
padding: 10px;
|
|
}
|
|
|
|
.video-wrapper video,
|
|
.audio-wrapper audio {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.placeholder-card {
|
|
padding: 12px;
|
|
}
|
|
|
|
.placeholder-card i {
|
|
font-size: 1.5rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.txt-entry {
|
|
padding: 12px;
|
|
}
|
|
|
|
.button {
|
|
font-size: 0.9rem;
|
|
padding: 8px 12px;
|
|
}
|
|
}
|
|
|
|
/* Tampilan Kontak Kami */
|
|
.fullscreen-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
padding-left: 30px;
|
|
}
|
|
|
|
.contact-form {
|
|
max-width: 500px;
|
|
padding: 30px;
|
|
background-color: white;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.contact-section.gradiant-background {
|
|
min-height: 100vh;
|
|
width: 100vw;
|
|
position: relative;
|
|
padding-bottom: 90px;
|
|
margin-left: calc(-50vw + 50%);
|
|
margin-right: calc(-50vw + 50%);
|
|
box-sizing: border-box;
|
|
} |