body{

margin:0;
font-family:'Poppins',sans-serif;
background:#f5f7fb;

}


/* HEADER */

header{

display:flex;
justify-content:space-between;
align-items:center;

padding:20px 40px;

background:white;

box-shadow:0 2px 10px rgba(0,0,0,0.05);

}

.logo{

font-weight:600;
font-size:20px;

}

nav a{

margin-left:20px;
cursor:pointer;
color:#333;
text-decoration:none;

}


/* PAGE */

.page{

display:none;

}


/* HERO SECTION */

.hero{

display:flex;
align-items:center;
justify-content:space-between;

padding:80px 8%;

background:linear-gradient(
135deg,
#f5f7fb,
#e9f1ff
);

min-height:100vh;

}


/* HERO TEXT */

.hero-text{

max-width:520px;

}

.hero-text h1{

font-size:48px;
margin-bottom:20px;

}

.hero-text p{

font-size:18px;
color:#555;
line-height:1.6;

}


/* BUTTON */

.startBtn{

margin-top:20px;

padding:14px 30px;

background:#4CAF50;

border:none;

border-radius:30px;

color:white;

font-size:16px;

cursor:pointer;

transition:0.25s;

}

.startBtn:hover{

transform:translateY(-3px);

box-shadow:0 10px 20px rgba(0,0,0,0.15);

}


/* HERO IMAGE */

.hero-image img{

width:420px;

animation:float 5s ease-in-out infinite;

}


/* FLOAT ANIMATION */

@keyframes float{

0%{transform:translateY(0);}
50%{transform:translateY(-10px);}
100%{transform:translateY(0);}

}


/* LATIHAN */

.cardContainer{

display:flex;
justify-content:center;

gap:30px;

margin-top:60px;

flex-wrap:wrap;

}


/* SUBJECT CARD */

.subjectCard{

width:180px;
height:160px;

background:white;

border-radius:20px;

display:flex;
flex-direction:column;

align-items:center;
justify-content:center;

box-shadow:0 10px 25px rgba(0,0,0,0.08);

cursor:pointer;

transition:0.3s;

}

.subjectCard:hover{

transform:translateY(-10px) scale(1.05);

box-shadow:0 20px 40px rgba(0,0,0,0.15);

}

.icon{

font-size:45px;

}


/* QUIZ */

#quiz{

text-align:center;
padding:60px;

}

#answers button{

width:150px;

padding:15px;

margin:10px;

font-size:18px;

border:none;

border-radius:10px;

background:#3498db;

color:white;

cursor:pointer;

}

#answers button:hover{

background:#2980b9;

}


.nextBtn{

margin-top:20px;

padding:12px 25px;

background:#27ae60;

border:none;

border-radius:8px;

color:white;

cursor:pointer;

}


/* RANKING */

.rankCard{

width:250px;

background:white;

margin:15px auto;

padding:15px;

border-radius:12px;

box-shadow:0 5px 15px rgba(0,0,0,0.08);

}


/* MOBILE */

@media(max-width:768px){

.hero{

flex-direction:column;

text-align:center;

padding-top:100px;

}

.hero-image img{

width:300px;

margin-top:30px;

}

.hero-text h1{

font-size:34px;

}

}