/* ===== ROOT & RESET ===== */
html, body {
margin: 0 !important;
padding: 0 !important;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
-ms-overflow-style: none;
scrollbar-width: none;
}
body {
min-height: 100vh;
background-color: #ffffff;
margin: 0;
padding: 0;
}
/* ===== ANIMATIONS ===== */
@keyframes card-hover {
from {
background-color: #ffffff;
color: #000;
}
to {
background-color: #17BEBB;
color: #fff;
}
}
/* Standardized navbar is now handled via partials/navbar.html and Tailwind */
/*
nav {
display: flex;
flex-direction: row;
justify-content: flex-end;
background-color: #17BEBB;
min-height: 10%;
width: 100%;
box-shadow: 0 4px 5px -2px rgba(0, 0, 0, 0.418);
overflow: hidden;
}
.nav-button {
color: #fff;
text-decoration: none;
margin-right: 20px;
}
*/
/* ===== LAYOUT CONTAINERS ===== */
.container-h {
width: 100%;
min-height: 100%;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
margin-top: 20px;
overflow: hidden;
box-sizing: border-box;
}
.container-v {
width: 100%;
min-height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
overflow: hidden;
box-sizing: border-box;
}
.container-box-v {
width: 100%;
min-height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
box-shadow: 0 4px 5px -2px rgba(0, 0, 0, 0.418);
overflow: hidden;
box-sizing: border-box;
}
.container {
display: flex;
justify-content: center;
align-items: center;
margin-top: 20px;
}
.container2 {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
margin-top: 20px;
}
.grid-container {
display: grid;
grid-template-columns: 4fr 1fr;
grid-template-rows: auto auto;
background-color: #ffffff;
justify-content: center;
gap: 15px;
padding: 10px;
min-height: 100vh;
width: 100%;
overflow: hidden;
box-sizing: border-box;
}
/* ===== VIDEO & MEDIA ===== */
.video-container {
display: flex;
justify-content: center;
text-align: center;
}
.video-container img {
border-radius: 2%;
margin: 20px;
}
/* ===== CARDS ===== */
.cards {
width: 250px;
height: 300px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
transition: all 0.2s ease-in-out;
}
.cards img {
width: 235px;
height: 225px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
.cards:hover {
transform: translateY(-20px);
box-shadow: 0 20px 10px 5px rgba(2, 7, 69, 0.3);
animation: card-hover 0.3s forwards;
}
/* ===== TEXT & CONTENT ===== */
.title {
margin-top: 5px;
text-align: center;
}
.box {
text-align: justify;
max-width: 500px;
margin: 10px 0;
}
/* ===== FOOTER ===== */
.footer {
position: relative;
background-color: #dfdfdf;
display: grid;
justify-content: center;
padding: 10px;
text-align: center;
}
/* ===== TABLE ===== */
table {
gap: 10px;
}
table td {
padding: 10px;
}
/* ===== CLICKABLE ELEMENTS ===== */
#Mulai, #About, #doc {
cursor: pointer;
}