@import url("normalize.css");
@import url("fonts.css");
@import url("root.css");
@import url("form.css");
.ac-form
{
    background-color: var(--color-offwhite);
}
.form-message
{
    max-width: fit-content;
    margin: 0 auto;
    margin-bottom: 25px;
}
/**
 * 
 * BOX-SIZING
 * 
 */
*,
*::before,
*::after
{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html
{
    font-size: 10px;
    scroll-behavior: smooth;
    height: 100%;
}

.anchor
{
    visibility: hidden;
    height: 0 !important;
}

body
{
    animation: var(--animation-fadeIn);
    background-color: var(--color-periomonitor);
    color: var(--primary);
    font-family: var(--font);
    font-size: 1.8rem;
    line-height: 1.4;
    overflow-x: hidden;
}

.site-aside
{
    background: var(--color-periomonitor);
    display: flex;
      align-items: center;
    position: fixed;
      top: 0;
      left: -300px;
      z-index: 99;
    transition: var(--transition-default);
    height: 100%;
    width: 300px;
    .site-nav
    {
        color: white;
        display: flex;
        flex-direction: column;
        padding: 25px;
        position: relative;
          z-index: 6;
        a:not(.site-logo)
        {
            color: white;
            cursor: pointer;
            display: flex;
            padding: 5px;
            position: relative;
            text-decoration: none;
            text-transform: uppercase;
            &::before
            {
                background-color: var(--color-offwhite);
                content: "";
                position: absolute;
                  bottom: 0px;
                  left: 0;
                transition: var(--transition-default);
                height: 3px;
                width: 0;
            }
            &:hover
            {
                &::before
                {
                    width: 100%;
                }
            }
        }
        
    }
    .nav__pull
    {
        position: absolute;
            right: -80px;
            top: calc(50% - 40px);
            z-index: 5;
        transition: var(--transition-default);
        height: 80px;
        width: 80px;
        div
        {
            background: var(--color-offwhite);
            padding: 20px;
            transition: var(--transition-default);
            height: inherit;
            width: 80px;
        }
        span
        {
            display: block;
            background-color: var(--color-periomonitor);
            margin-bottom: 8px;
            height: 8px;
            width: 100%;
        }
        
    }
}

input#site-navigation:checked
{
    & ~ .site-aside
    {
        box-shadow: var(--boxshadow-default);
        cursor: pointer;
        left: 0;
    }
    & ~ .nav-overlay
    {
        pointer-events: initial;
        opacity: 0.5;
        visibility: visible;
    }
}

.nav-overlay
{
    transition: var(--transition-default);
    pointer-events: none;
    background-color: black;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 98;
    height: 100%;
    width: 100%;
}

.site-footer
{
    background-color: var(--color-background);
    display: flex;
      align-items: center;
    color: var(--color-primary);
    padding: 25px;
    position: relative;
    z-index: 1;
    .footer-logo
    {
        display: inline-block;
        margin-right: 15px;
        figure
        {
            img
            {
                height: 75px;
                width: auto;
            }
        }
    }
    .footer__nav
    {
        font-size: 1.4rem;
        menu
        {
            display: flex;
            gap: 25px;
            list-style: none;
            li
            {
                margin: 0;
                padding: 0;
                text-transform: uppercase;
            }
        }
    }
    
}
.site-logo
{
    img
    {
        cursor: pointer;
        margin-right: 15px;
        height: auto;
        width: 100%;
    }
}

/**
 * 
 * SECTIONS
 * 
 */
.section
{
    background-color: var(--color-periomonitor);
    padding-top: 200px;
    position: relative;
    .section__header
    {
        padding-bottom: 50px;
        position: sticky;
          top: 0;
          z-index: 1;
    }
    .section__title
    {
        font-size: clamp(4.8rem, 9.6vw, 14rem);
        color: var(--color-offwhite);
        line-height: 1.1;
        margin: 0 auto;
        padding: 0 25px 0 105px;
    }
    .section__content
    {
        background: linear-gradient(to bottom, rgba(89, 44, 130, 0) 0px, rgba(89, 44, 130, 0.9) 250px);
        display: flex;
          flex-direction: column;
          justify-content: center;
        padding-top: 100px;
        position: relative;
          z-index: 2;
        & > *
        {
            padding: 0 25px 0 105px;
        }
        & > .banner
        {
        }
        & > *:last-child
        {
            margin-bottom: 0;
        }
    }
    .section__background
    {
        position: fixed;
          top: 0;
          left: 0;
          z-index: 0;
        height: 100%;
        width: 100%;
        img
        {
            object-fit: cover;
            opacity: .3;
            position: relative;
              z-index: 2;
            height: 100%;
            width: 100%;
        }
        &::before
        {
            background-color: var(--color-periomonitor);
            content: "";
            mix-blend-mode: color;
            position: absolute;
              top: 0;
              left: 0;
              z-index: 3;
            height: 100%;
            width: 100%;
        }
        &::after
        {
            background-color: var(--color-periomonitor);
            content: "";
            position: absolute;
              top: 0;
              left: 0;
              z-index: 1;
            height: 100%;
            width: 100%;
        }
    }
}

.text:not(.banner),
.media-text:not(.banner)
{
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1200px;
}

.faqs
{
    display: grid;
      grid-gap: 25px;
}

#introduction
{
    text-align: center;
}

#upcoming-webinars
{
    .presenters
    {
        display: grid;
        grid-gap: 25px;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        margin-bottom: 25px;
        .presenter
        {
            display: flex;
            align-items: center;
            gap: 25px;
            .media
            {
                display: flex;
                flex: 1;
                height: 100%;
                width: 100%;
                img
                {
                    border-radius: 50%;
                    object-fit: contain;
                    height: 100%;
                    width: 100%;
                }
            }
            .text
            {
                flex: 3;
                .presenter__title
                {
                }
                .presenter__description
                {
                    font-size: 0.85em;
                }
            }
        }
    }
}

#header
{
    display: flex;
      align-items: center;
      justify-content: center;
    padding-top: 0;
    height: 100vh;
    .section__content
    {
        background: none;
        padding-top: 0;
    }
    .hero-logo
    {
        margin: 0 auto;
        width: 75vw;
        img
        {
            height: auto;
            width: 100%;
        }
    }
}

#presentation
{
    padding-bottom: 100px;
}

main
{

}


/**
 * 
 * ELEMENTS
 * 
 */
.button
{
    border: solid 1px var(--color-periomonitor);
      border-radius: 15px;
    color: var(--color-periomonitor);
    display: inline-block;
    overflow: hidden;
    padding: 15px 20px;
    position: relative;
    text-decoration: none;
    transition: var(--transition-default);
    span
    {
        position: relative;
        z-index: 2;
    }
    &::before
    {
        background-color: var(--color-periomonitor);
        content: "";
        position: absolute;
          top: 0;
          left: 0;
          z-index: 1;
        transform: translateX(-100%);
        transition: inherit;
        height: 100%;
        width: 100%;
    }
    &:hover
    {
        box-shadow: var(--boxshadow-default);
        color: var(--color-offwhite);
        &::before
        {
            transform: translateX(0);
        }
    }
    &.button--inv
    {
        background-color: var(--color-offwhite);
        border: solid 1px var(--color-offwhite);
        color: var(--color-periomonitor);
        &::before
        {
            background-color: var(--color-periomonitor);
        }
        &:hover
        {
            color: var(--color-offwhite);
        }
    }
    &.button--big
    {
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
        font-size: 2em;
        line-height: 1.1em;
        padding: 10px 40px 20px 40px;
        text-align: center;
        small
        {
            font-style: italic;
            text-transform: initial;
        }
        span
        {
            text-transform: uppercase;
            font-weight: bold;
        }
    }
}

details
{
    animation: fadeIn 500ms ease 250ms forwards;
    background-color: var(--color-periomonitor);
    border: 1px solid var(--color-offwhite);
    border-radius: 15px;
    opacity: 0;
    .faq__content
    {
        opacity: 0;
        overflow: hidden;
        transition: var(--transition-default);
        max-height: 0;
    }
    summary
    {
        border-radius: 15px;
        color: var(--color-offwhite);
        font-weight: bold;
        list-style: none;
        padding: 25px;
        position: relative;
        text-align: center;
        transition: var(--transition-default);
    }
    p
    {
        font-size: 2.4rem;
        padding: 25px;
        text-align: center;
        &:last-child
        {
            margin-bottom: 0;
        }
    }
    &[open]
    {
        summary
        {
            background-color: var(--color-offwhite);
            color: var(--color-periomonitor);
        }    
        .faq__content
        {
            opacity: 1;
            max-height: 500px;
        }
    }
    &:hover
    {
        cursor: pointer;
    }
}

.display
{
    color: var(--color-offwhite);
    font-size: clamp(4.8rem, 6vw, 8.4rem);
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    &.display--small
    {
        font-size: clamp(3.6rem, 5vw, 6rem);
    }
}


/**
 * 
 * LAYOUT
 * 
 */
.grid
{
    display: grid;
      gap: 25px;
      grid-template-rows: auto;
      grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  &.grid--4col
  {
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    @media screen and (max-width: 1280px)
    {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
    }
    @media screen and (max-width: 720px)
    {
        grid-template-columns: 1fr;
    }
  }
}



.card
{
    animation: fadeIn 500ms ease forwards;
    background-color: var(--color-offwhite);
      border-radius: 15px;
    box-shadow: var(--boxshadow-default);
    display: flex;
      align-items: center;
      flex-direction: column;
    opacity: 0;
    overflow: hidden;
    .card__thumbnail
    {
        overflow: hidden;
        height: 300px;
        width: 100%;
        img
        {
            object-fit: cover;
            object-position: center center;
            transition: var(--transition-default);
            height: 100%;
            width: 100%;
        }
    }
    .card__header
    {
        .card__title
        {
            margin-bottom: 15px;
        }
    }
    .card__content
    {
        padding: 25px;
        .card__description
        {
            margin-bottom: 25px;
        }
    }
    &:hover
    {
        .card__thumbnail
        {
            img
            {
                transform: scale(1.1);
            }
        }
    }
}

.text
{
    color: var(--color-offwhite);
    h2
    {
        margin: 1em 0 .5em;
        padding: 0 0 .5em;
        position: relative;
        &::after
        {
            background-color: var(--color-offwhite);
            content: "";
            position: absolute;
              bottom: 0;
              left: 0;
            height: 2px;
            width: 100px;
        }
    }
    h2
    {
        font-size: clamp(3.6rem, 5vw, 4.8rem);
    }
    p, ul, ol
    {
        margin-bottom: 1em;
    }
    a
    {
        color: var(--color-offwhite);
        &:hover
        {
            text-decoration-style: wavy;
        }
    }
    blockquote
    {
        font-size: 2.4rem;
        padding: 25px;
        p
        {
            margin-bottom: 0;
        }
    }
    ul, ol
    {
        margin-left: 15px;
    }
}

.media-text
{
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 50px 0;
    .media
    {
        display: flex;
        flex: 1;
        height: 100%;
        width: 100%;
        img
        {
            object-fit: contain;
            height: 100%;
            width: 100%;
        }
    }
    .text
    {
        flex: 2;
        h2
        {
            margin-top: 0;
        }
    }
    @media screen and (max-width: 1099px)
    {
        .media, .text
        {
            flex: 1;
        }
    }
    @media screen and (max-width: 959px)
    {
        flex-direction: column;
        .media
        {
            align-self: center !important;
            max-width: 300px;
        }
    }
}

#instruction-steps
{
    margin-bottom: 25px;
    text-align: center;
    .media
    {
        img
        {
            height: 200px;
            width: auto;
        }
    }
}

.daniel-quote
{
    background-color: var(--color-offwhite);
    .text
    {
        color: var(--color-periomonitor);
    }
    @media screen and (max-width: 959px)
    {
        .media
        {
            order: 2;
        }
    }
}
.media-text.banner
{
    padding-left: 105px;
    figure
    {
        align-self: end;
        height: 100%;
        img
        {
            object-fit: cover;
        }
    }
}

.gallery
{
    display: grid;
      grid-gap: 25px;
      grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 50%, 500px), 1fr));
    width: 100%;
}

.video-wrapper
{
    height: 100%;
    width: 100%;
    iframe
    {
        aspect-ratio: 16/9;
        border: none;
        border-radius: 15px;
        box-shadow: var(--boxshadow-default);
        height: auto;
        width: 100%;
    }
}




/**
 * 
 * MODIFIERS
 * 
 */
.indicator--negative
{
    background-color: var(--color-pmnegative);
}
.indicator--low
{
    background-color: var(--color-pmlow);
}
.indicator--moderate
{
    background-color: var(--color-pmmoderate);
}
.indicator--high
{
    background-color: var(--color-pmhigh);
}
.indicator
{
    display: block;
    height: 100px;
    width: 100px;
}

/**
 * 
 * LANGUAGE
 * 
 */
.lang-tag
{
    background-color: red;
    color: var(--color-offwhite);
    padding: 10px;
}
#language
{
    position: fixed;
    /*
    top: -100vh;
    left: -100vw;
    width: 1px; height: 1px;
    opacity: 0;
    */
    &:checked ~ * [lang="en"]
    {
        display: none !important;
    }
    &:checked ~ * .slider__thumb
    {
        left: calc(100% - 77px);
    }
    &:checked ~ * #lang-en
    {
        color: var(--color-periomonitor);
    }
    &:not(:checked) ~ * #lang-fr
    {
        color: var(--color-periomonitor);
    }
    &:not(:checked) ~ * [lang="fr"]
    {
        display: none !important;
    }
}

[lang="en"], [lang="fr"]
{
    animation: var(--animation-fadeIn);
}

.lang-wrapper
{
    display: flex;
      align-items: center;
      flex-direction: column;
      justify-content: center;
    border: 1px solid var(--color-offwhite);
    border-radius: 15px;
    margin-top: 25px;
    padding: 15px;
    position: relative;
    & > span
    {
        background-color: var(--color-periomonitor);
        font-size: 1.4rem;
        padding: 0 5px;
        position: absolute;
          top: -10px;
          left: 50%;
        transform: translateX(-50%);
        text-transform: uppercase;
    }
}
.lang-select
{
    .slider
    {
        background-color: var(--color-offwhite);
        border-radius: 999px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        place-items: center center;
        padding: 5px;
        position: relative;
        height: 50px;
        width: 150px;
        .lang
        {
            position: relative;
              z-index: 2;
            transition: var(--transition-default);
        }
        .slider__thumb
        {
            background-color: var(--color-periomonitor);
            border-radius: 999px;
            display: block;
            position: absolute;
              top: 2px;
              left: 2px;
              z-index: 1;
            transition: var(--transition-default);
            height: 46px;
            width: 75px;
        }
    }
}

/**
 * 
 * MEDIA SCREEN
 * 
 */
.mobile
{
    display: none;
}
@media screen and (max-width: 499px)
{
    .grid
    {
        grid-template-columns: 1fr;
    }
    .section
    {
        padding-top: 100px;
    }
    .section .section__content
    {
        padding-top: 15px;
    }
    .form form.ac-form
    {
        padding: 50px 25px !important;
        min-width: 300px !important;
    }
    .presenter
    {
        flex-direction: column;
    }
    .presenter .media
    {
        max-width: 250px;
    }
    .presenter .media, .presenter .text
    {
        flex: unset !important;
    }
    .site-aside .nav__pull
    {
        top: 0;
    }
    .section .section__content > *,
    .section .section__title
    {
        padding: 0 15px;
    }
    .site-footer
    {
        flex-direction: column;
    }
    .site-footer .footer-logo
    {
        margin-bottom: 15px;
        max-width: 250px;
    }

    .desktop
    {
        display: none !important;
    }
    .mobile
    {
        display: initial;
    }
}