/* style.css */

@media (max-width: 600px) {
    body {
        
    }

    .balasan {
        padding-left: 0.75rem;
        margin-left: 0.75rem;
    }
}

* {
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
	font-family: Arial, sans-serif;
    background: white;
}

.masukAkun {
  padding: 1rem;
  background-color: #848688;
}

.header {
    padding: 1rem;
}

h2 {
    margin-bottom: 1rem;
}

#tombol-buat-post {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;

    padding: 0.75rem 1.25rem;
    color: white;
    background-color: #0097B2;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
    #tombol-buat-post:hover {
        background-color: #007E97;
    }

.post-formulir, .balasan-formulir {
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: #5E17EB;
    color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

textarea {
    width: 100%;
    padding :0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}
    textarea:focus {
        outline: none;
        border-color: #0097B2;
        box-shadow: 0 0 0 2px rgba(94, 23, 235, 0.2);
        background-color: #f9f8ff;
    }

button {
    margin-top: 0.5rem;
    padding: 0.6rem 1rem;
    font-size: 1rem;
    background-color: #0097B2;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.post {
    padding: 1rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
  /* Markdown */
  .post div {
      line-height: 1.6;
  }

  .post code {
      padding: 0.2rem 0.4rem;
      background: #eee;
      border-radius: 3px;
      font-family: monospace;
  }

  .post pre {
      padding: 1rem;
      background: #f4f4f4;
      overflow: auto;
      border-radius: 6px;
  }

  .post small {
    margin-top: 0.5rem;
    display: block;
    font-size: 0.85rem;
    color: gray;
  }

.balasan {
    padding-left: 1rem;
    margin-left: 1rem;
}

.tombol-balasan {
    padding: 0;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    background: none;
    color: #0097B2;
    border: none;
    cursor: pointer;
}
    .tombol-balasan:hover {
        text-decoration: underline;
    }

.tersembunyi {
    display: none;
}

.daftar-balasan {
    padding-left: 1rem;
    margin-left: 1rem;
    border-left: 2px solid #ccc;
}

/* Emoji */
#emoji-pilihan {
  display: none;
  position: absolute;
  z-index: 1000;
}

#tombol-gulir-bawah {
  padding: 0.75rem 1rem;
  bottom: 2rem;
  left: 2rem;
  position: fixed;
  font-size: 1rem;
  background-color: #0097B2;
  color: white;
  border: none;
  border-radius: 25%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
  #tombol-gulir-bawah:hover {
    background-color: #007E97;
  }

footer {
    padding: 1rem;
}
