* {
  box-sizing: border-box;
}

body, html {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    height: auto;
    overflow: auto;
    background: url("../img/bg_ombak_cute.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    overflow: hidden;
    scroll-behavior: smooth;
}

header {
    background-image: url(../img/headerbg.jpg);
    background-size: cover;
    padding: 1rem;
    text-align: center;
    position: sticky;
    top: 0;
}

header h1 {
    color: rgb(211, 62, 112);
    -webkit-text-stroke: 0.5px rgb(90, 16, 65);
    font-weight: 800;
    font-size: 25px;
}

.text-td {
    color: rgb(185, 64, 104); 
    font-weight: 1000;
    -webkit-text-stroke: 0.3px rgb(114, 47, 84);
}

input {
    width: auto;
    height: 30px;
    font-size: 16px;
    color: rgb(107, 0, 41);
    background-color: pink;
    font-weight: bold;
    border-radius: 5px;
    border: 1.5px solid aliceblue;
    padding: 5px 10px;
    outline: none; 
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

input:focus {
    box-shadow: 0 0 5px 2px rgba(247, 132, 189, 0.5); /* Efek glow pink */
    border-color: hotpink; 
}

.btn {
    margin-left: 5px;
    width: auto;
    height: 28px;
    background-color: palevioletred;
    border: none;
    border-radius: 5px;
    padding: auto;
    font-weight: 750;
}

.list-item {
    display: flex;
    width: 310px;
    justify-content: space-between;
    padding: 5px 0;
}

.list-item-detail {
    display: flex;
    align-items: center;
}

.list-item-detail input {
    margin-right: 16px;
    width: 20px;
    height: 20px;
}

.list-item-detail span {
    font-size: 17px;
    color: rgb(192, 43, 93);
    font-weight: bolder;
}

.list-item-detail input:checked ~ span {
    text-decoration: line-through;
    color: rgb(192, 43, 93);
}

.list-text {
  display: inline-block;
  max-width: 240px;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
}


.td-list {
    padding: 1rem;
}

.ck-input {
    accent-color: palevioletred;
}

.delete-button {
    font-size: 10px;
    margin: 10px 10px;
    width: 20px;
    height: 20px;
    background-color: palevioletred;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.box-nt {
    padding: 1rem;
}

.box-nt input {
    width: 340px;
    height: 200px;
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.button-group {
  display: flex;
  gap: 5px;
}

.edit-button, .delete-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: palevioletred;
}

@media (min-width: 600px) {
    .td-list {
        max-width: 600px;
        margin: 0 auto; 
    }
} 