/* Copyright (c) 2017 Anish Athalye */
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro);
@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro);

/* Basic styling */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-rendering: geometricPrecision;
}

html {
/*  font-size: 14px;
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;*/
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14pt;
  line-height: 1.5;
}

@media(min-width: 480px) {
  html {
    font-size: 16px;
    font-size: 14pt;
  }
}

body {
  margin: 0;
  background-color: #303030;
  color: #ddd;
  overflow-y: scroll;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: bold;
  color: #eee;
  /*text-decoration: underline;*/
  line-height: 1.25;
  font-size: 1rem;
}

h1 {
  margin-top: 1.25rem;
  font-size: 1.5rem;
}

h2 {
  margin-top: 1.25rem;
  font-size: 1.1rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

ul {
  list-style-position: inside;
  padding-left: 1rem;
}

ol {
  margin-left: 1rem;
}

li > ul {
  padding-left: 2rem;
}


ul, ol {
  margin-bottom: 1rem;
}

ul ul, ol ul, ul ol, ol ol {
  margin-bottom: inherit;
}

ul.double-spaced li {
  margin-top: 1rem;
}

pre, code {
  font-family: "Source Code Pro", "Menlo", "DejaVu Sans Mono", "Lucida Console", monospace;
}

code {
  background-color: rgba(27,31,35,.05);
  border-radius: 3px;
  padding: 0 0.2rem;
  /*font-size: 0.9em;*/
  font-size: 12pt;
}

pre {
  margin: 1rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #222;
  /*font-size: .8rem;*/
  font-size: 11pt;
  overflow-x: auto;
}

pre code {
  color: inherit;
  background: none;
  font-size: 100%;
  padding: 0;
}

a {
  color: #66D9EF;
  text-decoration: none;
}

a:hover {
  color: #fff;
  background-color: #54008c;
}

img, video {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
  max-width: 100%;
  max-height: 80vh;
}

video {
  margin-bottom: 1rem;
}

summary {
  outline: none;
  user-select: none;
}

hr {
  position: relative;
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #fff;
}

/* Classes */

.title {
  font-size: 2rem;
}

.subtitle {
  font-size: 1.5rem;
  margin-left: 1rem;
}

.small {
  font-size: 0.75rem;
}

.small p {
  margin-bottom: 0;
}

.center {
  text-align: center;
}

.gap {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.accent {
  color: #8c0038;
}

.youtube-wrapper {
  position: relative;
  height: 0;
  margin-bottom: 1rem;
}

.youtube-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Elements */

#content {
  max-width: 54rem;
  margin: 0 auto;
  margin-bottom: 2rem;
  padding: 1rem 1rem 0 1rem;
}

.demo {
  margin-top: 2em;
  margin-bottom: 2em;
}

#nav-bg {
  margin: 0;
  padding: 0.25rem 1rem;
  font-family: "Source Sans Pro", sans-serif;
  background: #FFFFFF;
  color: #fff;
  list-style-type: none !important;
}

#top-nav {
  display: flex;
  justify-content: space-between; /* Push items to the sides */
  align-items: center; /* Vertically center items */
  max-width: 54rem;
  margin: 0 auto;
  padding: 0 1rem 0 1rem;
  text-align: center;
}

#top-nav a {
  color: #fff;
  text-decoration: none;
}

#nav-bg, a#logo, #top-nav a {
  background-color: #FFFFFF;
  color: #202020;
}

.navbar-ul {
  display: inline-block;
  list-style-type: none;
  margin: 0;
  padding: 0px 0 0px 0;
  margin-left: 20px;
}

.navbar-list {
  margin: 0 5px 0 10px;
  font-size: large;
}

#top-nav.ul {
  list-style-type: none;
}

#navigation-list {
  display: flex;
  align-items: center; /* Vertically center the items */
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#top-nav a:hover {
  color: #000;
  background-color: #fff;
}

a#logo {
  color: #f2deff;
}

a:hover#logo {
  color: #000;
}

#menu-icon {
  display: none;
}

.trigger {
  display: none;
}

input[type=checkbox]:checked ~ .trigger {
  display:block;
  margin: auto;
}

.menu-label {
  font-family: "Source Code Pro", "Menlo", "DejaVu Sans Mono", "Lucida Console", monospace;
}

input[type=checkbox] ~ .menu-label:after {
  content: "(+)";
}

input[type=checkbox]:checked ~ .menu-label:after {
  content: "(-)";
}

.nav-link {
  display: block;
}

.trigger-child {
  display: inline-block;
  text-align: initial;
}


/* in terms of our fixed-width layout; if smaller than this, we want to
 * collapse the menu */
@media (min-width: 40rem) {
  .menu-label {
    display: none;
  }

  .trigger {
    display: inline;
    padding-top: inherit;
  }

  .trigger-child {
    display: inline;
    text-align: initial;
  }

  input[type=checkbox]:checked ~ .trigger {
    display: inline;
  }

  .nav-link {
    display: initial;
  }

}

/* General container styling */
.instructors {
  display: flex; /* Align columns side by side */
  justify-content: center; /* Add space between the two columns */
  gap: 20px; /* Add a gap between the columns */
  flex-wrap: wrap; /* Allow wrapping if the screen is too small */
  margin: 20px;
}

/* Individual instructor styling */
.instructor {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  align-items: center; /* Center items horizontally */
  text-align: center; /* Center text within the column */
  width: 45%; /* Adjust width to fit two columns */
  max-width: 300px; /* Optional: Limit the maximum width */
  padding: 15px; /* Add padding for spacing */
}

/* Remove border and background color */
.instructor {
  border: none; /* Remove the border */
  background-color: transparent; /* Set background color to none */
}

/* Instructor photo styling */
.instructor-photo {
  width: 200px; /* Set the size of the photo */
  height: 200px; /* Maintain a square aspect ratio */
  border-radius: 50%; /* Make the image circular */
  margin-bottom: 10px;
}

/* Instructor name styling */
.instructor-name {
  font-size: 1.2em;
  font-weight: bold;
  color: #fff; /* Adjust the color to match the dark background */
  text-decoration: none;
  margin-bottom: 5px;
}

/* Instructor title styling */
.instructor-title {
  font-size: 1em;
  color: #ccc; /* Softer color for the title */
  margin-top: 0;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 1rem;
  text-align: left;
  background-color: #2c2c2c;
  color: #ddd;
}

.schedule-table th, .schedule-table td {
  border: 1px solid #444;
  padding: 12px;
  vertical-align: top;
}

.schedule-table th {
  background-color: #444;
  color: #fff;
  font-size: 1.1rem;
}

.schedule-table tr:nth-child(even) {
  background-color: #3a3a3a;
}

.lecture-title {
  font-weight: bold;
  font-size: 1.1rem;
}

.video-embed {
  width: 255px; 
  height: 125px;
}

.watch-youtube {
  display: inline-block;
  margin-top: 5px;
  padding: 6px 10px;
  background-color: #ff0000;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
}

.watch-youtube:hover {
  background-color: #cc0000;
}

.lecture-points {
  margin: 5px 0 0 15px;
  padding-left: 10px;
}

/* .labs-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 20px;
}

.lab-card {
  background: #2c2c2c;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #444;
  text-align: center;
  width: 80%;
  max-width: 600px;
  margin-bottom: 15px;
}

.lab-card h3 {
  margin-bottom: 10px;
  color: #ff9500;
}

.colab-button {
  display: inline-flex;
  align-items: center;
  background-color: #ffcc00;
  color: #202020;
  padding: 8px 12px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.colab-button:hover {
  background-color: #ffdb4d;
}

.colab-logo {
  width: 20px;
  height: 20px;
  margin-right: 8px;
} */

.labs-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 20px;
}

.lab-card {
  background: #2c2c2c;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #444;
  text-align: left;
  width: 80%;
  max-width: 600px;
  margin-bottom: 15px;
  display: flex; /* Enables flexbox */
  justify-content: space-between; /* Pushes items apart */
  align-items: center; /* Aligns vertically */
}

.lab-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ff9500;
}

.colab-button {
  display: inline-flex;
  align-items: center;
  background-color: #ffcc00;
  color: #202020;
  padding: 8px 12px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
  white-space: nowrap; /* Prevents wrapping */
}

.colab-button:hover {
  background-color: #ffdb4d;
}

.colab-logo {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.disabled-link {
  pointer-events: none;  /* Prevents clicking */
  color: grey;           /* Grey out the text */
  text-decoration: none; /* Remove underline */
  opacity: 0.6;          /* Reduce visibility */
}

