body {
    margin: 0;
    min-height: 100%;
    background-color: #fff;
    font-family: 'Open Sans',sans-serif;
    color: #333;
    font-size: 12px;
    line-height: 20px;
}

.section {
    text-align: center;
    margin-left: 30px;
    margin-right: 30px;
}

.container {
    padding-left: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 940px;
}

.title {
    margin-top: 0px;
    margin-bottom: 0px;
    /* font-family: 'Varela Round',sans-serif; */
    color: #2d2d2d;
    font-size: 50px;
    line-height: 65px;
    font-weight: 700;
    letter-spacing: 4;
}

.subheader {
    margin-top: 0;
    margin-bottom: 15px;
    font-family: 'Open Sans',sans-serif;
    color: #333;
    font-size: 24px;
    line-height: 35px;
    font-weight: 500;
    letter-spacing: 0;
}

.conference {
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    margin-top: 0px;
    line-height: 1.3;
}
.conference-sub {
    margin-top: -15px;
    margin-bottom: 30px;
    font-size: 18px;
}

.tldr {
    margin-top: 0px;
    margin-bottom: r5px;
    font-family: 'Open Sans',sans-serif;
    color: #333;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    letter-spacing: 0;
}
.thumbnail-directions {
    margin-top: 0px;
    margin-bottom: 5px;
    font-family: 'Open Sans',sans-serif;
    color: #333;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    letter-spacing: 0;
}

.title-row {
    margin-top: 20px;
}

.base-row {
    margin-left: -10px;
    margin-right: -10px;
}

.overview {
    margin-top: 50px;
}

.base-col {
    position: relative;
    float: left;
    min-height: 1px;
    padding-left: 0px;
    padding-right: 0px;
    width: 100%;
}

.author-row {
    height: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.author-col {
    width: 20%;
}

.author-col-three {
    width: 33%;
}

.author-text {
    font-family: 'Open Sans',sans-serif;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    text-decoration: underline;
}
.author-text span {
    display: inline-block;
    white-space: nowrap;
    text-decoration: underline;
}

.author-text .text-star {
    position: relative;
    top: -7px;
    display: inline-block;
    margin: 0px;
    font-size: 10px;
    /* text-decoration: none; */
}

#uc-berkeley {
    padding-top: 0px;
    font-family: 'Open Sans',sans-serif;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    margin: 0px;
    letter-spacing: 0;
}

#equal-contrib {
    padding-top: 10px;
    font-family: 'Open Sans',sans-serif;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
}

.icon-col {
    width: 25%;
    height: 25px;
}
.padding-icon-col {
    width: 12.5%;
    height: 25px;
}

.icon-img {
    max-width: 35%;
    margin-right: auto;
    margin-bottom: 1px;
    margin-left: auto;
    padding-top: 0px;
}

.github-img-icon {
    max-width: 30%;
    margin-top: 6px;
    margin-bottom: 9px;
    opacity: .77;
}

.data-img-icon {
    max-width: 30%;
    margin-top: 5px;
    margin-bottom: 9px;
    opacity: .62;
}

.link-block {
    display: block;
    max-width: 100%;
    margin-right: auto;
    margin-bottom: -14px;
    margin-left: auto;
    text-align: center;
}

.link-labels {
    display: inline-block;
    width: 60%;
    margin-top: 15px;
}

.link-labels-text {
    font-family: 'Open Sans',sans-serif;
    color: #333;
    font-size: 14px;
}

#main-video {
    width: 90%;
    /* max-width: 750px; */
    margin-top: 0px;
    margin-bottom: 10px;
    border-radius: 15px;
}

#addtl-video {
    width: 100%;
    /* max-width: 750px; */
    margin-top: 0px;
    margin-bottom: 10px;
    border-radius: 15px;
}

#pipeline-img {
    width: 100%;
    max-width: 1000px;
    margin-top: 10px;
    margin-right: 20px;
    margin-bottom: 10px;
}
#render-grid-img {
    width: 100%;
    max-width: 1000px;
    margin-top: 10px;
    margin-right: 20px;
    margin-left:-15px;
    margin-bottom: 30px;
}

#why-lerf-img {
    width: 30%;
    max-width: 560px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
}

#why-lerf{
    padding-top: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#clip-img {
    width: 100%;
    max-width: 700px;
    margin-top: 20px;
}
#main-img {
    width: 100%;
    max-width: 700px;
    margin-top: 00px;
    margin-bottom: 0px;
}
#double-img {
    width: 40%;
    margin-top: 00px;
    margin-bottom: 0px;
    margin-left: 2%;
    margin-right: 2%;
}
#splash-img {
    width: 100%;
    max-width: 800px;
    margin-top: 0px;
    margin-bottom: 0px;
}
.paragraph {
    margin-top: 0px;
    margin-bottom: 20px;
    font-family: 'Open Sans',sans-serif;
    color: #333;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    letter-spacing: 0;
    text-align: left;
}

.paragraph-link {

}


.paragraph-center {
    margin-top: 0px;
    /* margin-bottom: 20px; */
    font-family: 'Open Sans',sans-serif;
    color: #333;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    letter-spacing: 0;
    text-align: center;
}

.thumbnails {
    width: 90%;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
}

.thumbnail-btn {
    border: none;
    cursor: pointer;
    outline: none;
    background-color: #fff;
    padding-bottom: 8px;
    border-radius: 10px;
}

.thumbnail-btn:hover   {
    background-color: #eaeaea;
}

.active-btn   {
    background-color: #d9e8ec;
}

.thumbnail-row {
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth;
    width: 88%;
    margin-left: auto;
    margin-right: auto;
    float: left;
}

.thumbnail-col {
    width: 22%;
    flex: 1 0 22%;
}

:root {
    --opacity: 50;
}

#canvas {
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

#canvas-overlay {
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    /* opacity: var(--opacity); */
    filter: opacity(var(--opacity));
    transition-property: filter;
    transition-duration: 0.5s;
}

#main-results {
    width: 100%;
    /* margin-top: 30px; */
    margin-bottom: 0px;
    text-align: center;
    background-color: white;
    border-radius: 15px;
    -webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
    overflow: hidden;
}

#main-results > div {
    height: 200px;
    background-color: red;
}

.videos {
    visibility: hidden;
    position: absolute;
    width: 1%;
}

/* #Giraffe.videos {
    visibility: visible;
} */

#opacity {
    font-family: 'Open Sans',sans-serif;
    color: #3c3c3c;
    font-size: 20px;
    line-height: 20px;
}

.viewer-bar {
    /* width: 80.3333%; */
}

.switch {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 34px;
    margin-left: 15px;
    margin-top: 5px;
  }
  
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .2s;
    transition: .2s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .2s;
    transition: .2s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(36px);
    -ms-transform: translateX(36px);
    transform: translateX(36px);
}

.video-bar {
    width: 100%;
    margin-top: -45px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 20px;
    height: 40px;
}

.video-btn {
    width: 40px;
    height: 40px;
    padding: 8px 6px 8px 6px;
    margin: 0px 10px 0px 0px;
    cursor: pointer;
    outline: none;
    border: none;
    color: #fff;
    background-color: #2196F3;
    padding-bottom: 8px;
    border-radius: 10px;
    font-size: 20px;
}

.video-btn:hover {
    background-color: #0b7dda;
}

.video-export {
    text-align: right;
}

#play-btn {
    border-radius: 20px;
    padding: 0px;
}

.switch .labels {
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 14px;
    font-family: sans-serif;
    transition: all 0.2s ease-in-out;
}

.switch .labels::after {
    content: attr(data-off);
    position: absolute;
    right: 8px;
    color: #4d4d4d;
    opacity: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease-in-out;
}

.switch .labels::before {
    content: attr(data-on);
    position: absolute;
    left: 11px;
    color: #ffffff;
    opacity: 0;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease-in-out;
}

.switch input:checked~.labels::after {
    opacity: 0;
}

.switch input:checked~.labels::before {
    opacity: 1;
}

#opacity-col {
    text-align: left;
}

.citation {
    /* // set background color to gray; */
    background-color: #eaeaea;
    text-align: left;
    border-radius: 10px;
    padding-top: 3px;
}

.citation > h1 {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    padding: 10px;
}
.citation > pre {
    margin-bottom: 10px;
    margin-left: 10px;
    padding: 10px;
}

.citation > p {
    margin-left: 20px;
    font-size: 18px;
}

#codecell0 {
    margin-bottom: 10px;
    margin-left: 10px;
    overflow-y: scroll;
    white-space: pre-wrap; /* CSS3 */
    white-space: -moz-pre-wrap; /* Firefox */
    white-space: -pre-wrap; /* Opera */
    white-space: -o-pre-wrap; /* Opera */
    word-wrap: break-word; /* IE */
}

.slide-arrow {
    display: flex;
    top: 0;
    bottom: 0;
    margin-top: 35px;
    height: 4rem;
    background-color: #6dbdff;
    border: none;
    width: 5%;
    font-size: 3rem;
    padding: 0;
    cursor: pointer;
    opacity: 1.0;
    transition: color 100ms;
    justify-content: center;
  }
  
.slide-arrow:hover,
.slide-arrow:focus {
    background-color: #2196F3;
    opacity: 1;
}

#slide-arrow-prev {
    float: left;
    left: 0;
    margin-right: 1%;
    border-radius: 2rem 2rem 2rem 2rem;
}

#slide-arrow-next {
    float: right;
    right: 0;
    margin-left: 1%;
    border-radius: 2rem 2rem 2rem 2rem;
}

#gpt-words {
    float: left;
    width:100%;
    padding-bottom: 15px;
}

#gpt-img-col {
    width: 100%;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.gpt-query {
    margin-left: 0px;
    margin-right: 0px;
    padding: 5px;
    border-radius: 10px;
    border:1px solid #ffffff;
    float: left;
    width: 15%;
    line-height: 2.5vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gpt-query:hover {
    border:1px solid #252525;
    font-weight: 700;
}

.add-top-padding{
    margin-top: 10px;
}

.credit{
    font-size: 14px;
    text-align: center;
}

@media screen and (max-width: 750px) {
    .gpt-query {
        height: 30px;
        font-size: 2.5vw;
    }

    .slide-arrow {
        margin-top: 20px;
    }
}

/* for author names overflowing */
@media screen and (max-width: 660px) {
    .author-text {
        font-size: 13px;
    }
    .author-row {
        height: 35px;
    }
}

@media screen and (max-width: 550px) {
    .subheader {
        font-size: 16px;
    }

    .author-text {
        font-size: 12px;
    }

    .author-row {
        height: 35px;
    }

    #uc-berkeley {
        font-size: 12px;
    }

    #pipeline-img {
        width: 100%;
        max-width: 560px;
        margin-top: 20px;
        margin-right: 0px;
    }

    #why-lerf-img {
        width: 60%;
        max-width: 560px;
        margin-top: 20px;
        margin-left: 0px;
    }

    .slide-arrow {
        margin-top: 15px;
      }

    /* buttons smaller on phone */
    .video-btn {
        width: 30px;
        height: 30px;
        margin: 0px 5px 0px 0px;
        border-radius: 8px;
        font-size: 15px;
    }
    .video-bar {
        margin-top: -38px;
        height: 30px;
    }
}