/* Taurus Pages and Landers */

:root {
    --deep-green: #060B08;
    --green: #182D20;
    --light-green: #81B59D;
    --red: #F1471D;
    --cream: #FFF9EF;
    --tan: #D6C7AD;
    --dirty-cream: #EEEBDC;
    --bronze: #65614D;
}

@font-face {
    font-family: Manuka;
    src: url(../../fonts/Manuka-Bold.woff2);
}

@font-face {
    font-family: Manuka;
    src: url(../../fonts/Manuka-Black.woff2);
    font-weight: bold;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 100%;
    font-family: "Inter", sans-serif;
    background: var(--cream);
}

body {
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
}

.center {
    max-width: 460px;
    margin: 0 auto;
}

.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

header {
    position: fixed;
    width: 100%;
    z-index: 999;
    background: var(--cream);
    top: 0;
    height: 4rem;

    & .logo {
        width: 128px;
        margin: 0 auto;
        padding: 1rem 0;
    }
}

.testosterone-pre-quiz-hero {
    position: relative;
    padding: 0 2rem;
    height: calc(100vh - 4rem);
    margin-top: 4rem;

    & .hero-background {
        background: url(../images/testosterone-pre-quiz-bg.webp);
        background-size: cover;
        border-radius: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        height: calc(100vh - 360px);
        position: relative;
        overflow: hidden;

        &.ed-background {
            background: url(../images/ed-pre-quiz-bg.png);
            background-size: cover;
        }

        & video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
            display: none;
        }

        & .floating-badge {
            position: absolute;
            top: 1rem;
            left: 1rem;
            width: 4rem;
        }

        & .hero-content {
            background: linear-gradient(0deg, rgba(132, 37, 13, 1) 0%, rgba(132, 37, 13, 0) 100%);
            padding: 2rem;
            position: relative;
            z-index: 1;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            justify-content: flex-end;
            border-radius: 1rem;

            & h1 {
                font-family: Manuka, sans-serif;
                text-transform: uppercase;
                font-size: 4rem;
                font-weight: 400;
                line-height: 90%;
                margin: 0;
                color: var(--red);
                text-align: center;
                text-shadow: 0 0.5rem 2rem rgb(0, 0, 0, 0.25);
            }

            & p {
                line-height: 140%;
                font-size: 1.2rem;
                margin: 1.5rem 0 0 0;
                text-align: center;
                color: var(--cream);
            }
        }

    }

    & .button-row {
        display: flex;
        padding: 1rem 0;
        justify-content: space-between;
        gap: 1rem;
    }

    & .product-images {
        height: 72px;
        margin-top: -4px;
    }

    & a {
        background: var(--red);
        width: 100%;
        border: none;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        font-family: Manuka, sans-serif;
        font-weight: 400;
        text-transform: uppercase;
        color: var(--cream);
        font-size: 1.8rem;
        letter-spacing: 1px;
        text-decoration: none;
        position: relative;
        overflow: hidden;
        border-radius: 0.5rem;
        height: 64px;

        & .shine {
            position: absolute;
            height: 250%;
            width: 40px;
            top: 0;
            left: -60px;
            background: linear-gradient(90deg, #ffffff00, #ffffff54, #ffffff00);
            transform: rotate(45deg) translateY(-35%);
            animation: shine 3s ease infinite;
        }

        & img {
            height: 1.8rem;
            margin-left: 1rem;

        }
    }
}

.pre-quiz {
    padding: 1rem;
    background: var(--cream);
    position: relative;
    z-index: 800;

    & .question-row {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 100vh;

        & h2 {
            color: var(--bronze);
            text-align: center;
            font-size: 1.8rem;
            font-weight: 300;
            padding: 2rem 0;
        }

        & small {
            width: 100%;
            text-align: center;
            color: var(--bronze);
        }

        & .question-answers {
            width: 100%;
            padding-top: 2rem;

            & a {
                width: 100%;
                padding: 1rem;
                text-align: center;
                display: block;
                border: 1px solid var(--tan);
                border-radius: 0.5rem;
                background: white;
                color: var(--deep-green);
                text-decoration: none;
                font-size: 1.2rem;
                margin-bottom: 1rem;
            }
        }

    }
}

.final-cta {
    color: var(--cream);
    padding-top: 4rem;
    position: relative;
    z-index: 800;

    & .final-cta-inner {
        background: var(--deep-green);
        border-radius: 2rem 2rem 0 0;
        padding: 2rem;
        min-height: calc(100vh - 4rem);
        overflow: hidden;
    }

    & .final-cta-heading {
        display: flex;
        padding-bottom: 2rem;

        & h3 {
            font-family: Manuka, sans-serif;
            text-transform: uppercase;
            font-size: 3.5rem;
            font-weight: 400;
            line-height: 90%;
            margin: 2rem 0 0 0;
        }

        h4 {
            font-weight: 400;
            font-size: 1.2rem;
            margin: 1rem 0 0 0;
        }

        & .col {
            position: relative;
            width: 50%;

            & img {
                position: absolute;
                min-width: 150%;
                right: -3.5rem;
                top: -5rem;

                &.ed-product-cta {
                    right: -0.5rem;
                    top: 0;
                    width: 90%;
                    min-width: 90%;
                }
            }
        }
    }

    ul {
        padding: 0 0 1.5rem 0;
        margin: 0;

        & li {
            display: flex;
            gap: 1rem;
            list-style: none;
            font-weight: 300;

            & p {
                margin: 0.8rem 0;
                line-height: 120%;
            }
        }
    }

    & a.final-cta-button {
        background: var(--red);
        width: 100%;
        border: none;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 1rem;
        font-family: Manuka, sans-serif;
        font-weight: 400;
        text-transform: uppercase;
        color: var(--cream);
        font-size: 1.8rem;
        letter-spacing: 1px;
        text-decoration: none;
        position: relative;
        overflow: hidden;
        border-radius: 0.5rem;
        height: 64px;
        box-shadow: 0 0 2rem rgba(241, 71, 29, 0.5);

        & .shine {
            position: absolute;
            height: 250%;
            width: 40px;
            top: 0;
            left: -60px;
            background: linear-gradient(90deg, #ffffff00, #ffffff54, #ffffff00);
            transform: rotate(45deg) translateY(-35%);
            animation: shine 3s ease infinite;
        }
    }

    .cta-footer {
        color: gray;
        font-size: 0.7rem;
        padding-top: 4rem;
        text-align: center;

        & b {
            font-weight: 400;
            margin-bottom: 0.4rem;
            display: inline-block;
        }

        & a {
            color: gray;
            text-decoration: none;
            margin-bottom: 0.4rem;
            display: inline-block;
        }
    }
}

.pre-quiz-footer {
    position: fixed;
    bottom: 1rem;
    text-align: center;
    left: 2rem;
    right: 2rem;
    z-index: 400;

    & b {
        font-size: 0.7rem;
        font-weight: 400;
        padding-bottom: 0.2rem;
        display: inline-block;
        color: gray;
    }

    & .link-row {
        display: flex;
        gap: 0.5rem;
        align-items: center;
        justify-content: center;
        padding-bottom: 0.2rem;

        & a {
            color: gray;
            text-decoration: none;
            font-size: 0.6rem;
        }
    }

    & small {
        font-size: 0.6rem;
        display: inline-block;
        line-height: 120%;
        color: gray;
        font-weight: 300;
    }
}

@keyframes shine {
    0% {
        left: -150px;
    }

    40% {
        left: 400px;
    }

    100% {
        left: 400px;
    }
}

@media screen and (min-width: 769px) {
    .final-cta {
        & .final-cta-heading {
            & .col {
                & img {
                    top: -8rem;
                }
            }
        }
    }
}