@import url(https://fonts.googleapis.com/css?family=Lato);


.btn {
    --hue: 190;
    --ease-in-duration: 0.25s;
    --ease-in-exponential: cubic-bezier(0.95, 0.05, 0.795, 0.035);
    --ease-out-duration: 0.65s;
    --ease-out-delay: var(--ease-in-duration);
    --ease-out-exponential: cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    /* // padding: 1rem 3rem; */
    font-size: 1rem;
    line-height: 1.5;
    color: white;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.9);
    outline: transparent;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    color: white;
    transition: 0.25s;
    width: 120px;
    line-height: 45px;
    margin-right: 15px;
    margin-top: 30px;
}

.btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.btn-primary {
    --hue: 171;
}

.btn-ghost {
    color: rgba(0, 0, 0, 0.9);
    background-color: transparent;
    border-color: rgba(0, 0, 0, 0.9);
}

.btn-ghost:hover {
    color: white;
}

.btn-border-stroke {
    /* // background-color: rgba(0,0 ,0 , 0.9); */
}

.btn-border-stroke .btn-borders {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.btn-border-stroke .btn-borders .border-top {
    position: absolute;
    top: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.9);
    transform: scaleX(0);
    transform-origin: left;
}

.btn-border-stroke .btn-borders .border-right {
    position: absolute;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    transform: scaleY(0);
    transform-origin: bottom;
}

.btn-border-stroke .btn-borders .border-bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.9);
    transform: scaleX(0);
    transform-origin: left;
}

.btn-border-stroke .btn-borders .border-left {
    position: absolute;
    left: 0;
    width: 1px;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    transform: scaleY(0);
    transform-origin: bottom;
}

.btn-border-stroke .btn-borders .border-left {
    transition: var(--ease-out-duration) var(--ease-out-delay) var(--ease-out-exponential);
}

.btn-border-stroke .btn-borders .border-bottom {
    transition: var(--ease-out-duration) var(--ease-out-delay) var(--ease-out-exponential);
}

.btn-border-stroke .btn-borders .border-right {
    transition: var(--ease-in-duration) var(--ease-in-exponential);
}

.btn-border-stroke .btn-borders .border-top {
    transition: var(--ease-in-duration) var(--ease-in-exponential);
}

.btn-border-stroke:hover {
    color: rgba(0, 0, 0, 0.9);
    background: transparent;
}

.btn-border-stroke:hover .border-top,
.btn-border-stroke:hover .border-bottom {
    transform: scaleX(1);
}

.btn-border-stroke:hover .border-left,
.btn-border-stroke:hover .border-right {
    transform: scaleY(1);
}

.btn-border-stroke:hover .border-left {
    transition: var(--ease-in-duration) var(--ease-in-exponential);
}

.btn-border-stroke:hover .border-bottom {
    transition: var(--ease-in-duration) var(--ease-in-exponential);
}

.btn-border-stroke:hover .border-right {
    transition: var(--ease-out-duration) var(--ease-out-delay) var(--ease-out-exponential);
}

.btn-border-stroke:hover .border-top {
    transition: var(--ease-out-duration) var(--ease-out-delay) var(--ease-out-exponential);
}

.btn-text-float-up::after {
    position: absolute;
    content: attr(data-text);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(35%);
    transition: 0.25s ease-out;
}

.btn-text-float-up .btn-text {
    display: block;
    color: #332;
    transition: 0.75s 0.1s var(--ease-out-exponential);
}

.btn-text-float-up:hover .btn-text {
    opacity: 1;

    /* transform: translateY(-25%); */
    transition: 0.25s ease-out;
    color: #333;
}

.btn-text-float-up:hover::after {
    opacity: 1;
    transform: translateY(0);
    transition: 0.75s 0.1s var(--ease-out-exponential);
}

.line {
    --p: 0;
    --s: calc(2*var(--p) - 1);
    display: flex;
    justify-content: space-around;
    justify-self: center;
    flex-direction: column;
    grid-row: 1/ span 1;
    grid-column: var(--col)/span 1;
    transform-origin: 50% calc(var(--p)*100%);
    transform: rotate(calc((var(--p)*(var(--n-cols) + 1) - var(--s)*var(--col) - 1)*5deg));
}

.line:nth-of-type(2n) {
    --p: 1;
}

.bubble {
    width: 14px;
    height: 14px;

    transform: scale(0.5);
    border-radius: 50%;
    background: #fff;
    animation: a 0.75s ease-in-out calc(var(--s)*var(--row)/var(--n-rows)*-3s + (var(--p)*(var(--n-cols) + 1) - var(--s)*var(--col) - 1)/var(--n-cols)*-1.5s - 7.5s) infinite alternate;
}

@keyframes a {
    to {
        transform: scale(0.1);
    }
}

:root {
    --n-cols: 9;
    --n-rows: 16
}

.line:nth-of-type(n + 1) {
    --col: 1
}

.line:nth-of-type(n + 3) {
    --col: 2
}

.line:nth-of-type(n + 5) {
    --col: 3
}

.line:nth-of-type(n + 7) {
    --col: 4
}

.line:nth-of-type(n + 9) {
    --col: 5
}

.line:nth-of-type(n + 11) {
    --col: 6
}

.line:nth-of-type(n + 13) {
    --col: 7
}

.line:nth-of-type(n + 15) {
    --col: 8
}

.line:nth-of-type(n + 17) {
    --col: 9
}

.bubble:nth-child(n + 1) {
    --row: 0
}

.bubble:nth-child(n + 3) {
    --row: 1
}

.bubble:nth-child(n + 5) {
    --row: 2
}

.bubble:nth-child(n + 7) {
    --row: 3
}

.bubble:nth-child(n + 9) {
    --row: 4
}

.bubble:nth-child(n + 11) {
    --row: 5
}

.bubble:nth-child(n + 13) {
    --row: 6
}

.bubble:nth-child(n + 15) {
    --row: 7
}

.bubble:nth-child(n + 17) {
    --row: 8
}

.bubble:nth-child(n + 19) {
    --row: 9
}

.bubble:nth-child(n + 21) {
    --row: 10
}

.bubble:nth-child(n + 23) {
    --row: 11
}

.bubble:nth-child(n + 25) {
    --row: 12
}

.bubble:nth-child(n + 27) {
    --row: 13
}

.bubble:nth-child(n + 29) {
    --row: 14
}

.bubble:nth-child(n + 31) {
    --row: 15
}

.xuanshitp {

    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    z-index: 1;
    top: 0;
    --d: calc(100vh/var(--n-rows));
    --max-d: calc(100vw/var(--n-cols));
    overflow: hidden;
    display: grid;
    margin: 0 auto;
    /* max-width: 135vh; */
    grid-template-columns: repeat(var(--n-cols), 1fr);
}