@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800&display=swap');

:root {
    --green0: rgba(0, 195, 137, 0);
    --green10: rgba(0, 195, 137, 0.10);
    --green25: rgba(0, 195, 137, 0.25);
    --green50: rgba(0, 195, 137, 0.5);
    --green75: rgba(0, 195, 137, 0.75);
    --green: rgb(0, 195, 137);
    --grey0: rgba(197,197,197,0);
    --grey: rgb(197,197,197);
    --grey50: rgba(197,197,197, 0.5);
    --maxWidthMQ: 820px;
}

*,
*:before,
*:after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

li {
	list-style-type: none
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-display: optional;
}

hr {
    width: 100%;
    border:  1px solid var(--green);
}

section[style] h1:not(section[style]>h1), section[style] h2, section[style] h3, section[style] h4, section[style] h5, section[style] h6, section[style] p {
    margin-bottom: 1rem;
}

section[style] h1:first-of-type {
    font-size: 2rem;
}

section[style] p {
    line-height: 1.35rem;
}

section[style] > img {
    margin-bottom: 1rem;
    border: 0.5rem solid lightgray;
    filter: grayscale(100%);
    border-radius: 5px;
}

/* ------ aboveHeaderHTML */

.pushdown {
    width: 100%;
}

/* ------ aboveHeaderHTML */

.container {
	width: calc(728px + 336px + 4rem);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
    margin-bottom: 1em;
    position: relative
}

header {
	width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0 0 2rem 0;
    background-color: black;
    z-index: 100;
}

header h2 {
    height: 100%;
    background-image: url(https://headphonereview.com/wp-content/uploads/2016/07/headphone-review-logo-wide.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}

header h2 span {
    visibility: hidden;
}

/* ----- navigation */

div.shim {
    width: calc(728px + 336px + 4rem);
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    height: 4rem;
}

div.headerSpace {
    display: none;
    height: 5rem;
}

header nav {
    background-color: white;
    border-radius: 5px;
    border: 1px solid gray;
    padding-bottom: .5rem;
    width: 336px;
    z-index: 100;
    margin: 0.75rem 0 0 0;
}

header nav a {
    display: block;
    height: 2rem;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    color: black;
}

header nav ul {
    visibility: hidden;
    height: 0px;
}

header nav.show ul {
    visibility: visible;
    height: auto;
}

header nav a:hover {
    background-color: #e2e2e2;
}

header nav>a {
    position: relative;
    padding-top: 10px;
}

header nav>a:before {
    content: 'Products';
}

header nav>a:after {
    content: '\25bc';
    position: absolute;
    right: 1rem;
    color: #e2e2e2;
}

header nav.show>a:after {
    content: '\25B2';
}

header nav>a:hover {
    background-color: transparent;
}

/*.container header .nav {
    border-radius: 5px;
    width: 35%;
    height: 2.5rem;
    position: absolute;
    top: 2rem;
    right: 0;
    box-shadow: 0 10px 25px 0 rgba(0,195,137,0.5);
    border: 1px solid var(--green);
    background-color: transparent;
}

.container header .nav>a {
    position: absolute;
    display: block;
    z-index: -1;
    text-decoration: none;
    top: 0;
    width: 100%;
}

.container header .nav span ul {
    display: none;
}

.container header .nav>a:after {
    content: '\25bc';
    font-size: large;
    color: rgba(197,197,197,1);
    position: absolute;
    right: 10px;
    top: 9px;
}

.container header .nav>a:before {
    content: 'Products';
    font-size: large;
    position: absolute;
    left: 10px;
    top: 10px;
    color: black;
}

.container header .nav span ul li a {
    text-align: left;
    display: block;
    font-size: 1rem;
    padding: 0 0 .5rem 0;
    text-decoration: none;
    color: black;
    cursor: pointer;
}

.container header .nav:focus {
    position: absolute;
    height: 50vh;
    z-index: 1000;
    background-color: white;
    outline: 0;
}

.container header .nav:focus>a:after {
    content: '\25B2';
}

.container header .nav:focus span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.container header .nav:focus span ul {
    display: block;
    overflow: auto;
    width: 90%;
}*/

/*.container header nav {
	position: absolute;
    z-index: 100;
    width: calc(400px - 1rem);
    background-color: white;
    border-radius: 5px;
    padding: 1rem;
    right: 0;
    top: 2rem;
    box-shadow: 0 10px 25px 0 rgba(0,195,137,0.5);
    border: 1px solid var(--green);
}

.container header nav ul li {

}

.container header nav ul li a {
	text-decoration: none;
	width: 100%;
    display: block;
    color: black;
    position: relative;
}

.container header nav ul li a[href="#"]:after {
	content: '\25bc';
    position: absolute;
    right: 0;
    font-size: small;
    color: rgba(197,197,197,1);
}

.container header nav ul li ul {
	display: none;
	margin-top: 1rem;
}

.container header nav:hover ul li ul {
	display: block;
}

.container header nav ul li ul li {
	margin-bottom: .5rem;
}

.container header nav ul li ul li a:hover {
    color: var(--green50);
}*/

/* ------ belowHeaderHTML */
.countdown,
.info {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(300px + 2rem);
    padding:2rem;
    flex-direction: column;
}
.container .info .action {
    background-color: var(--green);
    border: 0;
    font-size: 1.2rem;
    padding: 1rem;
    color: white;
    font-weight: bold;
}
/* ------ belowHeaderHTML */

.container section {
	width: 336px;
	margin: 0 0 0 1rem;
}

.container section:first-of-type {
	min-width: calc(728px + 3rem);
	border-right: 1px solid gray;
	padding: 0 1rem 0 0;
    margin: 0;
}

body.revolvingRail .container section:not(:first-of-type) {
        
}

body.sideWall .container {
    align-items: center;
    justify-content: center;
}
body.sideWall .container section:first-of-type {
    border: 0;
}

.overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255,255,255,0.75);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.overlay .modal {
    min-height: calc(400px + 2.5rem);
    min-width: calc(600px + 2.5rem);
    background-color: white;
    border-radius: 5px;
    padding: 1rem;
    box-shadow: 0 10px 25px 0 rgba(0,195,137,0.5);
    border: 1px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative
}

.overlay .modal .close {
    all: unset;
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
    -webkit-transition: all .3s ease-in-out !important;
    appearance: none !important;
    background-color: #FFFF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Njg3NSAwLjkyMTI1LDkuNzQ5Njg3NSBDMS4wODA5Mzc1LDkuNzQ5Njg3NSAxLjI0LDkuNjg4NzUgMS4zNjIxODc1LDkuNTY2NTYyNSBMNC45ODEyNSw1Ljk0ODEyNSBMOC42MDA5Mzc1LDkuNTY2NTYyNSBDOC43MjI4MTI1LDkuNjg4NzUgOC44ODE4NzUsOS43NDk2ODc1IDkuMDQxNTYyNSw5Ljc0OTY4NzUgQzkuMjAxNTYyNSw5Ljc0OTY4NzUgOS4zNjE1NjI1LDkuNjg4NzUgOS40ODI4MTI1LDkuNTY2NTYyNSBDOS43MjYyNSw5LjMyMzEyNSA5LjcyNjI1LDguOTI4MTI1IDkuNDgyODEyNSw4LjY4NDY4NzUgTDUuODkyNSw1LjA5NDY4NzUgTDkuNDg1OTM3NSwxLjUwMDkzNzUgQzkuNzI5Njg3NSwxLjI1Njg3NSA5LjcyOTY4NzUsMC44NjIxODc1IDkuNDg1OTM3NSwwLjYxODQzNzUgWiIgaWQ9IlBhdGgiPjwvcGF0aD4gICAgICAgICAgICA8L2c+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4=) !important;
    background-position: 50% !important;
    background-repeat: no-repeat !important;
    border: none !important;
    border-radius: 50% !important;
    -webkit-box-shadow: 0 0 0 1px var(--green), 0 0 0 6px var(--green25) !important;
    box-shadow: 0 0 0 1px var(--green), 0 0 0 6px var(--green25) !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    display: block !important;
    height: 20px !important;
    outline: none !important;
    padding: 0px !important;
    position: absolute !important;
    right: -5px !important;
    top: -5px !important;
    transition: all .3s ease-in-out !important;
    width: 20px !important;
    z-index: 1000;
}

@media screen and (max-width: 820px) {
    body {
        font-size: 14px;
    }
    .container {
        width: auto;
        flex-wrap: initial;
        flex-direction: column;
    }
    div.shim {
        width: 100%;
        justify-content: space-between;
        padding: 0 1em;
    }
    header nav {
        width: 50px;
    }
    header nav>a:before {
        display: none;
    }
    .container header {
        width: 100%;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        margin: .5rem 0 1rem 0;
        padding: 0 1rem;
    }

    .container nav {
        width: 34px;
        right: 1rem;
        border: initial;
        /* box-shadow: initial; */
        position: fixed;
        background-color: white;
        height: 30px;
    }

    .container nav a {
        right: 2px;
        top:  3px;
        height: 4rem;
    }

    .container nav ul {
        display: none;
    }

    .container nav>a:before {
        display: none;
        font-size: xx-large;
    }

    .container nav>a:after {
        content: '\2630';
        right: initial;
        font-size: xx-large;
        color: var(--green);
        top: -1rem;
        right: 0rem;
        padding-top: 5px;
    }

    .container nav.show {
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: white;
    }

    .container nav.show>a:after {
        content: '\2715';
        top: 1rem;
        right: 1rem;
        padding-top: 0;
    }

    .container nav.show>a:before {
        display: block;
    }

    .container nav.show ul {
        display: block;
        overflow: auto;
        height: calc(100vh - 63px);
    }

    .container nav.show ul li a {
        height: 1.75rem;
        font-size: larger;
    }

    header nav.show ul {
        width: 100vw;
        left: 0;
        position: absolute;
        z-index: 1000;
        background-color: white;
        height: 100vh;
        top: 65px;
    }

    .container section,
    .container section:first-of-type {
        min-width: initial;
        border-right: 0;
        width: initial;
        padding: 0 1rem;
    }
    section[style] img {
        max-width: 90vw;
    }
    body.slidingUnit .info {
        display: none;
    }
}