@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,500;1,500&display=swap');

main video {
    display: block;
    width: 100%;
}

.demo-hero-wrapper {
    background-color: white;
}

.demo-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 10rem 0 var(--mp) 0;
}

.demo-hero-content {
    padding: 3.5rem 3.5rem 3.5rem 0;
}

.demo-hero-content h1 {
    font-size: clamp(1.65rem, 5vw, 2.95rem);
    margin: 1.5rem 0;
}

.demo-hero-content .intro {
    margin-bottom: 2rem;
    color: var(--black-08);
}

.hero-bg {
    background-size: cover;
    background-position: center;
    height: 100%;
}

.demo-hero-content .new-tag {
    width: fit-content;
}

.dg-tag {
    font-size: 0.725rem;
    font-weight: 520;
    letter-spacing: 0.2rem;
    width: fit-content;
    color: var(--highlight-darker);
    text-transform: uppercase;
}

.dg-tag2 {
    font-size: 0.8rem;
    font-weight: 550;
    width: fit-content;
    color: var(--highlight-darker);
}

.some-meta {
    display: flex;
    column-gap: 2.5rem;
    row-gap: 1rem;
    flex-wrap: wrap;
}

.some-meta span {
    display: block;
    font-size: var(--fs-main);
}

/* WHAT WAS CAPTURED - WWC */

.wwc {
    padding: var(--mp) 0;
    display: grid;
    grid-template-columns: 1fr 16rem;
    column-gap: 3.5rem;
    position: relative;
}

.wwc h2, .scanner-section h2 {
    font-size: 1.85rem;
    scroll-margin-top: 5rem;
}

.wwc p {
    font-size: var(--fs-main);
    color: var(--black-08);
    margin: 0.5rem 0 1rem 0;
}

.wwc p a, .scanner-section-copy p a {
    font-weight: 600;
    border-bottom: solid 3px var(--highlight);
    transition: all 0.1s ease;
}

.wwc p a {
    color: var(--black);
}

.scanner-section-copy p a {
    color: white;
}

.wwc p a:hover, .scanner-section-copy p a:hover {
    padding-bottom: 0.1rem;
}

.wwc-menu {
    padding: 1rem;
    background-color: white;
    position: sticky;
    top: 6rem;
    height: fit-content;
}

.placssholder {
    background-color: var(--black-02);
    aspect-ratio: 16/9;
    width: 100%;
}

.wwc .dg-tag2 {
    margin: 1rem 0 0.25rem 0;
}

.file-formats {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.file-formats span {
    background-color: var(--black-005);
    font-family: "IBM Plex Mono", monospace;
    font-weight: 500;
    font-style: normal;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    color: var(--black-08);
    border: solid 1px var(--black-01);
}

.wwc-break {
    margin: 2rem 0;
    height: 1px;
    background-color: var(--black-02);
}

.viewer-wrapper {
    position: relative;
}

#potree_render_area {
    aspect-ratio: 16/9;
}

.mouse-tip {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    z-index: 2;
    width: 8rem;
    padding: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    font-size: 0.75rem;
    border: solid 1px rgba(255, 255, 255, 0.25);
    line-height: 1.2;
    transition: all 0.2s ease;
    background-color: rgba(17,26,30,0.5);
}

.mouse-tip span {
    color: var(--highlight);
    font-weight: 650;
}

.mouse-tip i {
    color: white;
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* SIDE MENU */

.wwc-menu h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: solid 1px var(--black-02);
}

.wwc-menu h3 i {
    color: var(--highlight-darker);
}

.wwc-menu a {
    border-bottom: solid 1px var(--black-02);
    display: block;
    color: var(--black-08);
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    transition: all 0.15s ease;
}

.wwc-menu a:hover {
    font-weight: 550;
}

/* SCANNER SECTION */

.scanner-section {
    background-color: var(--black);
    color: white;
    position: relative;
}

.scanner-section-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    background-image: url(../images/features/top-glow.png);
    background-position: top center;
    background-size: 80rem;
    background-repeat: no-repeat;
}

.scanner-section-wrapper .content {
    padding: var(--mp) 0;
}

.scanner-section-container {
    display: grid;
    grid-template-columns: 4fr 3fr;
    column-gap: 5rem;
    align-items: center;
}

.scanner-section-copy {
    padding: var(--mp) 0;
}

.scanner-section-copy h2 {
    margin: 1.5rem 0;
}

.scanner-section-copy h2, .scanner-section-copy p, .scanner-section-copy li {
    text-align: justify;
}

.scanner-section-copy p, .scanner-section-copy li {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--fs-main);
    font-weight: 450;
}

.scanner-section-img {
    background-image: url(../images/solutions/scanner-hero.jpg);
    background-position: center;
    background-size: cover;
    height: 100%;
}

.scanner-section-copy ul {
    margin: 1.5rem 0 0 1.5rem;
}
    
.scanner-section-copy ul i {
    color: var(--highlight);
}

.scanner-section-copy ul li {
    margin-bottom: 0.75rem;
}

.scanner-section-copy .explore-scanner {
    background-color: unset;
    color: rgba(255, 255, 255, 0.85);
    box-shadow: unset !important;
    translate: none !important;
    scale: 1 !important;
}

.scanner-section-copy .explore-scanner:hover {
    background-color: white;
    color: var(--black);
}

/* DEMOS LIST */

.demo-list-wrapper {
    padding: var(--mp) 0;
}

.demo-list-header {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.demo-list-header a {
    margin-left: auto;
    color: var(--highlight-darker);
    font-weight: 550;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.demo-list-header i {
    transition: all 0.15s ease;
}

.demo-list-header a:hover i {
    margin-left: 0.25rem;
}

.demo-list {
    grid-template-columns: repeat(3, 1fr);
    display: grid;
    column-gap: 1.5rem;
}

.demo-card {
    background-color: white;
    padding: 0.85rem;
    border-radius: 0.8rem;
    position: relative;
}

.demo-card p {
    font-size: var(--fs-intro);
    color: var(--black);
    padding: 0.5rem 0 3rem 0;
    line-height: 1.3;
}

.demo-image {
    position: relative;
    overflow: hidden;
}

.demo-thumb, .demo-preview {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.demo-preview {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
}

.demo-card:hover .demo-preview.loaded {
    opacity: 1;
}

.demo-thumb {
    transition: all 0.15s ease;
}

.demo-card:hover .demo-thumb {
    scale: 1.075;
    opacity: 0.9;
}

.view-scan {
    background-color: var(--black);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 100vw;
    font-weight: 550;
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    font-size: var(--fs-smol);
}

.view-scan i {
    transition: all 0.15s ease;
}

.view-scan:hover i {
    margin-left: 0.25rem;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 1120px) {
    .demo-hero {
        padding: var(--mp) 0;
    }

    .scanner-section-container {
        grid-template-columns: 1fr;
        row-gap: 1.5rem;
    }

    .scanner-section-copy {
        order: 2;
        padding: 0;
    }

    .scanner-section-img {
        aspect-ratio: 16/9;
        order: 1;
    }

}

@media only screen and (max-width: 1050px) {
    .demo-hero {
        grid-template-columns: 1fr;
    }

    .demo-hero-content {
        padding: 2rem 0;
    }

    .demo-hero-content h1 {
        margin: 0.75rem 0;
    }

    .hero-bg {
        aspect-ratio: 16/9;
    }

    .wwc {
        grid-template-columns: 1fr 13rem;
    }

    .wwc-menu h3 {
        display: none;
    }

    .demo-list {
        grid-template-columns: 1fr;
        max-width: 40rem;
        margin: 0 auto;
        row-gap: 1.5rem;
    }
}

@media only screen and (max-width: 900px) {
    .wwc {
        grid-template-columns: 1fr;
    }

    .wwc-menu {
        display: none;
    }
}

@media only screen and (max-width: 768px) {

    .wwc h2, .scanner-section h2 {
        font-size: 1.4rem;
    }

    .mouse-tip  {
        display: none;
    }
}

@media only screen and (max-width: 520px) {
    #potree_render_area {
        aspect-ratio: 1;
    }

    .scanner-section-img {
        aspect-ratio: 1;
    }    
}