/**
 * DEFAULTS
 */
* { box-sizing: border-box; }
body, html {
    padding: 0;
    margin: 0;
    min-height: 100vh;
}
html {
    font-size: 16px;
}
body {
    font-size: 1em;
    font-family: Calibri, Helvetica, sans-serif;
    line-height: 1.5;
    background-color: #000;
    color: #fff;
}

h1, h2, h3 {
    margin: 0 0 1em 0;
    text-transform: uppercase;
}
p {
    margin: 0;
}

/**
 * LAYOUT
 */
.portal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    display: flex;
    flex-flow: row nowrap;
}

.portal > a {
    flex: 1;
    position: relative;
    transition: flex 1s;
    color: inherit;
}
.portal > a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba( 0 0 0 / 70% );
    z-index: 1;
    backdrop-filter: blur(.3em);
    transition: backdrop-filter 1s, background 1s;
}

.portal .bg-image,
.portal video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.portal .logo {
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%,-50%,0);
    width: 100%;
    height: auto;
    max-width: 20em;
    transform-origin: center center;
    transition: scale 1s;
}

.portal canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    
    pointer-events: none;
    filter: blur(4em) saturate(0.7) opacity(0.5);
    background-image: linear-gradient(135deg, #43cbff 100%, #9708cc 100%);
}

.portal .choose {
    --gap: 0;
    
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    transform: translateX( 50% );
    font-size: .85em;
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    gap: var( --gap );
    padding: var( --gap ) 0;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .2em;
}

.portal .choose span {
    display: inline-block;
    border: 2px solid rgba( 255 255 255 / 50% );
    padding: .5em 1em;
    border-radius: 1em;
    backdrop-filter: blur(.5em);
}

.portal .choose::before,
.portal .choose::after {
    content: "";
    flex: auto;
    width: 2px;
    background: rgba( 255 255 255 / 50% );
}

/**
 * RESPONSIVE
 */
@media screen and (min-width: 1025px) {
    /* Animation */
    .portal > a:has(.logo:hover) {
        flex: 0 0 60%;
    }
    .portal > a:has(.logo:hover) .logo {
        scale: 1.2;
    }
    .portal > a:has(.logo:hover)::before {
        backdrop-filter: blur(0em);
        background: rgba( 0 0 0 / 50% );
    }
}
@media screen and (max-width: 1024px) {
    .portal {
        flex-direction: column;
    }
    .portal > a {
        flex: 0 0 50%;
        max-height: 50%;
    }
    .portal .choose {
        transform: translateX( 0 ) translateY( 50% );
        width: 100%;
        height: auto;
        flex-direction: row;
        top: auto;
        bottom: 0;
    }
    .portal .choose::before,
    .portal .choose::after {
        height: 2px;
        width: auto;
    }
    .portal .logo {
        max-width: 8em;
    }
}
