#youtube-iframe {
    width: 100%;
}

#timelapse-video-error {
    max-width: 80vw;
    margin: 0 auto;
}

#timelapse-video-button {
    color: white;
    font-size: large;
    font-weight: bold;
    border: 3px solid white;
    border-radius: 5px;
    padding: 10px 0;
    margin-top: 10px;
    cursor: pointer;
    text-align: center;
    transition: 0.5s;
}

#timelapse-video-button:hover {
    color: black;
    background-color: white;
}

.mainbg {
    background-color: #FE131B;
    color: white;
}

main {
    background-color: #FE131B;
}

#thumbnails {
    margin: auto;
    padding-bottom: 30px;
}

.thumbnail {
    padding-bottom: 15px;
    cursor: pointer;
}

.thumbnail:hover {
    transform: scale(1.2);
}

.thumbnail-date {
    background-color: black;
    color: white;
    width: 100%;
    display: block;
    padding: 5px;
}

@media screen and (max-width:1000px) {
    #thumbnails {
        display: grid;
    }

    .thumbnails-row {
        display: flex;
        flex-wrap: wrap;
    }

    .thumbnail {
        display: block;
        flex: 1 0 34%;
    }

    .thumbnail:nth-child(odd) {
        padding-right: 5px;
    }

    .thumbnail:nth-child(even) {
        padding-left: 5px;
    }

    .project-column {
        padding-top: 0 !important;
    }

    .project-info-column {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .mobile-yt {
        border-radius: 0 !important
    }

    .main-header-two {
        font-size: 1.2rem !important;
        margin-top: 10px
    }

    .negative-margin-top-two {
        margin: 0 !important;
        border-radius: 0 !important
    }

    #controls2 {
        display: block
    }

    #controls1 button {
        width: 15%
    }

    .line {
        width: 100%;
        margin: 20px 0 20px 0
    }

    #day-back-button {
        margin-right: 0
    }

    #day-forward-button {
        margin-left: 0
    }

    .watermark {
        max-width: 50px;
        margin-top: -60px;
    }

    .desktop-visible {
        display: none;
    }

    .mobile-row {
        width: 100%;
    }

    .mobile-flex-row {
        width: 100%;
        justify-content: center;
        display: flex;
    }
}

@media screen and (min-width:1001px) {
    .thumbnail {
        max-width: 16%;
        display: inline-block;
    }

    .thumbnail:not(:last-child) {
        padding-right: 10px;
    }

    .flexbox {
        display: flex;
    }

    .project-info-column {
        width: 30%;
    }

    .mainbg {
        padding-bottom: 80px;
    }

    .negative-margin-top-one {
        margin-top: -138px
    }

    .main-image {
        margin: 0 auto;
        max-width: 80vw
    }

    .main-header-two {
        max-width: 80vw;
    }

    .main-controls-section {
        margin: 0 auto;
        max-width: 80vw
    }

    #thumbnails {
        max-width: 80vw;
    }

    #camera-buttons {
        max-width: 80vw;
        margin: auto;
    }

    .watermark {
        max-width: 75px;
        margin-top: -85px;
    }
}

#timestamp {
    font-weight: 700;
    font-size: 1.5rem;
    display: block;
    text-align: center;
}

.controls {
    display: flex;
    justify-content: space-between;
}

.slidecontainer {
    margin: auto
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: 0;
    -webkit-transition: .2s;
    transition: opacity .2s
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #333;
    cursor: pointer
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #333;
    cursor: pointer
}

#calendar-icon {
    display: inline
}

.bg-white-custom {
    background: #fff;
    color: #333 !important;
    border: 1px solid #ccc
}

.bg-white-hover:hover {
    background: #e6e6e6
}

.icon-color {
    color: #333 !important
}

.main-header-one {
    color: white;
    font-family: Montserrat, Sans-serif;
    font-size: 50px;
    font-weight: 500;
    margin-bottom: -10px;
    text-align: center;
}

.main-header-two {
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-size: 42px;
    font-weight: 500;
    margin: auto;
}

.main-controls-section {
    background-color: #FE131B;
    padding-bottom: 10px;
    padding-top: 100px;
    margin-top: -95px;
}

.empty-footer {
    background-color: #FE131B;
    padding-bottom: 80px;
    padding-top: 100px;
    margin-top: -95px;
    padding-right: 2em;
    padding-left: 2em
}

.negative-margin-top-two {
    margin-top: -62px !important;
}

.mainbg-header-section-two {
    background-color: #FE131B;
    color: #fff;
    padding-bottom: 80px
}

#camera-buttons {
    margin-top: 10px
}

.active-button {
    background-color: yellow;
}

.active-button:hover {
    background-color: rgb(206, 206, 0);
}

.project-info-column {
    margin-top: -6px !important;
}

.project-info-container {
    background-color: white;
    color: #FE131B;
    font-weight: 700;
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 5px;
}

.project-info-container-date {
    display: flex;
}

.project-info-container-logo {
    max-width: 50px;
}

.project-info-container-date>span {
    align-self: flex-end;
}

.project-info-container-image {
    border-radius: 5px;
}

.watermark {
    position: absolute;
    right: 30px;
    opacity: 50%;
}
