body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background: #ce2b37;
    color: #fff;
    padding: 1rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header a {
    color: #fff;
    text-decoration: none;
    z-index: 1;
}

main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#logo {
  height: 80px;
}

header > h1 {
  position: absolute;
text-align: center;
width: 100%;
margin: 0;
z-index: 0;
}

@media (max-width:630px) {
  header > h1 {
    display:none;
  }
}

.post-item {
    border-bottom: 1px solid #ddd;
    padding: 1rem 0;
    display: inline-flex;
    width: 100%;
}

.post-item:last-child {
    border-bottom: none;
}

.post-item h3 {
    margin-right: auto;
}

.post-item a {
    display: inline-block;
    margin-top: 0.5rem;
    background: #333;
    color: #fff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    margin-left:auto;
    height:30px;
}

.post-item p {
      margin:auto;

}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input[type="text"], input[type="password"], input[type="file"] {
    padding: 0.7rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button {
    padding: 0.7rem;
    border: none;
    background: #333;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
}

.message {
    margin-top: 1rem;
    font-weight: bold;
}

.pdf-viewer-container {
    text-align: center;
}

#pdf-canvas {
    /* border: 1px solid #ccc; */ 
    max-width: 100%;
}

.pdf-controls {
    margin-bottom: 1rem;
}

footer {
  background-color: black;
  padding: 20px;
  color: white;
}

footer .row {
  display: inline-flex;
  width:100%;
}

footer div {
  margin: 0 auto;
}

.right {
  text-align:center;
}

.left {
  padding-right: 10px;
}

footer a {
  color:white;
}
