/****************************************************************************
 * Wrapper
 ****************************************************************************/
.qr_wrapper {
    position: relative;
    width: 100svw;
    height: 100svh; 
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
}

/****************************************************************************
 * Logo && Buttons
 ****************************************************************************/
.qr_logo {
    position: relative;
    width: 80%;
    max-width: 20rem;
    margin: 0 auto;
    height: 30%;
    max-height: 10rem;
}
.qr_logo img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: contain;
    object-position: 50% 100%;
}
.qr_buttons {
    width: 80%;
    max-width: 20rem;
    margin: 0 auto;
}
.qr_buttons .button {
    margin: 0.5rem 0;
    display: block;
    width: 100%;
}

/****************************************************************************
 * Player
 ****************************************************************************/
#qr_vimeo_player {
    position: relative;
    left: 0; top: 0;
    width: 100svw;
    height: 100svh;
}
#qr_vimeo_player iframe {
    position: absolute;
    top: 4rem; left: 0;
    width: 100%; height: calc(100% - 8rem);
    object-fit: contain;
}

#qr_vimeo_player:after {
    content: none; color: #FFFFFF;
    position: absolute; z-index: 200;
    top: 50%; left: 50%; pointer-events: none;
    width: 3rem; height: 3rem;
    border: 0.25rem solid currentColor;
    border-bottom-color: transparent;
    border-radius: 50%;
    transform: translate(-50%,-50%);
}
@keyframes rotation {
    0% {transform: translate(-50%,-50%) rotate(0deg);}
    100% {transform: translate(-50%,-50%) rotate(360deg);}
} 
#qr_vimeo_player.loading:after {
    content: '';
    animation: rotation 1s linear infinite;
}

#qr_vimeo_player.pause:after {
    content: '';
    width: 5rem; height: 5rem;
    border-color: #FFFFFF;
    background-image: url('data:image/svg+xml,<svg height="200" width="200" xmlns="http://www.w3.org/2000/svg"><polygon points="55,40 155,100 55,160" fill="%23FFFFFF" /></svg>');
    background-position: 50% 50%;
    background-size: 80% auto;
    background-repeat: no-repeat;
}

#qr_vimeo_player.iphone_start:not(.loading):after {
    content: 'Start';
    width: 8rem; height: 4rem; font-size: 1.375rem;
    line-height: 4rem; text-align: center;
    font-weight: 700; text-transform: uppercase;
    border-color: #FFFFFF;
    border-radius: 0.375rem;
    background: transparent;
}


/****************************************************************************
 * Videos
 ****************************************************************************/
#qr_vimeo_player .video_item {
    display: none;
}
#qr_vimeo_player .video_item.active {
    display: block;
}

/****************************************************************************
 * Player Topbar
 ****************************************************************************/
#qr_vimeo_player .qr_topbar {
    position: absolute;
    top: 0; height: 4rem;
    width: 100%; left: 0;
}
#qr_vimeo_player .qr_topbar > * {
    position: relative; z-index: 20;
    display: inline-block; cursor: pointer;
    width: 4rem; height: 4rem;
}
#qr_vimeo_player .qr_topbar > .qr_topbar_logo {
    width: calc(100% - 4rem);
    cursor: auto;
}
#qr_vimeo_player .qr_topbar > .qr_topbar_logo img {
    position: absolute;
    top: 0.25rem; left: 0.25rem; width: calc(100% - 0.5rem);
    height: calc(100% - 0.5rem);
    object-fit: contain;
    object-position: 0 50%;
}
#qr_vimeo_player .qr_topbar > *::after {
    content: ''; pointer-events: none;
    position: absolute; top: 0.25rem; left: 0.125rem;
    right: 0.125rem; bottom: 0.25rem;
    background-color: rgba(255,255,255,0.2);
}
#qr_vimeo_player .qr_topbar > span svg {
    width: 1.5rem; height: 1.5rem;
    position: absolute; pointer-events: none;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
}
#qr_vimeo_player .qr_topbar > span svg path {
    fill: currentColor;
}

/****************************************************************************
 * Start Stop
 ****************************************************************************/
#qr_vimeo_player .start_stop {
    position: absolute;
    top: 4rem; left: 0; bottom: 4rem; right: 0;
    height: auto; height: auto; z-index: 200;
    opacity: 0;
}

/****************************************************************************
 * Controls
 ****************************************************************************/
#qr_vimeo_player .conrols {
    position: absolute;
    bottom: 0; height: 4rem;
    width: 100%;
}
#qr_vimeo_player .conrols > span {
    position: relative; z-index: 20;
    display: inline-block; cursor: pointer;
    width: 33.333%; height: 4rem;
}
#qr_vimeo_player .conrols > span::after {
    content: ''; pointer-events: none;
    position: absolute; top: 0.25rem; left: 0.125rem;
    right: 0.125rem; bottom: 0.25rem;
    background-color: rgba(255,255,255,0.2);
}
#qr_vimeo_player .conrols > span svg {
    width: 1.5rem; height: 1.5rem;
    position: absolute; pointer-events: none;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
}
#qr_vimeo_player .conrols > span svg path {
    fill: currentColor;
}