body {
  color: black;
}

.replay {
  cursor: pointer;
  color:#2296f3ff;
  font-size: 12pt;
  display: inline-block;
  font-style: normal;
}

.teaser {
  margin: 0.5rem auto 1rem auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

.teaser-caption {
  margin-left: auto;
  margin-right: auto;
}

.teaser-caption img {
  width: 15px;
  height: 15px;
  vertical-align: middle;
}

.layered-video {
  position: absolute;
  max-width: 80%;
  z-index:2;
}

.info-icon {
  width: 15px;
  margin-right: 5px;
}

.btn-caption {
  padding: 0px !important;
  margin: 0px !important;
  color: gray;
  font-family: 'DM Sans';
  background-color: white;
}

.caption {
  /*margin-top: 15px !important;*/
  /* width: auto !important;*/
  /*min-width: 400px;*/
  margin-bottom: 20px;
  font-size: 12pt;
  color: black;
  text-align: center;
  font-style: italic;
}

.has-text-purple {
 color: #683d68ff;
}

/* Style the range input */
input[type="range"] {
  -webkit-appearance: none;
  width: 80%;
  margin: 15px;
}

/* Style the track */
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  background: #ddd; /* Set the background color of the track */
  border-radius: 2px;
}

/* Style the fill color of the track */
input[type="range"]::-webkit-slider-thumb {
  height: 25px;
  width: 25px;
  background: url('../../assets/icon.png') center/cover; 
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -8.5px;
}

.btn {
  box-shadow: none !important;
}

.btn-row {
  font-weight: bold;
  color: black;
  margin-bottom: 15px;
  font-size: 14px;
}

.btn-select {
  white-space: normal;
  text-align: left;
  font-size: 14px;
  padding: 5px;
  font-family: 'DM Mono';
  margin: 2px;
}

.btn-select:hover {
  font-weight: bold;
}

.btn-active {
  font-weight: bold;
  background-color: #683d68ff;
  color: #fff9bfff;
}

.btn-outline-danger,
.btn-outline-danger:hover,
.btn-outline-danger:active,
.btn-outline-danger:disabled {
  cursor: default;
  background-color: transparent;
  color: #cc0000ff;
  border-color: #cc0000ff;
  opacity: 1.0;
}

hr {
  background-color: black;
  margin: auto;
  width: 90vw;
}

/* 
  https://github.com/rl-diffusion/rl-diffusion.github.io
*/

.results-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem;
  justify-content: center;
}

.results-grid>div{
  display: grid;
  grid-template-rows: fit-content(100%);
  max-width: 80%;
  min-width: 350px;
  gap: 0.1rem;
  align-items: center;
  justify-items: center;
  margin: auto 0;
  overflow: hidden;
}

.results-grid .results-single {
  grid-template-columns: repeat(1, 1fr);
}

.results-grid .results-pair {
  grid-template-columns: repeat(2, 1fr);
}

.results-grid>div>div {
  grid-column: 1 / -1;
  display: flex;
  justify-self: center;
  width: 100%;
  align-items: center;
}

/*from boyang*/

/*h1, h2, h3, h4{
    color: #222222bd;
    text-align: center;
    font-family: 'Google Sans', sans-serif;
}*/

i, p {
    color: #222222bd;
    text-align: left; 
    font-family: 'Google Sans', sans-serif;
    margin-left: 10%;
    margin-right: 10%;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.container-dark {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #e5e5e5bd;
    width: 100vw;
}

.row1 {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 10px;
    overflow-x: auto;
    white-space: nowrap;
    width: 90%;
}

.media1 {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 24.5%;
    text-align: center;
}

img, video {
    max-width: 100%;
    height: auto;
}

.select-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.row2 {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.media-section {
    flex: 0 0 25%;
    text-align: center;
}

.frame-text {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 30%;
    text-align: center;
}

.clickable-images {
    display: flex;
    justify-content: center;
}

.clickable-image {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 30%;
    text-align: center;
    cursor: pointer;
    padding: 4px;
}

.clickable-image-selected {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 30%;
    text-align: center;
    cursor: pointer;
    padding: 4px;
    background-color: #222222bd;
}

.media2 {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 30%;
    text-align: center;
}
.media3 {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 46%;
    text-align: center;
}
.media4 {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 8%;
    text-align: center;
}