*
{
    margin: 0;
    padding: 0;
}

:root
{
    --roundness: 0px;
    --button-roundness: 6px;

    --red: #A62C2C;
    --black: #1E1E1E;
    --white: #F9F9F9;
    --gray: #D1D5DB;
    --gray-2: #9CA3AF;
    --gray-3: #6B7280;
}

a
{
    text-decoration: none;
    font-weight: bold;
}

#menu
{
    display: none;
}

html
{
    background-color: var(--white);
}

html, a
{
    color: var(--black);
    font-family: "Lexend", sans-serif;
}

h1, h2, h3, h4
{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

p, .contact ul
{
    line-height: 2em;
    margin-top: 1.6em;
}

.cap-paragraph p
{
    width: 80%;
}

.hero p
{
    width: 90%;
}

#home h1
{
    text-align: left;
}

h1
{
    font-size: 2.875em;
    text-align: center;
}

h2
{
    display: inline-block;
    background-color: var(--red);
    font-size: 2.375em;
    border-radius: var(--roundness);
    color: #eee;
    padding: 5px 10px;
    font-size: 0.8em;
    font-weight: medium;
    margin-bottom: 1.6em;
}

h3
{
    width: 70%;
    max-width: 800px;
}

.hero h3
{
    max-width: 320px;
}

header#home
{
    padding-bottom: 80px;
}

header
{
    position: relative;
    padding-bottom: 0;
}

#portfolio-gradient
{
    position: absolute;
    inset: 0 0 auto 0;
    height: clamp(240px, 40vh, 520px);
    pointer-events: none;
    z-index: 0;

    background: radial-gradient(60% 80% at 50% 0%, rgba(var(--glow), 0.7) 0%, rgba(var(--glow), 0.36) 35%, rgba(var(--glow), 0.16) 60%, rgba(var(--glow), 0) 75%);
    filter: blur(10px);
}

header p
{
    text-align: center;
}

.document
{
    max-width: 832px;
    margin: auto;

    line-height: 2em;
}

.document h1:first-child
{
    margin-top: 0;
}

.document h1
{
    text-align: left;
    font-size: 2em;
    max-width: unset;
    margin-top: 3em;
    margin-bottom: 1.2em;
}

.document h2
{
    font-size: 1.5em;
    display: block;
    background-color: unset;
    color: unset;
    border-radius: unset;
    padding: 0;
    margin-bottom: 0;
    margin-top: 1em;
}

.document p
{
    margin-top: 0.5em;
}

.box
{
    width: 100%;
    background-color: #efefef;
    padding: 50px;
    box-sizing: border-box;
    border-radius: var(--roundness);
}

.box .cta
{
    display: flex;
    margin-top: 5em;
}

.box .cta .main-button
{
    margin-right: 30px;
    margin-top: 0;
}

.box .cta .main-button:last-child
{
    margin-right: 0;
}

.column img
{
    width: 90%;
    margin-left: 5%;
}

.container
{
    max-width: 1800px !important;
    margin: auto;
    width: 80%;
}

.row.container
{
    padding-left: 10%;
    padding-right: 10%;
    box-sizing: border-box;
}

.row.container.wide, .row.container
{
    width: 100%;
}

.row.container.wide
{
    padding-left: 5%;
    padding-right: 5%;
}

.container.wide
{
    width: 90%;
}

nav
{
    width: 100%;
}

nav a
{
    font-weight: normal;
}

header nav ul li img
{
    max-width: 100px;
}

#brands ul
{
    display: flex;
    width: 70%;
    list-style: none;
    justify-content: space-between;
    margin-left: auto;
}

#brands img
{
    width: 100px;
}

.hero
{
    background-color: var(--black);
    color: #ddd;
}

.hero ul
{
    list-style: none;
    margin-top: 2.5em;
    width: 90%;
}

.hero ul li
{
    margin-top: 3em;
}

.hero p
{
    margin-top: 0.7em;
    opacity: 0.75;
}

.hero img
{
    width: 90%;
    margin-left: 5%;
}

nav ul
{    
    width: 100%;
    height: 140px;

    display: flex;
    align-items: center;
    justify-content: end;

    list-style-type: none;
}

nav ul li
{
    margin-left: 40px;
}

nav ul li:first-child
{
    margin-right: auto;
    margin-left: 0;
}

h1, header p
{
    max-width: 600px;
}

header#display p
{
    max-width: 650px;
    width: 80%;
}

header#home p
{
    max-width: 400px;
    text-align: left;
}

header nav img
{
    margin-left: auto;
    margin-right: 0;
    width: 90%;
}

.main-button
{
    display: inline-block;
    margin-top: 5em;
    padding: 10px 20px;

    border: 2px solid var(--black);
    border-radius: var(--button-roundness);
    box-sizing: border-box;

    transition: all ease-in-out 0.1s;
}

.main-button:hover, .hero .main-button:hover
{
    color: white;
    background-color: var(--red);
    border-color: transparent;
}

.hero .main-button, footer .main-button
{
    color: var(--white);
    margin-top: 5em;
    border: 2px solid var(--white);
}

.row
{
    width: 100%;
    display: flex;
    align-items: center;
    padding: 120px 0;
}

footer .row
{
    align-items: flex-start;
}

.row.short
{
    padding-top: 60px;
    padding-bottom: 60px;
}

.row.short-bottom
{
    padding-bottom: 60px;
}

.row.short-top
{
    padding-top: 60px;
}

.row.tall
{
    padding-top: 200px;
    padding-bottom: 200px;
}

.row.tall-bottom
{
    padding-bottom: 200px;
}

.row.no-top
{
    padding-top: 0;
}

#offerings
{
    display: flex;
    width: 100%;
    list-style: none;
    margin-top: 125px;
    justify-content: space-between;
}

#offerings li
{
    display: flex;
    position: relative;
    width: 31%;
    max-width: 440px;

    justify-content: center;

    color: #111;

    z-index: 1;
}

#offerings li .wrapper
{
    width: 100%;
    background-color: var(--white);
    border-radius: var(--roundness);

    padding-bottom: 120px !important;
    box-sizing: border-box;
}

#offerings li .wrapper, .items ul li
{
    padding: 50px;
}

#offerings li::before
{
    content: '';
    position: absolute;
    top: -25px;

    border-radius: var(--roundness);

    width: 75%;
    height: 200px;

    background-color: var(--gray-3);
    z-index: -2;
}

#offerings li p, .items ul li p
{
    width: 100%;
    font-size: 0.9em;
    line-height: 2.5em;
}

.items
{
    display: flex;
    width: 100%;
    
    flex-direction: column;
    padding-top: 100px;
    align-items: center;
    overflow: hidden;
}

.items ul
{
    width: 95%;
    margin-left: 5%;
    list-style: none;
    display: flex;
}

.items ul .wrapper
{
    display: flex;
    align-items: flex-end;
}

.items ul .wrapper
{
    transition: transform 0.3s ease-in-out;
}

.items .buttons
{
    margin-top: 3em;
}

.items .buttons a:last-child
{
    margin-left: 30px;
}

.items .buttons a img
{
    width: 32px;
}

.items .buttons a.inactive
{
    cursor: default;
    opacity: 0.2;
}

.items ul li
{
    position: relative;
    width: 30%;
    max-width: 400px;
    flex-shrink: 0;
    /*border: 1px solid #111;*/
    border-radius: var(--roundness);
    margin-right: 40px;
    box-sizing: border-box;

    /* Blurry shadow effect */
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),   /* soft drop shadow */
        0 10px 40px rgba(0, 0, 0, 0.1);  /* more spread and blur */
    
    backdrop-filter: blur(4px); /* optional if using translucent backgrounds */
    -webkit-backdrop-filter: blur(4px); /* for Safari */
}

.items ul li p:first-child
{
    margin-top: 0;
}

.items ul li .highlight
{
    font-weight: bold;
    padding-top: 3em;
}

.items ul li .details
{
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding-top: 5em;
}

.items ul li .details .highlight
{
    padding-top: 0;
}

.items ul li .details a
{
    float: right;
}

ul.questions
{
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    list-style: none;
    margin-top: 100px;

    flex-wrap: wrap;
}

.questions li
{
    width: 45%;
    padding: 20px 0;
    display: flex;
    flex-direction: column;

    border-bottom: 1px solid #aaa;
    margin-bottom: 30px;

    cursor: pointer;
}

.questions li .wrapper
{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.questions p.answer
{
    display: none;
}

.questions li .wrapper p
{
    width: 90%;
    margin-top: 0;
}

.questions img
{
    width: 30px;
    height: 30px;

    transition: transform linear 0.1s;
}

.questions img.open
{
    transform: rotate(180deg);
}

.portfolio #popup
{
    cursor: pointer;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.portfolio #popup img
{
    max-width: 90%;
    z-index: 2001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),   /* soft drop shadow */
        0 10px 40px rgba(0, 0, 0, 0.3);  /* more spread and blur */
    border-radius: var(--roundness);
}

.portfolio #popup .blocker
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #111;
    opacity: 0.7;
}

.portfolio .column img
{
    border: 1px solid #aaa;
}

footer
{
    position: relative;
    margin-top: 40px;
    padding-top: 150px;
    padding-bottom: 40px;
}

footer img.logo
{
    width: 200px;
    margin-left: 0;
}

footer ul
{
    list-style: none;
    margin-right: 100px;
    margin-top: 2em;
    line-height: 2em;
}

footer .main-button
{
    margin-top: 0;
    margin-left: 3em;
}

footer a
{
    font-weight: normal;
}

footer a:hover
{
    text-decoration: underline;
}

footer a.main-button:hover
{
    text-decoration: none;
}

#footer-cta
{
    color: white;
    background-color: #222;
    border-radius: var(--roundness);
    text-align: center;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    position: absolute;
    width: 90%;
    max-width: 1800px;
    top: -50px;
    left: 5%;
    padding: 45px 0;

    margin: auto;
}

#footer-cta h3
{
    width: auto;
}

.highlight
{
    display: block;
    font-size: 1.12em;
}

.center-padding
{
    padding-left: 2%;
    padding-right: 2%;
    box-sizing: border-box;
}

#home .row
{
    padding-bottom: 100px;
}

.portfolio .wrapper
{
    width: 90%;
    margin-left: 5%;
    margin-top: 3em;
}

.portfolio .wrapper .main-button
{
    margin-top: 1.5em;
}

.row.dark, footer
{
    background-color: var(--gray);
}

.column
{
    width: 50%;
}

.flex
{
    display: flex;
}

.align-center
{
    align-items: center;
}

.align-top
{
    align-items: flex-start;
}

.center
{
    text-align: center;
}

.margin-center
{
    margin-left: auto;
    margin-right: auto;
}

.bold
{
    font-weight: bold;
}

.flex-dir-column
{
    flex-direction: column;
}

.mobile-only
{
    display: none !important;
}

.no-align
{
    align-items: unset !important;
}

.pointer
{
    cursor: pointer;
}

.uppercase
{
    text-transform: uppercase;
}

.pad-top-3
{
    padding-top: 3em;
}

.categories
{
    padding: 8px 20px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: var(--roundness);
}

@media (min-width: 2250px)
{
    #footer-cta
    {
        left: 50%;
        margin-left: -900px;
    }
}

/* mobile design */

@media (max-width: 768px)
{
    header
    {
        padding-bottom: 20px;
    }

    #portfolio-gradient
    {
        background: radial-gradient(80% 80% at 50% 0%, rgba(var(--glow), 0.7) 0%, rgba(var(--glow), 0.36) 35%, rgba(var(--glow), 0.16) 60%, rgba(var(--glow), 0) 75%);
    }

    .container
    {
        width: 90%;
    }

    .box .cta
    {
        justify-content: space-between;
        flex-direction: column;
    }

    .box .cta .main-button
    {
        margin-right: 0;
        margin-bottom: 1em;
    }

    .box .cta .main-button:last-child
    {
        margin-bottom: 0;
    }

    #menu
    {
        position: fixed;
        top: -100vh;
        left: 0;

        width: 100%;
        font-size: 1.3em;

        z-index: 1000;
        transition: top 0.3s ease-in-out;
    }

    #menu .blocker
    {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        background-color: #111;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.1s ease-in-out;
    }

    #menu.open .blocker
    {
        pointer-events: all;
        opacity: 0.3;
    }

    #menu.open
    {
        top: 0;
    }

    #menu ul
    {
        position: relative;
        width: 100%;
        list-style: none;

        padding: 30px;
        box-sizing: border-box;

        background-color: #111;

        z-index: 2;
    }

    #menu a
    {
        color: #eee;
    }

    #menu li
    {
        margin-top: 1.2em;
    }

    nav
    {
        display: flex;
        align-items: center;
        justify-content: space-between;

        height: 80px;
    }

    nav ul
    {
        display: none;
    }

    nav a
    {
        font-size: 1.2em;
    }

    nav ul li
    {
        margin-top: 2em;
        margin-left: 0;
    }

    #hamburger
    {
        display: flex;
        width: 30px;
        height: 21px;
        flex-direction: column;
        justify-content: space-between;
    }

    #hamburger .bar
    {
        display: block;
        background-color: #111;
        width: 100%;
        height: 3px;
    }

    header#home .logo, header img.logo
    {
        width: 120px;
        margin: 0;
        margin-left: 0;
    }

    .row
    {
        flex-direction: column;
        padding: 40px 0;
    }

    .row .column
    {
        width: 100%;
    }

    .row.short
    {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .row.short-top
    {
        padding-top: 20px;
    }

    .row.tall
    {
        padding-top: 70px;
    }

    .row.tall-bottom, .row.tall
    {
        padding-bottom: 70px;
    }

    .row.container, .row.container.wide
    {
        padding-left: 5%;
        padding-right: 5%;
    }

    .row .column:last-child
    {
        margin-top: 60px;
    }

    .column img
    {
        width: 100%;
        margin-left: 0;
    }

    #brands ul
    {
        width: 100%;
        margin: 0;
        padding-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    #brands ul li
    {
        padding-top: 5px;
    }

    #brands img
    {
        width: 80px;
    }

    #home .row
    {
        padding-bottom: 40px;
    }

    .main-button
    {
        width: 100%;
        margin-top: 3em;
        padding: 15px 25px;
    }

    #home img
    {
        width: 100%;
        margin-left: 0;
    }

    #offerings
    {
        margin-top: 60px;
        flex-direction: column;
    }

    #offerings li
    {
        width: 100%;
        max-width: unset;
        margin: auto;
        margin-top: 2em;
        padding: 30px;
        padding-bottom: 60px;
        box-sizing: border-box;
    }

    #offerings li:first-child
    {
        margin-top: 0;
    }

    .items
    {
        width: 100%;
    }

    .items ul li
    {
        width: 80%;
    }

    .items .buttons a img
    {
        width: 24px;
    }

    .items .buttons a:last-child
    {
        margin-left: 20px;
    }

    .hero ul
    {
        width: 100%;
    }

    .hero p
    {
        width: 100%;
    }

    .hero h3
    {
        max-width: unset;
    }

    .portfolio .wrapper
    {
        width: 100%;
        margin-left: 0;
    }

    .questions li
    {
        width: 100%;
    }

    footer
    {
        padding-top: 240px;
        padding-bottom: 120px;
    }

    #footer-cta
    {
        top: -50px;
        flex-direction: column;
    }

    #footer-cta h3
    {
        width: 70%;
    }

    #footer-cta .main-button
    {
        width: 70%;
        margin-top: 3em;
        margin-left: 0;
    }

    #menu
    {
        display: flex;
    }

    h3
    {
        width: 100%;
        text-align: center;
    }

    .center-padding
    {
        padding-left: 0;
        padding-right: 0;
    }

    .no-mobile
    {
        display: none !important;
    }

    .mobile-center
    {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobile-only
    {
        display: block !important;
    }

    .mobile-only-flex
    {
        display: flex !important;
    }
}