body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f8f8;
    margin: 0; padding: 0;
    color: #333;
}

nav {
    background-color: #003366;
    padding: 1em;
    text-align: center;
}

nav a {
    color: white;
    margin: 0 1.2em;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}

nav a:hover {
    text-decoration: underline;
}

.container {
    max-width: 900px;
    margin: 2em auto;
    background: white;
    padding: 2em 3em;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

h1, h2 {
    color: #003366;
}

h1 {
    font-size: 2.8em;
    margin-bottom: 0.5em;
    border-bottom: 3px solid #003366;
    padding-bottom: 0.3em;
}

h2 {
    font-size: 1.8em;
    border-left: 5px solid #0055aa;
    padding-left: 0.5em;
    margin-bottom: 0.8em;
}

.section {
    margin-bottom: 2em;
}

.section p, .section ul {
    line-height: 1.6;
    font-size: 1.1em;
}

.section ul {
    list-style: disc inside;
    margin-left: 1em;
}

.teaching-places {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
}

.teaching-places > div {
    flex: 1 1 280px;
    background: #f0f7ff;
    padding: 1em 1.5em;
    border-radius: 8px;
}

.teaching-places strong {
    display: block;
    margin-bottom: 0.5em;
    color: #004080;
    font-size: 1.1em;
}

form label {
    display: block;
    margin-top: 1em;
    font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 0.5em;
    margin-top: 0.3em;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    font-size: 1em;
}

form button {
    margin-top: 1.5em;
    background-color: #003366;
    color: white;
    border: none;
    padding: 0.7em 1.5em;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
}

form button:hover {
    background-color: #0055aa;
}

.message {
    padding: 1em;
    margin-bottom: 1em;
    border-radius: 4px;
}

.success {
    background-color: #d4edda;
    color: #155724;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
}

.classes-schedule {
    font-style: italic;
    color: #666;
    font-size: 0.9em;
    text-align: right;
}
/* Navigation bar container */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #003366;
  padding: 0.8em 2em;
}

/* Logo container */
.nav-logo img {
  height: 50px; /* Adjust height as needed */
  width: auto;
  display: block;
}

/* Navigation links container */
.nav-links a {
  color: white;
  margin-left: 1.2em;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* Optional: remove the "|" separator and use margin instead */
.nav-links a:not(:last-child)::after {
  content: "|";
  color: white;
  margin-left: 1.2em;
}

.nav-links a:last-child::after {
  content: "";
}

