@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

.evenAbove {
    z-index: 10;
    position: absolute;
    top: 10%;
    left: 0;
    height: 100vh;
    width: 100vw;
    object-fit: cover;
}

.reg {
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    position: absolute;
    border: none;
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
    width: 11em;
    height: 3em;
    line-height: 2em;
    text-align: center;
    background: linear-gradient(90deg, #6e8ae6, #946ee6, #03dbfc, #6e8ae6);
    background-size: 300%;
    border-radius: 30px;
    z-index: 1;
}

.reg:hover {
    animation: ani 8s linear infinite;
    border: none;
}

@keyframes ani {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 400%;
    }
}

.reg:before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: -1;
    background: linear-gradient(90deg, #6e8ae6, #946ee6, #03dbfc, #6e8ae6);
    background-size: 400%;
    border-radius: 35px;
    transition: 1s;
}

.reg:hover::before {
    filter: blur(20px);
}

.reg:active {
    background: linear-gradient(32deg, #6e8ae6, #946ee6, #03dbfc, #6e8ae6);
}


/* ======================== */
/* Responsive Layout */

/* PC */
.reg {
    top: 58vh;
    left: 70vw;
}

/* Ipad Pro 12.9 */
@media screen and (max-width: 1366px) {
    .reg {
        top: 45vh;
        left: 70vw;
    }
}

/* Ipad Pro 10.5, Ipad, Ipad Mini */
@media screen and (max-width: 1112px) {
    .reg {
        top: 43vh;
        left: 70vw;
    }
}

/* IPhone */
@media screen and (max-width: 1000px) {
    .reg {
        top: 70vh;
        left: 10vw;
        /* adjust button size */
        width: 10em;
        height: 2em;
    }
}