

/* *********************************************
 * Button Wrapper
 ******************************************** */

#btnwrapper{
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    margin: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
    --aap-accent-color: #2b58a7;
    --aap-background-color: transparent;
    --aap-icon-color: #1d1d1f;
    --aap-icon-color-alt: rgb(245,245,247);
    --aap-active-fill-color: white;
    --aap-inactive-fill-color: white;
    --aap-button-hover: rgb(0, 0, 0);
    --aap-button-active: white;
    animation: fadeout0 0.8s;
    -moz-animation: fadeout0 0.8s; /* Firefox */
    -webkit-animation: fadeout0 0.8s; /* Safari and Chrome */
    -o-animation: fadeout0 0.8s; /* Opera */
    opacity: 0;
}
#btnwrapper div#all-access-pass div#all-access-pass__background button#glow-on-hover{
    animation: fadeout 0.8s;
    -moz-animation: fadeout 0.8s; /* Firefox */
    -webkit-animation: fadeout 0.8s; /* Safari and Chrome */
    -o-animation: fadeout 0.8s; /* Opera */
    opacity: 0;
}
#btnwrapper div#all-access-pass div#all-access-pass__background button#glow-on-hover span#aap-base__text{
    animation: fadeout 0.8s;
    -moz-animation: fadeout 0.8s; /* Firefox */
    -webkit-animation: fadeout 0.8s; /* Safari and Chrome */
    -o-animation: fadeout 0.8s; /* Opera */
    opacity: 1;
}
@keyframes fadeout {
    from {
        opacity: 1;
        width: 100%;
        font-size: 100%;
    }
    to {
        opacity: 0;
        width: 0%;
        font-size: 0%;
    }
}
@-moz-keyframes fadeout { /* Firefox */
    from {
        opacity: 1;
        width: 100%;
        font-size: 100%;
    }
    to {
        opacity: 0;
        width: 0%;
        font-size: 0%;
    }
}
@-webkit-keyframes fadeout { /* Safari and Chrome */
    from {
        opacity: 1;
        width: 100%;
        font-size: 100%;
    }
    to {
        opacity: 0;
        width: 0%;
        font-size: 0%;
    }
}
@-o-keyframes fadeout { /* Opera */
    from {
        opacity: 1;
        width: 100%;
        font-size: 100%;
    }
    to {
        opacity: 0;
        width: 0%;
        font-size: 0%;
    }
}
@keyframes fadeout0 {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@-moz-keyframes fadeout0 { /* Firefox */
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@-webkit-keyframes fadeout0 { /* Safari and Chrome */
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@-o-keyframes fadeout0 { /* Opera */
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
#btnwrapper.--show{
    animation: fadein0 0.8s;
    -moz-animation: fadein0 0.8s; /* Firefox */
    -webkit-animation: fadein0 0.8s; /* Safari and Chrome */
    -o-animation: fadein0 0.8s; /* Opera */
    opacity: 1;
}
#btnwrapper.--show div#all-access-pass div#all-access-pass__background button#glow-on-hover{
    animation: fadein 0.8s;
    -moz-animation: fadein 0.8s; /* Firefox */
    -webkit-animation: fadein 0.8s; /* Safari and Chrome */
    -o-animation: fadein 0.8s; /* Opera */
    opacity: 1;
}
#btnwrapper.--show div#all-access-pass div#all-access-pass__background button#glow-on-hover span#aap-base__text{
    animation: fadein 0.8s;
    -moz-animation: fadein 0.8s; /* Firefox */
    -webkit-animation: fadein 0.8s; /* Safari and Chrome */
    -o-animation: fadein 0.8s; /* Opera */
    opacity: 1;
}
@keyframes fadein {
    from {
        opacity: 0;
        width: 0%;
        font-size: 0%;
    }
    to {
        opacity: 1;
        width: 100%;
        font-size: 100%;
    }
}
@-moz-keyframes fadein { /* Firefox */
    from {
        opacity: 0;
        width: 0%;
        font-size: 0%;
    }
    to {
        opacity: 1;
        width: 100%;
        font-size: 100%;
    }
}
@-webkit-keyframes fadein { /* Safari and Chrome */
    from {
        opacity: 0;
        width: 0%;
        font-size: 0%;
    }
    to {
        opacity: 1;
        width: 100%;
        font-size: 100%;
    }
}
@-o-keyframes fadein { /* Opera */
    from {
        opacity: 0;
        width: 0%;
        font-size: 0%;
    }
    to {
        opacity: 1;
        width: 100%;
        font-size: 100%;
    }
}
@keyframes fadein0 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@-moz-keyframes fadein0 { /* Firefox */
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@-webkit-keyframes fadein0 { /* Safari and Chrome */
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@-o-keyframes fadein0 { /* Opera */
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
#all-access-pass{
    --aap-min-height: 56px;
    --aap-blur: 7px;
    --aap-font-size: 17px;
    --aap-font-weight: 600;
    --aap-mobile-font-size: 10px;
    --aap-hint-scale: 1;
    --aap-hint-opacity: 0;
    --aap-margin: 30px;
    --aap-margin-bottom: 60px;
    --aap-background-transition-duration: 250ms;
    align-items: center;
    bottom: var(--aap-margin);
    display: flex;
    margin-bottom: var(--aap-margin-bottom);
    margin-top: var(--aap-margin);
    bottom:15px;
    will-change: transform;
    transform: matrix(1, 0, 0, 1, 0, 0);
    --aap-hint-opacity: 1;
    --aap-hint-scale: 0;
    opacity: 1;
    width: calc(15%);
    height: calc(5%);
    min-width: 20em;
    border: none;
    outline: none;
    color: #f5f5f7;
    cursor: pointer;
    position: fixed;
    z-index: 0;
    border-radius: 32px;
}
#all-access-pass__background{
    transform: matrix(1, 0, 0, 1, 0, 0);
    width: calc(150%);
    -webkit-backdrop-filter: blur(var(--aap-blur));
    backdrop-filter: blur(var(--aap-blur));
    background-color: var(--aap-background-color);
    border-radius: 32px;
    box-shadow: inset 0 0 1px var(--aap-inner-glow-color);
    color: var(--aap-text-color);
    display: flex;
    will-change: transform;
    z-index: 1;
    transition: linear var(--aap-background-transition-duration) background-color;

}

#all-access-pass_background::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -webkit-backdrop-filter: blur(var(--aap-blur));
    backdrop-filter: blur(var(--aap-blur));
    z-index: -1;
}

#glow-on-hover{
    align-items: center;
    box-sizing: border-box;
    display: flex;
    background-color: rgba(255,255,255,0.35);
    backdrop-filter: blur(3px);
    --button-margin: 10px;
    border-radius: 32px;
    justify-content: space-between;
    min-height: var(--aap-min-height);
    overflow: hidden;
    pointer-events: auto;
    position: relative;
    width: 100%;
    border: 0.25px solid rgba(0, 0, 0, 0.35);
}
#aap-base__text{
    --offset: 16px;
    display: inline-block;
    font-weight: var(--aap-font-weight);
    letter-spacing: -0.015em;
    line-height: 1.2353em;
    margin-inline-start: 24px;
    margin-inline-end: calc(var(--aap-min-height) + var(--offset) - var(--button-margin));
    max-width: 40em;
    padding: 15px 0 16px;
    text-align: left;
    word-break: keep-all;
    will-change: opacity; opacity: 1;
    color:rgb(0, 0, 0);
}


#aap-base__icon{
    align-items: center;
    box-sizing: border-box;
    display: flex;
    background-color: var(--aap-accent-color);
    border-radius: 50px;
    height: calc(var(--aap-min-height) - var(--button-margin)*2);
    justify-content: center;
    margin-inline-end: var(--button-margin);
    padding: 9px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: calc(var(--aap-min-height) - var(--button-margin)*2);
    will-change: transform;
    transform: matrix(1, 0, 0, 1, 0, -18);
}

#glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #7a00ff, #ff00c8, #7a00ff);
    position: absolute;
    top: 0px;
    left:0px;
    background-size: 430%;
    z-index: 0;
    filter: blur(3px);
    -webkit-filter: blur(3px);
    -o-filter: blur(3px);
    width: calc(100%);
    height: calc(100%);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 32px;
    color: #f5f5f7;
}
#glow-on-hover:active {
    -webkit-text-fill-color: white;
}
#glow-on-hover:active:after {
    background-color: rgba(97, 97, 97, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
#glow-on-hover:hover:before{
    opacity: 1;
    color:rgb(255, 255, 255);
}
#glow-on-hover:hover{
    -webkit-text-fill-color: white;
}
#glow-on-hover:after {
    color: #f5f5f7 !important;
    z-index: -1!important;
    content: '';
    position: absolute!important;
    width: 100%;
    height: 100%;
    background: rgb(255,255,255,0.45);
    left: 0px;
    top: 0px;
    border-radius: 32px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

