
:root {
    --vs-primary: 29 92 255;
}

/*Dialog Styles*/
#dialog {
    position: relative;
    padding: 1rem 3rem;
    background: white;
    padding-top: 2rem;
    width:contain;
    border-radius: 20px;
    border: 0;
    box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.1);
    -webkit-animation: fadeIn 1s ease both;
    animation: fadeIn 1s ease both;
}

    dialog::-webkit-backdrop {
        -webkit-animation: fadeIn 1s ease both;
        animation: fadeIn 1s ease both;
        background: rgba(255, 255, 255, 0.4);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
    }

    dialog::backdrop {
        display:flex;
        -webkit-animation: fadeIn 1s ease both;
        animation: fadeIn 1s ease both;
        background: rgba(255, 255, 255, 0.4);
/*        z-index: 0;
*/        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
    }

    dialog .x {
        filter: grayscale(1);
        border: none;
        background: none;
        position: absolute;
        top: 15px;
        right: 10px;
        transition: ease filter, transform 0.3s;
        cursor: pointer;
        transform-origin: center;
    }

        dialog .x:hover {
            filter: grayscale(0);
            transform: scale(1.1);
        }

    dialog h2 {
        font-weight: 600;
        font-size: 2rem;
        padding-bottom: 1rem;
    }

    dialog p {
        font-size: 1rem;
        line-height: 1.3rem;
        padding: 0.5rem 0;
    }

        dialog p a:visited {
            color: rgb(var(--vs-primary));
        }

/*General Styles*/
/*body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Poppins, sans-serif;
    background: url(https://images.unsplash.com/photo-1574169208507-84376144848b?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=879&q=80) no-repeat center center;
    background-size: cover;
}*/

button.primary {
    display: inline-block;
    font-size: 0.8rem;
    color: #fff !important;
    background: rgb(var(--vs-primary)/100%);
    padding: 13px 25px;
    border-radius: 17px;
    transition: background-color 0.1s ease;
    box-sizing: border-box;
    transition: all 0.25s ease;
    border: 0;
    cursor: pointer;
    box-shadow: 0 10px 20px -10px rgb(var(--vs-primary)/50%);
}

    button.primary:hover {
        box-shadow: 0 20px 20px -10px rgb(var(--vs-primary)/50%);
        transform: translateY(-5px);
    }

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
