body {
  min-height: 100%;
  background-color: #fff;
  font-family: "Open Sans", sans-serif;
  color: #333;
  margin: 0 auto;
  padding: 2em 2em;
  box-sizing: border-box;
  line-height: 1.5em;
}

h1 {
  font-size: 2em;
  text-align: center;
  line-height: 1.5em;
  margin-bottom: 0.5em;
}
h2 {
  font-size: 1.3em;
  text-align: center;
  font-weight: 600;
}

a,
a:link,
a:visited {
  color: inherit;
}

section {
  padding-bottom: 1em;
  max-width: 50em;
  margin: 0 auto;
}

p {
  margin-left: auto;
  margin-right: auto;
}

button {
  /* background-color: #4c50af; [> Green <] */
  background-color: #fff; /* Green */
  border-radius: 0.5em;
  border: 1px solid #333;
  padding: 0.5em 2em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}

.slick-arrow {
    color: #777;
}
.slick-arrow::before {
    color: #777;
}
.slick-list .video_class {
    padding: 0 0.2em;
    box-sizing: border-box;
}

#tilted-method,
#tilted-method-narrow {
  display: block;
  margin: 0 auto;
  width: 70em;
  max-width: 100%;
}
#tilted-method-narrow {
  display: none;
}
#tilted-method-very-narrow {
  display: none;
}

@media screen and (max-width: 800px) {
  #tilted-method {
    display: none;
  }
  #tilted-method-narrow {
    display: block;
  }
}

@media screen and (max-width: 480px) {
  #tilted-method-narrow {
    display: none;
  }
  #tilted-method-very-narrow {
    display: block;
  }
}

.square-container {
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 0.5em 1em;
  position: relative;
  vertical-align: middle;
}

@media screen and (max-width: 800px) {
  .square-container > div:nth-child(1) {
    font-size: 0.75em;
  }
}

@media screen and (max-width: 640px) {
  .square-container {
    flex-wrap: wrap;
  }
  .square-container > div:nth-child(1) {
    font-size: 0.65em;
  }
  .square-container > div:nth-child(2) {
    width: 18em;
  }
}

@media screen and (max-width: 480px) {
  .square-container > div:nth-child(1) {
    font-size: 0.375em;
  }
}

/* Children are (matrices/LaTeX, text). */
.square-container > div:nth-child(1) {
  vertical-align: middle;
  text-align: center;
  text-wrap: nowrap;
}

.square-container > div:nth-child(1) > * {
  vertical-align: middle;
}

.square-container > div:nth-child(2) {
  text-align: left;
}

/* Math */
@media screen and (max-width: 640px) {
  .katex-display {
    font-size: 0.875em;
  }
}
@media screen and (max-width: 480px) {
  .katex-display {
    font-size: 0.75em;
  }
}

/* ===== HERO HEADER ===== */

/* .hero{
  position: relative;
  height: 100vh;
  min-height: 620px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;

  background-image: url("./figures/hero.png");
  background-size: cover;
  background-position: center;
} */

html, body {
  margin: 0;
  padding: 0;
}

.hero {
  position: relative;
  height: 100vh;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;

  background: url("./figures/hero.png") center center / cover no-repeat;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-content{
  position: relative;
  z-index: 1;
  max-width: 1100px;
  padding: 0 24px;
}

/* ===== TEXT ===== */

.hero-title{
  font-size: clamp(34px, 4.5vw, 64px);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
  text-shadow: 0 6px 25px rgba(0,0,0,0.35);
}

.hero-subtitle{
  font-size: clamp(20px, 2.4vw, 40px);
  font-weight: 400;
  margin: 12px 0 18px;
  color: rgba(255,255,255,0.92);
}

.hero-authors{
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 22px;
  color: rgba(255,255,255,0.9);
}

.hero-affiliations{
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 22px;
  color: rgba(255,255,255,0.9);
}

/* ===== BUTTONS ===== */

.hero-buttons{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 26px 0 34px;
}

.btn-hero{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 46px;
  padding: 0 22px;

  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255,255,255,0.95);

  border: 1px solid rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.02);

  box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset;
  transition: all 0.18s ease;
}

.btn-hero:hover{
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,1);
  transform: translateY(-1px);
}

/* ===== VENUE ===== */

.hero-venue{
  font-size: 20px;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
}

.icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  line-height: 0;
}

.icon img{
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.btn-hero{
  display: inline-flex;
  align-items: center;
}

.video-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.video-item{
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
}

.video-item video{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.video-selector-box {
  max-width: 960px;
  margin: 0 auto;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  font-family: Lato, sans-serif;
}

.vs-main {
  background: #000;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
}
.vs-main video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vs-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5em;
  padding: 0.75em;
  background: #f8f8f8;
}
.vs-btn {
  flex: 1 1 20%;
  min-width: 100px;
  /*border: none;*/
  /*border-radius: 6px;*/
  /*padding: 0.5em 1em;*/
  /*font-size: 15px;*/
  /*font-weight: 600;*/
  /*background: #e0e0e0;*/
  /*color: #000;*/
  /*transition: background 0.2s, transform 0.1s;*/
  /* background-color: #4c50af; [> Green <] */
  background-color: #fff; /* Green */
  border-radius: 0.5em;
  border: 1px solid #333;
  padding: 0.5em 1em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}


.vs-btn:hover {
  background: #d0d0d0;
}
.vs-btn.is-active {
  background: #7598cd;
  color: #fff;
}