@import url("https://static.slid.es/fonts/v3/montserrat/montserrat.css");
@import url("https://static.slid.es/fonts/v3/opensans/opensans.css");

:root {
  --asq-blue: rgb(61, 133, 198);
  --asq-green: #b6d7a8;
  --asq-red: #ea9999;
  --asq-cream: rgba(255, 242, 204, 0.42);
  --asq-brown: rgb(91, 15, 0);
}

.reveal {
  font-family: "Open Sans", Helvetica, sans-serif;
  font-size: 24px;
  color: #000;
}

.reveal h1,
.reveal h2,
.reveal h3 {
  font-family: "Montserrat", Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.reveal h2 {
  font-size: 46px;
}

.reveal h3 {
  font-size: 31px;
}

.reveal .slides section.slide {
  text-align: left;
  padding: 0;
  box-sizing: border-box;
}

.reveal .slides section.slide > h2:first-child {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 1240px;
  height: 150px;
  display: flex;
  align-items: center;
  color: #000;
  font-size: 34px;
  margin: 0;
  z-index: 10;
}

.reveal .title-slide > h2:first-child {
  display: none !important;
}

#kramers-protected-error-correction-with-andreev-spin-qubits > h2:first-child {
  display: none !important;
}

.title-wrap {
  position: absolute;
  left: 50%;
  top: 210px;
  width: 1000px;
  transform: translateX(-50%);
  margin: 0;
  text-align: center;
  z-index: 10;
}

.title-wrap h3 {
  color: var(--asq-blue);
  font-size: 32px;
  line-height: 1.25;
  margin: 0 auto 92px;
  max-width: 920px;
  white-space: normal;
  overflow-wrap: normal;
}

.title-wrap p {
  font-size: 15px;
  line-height: 1.3;
  margin: 12px 0;
}

.logo-row {
  position: absolute;
  left: 50%;
  right: auto;
  top: 554px;
  width: 337px;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 16;
}

.logo-wide {
  width: 122px;
}

.logo-small {
  width: 84px;
}

.center-stage {
  position: absolute;
  left: 0;
  top: 170px;
  width: 1280px;
  height: 430px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.middle {
  align-items: center;
}

.two-col {
  position: absolute;
  left: 160px;
  top: 180px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  width: 960px;
  height: 360px;
  margin: 0;
}

.col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.crop-spin {
  width: 69px;
  height: 107px;
  object-fit: none;
  object-position: 18% 30%;
  transform: scale(1.08);
}

.spin-qubit-img {
  width: 448px;
}

.abs-diagram {
  width: 267px;
  height: 200px;
  object-fit: none;
  object-position: left 26%;
}

.crop-spin-orbit {
  width: 317px;
  height: 266px;
  object-fit: none;
  object-position: 96% top;
}

.plot-img {
  width: 376px;
}

.asq-device {
  width: 656px;
}

.readout-img {
  width: 560px;
}

.state-labels {
  gap: 85px;
  font-size: 1.5em;
}

.abs-diagram-rotated {
  width: 152px;
  transform: rotate(90deg);
  background: rgba(255, 229, 153, 0.3);
  padding: 21px;
}

.transmon-device {
  width: 288px;
  max-height: 450px;
  object-fit: contain;
}

.coupling-strip {
  width: 416px;
  margin-bottom: 30px;
}

.asq-half {
  width: 290px;
  height: 235px;
  object-fit: none;
  object-position: left top;
}

.network-img {
  width: 304px;
  max-height: 240px;
  object-fit: contain;
}

.readout-spectrum {
  width: 624px;
}

.network-conclusion {
  width: 380px;
}

.callout-text {
  position: absolute;
  left: 230px;
  top: 575px;
  width: 78%;
  margin: 0;
  text-align: center;
  font-size: 19px;
  line-height: 1.3;
  z-index: 14;
}

.citation {
  position: absolute;
  right: 20px;
  bottom: 24px;
  width: 760px;
  text-align: right;
  font-size: 0.5em;
}

.reveal .slides section.question-slide > h2:first-child {
  display: none !important;
}

.big-question {
  position: absolute;
  left: 166.5px;
  top: 317px;
  width: 950px;
  margin: 0;
  color: var(--asq-brown);
  font-family: "Montserrat", Helvetica, sans-serif;
  font-size: 41px;
  font-weight: 600;
  text-align: center;
}

.challenge-list {
  position: absolute;
  left: 247.5px;
  top: 434px;
  width: 790px;
  margin: 0;
  color: rgb(102, 0, 0);
  font-size: 19px;
  line-height: 1.3;
}

.small-lead {
  position: absolute;
  left: 166.5px;
  top: 237px;
  width: 950px;
  margin: 0;
  color: rgb(102, 0, 0);
  font-size: 19px;
}

.center-question {
  position: absolute;
  left: 166.5px;
  top: 427px;
  width: 950px;
  margin: 0;
  color: rgb(102, 0, 0);
  font-size: 19px;
  text-align: center;
}

.theorem-text {
  position: absolute;
  left: 220px;
  top: 245px;
  width: 840px;
  margin: 0;
  text-align: center;
  font-size: 26px;
  line-height: 1.3;
}

.gate-list,
.conclusions {
  position: absolute;
  left: 76.5px;
  top: 170px;
  width: 820px;
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
}

.reveal .math.display {
  font-size: 0.95em;
}

.reveal .slide-number {
  font-family: "Open Sans", Helvetica, sans-serif;
}

#spin .center-stage {
  top: 235px;
}

#spin-qubit .two-col {
  left: 250px;
  top: 255px;
  width: 900px;
}

#andreev-bound-state .two-col,
#andreev-bound-state-spin-orbit .two-col {
  left: 165px;
  top: 178px;
  width: 960px;
}

#andreev-bound-state .abs-diagram,
#andreev-bound-state-spin-orbit .abs-diagram,
#andreev-bound-state-spin-orbit .crop-spin-orbit {
  transform: scale(0.9);
}

#andreev-bound-state .math.display {
  font-size: 22px;
}

#andreev-bound-state-spin-orbit > p:has(.math.display) {
  position: absolute;
  left: 245px;
  top: 552px;
  width: 880px;
  text-align: center;
  font-size: 21px;
}

#andreev-spin-qubit .center-stage {
  top: 160px;
}

#andreev-spin-qubit > p:has(.math.display) {
  position: absolute;
  left: 905px;
  top: 285px;
  font-size: 24px;
}

#andreev-spin-qubit-readout .two-col {
  left: 120px;
  top: 220px;
  width: 980px;
}

#andreev-spin-qubit-readout .readout-img {
  width: 512px;
}

#andreev-spin-qubit-readout .state-labels {
  transform: translateX(70px);
  font-size: 1em;
}

#andreev-spin-qubit-readout .callout-text {
  left: 230px;
  top: 550px;
  width: 730px;
  font-size: 18px;
}

#andreev-spin-qubit-readout .citation {
  bottom: 48px;
}

#inductance-couples-to-the-asq-ground-state .center-stage {
  top: 160px;
}

#inductance-couples-to-the-asq-ground-state > p:has(.math.display) {
  position: absolute;
  left: 370px;
  top: 480px;
  width: 600px;
  text-align: center;
  font-size: 24px;
}

#inductance-couples-to-the-asq-ground-state .abs-diagram-rotated {
  transform: rotate(90deg) scale(1.16);
}

#andreev-spin-qubit-coupled-to-a-transmon .two-col {
  left: 150px;
  top: 165px;
  width: 1010px;
}

#andreev-spin-qubit-coupled-to-a-transmon li {
  font-size: 22px;
  line-height: 1.35;
}

#kramers-theorem-at-trs-flux .theorem-text {
  left: 150px;
  top: 160px;
  width: 960px;
  font-size: 22px;
}

#kramers-theorem-at-trs-flux .center-stage {
  top: 230px;
  height: 300px;
}

#kramers-theorem-at-trs-flux .asq-half {
  width: 288px;
  height: 234px;
}

#kramers-theorem-at-trs-flux .callout-text {
  top: 560px;
}

#design-asq-in-a-network-of-inductors .two-col,
#dispersive-readout-via-network-inductance .two-col {
  left: 135px;
  top: 165px;
  width: 1000px;
}

#design-asq-in-a-network-of-inductors .network-img,
#dispersive-readout-via-network-inductance .network-img {
  width: 352px;
}

#design-asq-in-a-network-of-inductors > p:has(.math.display) {
  position: absolute;
  left: 250px;
  top: 505px;
  width: 780px;
  text-align: center;
  font-size: 18px;
  margin: 0;
}

#dispersive-readout-via-network-inductance > p:has(.math.display) {
  position: absolute;
  left: 250px;
  width: 780px;
  text-align: center;
  font-size: 17px;
  margin: 0;
}

#dispersive-readout-via-network-inductance > p:nth-of-type(1):has(.math.display) {
  top: 505px;
}

#dispersive-readout-via-network-inductance > p:nth-of-type(2):has(.math.display) {
  top: 552px;
}

#design-asq-in-a-network-of-inductors .callout-text,
#dispersive-readout-via-network-inductance .callout-text {
  left: 250px;
  top: 620px;
  width: 780px;
  font-size: 18px;
}

#dispersive-readout-via-network-inductance-1 .center-stage {
  top: 125px;
}

#dispersive-readout-via-network-inductance-1 > p:has(.math.display) {
  position: absolute;
  left: 220px;
  width: 840px;
  text-align: center;
  font-size: 16px;
  margin: 0;
}

#dispersive-readout-via-network-inductance-1 > p:nth-of-type(1):has(.math.display) {
  top: 520px;
}

#dispersive-readout-via-network-inductance-1 > p:nth-of-type(2):has(.math.display) {
  top: 568px;
}

#logical-gates .drive-equation,
#logical-gates .phase-equation {
  position: absolute;
  left: 235px;
  width: 820px;
  text-align: center;
  font-size: 19px;
  margin: 0;
}

#logical-gates .drive-equation {
  top: 280px;
}

#logical-gates .phase-equation {
  top: 395px;
}

#logical-gates .gate-list {
  top: 155px;
  width: 930px;
  font-size: 22px;
}

#logical-gates .gate-label {
  display: inline-block;
  min-width: 120px;
  font-family: "Times New Roman", serif;
  font-style: italic;
  font-size: 1em;
}

#conclusions .center-stage {
  top: 130px;
  left: 520px;
  width: 640px;
}

#conclusions .conclusions {
  top: 205px;
  width: 520px;
}
