@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');

/* Main text */
body,
p,
li {
  font-family: "Roboto", Arial, sans-serif !important;
  font-weight: 400;
}

/* Main page titles */
h1 {
  font-family: "Roboto", Arial, sans-serif !important;
  font-weight: 400 !important;
}


/* Section headings */
h2, h3, h4, h5, h6 {
  font-family: "Roboto", Arial, sans-serif !important;
  font-weight: 400 !important;
}

.intro-header .page-heading h1 {
  font-size: 75px;
}

.intro-header .page-heading {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Navigation */
.navbar,
.navbar-brand,
.navbar-nav,
.navbar-nav li a {
  font-family: "Roboto", Arial, sans-serif !important;
  font-weight: 400;
}

/* Make the image a fixed width and keep proportions */
.headshot-img {
  float: left;
  width: 250px;
  max-width: 40%;
  height: auto;
  margin: 0 30px 20px 0;
}

@media (max-width: 768px) {
  .headshot-img {
    float: none;
    display: block;
    width: 250px;
    max-width: 100%;
    margin: 0 0 25px 0;
  }
}

.outreach-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 40%;
    margin-bottom: 1rem;
}

.outreach-images img.outreach-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Teaching: image stack on the right */
.outreach-images-right {
    float: right;
    margin-left: 25px;
}

/* Outreach: image stack on the left */
.outreach-images-left {
    float: left;
    margin-right: 25px;
}

.clear-float {
    clear: both;
}

/* Mobile */
@media (max-width: 700px) {
    .outreach-images {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

.link-card {
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  max-width: 500px;
  margin: 1rem 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.link-card:hover {
  transform: translateY(-2px);
}

.link-card img.link-card-img {
  width: 100%;
  display: block;
}

.link-card-content {
  padding: 0.5rem 1rem;
}

.link-card-content h3 {
  margin: 0.5rem 0;
  font-size: 1.2rem;
  color: #008AFF;
}

.link-card-content p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

/* Make standard Beautiful Jekyll pages moderately wider */
@media (min-width: 1200px) {
  main.container-md > .row > .col-xl-8 {
    flex: 0 0 83.333333% !important;
    max-width: 83.333333% !important;
    margin-left: 8.333333% !important;
  }
}
