
body.oled-deck {
    --bg-dark: #000000;
}

header#topnav {
    background-color: var(--bg-light);
}

.oled #hero .spacer {
    height: 27vw;
    max-height: 35em;
}

section#asapc {
    background-color: rgb(210,210,210);
}
section#asapc-img, section#asapc-img video {
    background-color: transparent;
}
@media screen and (min-width: 701px) {
    .oled-deck #hero h3 {
        line-height: 1.5em;
    }
    section#bragging {
        padding-bottom: 0;
    }
    section#bragging .col_3 {
        padding-bottom: 2em;
    }
    section#bragging h4 {
        margin-left: 0;
    }
}

#bragging h2 {
    color: var(--bg-light);
    margin-bottom: 0.5em;
}

#bragging .row1 {
    margin-bottom: 2em;
}
#bragging .col_3 {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-left: 4px;
}

#bragging .row1 .col_9 {
    display: flex;
    align-items: flex-end;
}
#bragging .row1 video {
    background-color: transparent;
}

#bragging .opened img {
    position: relative;
}
#bragging p.footnote {
    font-style: italic;
    font-weight: 500;
}

#bragging p.footnote.hide-mobile {
    position: absolute;
    bottom: 0;
    padding-left: 1em;
}

@media screen and (max-width: 800px) {
    #bragging p.footnote.hide-mobile {
        bottom: -0.3em;
    }
}

@media screen and (min-width: 1350px) {
    #bragging .col_3 {
        padding-left: 0;
    }
}

#bragging img {
    display: block;
}

section#existing {
    padding-bottom: 0;
}

section#deck-top {
    margin: 0;
    padding: 0;
}

section#deck-top img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 1500px;
}

section#features {
    padding-top: 0;
}

@media screen and (max-width: 700px) {
    #bragging img {
        margin-bottom: 2em;
    }
    section#deck-top {
        margin-bottom: 2em;
    }
}
@media screen and (min-width: 701px) {
    section#features .gridrow {
        margin-top: 3em;
    }
}

section#video-wall {
    padding-top: 0;
    padding-bottom: 0;
}

@media screen and (max-width: 700px) {
    section#asapc img {
        margin-bottom: 2em;
    }
}

section#available-now {
    background-size: 100% 100%;
    background-image: url('https://cdn.cloudflare.steamstatic.com/steamdeck/images/deck/deck_blue-gradient.jpg');
    padding: 0;
    padding-top: 3em;
    background-repeat: no-repeat;
}
#new 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;
}
#new ul:first-of-type {
    padding-top: 2em;
}
#new ul:last-of-type {
    padding-bottom: 4em;
}
#new ul:before {
    content: attr(aria-label);
    font-weight: 600;
    margin-left: -2em;
    line-height: 2.5em;
}
#new ul li {
    margin-bottom: 0.5em;
}

#brighter h4 {
    text-align: center;
    margin-top: 1em;
    margin-bottom: 4em;
}

.deck section#hero {
    background: url('https://cdn.cloudflare.steamstatic.com/steamdeck/images/deck/deck_angled.png'), rgb(0,196,246);
    background-image: url('https://cdn.cloudflare.steamstatic.com/steamdeck/images/deck/deck_angled.png'), linear-gradient(69deg, rgba(0,196,246,1) 6%, rgba(0,116,223,1) 100%);
    background-size: 100% auto;
    background-position: center bottom -1px;
    background-repeat: no-repeat;
}

.deck #hero .spacer {
    height: 31vw;
}

@media screen and ( max-width: 700px ) {
    .deck #hero .spacer {
        height: 38vw;
    }
    .oled-deck section#hero {
        height: calc(22em + 37vw);
    }
    
    .oled-deck section#hero img {
        margin-top: 2em;
    }


    .oled-deck section#hero .spacer {
        max-height: unset;
        height: 8em;
    }

    .oled-deck section.hero.videocontainer video {
        width: 125%;
        height: auto;
        object-fit: unset;
        top: unset;
    }
}

@media screen and (min-width: 1920px ) {
    .deck #hero .spacer {
        height: 36em;
    }
}

section#available-now .content {
    padding-bottom: 5em;
    padding-top: 1em;
}
section#available-now .gridrow.head div {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-bottom: 4em;
}
section#available-now h1 {
    margin-bottom: 0;
    margin-left: 0;
}
section#available-now .gridrow.head button {
    margin-bottom: 0.3em;
}
section#available-now .deck-video-frame {
    background-image: url('https://cdn.cloudflare.steamstatic.com/steamdeck/images/overview_steamDeck_heroCrop.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: relative;
    overflow: hidden;
    width: 87.9vw;
    max-width: 75.3em;
    height: 31.5vw;
    max-height: 28.4em;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

section#available-now .deck-video-frame .videocontainer {
    position: absolute;
    background: transparent;
    width: 44.4%;
    top: 3.36vw;
    left: 24.2vw;
}
section#available-now .deck-video-frame .videocontainer video {
    background: transparent;
}

@media screen and (min-width: 1500px) {
    section#available-now .deck-video-frame .videocontainer {
        width: 35.1em;
        top: 3.0em;
        left: 19.95em;
    }
}

@media screen and (max-width: 700px) {
    section#available-now {
        background-position: top center;
        background-size: 110% 80%;
    }
    section#available-now .content {
        padding-bottom: 1em;
    }
    section#available-now h1 {
        font-size: 4em;
    }
    section#available-now .gridrow.head div {
        margin-bottom: 2em;
        display: block;
    }
    section#available-now .deck-video-frame {
        left: 50%;
        transform: translateX(-50%);
        width: 43em;
        height: 12em;
    }
    section#available-now .deck-video-frame .videocontainer {
        width: 15em;
        top: 1.2em;
        left: 13.9em;
    }
    section#available-now .gridrow.dock .copy {
        margin-bottom: 10em;
    }
}


section#available-now .gridrow .cta {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 0.6em;
}
section#available-now .gridrow h2 {
    margin-bottom: 0.1em;
}

section#available-now .gridrow .subhead {
	/* display: none; DURING SALE */
}

section#available-now .gridrow .sale_subhead {
	background-color: #FFCC2E;
	font-size: 2.4em;
	line-height: 1.2em;
	width: fit-content;
	padding: 0px 20px;
	margin: 0px;
	text-align: left;
	display: none;
	/* display: none; WHEN NOT ON SALE */
}

@media screen and ( max-width: 700px ) {
    section#available-now .gridrow .sale_subhead {
        font-size: 1.2em;
		line-height: 1.4em;
    }
}

@media screen and ( max-width: 1280px ) {
    section#available-now .gridrow h2 {
        font-size: 4vw;
    }
}
@media screen and ( max-width: 700px ) {
    section#available-now {
        background-size: auto 110%;
    }
    section#available-now .gridrow h2 {
        font-size: 2em;
    }
    section#available-now .gridrow .cta {
        display: block;
        padding-bottom: 0.6em;
        padding-top: 2em;
    }
}
@media screen and ( max-width: 550px ) {
    section#available-now .gridrow h2 {
        font-size: 1.8em;
    }
}