/* Add your existing CSS here */

body {
    font-family: Arial, sans-serif;
    background: url('images/tokyo-tower.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

body.teaching-page {
  background: url('images/guest-speaker-classroom.jpg') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: black;
}

body.teaching-page,
body.teaching-page h1,
body.teaching-page h2,
body.teaching-page h3,
body.teaching-page p,
body.teaching-page div {
  color: black;
}

body.industry-page {
  background: url('images/company-visit-scenic.png') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: black;
}

body.guest-speaker-page {
  background: url('images/guest-speaker-classroom.jpg') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: black;
}

body.guest-speaker-page,
body.guest-speaker-page h1,
body.guest-speaker-page h2,
body.guest-speaker-page h3,
body.guest-speaker-page p,
body.guest-speaker-page div {
  color: black;
}

body.research-page {
  background: url('images/Research-Cruise.jpg') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: black;
}

body.seminar-page {
  background: url('images/guest-speaker-audience.jpg') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: black;
}

.header {
    padding: 20px;
    text-align: center;
    color: white;
}

.navbar {
    overflow: hidden;
    background-color: rgba(51, 51, 51, 0.8);
}

.navbar a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.navbar a:hover {
    background-color: #ddd;
    color: black;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 16px;  
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.content {
    background-color: rgba(255, 255, 255, 0.9);
    margin: 20px;
    padding: 20px;
    display: flex;
}

.professor-image {
    width: 300px;
    height: auto;
    margin-right: 20px;
}

.text-content {
    flex-grow: 1;
}

.links {
    margin-top: 20px;
}

.links a {
    display: block;
}

.header h1 {
    font: normal normal bold 19px/0.1em georgia,palatino,'book antiqua','palatino linotype',serif;
    text-align: left;
}

h2 {
    font: normal normal bold 44px/1.4em georgia,palatino,'book antiqua','palatino linotype',serif;
}

h3 {
    font: normal normal bold 18px/1.4em georgia,palatino,'book antiqua','palatino linotype',serif;
}

.links a {
    display: inline-block;
    padding: 10px 20px;
    background-color: lightblue;
    color: black;
    margin-right: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    border-radius: 25px; 
    margin: 10px;
}

.links a:hover {
    background-color: darkblue;
    color: white;
}

@media screen and (max-width: 400px) {
    .navbar a:not(:first-child), .dropdown .dropbtn {
        display: none;
    }
    .navbar a.icon {
        float: right;
        display: block;
    }
}

.navbar.responsive {position: relative;}
.navbar.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
}
.navbar.responsive a,
.navbar.responsive .dropdown .dropbtn {
    display: block;
    text-align: left;
}

.container {
  display: flex;
  justify-content: space-between;
  margin: 20px;
  padding: 20px;
}

.section {
  flex: 1;
  margin: 10px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.8);
}

@media screen and (max-width: 400px) {
  .container {
    flex-direction: column;
  }
}

.two-columns {
  display: flex;
  justify-content: space-between;
}

.two-columns ul {
  width: 45%;  /* Adjust this value to give some space between columns */
}
.center-text {
  text-align: center;
}