* {
    box-sizing: border-box;
}

body,
html {
    background: #EEF3F7;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    width:100%;
}

.df-header {
    background: #FFFFFF;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.04), 0 0 8px 0 rgba(0, 0, 0, 0.08);
    height: 59px;
}

.df-header h1 {
    font-size: 16px;
    margin: 0;
    padding: 0 0 0 15px;
    color: #2149f3;
    font-weight: 600;
}

.df-grd {
    width: 1200px;
    height: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px auto 400px;
    align-items: center;
    font-size: 0;
}

.df-grd-lt {
    justify-self: start;
}

.df-grd-ct {
    justify-self: center;
}

.df-grd-rt {
    justify-self: end;
}

.df-trigger {
    width: 40px;
    height: 40px;
    margin: 0 5px;
    background-image: url("df-sprite.svg");
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}

.df-mobile {
    background-position: 0px 0px;
}

.df-tablet {
    background-position: -40px 0px;
}

.df-desktop {
    background-position: -80px 0px;
}

.df-trigger-active {
    background-position-y: -41px;
    cursor: default;
}

.df-btn {
    display: inline-block;
    padding: 20px 30px;
    font-size: 16px;
    background: #2149f3;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 500;
}

.df-btn-ghost {
    background: #FFFFFF;
    color: #2149f3;
    cursor: pointer;
    padding: 0;
    margin: 0 20px;
}

.df-btn-qr {
    position: relative;
}

.df-btn-qr:before {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url("df-sprite.svg");
    background-position: -121px 0px;
    vertical-align: middle;
    display: inline-block;
    margin: -3px 4px 0 0;
}

.df-btn-qr:after {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url("df-sprite.svg");
    background-position: -121px -48px;
    vertical-align: middle;
    display: inline-block;
    margin: -1px 0 0 0;
    opacity: .56;
}

.df-qr-view {
    cursor: default;
    position: absolute;
    top: 54px;
    left: 10px;
    width: 320px;
    padding: 24px;
    background: #FFFFFF;
    z-index: 5;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.04), 0 16px 36px 0 rgba(0, 0, 0, 0.08);
    text-align: center;
    display: none;
}

.df-qr-view-active {
    display: block;
}

.df-qr-view:before {
    content: "";
    position: absolute;
    border-top: solid 12px transparent;
    border-right: solid 12px transparent;
    border-bottom: solid 12px transparent;
    border-left: solid 12px #FFFFFF;
    left: 0;
    top: -12px;
}

.df-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background-image: url("df-sprite.svg");
    background-position: -121px -24px;
    opacity: .34;
    transition: .1s;
    cursor: pointer;
}

.df-remove:hover {
    opacity: .72;
}

.df-qr-view img {
    width: 128px;
    height: 128px;
}

.df-qr-view p {
    font-size: 16px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.56);
    margin: 0;
    padding-top: 16px;
}

.df-paper {
    max-width: 100%;
    padding: 40px;
    margin: 0 auto;
}

.df-paper-mobile {
    width: 467px;
    height: calc(100vh - 60px);
    max-height: 667px;
}

.df-paper-tablet {
    width: 900px;
    height: calc(100vh - 60px);
    max-height: 1300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.df-paper-desktop {
    width: 1326px;
    height: calc(100vh - 60px);
    max-height: 800px;
}

.df-loader{
    animation: dfloader .20s cubic-bezier(0.2,0,.4,1) alternate infinite;
    filter: grayscale(1);
}

@keyframes dfloader{
    0%{
        opacity: 0.02;
    }
    100%{
        opacity: 0.2;
    }
}



iframe {
    width: 800px;
    height: 1000px;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 0 48px 0 rgba(0, 0, 0, 0.04);
    margin: 0;
    background: #FFFFFF;
    transform: scale(0.5);
}

@media only screen and (max-width:1024px) {
    .df-grd {
        grid-template-columns: auto auto 400px;
    }
}

@media only screen and (max-width:900px) {
    .df-header {
        display: none;
    }

    body {
        background: #000000;
    }

    .df-paper {
        padding: 0;
        width: 100%;
        height: 100%;
        max-height: 100%;
    }

    iframe {
        box-shadow: unset;
    }
}
