.buttons_videos{
    position: absolute;
    z-index: 111;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    pointer-events: none;
    justify-content: space-between;
}
.frame button:not(.js-nav.boton)::after{
        box-shadow: none !important;
}
.buttons_videos button.js-nav.boton{
    background: #fbefae !important;
    pointer-events: all;
    margin-inline: 20px;
    transform: rotateY(0deg) !important;
}
.buttons_videos button.js-nav.boton.left{
    transform: rotateY(180deg) !important;
}
.buttons_videos button.js-nav.boton.nopointers{
    pointer-events: none;
}
/* Page Loader */
.js .loading::before,
.js .loading::after {
    content: '';
    position: fixed;
    z-index: 1000;
}

.js .loading::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
}

.js .loading::after {
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    border-radius: 50%;
    opacity: 0.4;
    background: var(--color-link);
    animation: loaderAnim 0.7s linear infinite alternate forwards;

}

@keyframes loaderAnim {
    to {
        opacity: 1;
        transform: scale3d(0.5,0.5,1);
    }
}

.frame__switch a {
    text-decoration: none;
    outline: none;
    color: white;
    opacity: 0.7;
}
.frame__switch a:hover {
    
}
.frame__switch a,
.frame__switch a {
    outline: none;
    transition: 0.5s ease-in-out;
    background: rgba(0, 0, 0, 0.5);
}
.frame__switch a:hover,
.frame__switch a:focus {
    outline: none;
    transform: scale(1.1) !important;
    background: rgba(0, 0, 0, 0.75);
}

.frame {
    padding: 3rem 5vw;
    text-align: center;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

.frame__title {
    font-size: 1rem;
    margin: 0 0 1rem;
    font-weight: normal;
}

.frame__links {
    display: inline;
}

.frame__links a:not(:last-child),
.frame__demos a:not(:last-child) {
    margin-right: 1rem;
}

.frame__demos {
    margin: 1rem 0;
}

.frame__demos-text {
    margin-right: 2rem;
}

.frame__demo--current,
.frame__demo--current:hover {
    color: var(--color-text);
    opacity: 0.5;
    text-decoration: underline;
}

.frame__button {
    background: none;
    border: 0;
    margin: 0;
    padding: 0;
    -moz-appearance: none;
    -webkit-appearance: none;
    fill: #fff;
    width: 60px;
    height: 60px;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-left: 10vw;
}

.frame__button:focus {
    outline: none;
    opacity: 0.9;
}

.frame__content {
    text-align: center;
}

.frame__content-title {
   font-size: min(12vw,135px);
    font-weight: 300;
    font-family: 'Dashiell' !important;
    color: #fff;
    margin: 0;
    text-align: center;
    width: 100%;
    position: relative;
    text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}
.frame__content-title.t1{
    margin-left: 1vw;
    top: 3vw;
}
.frame__content-title.t2{
/*    text-align: left;*/
    margin-left: -13vw;
}
/*.frame__content-title::after {
    content: '';
    position: absolute;
    width: 20%;
    height: 1px;
    background: #fff;
    left: 40%;
    top: 100%;
}*/

.frame__content-text {
    max-width: 600px;
    font-size: 1rem;
    margin: 2rem auto 3rem;
}

.frame__switch-item {
    cursor: pointer;
    padding: 0.85rem 1.25rem;
    border: 1px solid #fff;
    font-family: Festivo mini, serif;
    font-weight: 300;
    font-size: 1.85rem;
    margin: 0 1rem;
    transition: opacity 0.3s;
    display: inline-block;
    margin-bottom: 1rem;
}

.frame__switch-item--current,
.frame__switch-item:hover,
.frame__switch-item:focus {
    text-decoration: none;
    transform: scale(1.1) !important;
}

.frame__switch-item--current {
    pointer-events: none;
    opacity: 1;
    pointer-events: none;
    cursor: default;
    background: rgba(0, 0, 0, 1) !important;
}

.frame__content-text,
.frame__switch {
    opacity: 0;
    transition: opacity 0.3s;
}

.video-started .frame__content-text,
.video-started .frame__switch {
    opacity: 1;
}

.video {
    pointer-events: none;
    position: relative;
}

#canvas {
    position: absolute;
    top: 0;
    /*right: 0;
    bottom: 0;*/
    left: 0;
    width: 100%;
    height: 100vh;
    background: black;
}

.wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    pointer-events: none;
}

.plane {
    width: 100vw;
    height: 100vh;
    position: relative;
    z-index: 100;
}

.plane video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    display: none;
}

@media screen and (min-width: 3em) {
    .frame {
        text-align: left;
        display: grid;
        padding: 3rem;
        pointer-events: none;
        grid-template-columns: 15% 70% 15%;
        grid-template-areas: 'title links links'
                            '... play ...'
                            'content content content'
                            '... demos demos';
        --gap: 2em;
   --line-offset: calc(var(--gap) / 2);
   --line-thickness: 2px;
   --line-color: red;
    }
    .frame__title {
        margin: 0;
        grid-area: title;
    }
    .frame__button {
            grid-area: play;
    align-self: end;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-flow: column;
    width: 100%;
    }
    .frame__content {
        grid-area: content;
        align-self: end;
        justify-self: center;
    }
    .frame__tagline {
        position: relative;
        margin: 0 0 0 1rem;
        padding: 0 0 0 1rem;
        opacity: 0.5;
    }
    .frame__demos {
        margin: 0;
        grid-area: demos;
        justify-self: end;
        align-self: end;
    }
    .frame__links {
        grid-area: links;
        padding: 0;
        justify-self: end;
    }
    .frame a,
    .frame button {
        pointer-events: auto;
        background: rgba(0,0,0,0.5);
    }
    .frame button {
        border: none;
        background: transparent;

    }
    .frame button svg{
        border-radius: 100%;
        width: 100% !important;
    }
    .frame button:not(.js-nav.boton)::after{
        box-shadow: none !important;
    }
    .frame button path{
        fill: white;
    }
    .frame button path{
        fill: white;
    }
    .frame button.over svg{
        background: white;
        width: 100% !important;
    }
    .frame button.over path{
        fill: black;
    }
}
@media screen and (max-width: 850px){
    .frame__switch{
        display: flex;
    }
    .frame__switch-item{
        margin: 10px;
    }
    .buttons_videos button.js-nav.boton{
        transform: rotateY(0deg) scale(.75) !important;
        margin-inline: 0px;
    }
    .buttons_videos button.js-nav.boton.left{
        transform: rotateY(180deg) scale(.75) !important;
    }
}






