* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  height: 99.9vh;
  overflow-y: scroll;
  background-color: #fafafa;
}

.headline {
  padding: 1.5rem;
  color: #1a51ca;
  min-height: 100vh;
  width: 30rem;
  position: absolute;
  right: 0rem;
  z-index: 20;
}

#overlay {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: none;
}

.column1 {
  padding: 1rem;
  font-size: 0.8em;
}

span {
  font-family: "adapter-mono-pe-variable", sans-serif;
  font-variation-settings: "BORD" 300, "ital" 0, "slnt" 0, "wght" 300;
  font-size: 1em; 
}


/* column2 */
.column2-wrapper {
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  height: max-content;
background: #f2f2f2;
background: linear-gradient(0deg,#fafafa 0%, #e6e6e6 100%);
}

/*  form */
.column2 {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: scroll;
  padding: 1rem;
  
}

/* X button */
.close-btn {
  cursor: pointer;
  font-size: 15px;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border: none;
  width: 100%;
background: #c2c2c2;
background: linear-gradient(90deg,#c5c5c5 0%, #d6d6d6 100%);  border-radius: 0%;
}

.close-btn:hover {
  color: #1a51ca;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

label {
  font-size: 0.9em;
  font-weight: 300;
}
input[type="text"],
textarea {
  padding: 8px 10px;
  border: 1px solid #1a51ca;
  font-size: 1em;
  outline: none;
  resize: none;
  color: #1a51ca;
  background-color: transparent;
  font-family: "adapter-mono-pe-variable", sans-serif;
font-variation-settings: "BORD" 300, "ital" 0, "slnt" 0, "wght" 300;
font-size: 0.8em;
}

input[type="text"]:focus,
textarea:focus {
  border-color: #1a51ca;
  background: transparent;
}

textarea {
  resize: vertical;
  min-height: 70px;
  resize: none;
}

input[type="file"] {
  font-size: 0.75em;
  color: #1a51ca;
  padding: 8px 10px;
  border: 1px solid #1a51ca;
}

.button-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

button {
  padding: 8px 10px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  color: #1a51ca;
  border: 1px solid #1a51ca;
  background-color: transparent;
  font-family: "adapter-mono-pe-variable", sans-serif;
font-variation-settings: "BORD" 300, "ital" 0, "slnt" 0, "wght" 300;
}

button:hover {
  background: #c6c6c6;
  color: #1a51ca;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* column3 */

.column3 {
  padding: 1rem;
  display: grid;
  grid-template-rows: repeat(auto-fill, minmax(220px, 1fr));
}

.grid-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.grid-header small {
  font-size: 12px;
  color: #6b7280;
  flex: 0 1 clamp(160px, 45%, 220px);
}

.grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.item-card {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.item-image {
  width: 100%;
  height: auto;
  display: block;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.18);
}

.item-name {
  font-size: 0.85rem;
  font-family: "adapter-mono-pe-variable", sans-serif;
font-variation-settings: "BORD" 300, "ital" 0, "slnt" 0, "wght" 300;
}

.item-name::before {
  content: "► ";
  font-size: 0.75em;
}

.item-message {
  font-size: 1rem;
  color: #4b5563;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: "adapter-mono-pe-variable", sans-serif;
font-variation-settings: "BORD" 300, "ital" 0, "slnt" 0, "wght" 300;
font-size: 0.8em;
}

.item-meta {
  font-size: 1px;
}

.hidden-circle {
  display: none;
}

/* circle */
.mini-circle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid #1a51ca;
  background-color: #ffffff;
  color: #1a51ca;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  z-index: 100;
}

.mini-circle.visible-mini {
  display: flex;
}

@media (max-width: 800px) {
  .headline {
    width: fit-content;
  }

  .column-wrapper {
    height: 70vh;
    overflow-y: scroll;
  }

  .column {
    font-size: 1rem;
  }
}

a {
  color: #000000;
}