* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #555, #222);
    min-height: 100vh;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 1);
    padding: 10px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); /* shadow hitam */
    backdrop-filter: blur(10px); /* blur background belakang */
    -webkit-backdrop-filter: blur(10px); /* untuk Safari */
}

#menu {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
}

#hider {
    background:rgba(0, 0, 0, 0.5); 
}

canvas { 
    display: block;
    border-radius: 10px; width: 100%; height: 300px; 
    padding-left: 50px;
    padding-right: 50px;
}

#curen {
    color: white;
    font-size: 20px;
    margin-top:40px;
    margin-bottom: 10px;
    margin-left: 50px;
}

.logo {
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 20px;
    margin-left: 10%;
    margin-right: 10%;
}

.card {
    background: rgba(255, 255, 255, 00.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    text-align: center;
    padding: 10px;
    color: #222;;
    backdrop-filter: blur(5px);

    box-shadow: 0 2px 10px rgba(183, 183, 183, 0.5); /* shadow hitam */
    backdrop-filter: blur(10px); /* blur background belakang */
    -webkit-backdrop-filter: blur(10px); /* untuk Safari */
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.card p {
    margin-top: 10px;
    font-weight: bold;
}

#aboutPage {
    padding: 60px 50px;
    margin-top: 43px;
    
    color: aliceblue;
    text-align: justify;
}

.footer {
    display: flex;
    justify-content: space-between;
    background-color: #222;
    color: white;
    margin-top: 54px;
    padding: 20px;
    flex-wrap: wrap;
    font-size: small;
}

.footer-column {
    flex: 1 1 200px;
    margin: 10px;
}

.footer-column h3 {
    border-bottom: 1px solid rgb(46, 46, 46);
    padding-bottom: 5px;
    font-size: medium;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin: 5px 0;
}

#about-temancuan {
    position: fixed;
    z-index: 2;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 100vh;
}

#about-temancuan * {
    background-color: transparent;
    color: transparent;
}

#style-body {
    position: relative;
    top: 0;
    left: calc(25% / 2);
    width: 75%;
    padding-bottom: 20px;
    margin-top: 64px;
    margin-bottom: 10px;
    border: 2px solid  chocolate;
    background-color: antiquewhite;
    border-radius: 6px;
}

.posisi-kolom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 5px;
    gap: 10px;
}

#style-body label {
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    margin-bottom: 10px;
    width: calc(100% - (10% + 20px));
    padding-left: 5%;
    padding-right: 5%;
    justify-content: center;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="datetime-local"],
input[type="time"],
input[type="file"],
input[type="search"],
textarea,
select {
    padding: 10px;
    width: 100%;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    -webkit-appearance: none;
}

button {
    width: 20%;
    height: 38px;
    margin-bottom: 4px;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(4, 10, 99, 0.4);
    font-size: 16px;
}

#style-body label {
    width: 100%;
}

.ldesc {
    padding-left: 3px;
}

#style-body .title-body {
    display: flex;
	flex-wrap: wrap;
	flex-direction: row;
    padding: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 20px;
    padding-left: 10px;
    width: 100%;
    background-color: chocolate;
    color: aliceblue;
    justify-content: left;
    align-items: center;
    font-size: medium;
    font-weight: bold;
	gap: 10px;
}

#btnReg {
    color: white;
    background-color: blue;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
}

#btnLogin {
    color: white;
    background-color: rgba(0, 91, 47, 0.745);
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
}

#btnLinkLogin {
    background-color: transparent;
     color: white; 
     margin-top: 36px;
     box-shadow: none;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  text-shadow: -1px 2px 1px rgba(0,0,0,0.3);
}

#msgBox {
    display: none;
    position: fixed;
    top: 11.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 25%;
    z-index: 9999;
}


.frshow_msg {
    display: flex;
    flex-direction: column;
}

.show_msg {
    position: relative;
    top: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
}

#msgPop {
	position: fixed;
    display: block; 
    height: 100vh;
	top: 0;
	left: 0;
	text-align: center;
	color: white;
	width: 100%;
	padding: 5px 10px;
	background-color: rgba(0, 0, 0, 0.5);
}

#msgPop img {
    margin-top: 25vh;
    width: 128px;
    height: 128px;
}




/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #333;
        width: 200px;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    canvas { 
        height: 700px; 
        padding-left: 5px;
        padding-right: 5px;
    }

    #curen {
        margin-top:55px;
        font-size:16px;
        margin-left: 5px;
    }

    .card-container {
        margin-left: 10px;
        margin-right: 10px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    h2 {
        font-size: 16px;
    }

    h3 {
        font-size: 14px;
    }

}
