blockquote,body,dd,dl,figure,h1,h2,h3,h4,p{margin:0}ol[role=list],ul[role=list]{list-style:none}html:focus-within{scroll-behavior:smooth}body{min-height:100vh;text-rendering:optimizeSpeed;line-height:1.5}a:not([class]){text-decoration-skip-ink:auto}/*img,picture{max-width:100%;display:block}*/button,input,select,textarea{font:inherit}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,::after,::before{animation-duration:0s;animation-iteration-count:1;transition-duration:0s;scroll-behavior:auto!important}}ul,ul li,ul ul li{margin:0;padding:0;text-indent:0}
*, ::after, ::before { box-sizing: border-box; }

/* General Styles */

:root {
    --header-height: 0;
    --header-shadow-opacity: 0;
    --page-bg: #FE7E21;
    --inverted-bg: #000;
    --text: #000;
    --text-inverted: #fff;
    --padding-side: 5vw;
    --width-min-content: 700px;
    --width-min-content-1: 701px;
    --width-max-content: 1200px;
    --width-max-content-1: 1201px;
    --width-inner-content: 800px;
    --width-inner-content-1: 801px;
}

html {
	overflow-x: hidden;
	height: 100%;
    overflow: hidden;
}

body {
    font-size: 2.25vw;
}

body.nocursor div:hover,
body.nocursor a,
body.nocursor {
    cursor: none !important;
}

body.nocursor a {
    pointer-events: none;
}



.pad {
    padding-left: var(--padding-side);
    padding-right: var(--padding-side);
}

h1, h2, h3, h4, h5, h6 {
    position: relative;
    text-transform: uppercase;
    line-height: 1.2em;
    margin-bottom: 0.4em;
    letter-spacing: 0.1em;
    margin-top: 0;
    font-weight: 400;
}
h1 {
    font-size: 220%;
    font-weight: 600;
}
h2 {
    font-size: 190%;
    font-weight: 600;
}
h3 {
    font-size: 125%;
    font-weight: 600;
}
h4 {
    font-size: 100%;
    font-weight: 600;
}
h5 {
    font-size: 100%;
}
h6 {
    font-size: 100%;
    font-weight: 600;
    line-height: 1.3em;
}

#maincontent a {
    color: var(--text-inverted);
    text-decoration: none;
}
#maincontent a:hover {
    text-decoration: underline;
}
#maincontent .inverted a {
    color: var(--page-bg);
}
body, 
input, 
textarea, 
button
{
	font-family: "din", -apple-system, system, sans-serif;
}
.vn p, .vn ul {
    font-family: sans-serif;
}
section p {
    line-height: 1.3em;
    margin-bottom: 0.5em;
}

section ul li {
    margin-left: 1.1em;
    line-height: 1.3em;
    margin-bottom: 0.6em;
}

.shadow, .gridrow img, .gridrow video {
    box-shadow: 0.3em 0.3em 1.1em 0em rgba(0,0,0,0.4);
}
.gridrow img.noshadow, .gridrow video.noshadow {
    box-shadow: none;
}

.gridrow img, .gridrow video {
    margin-bottom: 1em;
}

.max50 {
    max-width: 50%;
}

/* GRID STYLES */

.gridrow {
    display: grid;
    width: 100%;
    column-gap: 1.5em;
}
.gridrow.col2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gridrow.col3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gridrow.col4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (min-width: 1200px)
{
    
}
.gridrow.middle {
    align-items: center;
}
.gridrow > div {
    margin-bottom: 1.5em;
}

@media screen and (min-width: 800px) {
    body {
        font-size: 18px;
    }
    .pad {
        padding-left: 40px;
        padding-right: 40px;
    }
}

#top {
    max-width: var(--width-max-content);
    margin: 0 auto;
}
section {
    background-color: transparent;
    margin: 0 auto;
    position: relative;
}

section.inverted {
    background-color: var(--inverted-bg);
    color: var(--text-inverted);
}

section img {
    width: 100%;
}

section video {
    width: 100%;
}

#maincontent {
    z-index: 0;
    position: relative;
}
#maincontent::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    bottom: -18em;
    left: 0;
    right: 0;
    transform: rotate(180deg);
    background-image: url('https://cdn.akamai.steamstatic.com/half-life.com/images/halflife25/decayconstant.png');
    background-size: 70em auto;
    background-repeat: no-repeat;
    background-position: center top;
}

.inner {
    max-width: var(--width-inner-content);
    margin-left: auto;
    margin-right: auto;
}
#maincontent section {
    border-bottom: 1px solid var(--inverted-bg);
    padding-top: 0;
    padding-bottom: 1.8em;
    margin-bottom: 2.1em;
}
#maincontent section.noborder {
    border: 0;
}
#maincontent section.nopad {
    padding: 0;
}
#maincontent section.nomargin-top,
#maincontent section.nomargin {
    margin-top: 0;
}
#maincontent section.nomargin-bottom,
#maincontent section.nomargin {
    margin-bottom: 0;
}

#maincontent .icon::before {
    content: '';
    width: 2.1em;
    height: 2.1em;
    position: absolute;
    left: -2.8em;
    top: 0.15em;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
@media screen and (max-width: calc(800px + 40px)) {
    #maincontent .icon::before {
        width: 1.4em;
        height: 1.4em;
        left: -1.8em;
        top: 0.41em;
    }
}
#maincontent .icon.lambda::before {
    background-image: url('https://cdn.akamai.steamstatic.com/half-life.com/images/halflife25/lambda.png');
}
#maincontent .icon.verified::before {
    background-image: url('https://cdn.akamai.steamstatic.com/half-life.com/images/halflife25/verified.png');
}
#maincontent h2 {
    color: var(--text-inverted);
    margin-bottom: 0.8em;
}
#maincontent h3 {
    margin-bottom: 1em;
    padding-top: 0.28em;
}
#maincontent p {
    margin-top: 1em;
    margin-bottom: 1em;
}
#maincontent .gridrow p {
    margin-top: 0;
}
/* PAGE STYLES */

body {
    /*background-image: url('https://cdn.akamai.steamstatic.com/half-life.com/images/halflife25/top_bg.jpg');
    background-size: contain;
    background-repeat: no-repeat;*/
    background-color: var(--page-bg);
    background-position: center top;
}

a.button {
    display: inline-block;
    background-color: var(--inverted-bg);
    font-family: 'Roboto', monospace;
    text-transform: uppercase;
    font-size: 125%;
    padding: 0.8em 1.3em 0.7em;
    margin: 0.5em;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--page-bg);
}
a.button span {
    color: var(--text);
    position: relative;
    z-index: 9999;
    transition: color;
    transition-duration: 0.2s;
}

.inverted a.button {
    background-color: var(--page-bg);
    color: var(--text);
}

a.button::before
{
    content: '';
    position: absolute;
    display: block;
    width: 120%;
    height: 100%;
    background-color: var(--inverted-bg);
    left: 0;
    top: 0;
    z-index: 5;
    transform: skew(-33deg, 0) translate(-110%);
    transition: transform 300ms;
}
a.button:hover::before
{
    transform: skew(-33deg, 0) translate(-10%);
}
a.button:hover span {
    color: var(--page-bg);
}

.center {
    text-align: center;
}

.cta {
    text-align: center;
}

.decoration {
    position: absolute;
    z-index: 9999;
}
.noclick {
    pointer-events: none;
}

#highlightcover {
   height: 30vw;
   background:linear-gradient(180deg,rgb(176, 59, 0) 0,rgba(185, 90, 30, .02) 88%,transparent);
   visibility: collapse;
}

#pagetop {
    height: 117vw;
    /*max-height: 800px;*/
}

#textured {
    background-image: url('https://cdn.akamai.steamstatic.com/half-life.com/images/halflife25/crt-texture.jpg');
    background-size: 100% auto;
    background-repeat: no-repeat;
}

#intro::before {
    content: '';
    background-image: url('https://cdn.akamai.steamstatic.com/half-life.com/images/halflife25/top_blotch.png');
    width: 53em;
    height: 30em;
    background-size: contain;
    position: absolute;
    left: -15em;
    top: -8em;
    background-repeat: no-repeat;
    z-index: -1;
}

#lead {
    padding-top: 5em;
    margin-top: 30vw;
}
#lead h2 {
    margin-bottom: 2em;
}
#lead img {
    margin-bottom: 5em;
}
#gordon {
    position: relative;
    margin-left: 1em;
    margin-right: 1em;
}
#gordon h2 {
    font-size: 210%;
    position: absolute;
    z-index: 999;
    color: var(--page-bg);
    text-shadow: 0.1em 0.1em 0.3em black;
}
#gordon #run {
    left: 0%;
    top: 0%;
}
#gordon #think {
    left: 20%;
    top: 20%;
}
    .fr #gordon #think, .bg #gordon #think {
        left: 11%;
    }
    .ko #gordon #think, .de #gordon #think, .es-419 #gordon #think, .ru #gordon #think {
        left: 15%;
    }
    .cs #gordon #think {
        left: 8%;
    }
    .el #gordon #think {
        left: 16%;
    }
    .ro #gordon #think {
        left: 12%;
    }
    .tr #gordon #think {
        left: 19%;
    }
    .uk #gordon #think {
        left: 13%;
    }
    .hu #gordon #think {
        left: 10%;
    }
#gordon #shoot {
    bottom: 29%;
    right: 14%;
}
    .fr #gordon #shoot, .pt-br #gordon #shoot {
        right: 21%;
    }
    .ko #gordon #shoot, .hu #gordon #shoot {
        right: 24%;
    }
    .es-419 #gordon #shoot, .ru #gordon #shoot, .bg #gordon #shoot {
        right: 11%;
    }
    .cs #gordon #shoot {
        right: 7%;
    }
    .da #gordon #shoot, .it #gordon #shoot {
        right: 19%;
    }
    .el #gordon #shoot {
        right: 8%;
    }
    .pl #gordon #shoot {
        right: 10%;
    }
    .pt #gordon #shoot {
        right: 14%;
    }
    .ro #gordon #shoot {
        right: 16%;
    }
    .th #gordon #shoot {
        right: 29%;
    }
    .uk #gordon #shoot {
        right: 5%;
    }
#gordon #live {
    bottom: 8%;
    right: 0%;
}
    .it #gordon #live, .uk #gordon #live {
        right: -3%;
    }
    .pl #gordon #live, .th #gordon #live {
        right: -4%;
    }
    .ro #gordon #live {
        right: -6%;
    }
    .tr #gordon #live {
        right: -5%;
    }
#lauds {
    margin-top: 2em;
}
#lauds, #lauds .carousel, #lauds .flickity-viewport {
    height: 13em;
}

#invite {
    font-size: 1.35vw;
    margin-top: 10em;
}

@media screen and (min-width: 1200px) {
    #invite {
        font-size: 0.9em;
    }
}

#invite h3 {
    font-size: 1.7em;
    line-height: 1em;
    letter-spacing: 0.219em;
    margin-right: -0.219em;
}
#invite h1 {
    font-size: 5em;
    letter-spacing: 0.49em;
    margin-right: -0.49em;
    line-height: 1em;
    margin-bottom: 0.1em;
}
#invite h2 {
    font-size: 2.6em;
    line-height: 1.2em;
    letter-spacing: 0.2em;
    margin-right: -0.2em;
    margin-top: -0.1em;
}
    .jp #invite h2, .ko #invite h2 {
        margin-top: 0.4em;
    }
    .ru #invite h2 {
        margin-top: 0.2em;
    }
    .chinese #invite h2 {
        margin-top: 0.1em;
    }
    .es #invite h2, .bg #invite h2 {
        font-size: 2em;
        margin-top: 0.2em;
    }
    .pt-br #invite h3 {
        letter-spacing: 0.1em;
    }
    .da #invite h1 {
        font-size: 4.1em;
    }
    .da #invite h2 {
        font-size: 2.0em;
        margin-top: 0.3em;
    }
    .nl #invite h2 {
        font-size: 2.1em;
        letter-spacing: 0.12em;
    }
    .el #invite h3 {
        font-size: 1.45em;
        letter-spacing: 0.1em;
    }
    .el #invite h2 {
        font-size: 2.25em;
        letter-spacing: 0.1em;
    }
    .hu #invite h2 {
        margin-top: 0.2em;
        font-size: 2.43em;
    }
    .it #invite h2 {
        font-size: 2em;
        letter-spacing: 0.1em;
        margin-top: 0.2em;
    }
    .ro #invite h2 {
        font-size: 2.1em;
        letter-spacing: 0em;
        margin-top: 0.3em;
    }
    .sv #invite h2 {
        font-size: 2.3em;
        letter-spacing: 0.1em;
        margin-top: 0.2em;
    }
    .th #invite h2 {
        font-size: 2.5em;
    }
    .tr #invite h3 {
        font-size: 1.5em;
        letter-spacing: 0.19em;
    }
    .tr #invite h2 {
        font-size: 2.55em;
        letter-spacing: 0.1em;
        margin-top: 0.2em;
    }
    .vn #invite h2 {
        font-size: 2.23em;
        margin-top: 0.2em;
    }
    .id #invite h2 {
        font-size: 2.37em;
        margin-top: 0.1em;
    }
    .id #invite h3 {
        letter-spacing: 0.145em;
    }
    .uk #invite h2 {
        font-size: 2.18em;
        letter-spacing: 0.05em;
        margin-right: -0.1em;
        margin-top: 0.2em;
    }
sup {
    font-size: 0.5em;
}

#monitor.video-frame {
    height: 32em;
    margin-top: 9em;
    margin-bottom: 3em;
    margin-left: auto;
    margin-right: auto;
}

#monitor .videocontainer {
    width: 66%;
    left: 17%;
    top: 9%;
    overflow: visible;
}

#monitor .videocontainer .videobg {
    position: absolute;
    width: 106%;
    height: 112%;
    left: -3%;
    top: -6%;
    background-color: var(--inverted-bg);
}

#monitor #headcrab {
    position: absolute;
    left: -19.5%;
    top: -25.5%;
    width: 38%;
    z-index: 9999;
}

.hitFlesh {
    filter: saturate(3);
    transform: scale(.98);
}

#fungussmall.hitFlesh {
    filter: saturate(1);
    transform: scale(1);
}


#monitor #sticker {
    position: absolute;
    right: -15%;    
    top: -24.5%;
    z-index: 9999;
    transform: rotate(-11deg);
}
#monitor #sticker svg {
    width: 11em;
    height: auto;
}
#monitor #sticker svg rect {
    fill: var(--page-bg);
}
#monitor #sticker div {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}
#monitor #sticker div p {
    color: var(--text);
    text-align: center;
    line-height: 1.3em;
    padding-left: 1em;
    padding-right: 1em;
    margin-bottom: 0;
    font-size: 1em;
    font-family: 'Roboto', monospace;
}

#interviews {
    margin-top: 8em;
    padding-bottom: 10em;
}

#interviews a {
	color: #fff; 
}

#zombie {
    opacity: 1;
    bottom: -25em;
    left: -5em;
    width: 30em;
}

#scientist {
    bottom: -30em;
    right: 4em;
    width: 12em;
}

#decayconstant {
    position: absolute;
    z-index: -1;
    right: -5em;
    bottom: -30em;
    width: 84em;
}

#deckvideo {
    width: 109%;
    margin-left: -4%;
	margin-bottom: -2em;
}

section#loader .decoration {
    right: -24em;
    bottom: -13em;
    width: 45em;
    height: auto;
}

section#icky .decoration {
    left: -28em;
    bottom: -10em;
    width: 34em;
    height: auto;
}

section#hound .decoration {
    right: -12em;
    bottom: -8em;
    width: 16em;
    height: auto;
}

section#scaling .gridrow > div {
    margin-bottom: 0;
}

@media screen and (max-width: 700px ) {
    section#loader, section#icky, section#hound {
        margin-bottom: 0;
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 0;
        border: 0;
    }
    section#loader {
        margin-top: -4em;
    }
    section#icky {
        margin-top: -3em;
        margin-bottom: -1em;
    }
    section#loader .decoration {
        display: block;
        position: relative;
        width: 100%;
        height: auto;
        right: unset;
        left: unset;
        top: unset;
        bottom: unset;
        margin-left: -18%;
        width: 133%;
    }
    section#icky .decoration, section#hound .decoration {
        display: block;
        position: relative;
        width: 100%;
        height: auto;
        right: unset;
        left: unset;
        top: unset;
        bottom: unset;
        margin-left: -20%;
        width: 125%;
    }
    section#hound .decoration {
        width: 90%;
        margin-left: 0;
        margin-top: -3em;
    }
    section#scaling, section#restored {
        border: 0;
    }
    #scientist {
        right: -1em;
    }
    #zombie {
        bottom: -28em;
    }
}

#furthermaps .gridrow img {
    margin-bottom: 0.5em;
}

section .row1 {
    margin-bottom: 1.5em;
}

@media screen and (min-width: 701px ) {
    #maincontent section#graphics {
        padding-bottom: 3em;
    }
    section#multiplayer h3 {
        max-width: 45%;
    }
}

section#fixes {
    padding-top: 2em;
    z-index: unset;
}

#fixes ul {
    font-family: 'Courier New', Courier, monospace;
    color: var(--bg-light);
    padding-top: 1em;
    margin-left: 2em;
    margin-right: 2em;
    margin-bottom: 0;
    padding-bottom: 0em;
}
#fixes ul:last-of-type {
    padding-bottom: 1em;
}
#fixes ul:before {
    content: attr(aria-label);
    font-weight: 600;
    margin-left: -2em;
    line-height: 2.5em;
}
#fixes ul li {
    margin-bottom: 0.5em;
}

#fungussmall {
    content: '';
    background-image: url('https://cdn.akamai.steamstatic.com/half-life.com/images/halflife25/fungus_small.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 20em;
    height: 10em;
    left: -8em;
    bottom: 0em;
    z-index: -1;
    position: absolute;
}

/* VIDEO PLAYER */

.video-frame {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: relative;
}

.videocontainer {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

.videocontainer video {
    clip-path: inset(1px 1px);
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    display: block;
}

.youtube-container 
{ 
	position: relative; 
	padding-bottom: 56.25%; 
	height: 0; 
	overflow: hidden; 
	max-width: 100%; 
} 
.youtube-container iframe, 
.youtube-container object, 
.youtube-container embed 
{ 
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
}

@media screen and ( max-width: 700px ) {
    body {
        font-size: 4vw;
    }
    .gridrow {
        display: block;
    }
    
    h2 {
        font-size: 150%;
    }
    h2 br {
        display: none;
    }
    #invite {
        font-size: 0.5em;
        margin-top: 2em;
    }
    #lead h2 {
        font-size: 130%;
    }
    #gordon img {
        margin-left: -50%;
        margin-right: -50%;
        width: 180%;
    }
    #gordon h2 {
        font-size: 150%;
    }
    #gordon #run {
        left: -5%;
    }
        .ro #gordon #run {
            left: -6%;
        }
        .uk #gordon #run {
            left: -8%;
        }
    #gordon #think {
        left: 6%;
    }
        .de #gordon #think, .ko #gordon #think, .es-419 #gordon #think, .ru #gordon #think, .bg #gordon #think {
            left: 3%;
        }
        .el #gordon #think, .hu #gordon #think {
            left: 2%;
        }
        .ro #gordon #think {
            left: 0%;
        }
        .th #gordon #think {
            left: 16%;
        }
        .tr #gordon #think {
            left: 9%;
        }
        .uk #gordon #think {
            left: 1%;
        }
    #gordon #shoot {
        right: 4%;
    }
        .de #gordon #shoot, .ru #gordon #shoot, .nl #gordon #shoot, .pl #gordon #shoot {
            right: 2%;
        }
        .ko #gordon #shoot {
            right: 12%;
        }
        .ro #gordon #shoot {
            right: -4%;
        }
        .th #gordon #shoot {
            right: 23%;
        }
        .tr #gordon #shoot {
            right: 0%;
        }
        .uk #gordon #shoot {
            right: -3%;
        }
        .hu #gordon #shoot {
            right: 13%;
        }
    #gordon #live {
        right: -7%;
    }
        .pl #gordon #live {
            right: -8%;
        }
        .pt #gordon #live, .sv #gordon #live, .th #gordon #live, .tr #gordon #live, .uk #gordon #live {
            right: -9%;
        }
        .ro #gordon #live {
            right: -10%;
        }
    #maincontent h2,
    #maincontent h3 {
        display: inline;
    }
    #maincontent .icon::before {
        display: inline-block;
        position: static;
        width: 1em;
        height: 1em;
        margin-right: 0.2em;
    }
    #maincontent .icon.h2::before {
        width: 1.2em;
        height: 1.2em;
    }

    .gridrow {
        margin-top: 1em;
    }
    .gridrow > * {
        margin-top: 2em;
    }
    #monitor.video-frame {
        margin-top: 2em;
        height: 18em;
        background-size: 135%;
        background-position: center 1.5em;
        margin-bottom: 1em;
    }
    #monitor .videocontainer {
        width: 90%;
        left: 5%;
        top: 15%;
    }
    #monitor #sticker {
        font-size: 0.6em;
        right: -2.5em;
        top: -6.5em;
    }
    #monitor #headcrab {
        left: -5em;
        top: -3.8em;
        width: 13em;
    }
    #interviews {
        margin-top: 3em;
    }
}

/* CAROUSEL */

.carousel .laudslide {
    width: 20%;
    transition-property: margin;
    transition-duration: 0.2s;
}

.carousel .laudslide:not(.is-selected) {
    margin-left: 1%;
    margin-right: 1%;
}

.laudslide h3,
.laudslide h4 {
    margin-left: -100%;
    margin-right: -100%;
    text-align: center;
    text-transform: none;
}

.laudslide {
    opacity: 0.5;
    transition-property: opacity;
    transition-duration: 0.5s;
}
.laudslide.is-previous,
.laudslide.is-next {
    opacity: 0.75
}
.laudslide.is-selected {
    opacity: 1;
}

.laudslide .text {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.5s;
    transform: scale(0.7) translateY(-1em);
}
.laudslide.is-selected .text {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.laudslide img {
    transform: scale(0.65);
    transition-property: transform;
    transition-duration: 0.4s;
    transition-delay: 0.1s;
}
.laudslide.is-previous img,
.laudslide.is-next img {
    transform: scale(0.85);
    transition-delay: 0s;
}
.laudslide.is-selected img {
    transform: scale(1);
    transition-delay: 0s;
}

@media screen and ( max-width: 700px ) {
    .carousel .laudslide {
        width: 33%;
    }
}

/* HERO VIDEO */


#SpecularGlow {
    width: 140vw;
    height: 60vw;
    background: radial-gradient(circle, rgb(255, 255, 255) 0%, rgb(255, 222, 161) 20%, transparent 70%);
    background: radial-gradient(at center top, rgb(255, 255, 255) 0%, rgb(255, 222, 161) 20%, rgba(255, 222, 161, .3) 50%, transparent 70%);
    position: sticky;
    left: 24%;
    mix-blend-mode: plus-lighter;
    mix-blend-mode: add;
}


.parallax {
    height: 100vh;
    overflow-x: hidden;
    perspective: 1px;
  }
  
  .parallax-layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
  
  .layer1 {
    transform: translateZ(0) translateY(16vw);
  }

  .layer0 {
    transform: translateZ(-1px) translateY(calc(-25vh * 2)) translateX(223px);
  }
  
  .layer2 {
    transform: translateZ(-1px);
    transform: translateZ(-1px) translateY(calc(-25vh * 2));
  }
  
  .layer3 {
    transform: translateZ(-4px);
  }
  
  .parallax-layer.layer1 {
    width: 100%;
    height: 100rem;
   }
  
  .parallax-layer.layer2 {
    
    width: 201%;
    height: 100px;
    min-height: 870px;
    -webkit-mask-image: url('https://cdn.akamai.steamstatic.com/half-life.com/images/halflife25/grungy_mask_2.png');
    mask-image: url('https://cdn.akamai.steamstatic.com/half-life.com/images/halflife25/grungy_mask_2.png');
    background-color: var(--page-bg);
    background-image: url('https://cdn.akamai.steamstatic.com/half-life.com/images/halflife25/grungy_color.jpg');
    background-size: cover;
    background-position: 2px 2px;
    left: -51%;
    mask-size: cover;
    -webkit-mask-size: cover;
  }

  #pagetop_color  {
    transform: translateZ(-1px);
    transform: translateZ(-1px) translateY(calc(-25vh * 2));
    
    width: 201%;
    height: 117vw;
    min-height: 870px;
    left: -51%;
    background-image: url('https://cdn.akamai.steamstatic.com/half-life.com/images/halflife25/grungy_color.jpg');
    background-size: cover;
  }
  
  .parallax-layer.layer3 {
    top: 20rem;
  
    width: 100%;
    height: 50rem;
  
  }


#TitleVideo, #TitleVideoBlur
{
    width: 86vw;
    height: 32vw;
    width: 100%;
    height: 60vw;
    position: absolute;
    left: 0;
    top: -10vw;
    z-index: 1;
}

#TitleVideoBlur {
    z-index: 0;
    width: 43vw;
    height: 16vw;
    filter: blur(4px) sepia(100%) contrast(2) brightness(.5) saturate(2);

    mix-blend-mode: plus-lighter;

    top: 10vw;
    transform: scale(4) translateY(6vw) translateZ(0px) translateX(6vw);
}

#TitleVideo.multiply {
    top: 10vw;
    transform: scale(1) translateY(-12vw) translateZ(0px);
    mix-blend-mode: screen;
}

#backgroundtexture {
    width: 100%;
    height: 200vh;
    transform: translateZ(-1);
    background-image: url('https://cdn.akamai.steamstatic.com/half-life.com/images/halflife25/grungy_loop.png');
    background-size: contain;
    position: fixed;
}

#maincontent {
    padding-top: 32px;
    margin-top: 30em;
    margin-left: auto;
    margin-right: auto;
    max-width: var(--width-inner-content);
}

.contentbox {
    width: 100%;
    background-image: url('https://cdn.akamai.steamstatic.com/half-life.com/images/halflife25/grungy_loop.png');
    background-size: 45em;
    background-position: 0 0;
    background-repeat: repeat;
    position: relative;
}

.mobilewallpapersbox {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.mobilewallpaper {
    max-width: 98px;
    max-height: 195px;
}

a img, .thumbnaillink {
    transition-property: filter;
    transition-duration: 0.2s;
}
body:not(.nocursor) a img:hover, body:not(.nocursor) .thumbnaillink:hover {
    filter: brightness(1.2);
}

#pagebackground {
    width: 100%;
    height: 310rem;
    transform: translateZ(0px) translateY(62vw);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 9%,  black 85%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 10%, black 9%, black 85%, transparent 90%);

    background-image: linear-gradient(180deg, var(--page-bg) 30%, transparent 50%, var(--page-bg) 73%), url('https://cdn.akamai.steamstatic.com/half-life.com/images/halflife25/grungy_loop.png');
    background-size: contain;
    background-size: 512px;
}

#crowbarimage {
    background-image: url('https://cdn.akamai.steamstatic.com/half-life.com/images/halflife25/crowbar.png');   
    background-size: contain;
    background-repeat: no-repeat;
    margin: auto;
    width: 90%;
    max-width: 90%;
    margin-top: 4em;
    height: 6em;
    transition-property: transform;
    transition-duration: 150ms;
    transition-timing-function: ease-in-out;
}

#crowbar.crowbarEquipped #crowbarimage {
    opacity: .2;
    filter: brightness(0);
    transform: scale(.97);
}

#crowbar.crowbarEquipped #crowbarimage:hover {
    transform: scale(1);
}

#crowbarHeld {
    transform: rotateZ(25deg);
    transition-property: transform;
    transition-duration: 50ms;
    transition-timing-function: linear;
}

#crowbarHeld.crowbarSwing {
    transform: rotateZ(-20deg);
}

.dead {
    animation-name: headcrabDeath;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    pointer-events: none;
}

.zombieproperties {
    bottom: -25em;
    left: -5em;
    width: 30em;
    transition-property: opacity;
    transition-duration: 0.75s;
    transition-timing-function: linear;

    animation-timing-function: ease-in;
    transform-origin: bottom;
}

#deadzombie {
    pointer-events: none;
    opacity: 0;
}

#zombie.dead {
    opacity: 0;
}

#deadzombie.dead {
    opacity: 1;
}

#zombie.dead {
    animation-name: zombieDeath;
    animation-duration: 0.75s;
}

#deadzombie.dead {
    animation-name: deadzombieDeath;
    animation-duration: 0.50s;
}


.bloodparticles {
    width: 64px;
    height: 64px;
    animation-name: bloodsplat;
    animation-duration: 500ms;
    animation-iteration-count: 1;
    pointer-events: none;
    position: absolute;
    z-index: 9999;
    opacity: 0;
}

.bloodparticles.playAnim {
    animation-name: bloodsplat;
}

@keyframes bloodsplat {
	from {
		transform: scale(.2);
        opacity: 1;
	}
	to {
		transform: scale(2);
        opacity: 0;
	}
}

@keyframes headcrabDeath {
	from {
		transform: translateY(0px);
	}
    20% {
        transform: rotate(170deg) translateY(260px);
    }
	99% {
        transform: translateY(3020px);
        opacity: 1;
	}
    to {
        opacity: 0;
        visibility: collapse;
    }
}


@keyframes zombieDeath {
	from {
		transform: rotateZ(0deg);
        opacity: 1;
	}
    50% {
        opacity: 1;
    }
	to {
        transform: rotateZ(90deg);
        opacity: 0;
	}
}

@keyframes deadzombieDeath {
	from {
		transform: rotateZ(0deg);
        opacity: 0;
	}
    40% {
        opacity: 0;
    }
    60% {
        opacity: 1;
    }
	to {
        transform: rotateZ(90deg);
        opacity: 1;
	}
}

.nodrag {
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

#deadheadcrab {
    position: absolute;
    bottom: 1em;
    left: -6em;
    z-index: 9999;
    width: 15em;
    visibility: collapse;
}

#deadheadcrab.show {
    visibility: visible;
}

#achievementtoast.achieved {
    transform: translateY(0px);
}

#achievementtoast {
    width: 283px;
    height: 70px;
    background: radial-gradient(155.42% 100% at 0% 0%, rgb(35, 38, 46) 0px, rgb(35, 38, 46) 0%, rgb(14, 20, 27) 100%);
    position: fixed;
    bottom: 0;
    right: 0;
    color: white;
    font-size: 12px;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9999;
    margin-right: 16px;
    transform: translateY(70px);

    transition-property: transform;
    transition-duration: .5s;

    padding: 10px 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    
}

.AchievementIcon {
    height: 44px;
    width: 44px;
    flex-shrink: 0;
    background-color: black;
    background-image: url('https://cdn.akamai.steamstatic.com/half-life.com/images/halflife25/achievementicon.jpg');
    background-size: contain;
    
}

.AchievementTextSection {
    margin-left: 12px;
}

.AchievementName {
    color: #ffffff;
    font-weight: 400;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    line-height: 16px;
}

.AchievementDesc {
    font-weight: 300;
    color: #8b929a;
    font-size: 12px;
    line-height: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


#loaderhitbox {
    width: 17em;
    height: 24em;

    left: 38em;
    right: -24em;
    top: -14em;
}

#houndeyehitbox {
    width: 13em;
    height: 17em;
    left: 38em;
    top: -11em;
}

#ickyhitbox {
    width: 19em;
    height: 17em;
    left: -20em;
    top: -13em;
}

.hitbox {
    position: absolute;
    z-index: 9999;
}



/* FOOTER */

footer.main_footer ul.footer_game_nav li h3 {
    line-height: 1.5em;
}

footer.main_footer .main_footer_inner_wrapper {
	width: 100%;
	margin: 0 auto;
	max-width: 1200px;
	position: relative;
    background-color: var(--inverted-bg);
    color: var(--text-inverted);
    font-size: 0.9em;
    padding-left: 1em;
    padding-right: 1em;
}

@media (max-width: 700px)
{
	footer.main_footer ul.footer_main_nav
	{
		flex-direction: column;
	}
	footer.main_footer ul.footer_main_nav > li > ul
	{
		height: auto;
		display: flex;
		flex-direction: row;
		width: 100vw;
	}
	footer.main_footer ul.footer_main_nav > li > ul > li
	{
		width: 55vw;
		display: inline-block;
	}
	footer.main_footer ul.footer_main_nav > li > ul > li:first-child
	{
		width: 50vw;
	}
	footer.main_footer ul.footer_main_nav > li > ul > li > ul
	{
		border-left: 1px solid rgba(255,255,255,0.5);
		padding-left: 5vw;
		padding-top: 0;
		padding-bottom: 0;
	}
	footer.main_footer ul.footer_main_nav > li > ul > li > ul.footer_game_nav
	{
		padding-bottom: 15vw;
	}
	footer.main_footer ul.footer_main_nav > li > ul > li.home
	{
		text-align: center;
	}
	footer.main_footer ul.footer_main_nav .home a svg#halflife-logo-footer
	{
		padding: 9vw 5vw 0 3vw;
	}
	footer.main_footer ul.footer_main_nav > li > ul > li.valvesoftware
	{
		text-align: center;
	}
	footer.main_footer ul.footer_main_nav li ul.footer_valve_nav li.valvemenu
	{
		padding-top: 0;
	}
	footer.main_footer ul.footer_main_nav .valvesoftware a svg#valve-logo
	{
		padding-right: 5vw;
		padding-left: 5vw;
	}
	footer.main_footer ul.footer_main_nav ul.footer_game_nav li.ep1,
	footer.main_footer ul.footer_main_nav ul.footer_game_nav li.ep2
	{
		padding-left: 4vw;
	}
}
.footer_valve_nav h3 {
    text-transform: none;
}
footer.main_footer {
	background: var(--inverted-bg);
}

footer.main_footer .main_footer_inner_wrapper
{
	padding-top: 1.5em;
    padding-bottom: 1.5em;
}
footer.main_footer ul li:last-child
{
	line-height: 0.8em;
}
footer.main_footer ul li a,
footer.main_footer ul li a:visited
{
	color: var(--text-inverted);
	font-weight: 900;
	font-size: 0.8em;
	line-height: 1em;
	vertical-align: top;
    text-decoration: none;
}
footer.main_footer ul li a:hover
{
	color: var(--page-bg);
}
footer.main_footer ul li
{
	margin-top: 0;
	
	vertical-align: top;
}

footer.main_footer .footer_main_nav
{
	width: 100%;
	display: flex;
	flex-direction: row;
    justify-content: space-between;
}

footer.main_footer .home a
{
	height: 100%;
	width: 100%;
}

footer.main_footer ul
{
	list-style: none;
}
footer.main_footer ul li,
footer.main_footer ul
{
	display: inline-block;
}
footer.main_footer ul.footer_game_nav
{
	border-left: 1px solid rgba(255,255,255,0.5);
	padding-left: 2.5vw;
	line-height: 1.2em;
}
footer.main_footer ul.footer_game_nav li
{
	display: block;
	margin-bottom: 0;
}
	footer.main_footer ul.footer_game_nav li:last-child
	{
		margin-bottom: 0;
	}
	footer.main_footer ul.footer_game_nav li.ep1,
	footer.main_footer ul.footer_game_nav li.ep2
	{
		padding-left: 1vw;
	}
footer.main_footer ul.footer_game_nav li a
{
	text-transform: uppercase;
}

footer.main_footer .home a svg#halflife-logo-footer
{
	fill: var(--text-inverted);
	height: 7em;
	padding: 2em 3em 0 4em;
	transition: fill 200ms;
}
footer.main_footer .home a:hover svg#halflife-logo-footer
{
	fill: var(--page-bg);
}

footer.main_footer .footer_valve_nav
{
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 10em;
}
footer.main_footer .footer_valve_nav_wrapper ul li
{
	display: block;
	line-height: 1.2em;
}

footer.main_footer .valvesoftware a svg#valve-logo
{
	fill: var(--text-inverted);
	height: 2.5em;
	transition: fill 200ms;
}
footer.main_footer .valvesoftware a:hover svg#valve-logo
{
	fill: var(--page-bg);
}

footer.main_footer ul.footer_main_nav ul.footer_valve_nav li.valvemenu
{
	padding-top: 0.6em;
}


#bottomgrunge {
    display: block;
    width: 150%;
    margin-left: -25%;
    margin-top: 0em;
}

video {
    clip-path: inset(-2em -2em);
}

.lightbox .lb-outerContainer video {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    height: auto;
    opacity: 1;
    transition: opacity 300ms ease-in-out;
    border: none;
    outline: none;
  }
  .lightbox .lb-outerContainer video:hover, .lightbox .lb-outerContainer video:focus {
    border: none;
    outline: none;
  }
  .lightbox .lb-outerContainer.animating video {
    opacity: 0;
  }
  .lightbox .lb-container {
    position: relative;
  }
  .lightbox .lb-container .lb-image {
    border: none;
  }

#language-container {
    z-index: 99999;
    width: 100%;
    max-width: var(--width-max-content);
    margin-left: auto;
    margin-right: auto;
    background: transparent;
    position: relative;
    height: 0;
    text-align: right;
    font-size: 0.8em;
}
#language-container a {
    padding: 0.4em 0.7em 0.4em 0.8em;
    background-color: #b32e0c;
    text-transform: uppercase;
    color: var(--text-inverted);
    cursor: pointer;
    font-weight: 500;
    display: inline-block;
    letter-spacing: 0.1em;
    transition-property: background-color;
    transition-duration: 200ms;
}
#language-container a:hover {
    background-color: var(--inverted-bg);
}
#language-container a svg {
    height: 0.75em;
    width: auto;
    fill: var(--text-inverted);
    margin-right: 0.2em;
}

#language-dropdown {
    display: none;
    font-size: 0.9em;
    font-weight: 500;
    line-height: 1.6em;
    padding: 0.4em 0.5em 0.4em 0.5em;
    background-color: var(--inverted-bg);
    border-radius: 0em;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
    width: 18em;
    position: fixed;
    z-index: 99999999999;
    top: 10vh;
    left: 50%;
    transform: translateX(-50%);
}
#language-dropdown .menu {
    max-height: 55vh;
    overflow: auto;
}
#language-dropdown .head {
    font-size: 1.2em;
    font-weight: 900;
    margin-bottom: 0.5em;
}
#language-dropdown .language-text-line {
    padding: 0.2em 0.6em;
    display: block;
    color: var(--text-inverted);
}
#language-dropdown .head {
    padding-left: 0.5em;
}
#language-dropdown a.language-option {
    background-repeat: no-repeat;
    background-size: auto;
    background-position: right 0.6em center;
    color: var(--text-inverted);
    text-decoration: none;
    margin-right: 0.2em;
}
#language-dropdown a:hover.language-text-line {
    background-color: var(--page-bg);
    color: var(--text);
}
#language-dropdown .language-option.current-lang {
    background-image: url('https://cdn.akamai.steamstatic.com/half-life.com/images/check-mark.svg');
}
#language-dropdown #language-close {
    margin-top: 0.2em;
}

#language-dropdown img.flag {
    display: none;
    height: 1.2em;
    background-color: var(--inverted-bg);
    width: 2em;
    vertical-align: -0.3em;
}

#language-dropdown .menu::-webkit-scrollbar {
    width: 0.8em;
}
 
#language-dropdown .menu::-webkit-scrollbar-track {
    background-color: var(--inverted-bg);
}
 
#language-dropdown .menu::-webkit-scrollbar-thumb {
  background-color: var(--page-bg);
}

#scrim {
    display: none;
    position: fixed;
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    opacity: 1;
    z-index: 1000;
}