/* Body and container */
body {

/*.meow-script-regular {
  font-family: "Meow Script", cursive;
  font-weight: 300;
  font-style: normal;
}
.raleway-glimmer{
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
} */


    font-family: 'Raleway', sans-serif;
    background-image: url('background.jpg');
    background-size: 100vw 100vh;   /* stretch to full width & height */
    background-attachment: fixed;
    height: 100vh;
    background-position: center;  /* center the image */
    background-repeat: no-repeat; /* prevent tiling */
    /*background-color: #f0f4f8;*/
    margin: 0;
    padding: 0;
}

.container {
    max-width: 700px;
    margin: 40px auto;
    padding: 0 15px;
    font-family: 'Raleway', sans-serif;
}

/* Header */
h1 {
    text-align: center;
    color: #333;
}

/* Form */
form {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Raleway', sans-serif;
}

form input[type="text"],
form textarea,
form input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-family: 'Raleway', sans-serif;
}

form button {
    background-color: #6c63ff;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

form button:hover {
    background-color: #574fd6;
}

/* Posts container */
.posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: 'Raleway', sans-serif;
}

/* Individual post */
.post {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    position: relative;
}

.post img {
    max-width: 100%;
    border-radius: 15px;
    margin-top: 10px;
}

/* Timestamp */
.timestamp {
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
    display: block;
}

/* Delete button */
/*.delete-form {
    position: absolute;
    top: 12px;
    right: 12px;
}

.delete-btn {
    background-color: transparent;
    color: #a0a0a0;
    border: 1px solid #ddd;
    padding: 2px 4px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.delete-btn:hover {
    background-color: #f5f5f5;
    color: #ff4d4f;
    border-color: #ffcccc;
}*/

/* Footer */
footer {
    text-align: center;
    margin-top: 50px;
    font-size: 0.85rem;
    color: black;
    font-family: 'Raleway', sans-serif;
    font-weight: 300
}

button {
    font-family: 'Raleway', sans-serif;  /* your custom font */
    font-size: 1rem;
    color: white;
    background-color: #6c63ff;
    border-radius: 12px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 300;
}

h1 {
    font-size: 3rem;                  /* bigger size */
    font-family: 'Raleway', sans-serif; /* custom font */
    color: black;                     /* change color */
    text-align: center;               /* center on page */
    margin-top: 5px;                 /* spacing from top */
}

/* Hide the ugly native input */
input[type="file"] {
  display: none;
}

/* Apply same style as your form button */
.file-button {
  display: inline-block;
  background-color: #6c63ff;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
  text-align: center;
  font-weight: 300;
}

.file-button:hover {
  background-color: #574fd6;
}

#form-error {
  color: #d9534f;   /* Bootstrap-style red */
  font-size: 0.9rem;
  margin-top: 10px;
  display: none;    /* hidden by default */
}
