/* Font by Dinamo Typefaces */

/* - Source: abcdinamo.com */

@font-face {
	font-family: "Diatype";
	src: url("ABCDiatypeRoundedVariableEdu-Regular.woff") format("woff");
}

.fragment-mono-regular {
    font-family: "Fragment Mono", monospace;
    font-weight: 400;
    font-style: normal;
    }

    .fragment-mono-regular-italic {
    font-family: "Fragment Mono", monospace;
    font-weight: 400;
    font-style: italic;
    }

      body {
      font-family: 'Fragment Mono', monospace;
      background-color: #FFFAEE;
      color: #191919;
      margin: 0;
      padding: 0;
      font-size: 8px;
    }

    /* --- Header --- */
    
      header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      padding: 2rem 4rem;
    }

    header h1 {
    font-family: 'Fragment Mono', monospace;
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    }

    header h1 span {
    opacity: 0.5;
    }

  	h4 {
    font-family: 'Diatype', sans-serif;
    font-size: 17px;
    font-weight: 400;
     margin: 0;
    }

	h5 {       
	font-family: 'Fragment Mono', monospace;
    font-size: 13px;
    opacity: 0.7;
    margin-top: 0;
	}

    header img.vase {
      width: 40px;
      height: auto;
      object-fit: contain;
      margin-top: 0.3rem;
      opacity: 0.95;
      transition: opacity 0.6s ease;
    }

    header img.vase:hover {
      opacity: 1;
    }

    @media(max-width: 800px) {
      header {
        padding: 1.5rem;
      }
      header img.flower {
        width: 35px;
        margin-top: 0;
      }
    }

    /* --- Layout --- */

    main {
      max-width: 750px;
      margin: 0 auto;
      padding: 2rem 2rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    /* --- Sticky Prompt Header --- */
    
    .prompt-header {
      position: sticky;
      top: 0;
      padding: 1rem 0 2rem;
      background-color: #FFFAEE;
      z-index: 10;
    }

    .prompt-header small {
      font-family: 'Fenix', sans-serif;
      font-size: 16px;
      opacity: 0.8;
      display: block;
      margin-bottom: 1.5rem;
    }

    .prompt-title {
      font-family: 'Fenix', serif;
      font-size: 28px;
      font-weight: 350;
      line-height: 1.1;
      margin: 0 0 0.2rem 0;
    }

    .prompt-subtitle {
      font-family: 'Fenix', serif;
      font-size: 27px;
      font-weight: 350;
      color: rgba(25,25,25,0.7);
      margin: 0;
      line-height: 1.1;
    }

    /* --- Response List --- */

    #prompts {
      overflow-y: scroll;
      padding: 4rem 0 0 0;
      max-height: 60vh;

      /* Hide scrollbar (cross-browser) */
      scrollbar-width: none; /* Firefox */
      -ms-overflow-style: none; /* IE and Edge */
    }

    #prompts::-webkit-scrollbar {
      display: none; /* Chrome, Safari */
    }

    .prompt-entry {
      margin-bottom: 6rem;
      padding-left: 2rem;
    }

    .prompt-entry:last-child {
      margin-bottom: 0;
    }

    .prompt-meta {
      font-family: 'Fragment Mono', monospace;
      font-size: 12px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1.5rem;
    }

    .prompt-meta .time,
    .prompt-meta .location {
      opacity: 0.5;
    }

    .prompt-text {
      font-family: 'Fenix', serif;
      font-size: 17px;
      font-weight: light;
      line-height: 1.3;
      color: #191919;
      margin: 0;
      opacity: 0.75;
      padding-right: 1rem;
    }

    /* --- Form --- */
    
    form {
      padding-left: 2rem;
      display: flex;
      flex-direction: column;
      gap: 3rem;
      margin-top: 4rem;
    }

    label {
      font-family: 'Fragment Mono', monospace;
      font-size: 12px;
      display: block;
      margin-bottom: 0.75rem;
    }

    input, textarea {
      width: 100%;
      border: none;
      background: transparent;
      padding: 0.7rem 0;
      font-family: 'Fragment Mono', monospace;
      font-size: 12px;
      color: #191919;
      outline: none;
    }

    textarea {
      min-height: 80px;
      border-bottom: none; 
    }

    input::placeholder,
    textarea::placeholder {
      color: rgba(25, 25, 25, 0.4);
    }

    button { 
  align-self: flex-start;
  background: #D0D0C2;
  color: #191919;
  font-family: 'Fragment Mono', sans-serif;
  font-size: 11.5px;
  border-radius: 2px;
  cursor: pointer;
  margin-bottom: 3rem;
  transition: opacity 0.2s ease;
  text-transform: uppercase;
  border: none;
  padding: 10px;
}

    button:hover {
     background: #191919; /* dark gray */
     color: #FFFAEE; 
    }
