@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
html {
    font-family: 'Roboto', Arial, sans-serif;
}

/* General styles */
body {
  background: #f8f9fa;
  color: #222;
  margin: 0;
  padding: 0;
}

/* Style the header with a grey background and some padding */
.header {
  overflow: hidden;
  background-color: #f1f1f1;
  padding: 20px 10px;
}

/* Style the header links */
.header a {
  float: left;
  color: black;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;
}

/* Style the logo link */
.header a.logo {
  font-size: 25px;
  font-weight: bold;
}

/* Change the background color on mouse-over */
.header a:hover {
  background-color: #ddd;
  color: black;
}

/* Style the active/current link */
.header a.active {
  background-color: dodgerblue;
  color: white;
}

/* Float the link section to the right */
.header-right {
  float: right;
}

/* Add media queries for responsiveness */
@media screen and (max-width: 500px) {
  .header a {
    float: none;
    display: block;
    text-align: left;
  }
  .header-right {
    float: none;
  }
}

/* Main content styles */
main {
  max-width: 1400px; /* Increased width */
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  padding: 24px; /* Less padding for more space */
}

table {
  width: 100%;
  border-collapse: collapse;
}

td.intro {
  vertical-align: top;
  padding-left: 32px;
}

.intro h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: #0077ff;
}

.intro button {
  background: #0077ff;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 5px;
  font-size: 1rem;
  margin-bottom: 18px;
  cursor: pointer;
  transition: background 0.2s;
}

.intro button:hover {
  background: #005bb5;
}

.intro p {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.intro hr {
  margin: 24px 0;
  border: none;
  border-top: 1px solid #eee;
}

.intro h2 {
  font-size: 1.3rem;
  color: #222;
  margin-bottom: 10px;
}

video {
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-top: 10px;
}

/* Latest Video Section */
.latest-video {
  background: #f5faff;
  border: 1px solid #e0eaff;
  border-radius: 10px;
  padding: 24px 18px;
  margin-top: 32px;
  box-shadow: 0 2px 12px rgba(0,123,255,0.07);
  text-align: center;
}

.latest-video h2 {
  color: #0077ff;
  margin-bottom: 18px;
  font-size: 1.5rem;
}

.latest-video video,
.media-img,
.media-video {
  height: 500px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  display: block;
  max-width: 600px;
  margin: 0 auto;
}

/* Media rows and columns */
.media-row {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: stretch;
  margin-top: 24px;
}

.media-col {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-img,
.media-video {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  display: block;
  margin: 0 auto;
}

/* Add this to give a blue glow to Overviwe.png */
.media-glow {
  box-shadow:
    0 0 48px 8px rgba(0, 119, 255, 0.55),
    0 4px 24px rgba(0,0,0,0.10);
}

/* Project Table Styles */
.project-table {
  width: 90%;
  margin: 40px auto;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,123,255,0.07);
  border-radius: 12px;
  overflow: hidden;
}

.project-table th, .project-table td {
  padding: 22px 18px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}

.project-table th {
  background: #f5faff;
  color: #0077ff;
  font-size: 1.2rem;
}

.project-table tr:last-child td {
  border-bottom: none;
}

.project-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 18px 0 rgba(0,119,255,0.18);
}

.project-link {
  background: #0077ff;
  color: #fff;
  padding: 8px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
  display: inline-block;
}

.project-link:hover {
  background: #005bb5;
}

/* Responsive */
@media (max-width: 900px) {
  main {
    padding: 10px;
    max-width: 100%;
  }
  td.intro {
    padding-left: 12px;
  }
  table, tr, td {
    display: block;
    width: 100%;
  }
  td.intro {
    margin-top: 24px;
  }
  .media-row {
    flex-direction: column;
    gap: 18px;
  }
  .media-col {
    width: 100%;
    justify-content: center;
  }
  .media-img,
  .media-video {
    max-width: 100%;
    height: auto;
  }
}