﻿
@import url("https://fonts.googleapis.com/css2?family=PT+Mono&family=Poppins:wght@400;600&display=swap");


h1,
h2 {
    font-weight: 600;
  
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.box {
    background-color: #bac2db;
    border: 1px solid #444b61;
    border-radius: 6px;
    margin: 10px;
    padding: 10px 30px;
}

button {
    align-items: center;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    height: 44px;
    margin: 15px 0;
    padding: 0 25px;
    position: relative;
    text-decoration: none;
    z-index: 1;
    &:before, &:after

{
    border-radius: 50px;
    content: "";
    display: block;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: clip-path 275ms ease-in-out;
}

&.dramatic:before,
&.dramatic:after {
    transition: none;
}

&:before {
    background: rgb(51, 56, 59);
    background: linear-gradient( 60deg, rgba(58, 62, 82, 1) 0%, rgba(96, 103, 136, 1) 100% );
    box-shadow: -1px 1px 1px 0px rgba(128, 141, 203, 1) inset, 0px 0px 0px 4px rgba(14, 16, 20, 0.7);
}

&:after {
    background: rgb(165, 58, 180);
    background: linear-gradient( 90deg, rgba(165, 58, 180, 1) 0%, rgba(244, 87, 87, 1) 100% );
    box-shadow: -1px 1px 1px 0px rgba(247, 147, 147, 1) inset, 0px 0px 0px 4px rgba(14, 16, 20, 0.7);
}

&.left-to-right:after {
    clip-path: inset(0 100% 0 0);
}

&.left-to-right:focus:after {
    clip-path: inset(0 0 0 0);
}

&.center-out-y:after {
    clip-path: inset(50% 0 50% 0);
}

&.center-out-y:focus:after {
    clip-path: inset(0 0 0 0);
}

&.center-out-x:after {
    clip-path: inset(0 50% 0 50%);
}

&.center-out-x:focus:after {
    clip-path: inset(0 0 0 0);
}

&.top-to-bottom:after {
    clip-path: inset(0 0 100% 0);
}

&.top-to-bottom:focus:after {
    clip-path: inset(0 0 0 0);
}

&.top-to-bottom.dramatic:focus:after {
    animation-name: topToBottom;
    animation-duration: 750ms;
    animation-fill-mode: forwards;
}

&.left-to-right.dramatic:focus:after {
    animation-name: leftToRight;
    animation-duration: 750ms;
    animation-fill-mode: forwards;
}

&.center-out-y.dramatic:focus:after {
    animation-name: centerOutY;
    animation-duration: 1000ms;
    animation-fill-mode: forwards;
}

&.center-out-x.dramatic:focus:after {
    animation-name: centerOutX;
    animation-duration: 1000ms;
    animation-fill-mode: forwards;
}

}

@keyframes topToBottom {
    0% {
        clip-path: inset(0 0 100% 0);
    }

    20% {
        clip-path: inset(0 0 0 0);
    }

    50% {
        clip-path: inset(0 0 50% 0);
    }

    60% {
        clip-path: inset(0 0 0 0);
    }

    75% {
        clip-path: inset(0 0 30% 0);
    }

    85% {
        clip-path: inset(0 0 0 0);
    }

    90% {
        clip-path: inset(0 0 20% 0);
    }

    94% {
        clip-path: inset(0 0 0 0);
    }

    96% {
        clip-path: inset(0 0 10% 0);
    }

    98% {
        clip-path: inset(0 0 0 0);
    }

    99% {
        clip-path: inset(0 0 3% 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes leftToRight {
    0% {
        clip-path: inset(0 100% 0 0);
    }

    20% {
        clip-path: inset(0 0 0 0);
    }

    50% {
        clip-path: inset(0 50% 0 0);
    }

    60% {
        clip-path: inset(0 0 0 0);
    }

    75% {
        clip-path: inset(0 30% 0 0);
    }

    85% {
        clip-path: inset(0 0 0 0);
    }

    90% {
        clip-path: inset(0 20% 0 0);
    }

    94% {
        clip-path: inset(0 0 0 0);
    }

    96% {
        clip-path: inset(0 10% 0 0);
    }

    98% {
        clip-path: inset(0 0 0 0);
    }

    99% {
        clip-path: inset(0 3% 0 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes centerOutY {
    0% {
        clip-path: inset(50% 0 50% 0);
    }

    20% {
        clip-path: inset(0 0 0 0);
    }

    50% {
        clip-path: inset(25% 0 25% 0);
    }

    60% {
        clip-path: inset(0 0 0 0);
    }

    75% {
        clip-path: inset(12.5% 0 12.5% 0);
    }

    85% {
        clip-path: inset(0 0 0 0);
    }

    90% {
        clip-path: inset(6% 0 6% 0);
    }

    94% {
        clip-path: inset(0 0 0 0);
    }

    96% {
        clip-path: inset(3% 0 3% 0);
    }

    98% {
        clip-path: inset(0 0 0 0);
    }

    99% {
        clip-path: inset(1.5% 0 1.5% 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes centerOutX {
    0% {
        clip-path: inset(0 50% 0 50%);
    }

    20% {
        clip-path: inset(0 0 0 0);
    }

    50% {
        clip-path: inset(0 25% 0 25%);
    }

    60% {
        clip-path: inset(0 0 0 0);
    }

    75% {
        clip-path: inset(0 12.5% 0 12.5%);
    }

    85% {
        clip-path: inset(0 0 0 0);
    }

    90% {
        clip-path: inset(0 6% 0 6%);
    }

    94% {
        clip-path: inset(0 0 0 0);
    }

    96% {
        clip-path: inset(0 3% 0 3%);
    }

    98% {
        clip-path: inset(0 0 0 0);
    }

    99% {
        clip-path: inset(0 1.5% 0 1.5%);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}









.tm-text-2xl {
    font-size: 1.0rem;
    line-height: 2rem;
}

.p-12 {
    padding: 2rem;
}




.gallery {
    --s: 300px;
    display: grid;
    transform-style: preserve-3d;
    --_p: perspective(calc(2.5* var(--s)));
    animation: r 9s infinite cubic-bezier(.5,-0.5,.5,1.5);
    justify-content: space-evenly;
    align-items: stretch;
    align-content: space-evenly;
}

    .gallery img {
        grid-area: 1/1;
        width: var(--s);
        aspect-ratio: 1;
        object-fit: cover;
        transform: var(--_t,) translateZ(calc(var(--s)/2));
    }

        .gallery img:nth-child(2) {
            --_t: rotateX(-90deg)
        }

        .gallery img:nth-child(3) {
            --_t: rotateY( 90deg)
        }

        .gallery img:nth-child(4) {
            --_t: rotateX(180deg) rotate( 90deg)
        }

        .gallery img:nth-child(5) {
            --_t: rotateX( 90deg)
        }

        .gallery img:nth-child(6) {
            --_t: rotateY(-90deg)
        }

@keyframes r {
    0%,3% {
        transform: var(--_p) rotate3d(0, 0, 0, 0deg)
    }

    14%,19% {
        transform: var(--_p) rotate3d(-1, 1, 0, 180deg)
    }

    31%,36% {
        transform: var(--_p) rotate3d(0, -1, 0, 90deg)
    }

    47%,52% {
        transform: var(--_p) rotate3d(1, 0, 0, 90deg)
    }

    64%,69% {
        transform: var(--_p) rotate3d(1, 0, 0, -90deg)
    }

    81%,86% {
        transform: var(--_p) rotate3d(0, 1, 0, 90deg)
    }

    97%,100% {
        transform: var(--_p) rotate3d(0, 0, 0, 0deg)
    }
}


body {
    font-family: Arial, Helvetica, sans-serif;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

