/*===== LANDING PAGE =====*/

@property --leftColor {
    syntax: '<color>';
    inherits: false;
    initial-value: #c90101;
}

@property --leftColor2 {
    syntax: '<color>';
    inherits: false;
    initial-value: #000000;
}

@property --rightColor {
    syntax: '<color>';
    inherits: false;
    initial-value: #006a99;
}

@property --rightColor2 {
    syntax: '<color>';
    inherits: false;
    initial-value: #000000;
}

.left,
.right {
    height: 100vh;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    padding-left: 12vw;
    padding-right: 12vw;
    letter-spacing: -0.6px;
}

.left {
    background: radial-gradient(circle at right, var(--leftColor) 0%, var(--leftColor2) 100%);
    font-family: 'Share Tech Mono', monospace;
    transition: --leftColor 1.6s, --leftColor2 1.6s, text-shadow .6s ease-in-out;
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 1);
    left: 0;
}

.right {
    background: radial-gradient(circle at left, var(--rightColor) 0%, var(--rightColor2) 100%);
    font-family: 'Share Tech Mono', monospace;
    transition: --rightColor 1.6s, --rightColor2 1.6s, text-shadow .6s ease-in-out;
    right: 0;
}

.left:hover {
    --leftColor: #d61010;
    --leftColor2: #800000;
    text-shadow: 2px 5px 10px rgba(0, 0, 0, 1);
}

.right:hover {
    --rightColor: #0099cc;
    --rightColor2: #003d5c;
    text-shadow: 1px 3px 7px rgba(0, 0, 0, 1);
}

.title {
    position: absolute;
    top: 10vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    font-size: 4rem;
    color: white;
    text-shadow: 2px 5px 10px rgba(0, 0, 0, 1);
    font-family: 'Orbitron', sans-serif;
    transition: opacity 0.8s ease-in-out;
}

.split {
    position: fixed;
    top: 0;
    width: 50%;
    height: 100%;
}

.expand-left {
    width: 100%;
    z-index: 2;
    transition: width 0.8s ease-in-out;
}

.expand-right {
    width: 100%;
    right: 0;
    z-index: 2;
    transition: width 0.8s ease-in-out;
}

.shrink {
    width: 0%;
    z-index: 1;
    transition: width 0.8s ease-in-out;
}

.expand-left~.title,
.expand-right~.title {
    opacity: 0;
}