.container {
      width: 80%;              /* responsive width (80% of screen) */
      max-width: 1000px;       /* prevent being too wide on large screens */
      margin: 40px auto;       /* top/bottom spacing and center horizontally */
      padding: 20px;           /* inner spacing */
     /* border: 2px solid #333;  dark border */
      border-radius: 10px;      /* rounded corners */
      box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* soft shadow */
      background: #fff;        /* white background */
    }

/* Top-left name */
.site-title {
  display: block;
  padding: 10px 20px;
  font-size: 22px;
  font-weight: bold;
  color: #0078ff;
  text-decoration: none;
}

.site-title:hover {
  text-decoration: underline;
}

body {
    background: #f5f5f5;     /* light gray background */
    font-family: Arial, sans-serif;
}


/* Side button */
#chat-button {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: #0078ff;
    color: white;
    border: none;
    border-radius: 8px 0 0 8px;
    width: 40px;
    height: 120px;
    cursor: pointer;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: bold;
}

/* Chat window */
#chat-window {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 600px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px 0 0 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    overflow: hidden;
}

#chat-header {
    background: #0078ff;
    color: white;
    padding: 10px;
    font-weight: bold;
    text-align: center;
}

/* Close button */
#close-chat {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    border-radius: 3px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-weight: bold;
}

iframe {
    width: 100%;
    height: calc(100% - 40px);
    border: none;
}



nav {
  background-color: #d0d7df;
  padding: 0px;
  margin-bottom: 20px;
}



nav a {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  margin-right: 10px;
  background-color: #0078ff;
  /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /*shadow for depth */
  /*transition: background 0.3s, transform 0.2s, box-shadow 0.2s;*/
  font-weight: bold;
}

/* Hover effect to lift the button */
nav a:hover {
  background-color: #0078ff;
  transform: translateY(-2px);       /* lifts the button slightly */
  box-shadow: 0 6px 10px rgba(0,0,0,0.4); /* deeper shadow on hover */
}

nav a.active {
  background-color: #0511f1;
  box-shadow: 0 10px 10px rgba(0,0,0,0.3);
}
