/* ==========================================================================
   Base / Globals
   ========================================================================== */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    color: #f8f8f8;
    background: #1d1d1d;
}

/* ==========================================================================
   Cursor
   ========================================================================== */

.cursor {
    pointer-events: none;
}

body:hover .cursor {
    opacity: 100%;
}

/* ==========================================================================
   Page transition
   ========================================================================== */

body .transition {
    display: block;
}

.w-editor .transition {
    display: none;
}

.no-scroll-transition {
    overflow: hidden;
    position: relative;
}

/* ==========================================================================
   Hero — ID card
   ========================================================================== */

.section.is--hero {
    position: relative;
}

.hero__idcard-wrapper {
    position: absolute;
    top: -120px;
    left: 8%;
    z-index: 10;
    pointer-events: none;
}

.hero__idcard {
    height: 95vh;
    width: auto;
    max-height: 95vh;
    object-fit: contain;
    object-position: top center;
    display: block;
    vertical-align: top;
}

.hero__idcard-frame {
    position: relative;
    display: inline-block;
}

@media screen and (max-width: 991px) {
    .hero__idcard-wrapper {
        display: none !important;
    }
}

/* ==========================================================================
   Playground
   ========================================================================== */

.playground__image {
    pointer-events: none;
}

@media only screen and (min-width: 992px) {
    .playground__image:last-of-type {
        transform: translateY(-80%);
    }
}

@media only screen and (max-width: 991px) {
    .playground__item:last-of-type {
        border-bottom: 0.75px solid #1d1d1d;
    }
}
