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

body {
  font-family: Arial, Helvetica, sans-serif;
  background-image: url(../img/bg-body.jpg);
  background-size: cover;
  font-size: 1rem;
  font-weight: 500;
  overflow: hidden;
}

/* Header */
header {
  width: 100%;
  padding: 1rem;
  text-align: center;
}

header h1 {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: bold;
  font-size: 2.5rem;
  background: -webkit-linear-gradient(rgb(94, 94, 94), rgb(54, 54, 54), rgb(18, 18, 18));
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Main */
main {
  margin-bottom: 1rem;
}

aside {
    inset-block-end: 0;
    inset-inline: 0;
}

aside .social-media {
    height: 100%;
    display: flex;
}

aside .social-media ul {
    padding: 1.5rem 1rem;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    margin: auto;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

aside .social-media li {
    list-style-type: none;
    cursor: pointer;
}

aside .social-media li a {
    text-decoration: none;
    font-size: 1.5rem;
    color: #26282d ;
}

aside .social-media li:hover {
    transition: 0.3s;
    transform: scale(1.2);
}

.content {
  width: min(100% - 2rem, 800px);
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Row 1 */
.row-1 {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.form-container {
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.1);
  width: 80%;
  background-color: #C55144;
  color: #fff;
}

.form-group {
  position: relative;
  margin-bottom: 0.75rem;
  color: #26282d;
}

.form-group input {
  border: 1px solid #26282d;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  width: 100%;
  font-size: 1rem;
  outline: none;
}

.form-group label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.3s;
  cursor: text;
}

.form-group input:not(:placeholder-shown),
.form-group input:focus {
  border: 1px solid #26282d;
}

.form-group input:not(:placeholder-shown) ~ label,
.form-group input:focus ~ label {
  top: 0;
  left: 0.75rem;
  color: #fff;
  padding: 0 0.25rem;
  background-color: #C55144;
  font-size: 12px;
  font-weight: bolder;
  border-radius: 5px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.form-check label {
  color: #fff;
}

.form-check input,
.form-check label {
  cursor: pointer;
}

.submit-button {
  border: none;
  outline: none;
  background-color: #F8B71C;
  color: white;
  font-weight: 600;
  float: right;
  padding: 0.5rem 2rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: 0.3s;
}

.submit-button:hover{
  background-color: #FCC534;
}


/* Row 2 */
.row-2 {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.cari-container {
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.1);
  width: 80%;
  background-color: #377480;
  color: #fff;
}

.form-search {
  position: relative;
  margin-bottom: 0.75rem;
  color: #26282d;
}

.form-search input {
  border: 1px solid #26282d;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  width: 100%;
  font-size: 1rem;
  outline: none;
}

.form-search label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.3s;
  cursor: text;
}

.form-search input:not(:placeholder-shown),
.form-search input:focus {
  border: 1px solid #26282d;
}

.form-search input:not(:placeholder-shown) ~ label,
.form-search input:focus ~ label {
  top: 0;
  left: 0.75rem;
  color: #fff;
  padding: 0 0.25rem;
  background-color: #C55144;
  font-size: 12px;
  font-weight: bolder;
  border-radius: 5px;
}

.form-search input:not(:placeholder-shown) ~ label,
.form-search input:focus ~ label {
  top: 0;
  left: 0.75rem;
  color: #fff;
  padding: 0 0.25rem;
  background-color: #377480;
  font-size: 12px;
  font-weight: bolder;
  border-radius: 5px;
}

.form-search-bottom {
  display: flex;
  justify-content: end;
  gap: 0.25rem;
}

.cari-button {
  padding: 0.25rem 0.5rem;
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  color: #fff;
  font-size: 1.25rem;
  border-radius: 0.25rem;
  background-color: #F8B71C;
}

.cari-button:hover{
  background-color: #FCC534;
}

/* Row 3 */
.row-3 {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.element {
  border: 1px solid #26282d;
  background-color: #fff;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.title {
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.25rem;
}

.element-title {
  color: #22c55e;
  font-weight: bold;
}

.element-title span {
  color: #26282d;
}

.element-writer {
  color: #26282d;
  font-weight: 400;
  font-size: 14px;
}

.element-action {
  display: flex;
  gap: 0.25rem;
}

.unRead-container {
  padding: 1rem;
  border-radius: 1rem;
  width: 100%;
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.1);
  background-color: orange;
  color: white;
}

.selesai-button {
  padding: 0.25rem 0.5rem;
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  color: #fff;
  font-size: 1.25rem;
  border-radius: 0.25rem;
  background-color: #22c55e;
}

.selesai-button:hover {
  background-color: hsl(142, 71%, 40%);
}

.hapus-button {
  padding: 0.25rem 0.5rem;
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  color: #fff;
  font-size: 1.25rem;
  border-radius: 0.25rem;
  background-color: #ef4444;
}

.hapus-button:hover {
  background-color: hsl(0, 84%, 50%);
}

.beRead-container {
  padding: 1rem;
  border-radius: 1rem;
  width: 100%;
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.1);
  background-color: green;
  color: white;
}

.kembalikan-button {
  padding: 0.25rem 0.5rem;
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  color: #fff;
  font-size: 1.25rem;
  border-radius: 0.25rem;
  background-color: #facc15;
}

.kembalikan-button:hover {
  background-color: hsl(48, 96%, 47%);
}

.reset-button {
  padding: 0.25rem 0.5rem;
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  color: #fff;
  font-size: 1.25rem;
  border-radius: 0.25rem;
  background-color: #ef4444;
}

.reset-button:hover {
  background-color: hsl(0, 84%, 50%);
}

.alert {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  color: #fff;
  z-index: 100;
  background-color: #22c55e;
  animation: alert 0.5s;
  border-radius: 5px;
}

@keyframes alert {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

.hidden {
  display: none;
}

.row {
  display: flex;
  gap: 0.75rem;
}

/* Media Mobile */
@media screen and (max-width: 572px) {

  header h1 {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
    background: -webkit-linear-gradient(rgb(255, 255, 255), rgb(248, 234, 255), rgb(204, 204, 204));
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  aside .social-media li a {
    color: #aaaaaa ;
  }

  .row-1,
  .row-2,
  .row-3 {
    display: flex;
    flex-direction: column;
  }

  .form-container {
    width: 100%;
  }

  .cari-container {
    width: 100%;
  }

  .row {
    flex-direction: column;
    gap: 0;
  }
}




































