.demo{
	min-height: 500px;
	width: 100%;
	position: relative;
}
.btn {
    display: inline-block;
    border: 0;
    box-sizing: border-box;
    background: #cb4a70;
    color: #fff;
    font-size: 2em;
    border-radius: .1em;
    line-height: 2em;
    padding: 0 2em;
    transition: .4s ease-out;
    border: 1px solid #cb4a70;
    outline: 0;
    text-decoration: none;
}
.btn:hover, .btn:focus {
    background: #fff;
    color: #cb4a70;
    cursor: pointer;
    transition: .15s ease-in;
}
.btn-open{
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
.btn-open-2{
	position: absolute;
    top: 70%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
.dialog {
    max-width: 480px;
    position: fixed;
    left: 50%;
    top: 2em;
    transform: translateX(-50%);
    z-index: 2000;
    visibility: hidden;
    backface-visibility: hidden;
    perspective: 1300px;
}
.dialog--active {
    visibility: visible;
}
.dialog--active .dialog__content {
    opacity: 1;
    transform: rotateY(0);
}
.dialog--active ~ .dialog-overlay {
    opacity: 1;
    visibility: visible;
}
.dialog__content {
    border-radius: 3px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: .5s ease-in-out;
    opacity: 0;
    transform-style: preserve-3d;
    transform: rotateY(-70deg);
}
.dialog__header {
    background: #cb4a70;
    color: #fff;
}
.dialog__title {
    margin: 0;
    text-align: center;
    font-weight: 200;
    line-height: 2em;
}
.dialog__body {
    padding: 2em;
}
.dialog__footer {
    margin: 0 2em;
    padding: 2em 0;
    text-align: right;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.dialog__footer .btn {
    font-size: 1.5em;
}
.dialog-overlay {
    content: "";
    position: fixed;
    visibility: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    opacity: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: all .6s;
}
/*# sourceMappingURL=main.css.map */
