* {
    margin: 0;
    padding: 0;
    font-family: 'Josefin Sans';
}

/* josefin-sans-regular */

@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: normal;
    src: url('//lib.baomitu.com/fonts/josefin-sans/josefin-sans-regular.eot');
    /* IE9 Compat Modes */
    src: local('Josefin Sans'), local('JosefinSans-Normal'), url('//lib.baomitu.com/fonts/josefin-sans/josefin-sans-regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('//lib.baomitu.com/fonts/josefin-sans/josefin-sans-regular.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('//lib.baomitu.com/fonts/josefin-sans/josefin-sans-regular.woff') format('woff'),
        /* Modern Browsers */
        url('//lib.baomitu.com/fonts/josefin-sans/josefin-sans-regular.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('//lib.baomitu.com/fonts/josefin-sans/josefin-sans-regular.svg#JosefinSans') format('svg');
    /* Legacy iOS */
}

/* pt-sans-regular */

@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: normal;
    src: url('//lib.baomitu.com/fonts/pt-sans/pt-sans-regular.eot');
    /* IE9 Compat Modes */
    src: local('PT Sans'), local('PTSans-Normal'), url('//lib.baomitu.com/fonts/pt-sans/pt-sans-regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('//lib.baomitu.com/fonts/pt-sans/pt-sans-regular.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('//lib.baomitu.com/fonts/pt-sans/pt-sans-regular.woff') format('woff'),
        /* Modern Browsers */
        url('//lib.baomitu.com/fonts/pt-sans/pt-sans-regular.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('//lib.baomitu.com/fonts/pt-sans/pt-sans-regular.svg#PTSans') format('svg');
    /* Legacy iOS */
}

.basePart {
    display: flex;
    max-width: 100vw;
    width: 100%;
    justify-content: center;
}

.mainPart {
    display: flex;
    max-width: 720px;
    width: 100%;
    flex-direction: column;
    /*background-color: #cbcbcb;*/
}

.childPart {
    padding: 16px;
    margin: 12px;
    border-radius: 16px;
}

#originInput {
    max-width: 100%;
    min-width: 100%;
    width: 100%;
    min-height: 135px;
    height: 45vh;
    height: 45svh;
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1.462;
    border-radius: 6px;
    padding: 8px 12px;
    font-family: Lato, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.467;
    color: #34495e;
    border: 2px solid #bdc3c7;
    border-radius: 6px;
    box-shadow: none;
}

.originInput {
    background-color: #dddddd59;
    border-radius: 6px;
    padding: 4px;
}

.pwdInput {
    max-width: 100%;
    min-width: 100%;
    width: 100%;
    height: 35px;
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1.462;
    border-radius: 6px;
    padding: 4px 6px;
    padding-bottom: 2px;
    font-family: Lato, Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.467;
    color: #34495F;
    border: 2px solid #bdc3c7;
    border-radius: 6px;
    box-shadow: none;
    margin-top: 2px;
}

.CS-fakeBtn-black {
    background-color: #414141;
    padding: 10px;
    border-radius: 8px;
    margin: 8px;
}

.CS-fakeBtn-black:hover {
    background-color: #1f1f1f !important;
    box-shadow: 0px 0px 5px #414141;
}

.CS-fakeBtn-grey {
    background-color: #949494;
    padding: 10px;
    border-radius: 8px;
    margin: 8px;
}

.CS-fakeBtn-grey:hover {
    background-color: #858585 !important;
    box-shadow: 0px 0px 5px #e5e5e5;
}

.opBar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 8px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4 {
    color: #484848;
    font-size: 250%;
}

.noMargin {
    margin: 0;
}

.shareBasePart {
    width: 100%;
    height: 100vh;
    height: 100svh;
    background-color: #c7c7c7ed;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
}

.QRCode {
    background: #e5e5e5;
    max-width: 80vw;
    min-width: 280px;
    min-height: 280px;
    margin: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#qrcode {
    width: 100%;
    height: 100%;
    background-color: #dddddd59;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.closeQRCode {
    height: auto;
    width: 280px;
    margin: 8px;
    padding: 8px;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* 将动画绑定到选择器 */
.shareBasePart {
    animation: fade-in 0.3s;
}

.QRCodeError {
    display: flex;
    margin: 4px;
    margin-bottom: 0;
}

#qrcode>img {
    image-rendering: pixelated;
}

.forceDecyptResult {
    background-color: #ffffff7a;
    min-height: 50px;
    border-radius: 8px;
    margin-top: 8px;
    padding: 8px;
    overflow-x: scroll;
}

#forceDecyptResult {
    white-space: pre-wrap;
}

.toastify {
    box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.217), 0 10px 36px -4px rgba(98, 98, 98, 0.171);
    border-radius: 8px;
}