/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* cards */
:root {
    --q21-dur: all 650ms ease-in-out;
    --q21-dur-a: all 750ms ease-in-out;
    --q21-dur-b: all 850ms ease-in-out;
    --q21-item-height: 220px;
    --q21-item-gap: 10px;
    --q21-item-amount: 5;
    --q21-item-gap-space: var(--q21-item-gap) * (var(--q21-item-amount) - 1);
}

.q21cattoposttype-container,
.q21cattoposttype-animated-container {
    width: 100%;
    margin: auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.q21cattoposttype-item {
    background: #666;
    width: var(--q21-item-height);
    height: var(--q21-item-height);
    position: relative;
    margin: 20px;
    border-radius: 15px;
    box-sizing: border-box;
    color: #fff;
}

.q21cattoposttype-card {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    z-index: 10;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    -webkit-transition: var(--q21-dur);
    -moz-transition: var(--q21-dur);
    -ms-transition: var(--q21-dur);
    -o-transition: var(--q21-dur);
    transition: var(--q21-dur);
    clip-path: circle(100% at 50% 50%);
}

.q21cattoposttype-card .q21cattoposttype-img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    z-index: 10;
    height: 100%;
    width: auto;
    max-width: 9999px;
    overflow: hidden;
    border-radius: 15px;
    -webkit-transition: var(--q21-dur);
    -moz-transition: var(--q21-dur);
    -ms-transition: var(--q21-dur);
    -o-transition: var(--q21-dur);
    transition: var(--q21-dur);
    clip-path: circle(100% at 50% 50%);
    background-repeat: none;
    background-position: center;
    background-size: cover;
}

.q21cattoposttype-img {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.q21cattoposttype-titl-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
}

.q21cattoposttype-title {
    width: 100%;
    font-size: 1.4em;
    font-weight: 400;
    color: #333;
    word-wrap: break-word;
    padding: 20px;
    text-align: center;
    color: #fff;
}

.q21cattoposttype-item:hover .q21cattoposttype-card .q21cattoposttype-img {
    clip-path: circle(0% at 50% 50%);
}

.q21cattoposttype-circle {
    background: #1101e8;
    max-width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    -webkit-transition: var(--q21-dur-a);
    -moz-transition: var(--q21-dur-a);
    -ms-transition: var(--q21-dur-a);
    -o-transition: var(--q21-dur-a);
    transition: var(--q21-dur-a);
    clip-path: circle(100% at 50% 50%);
}

.q21cattoposttype-circle2 {
    background: #8e01e8;
    -webkit-transition: var(--q21-dur-b);
    -moz-transition: var(--q21-dur-b);
    -ms-transition: var(--q21-dur-b);
    -o-transition: var(--q21-dur-b);
    transition: var(--q21-dur-b);
    clip-path: circle(100% at 50% 50%);
}

.q21cattoposttype-item:hover .q21cattoposttype-card .q21cattoposttype-img {
    clip-path: circle(0% at 50% 50%);
}

.q21cattoposttype-item:hover .q21cattoposttype-card .q21cattoposttype-circle {
    clip-path: circle(0% at 75% 60%);
}

.q21cattoposttype-item:hover .q21cattoposttype-card .q21cattoposttype-circle2 {
    clip-path: circle(0% at 35% 20%);
}

.q21cattoposttype-img {
    max-width: 100%;
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

.q21cattoposttype-content {
    position: relative;
    z-index: 0;
    height: 100%;
}

.q21cattoposttype-content p {
    height: calc(var(--q21-item-height) - 60px);
    padding: 20px;
    word-wrap: break-word;
    overflow: hidden;
}

.q21cattoposttype-button {
    position: absolute;
    display: inline-block;
    height: 30px;
    bottom: 10px;
    right: 10px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgb(255, 255, 255);
    background: #fff;
    border-radius: 25px;
    outline: none;
    overflow: hidden;
    color: rgb(0, 0, 0, 0.7);
    transition: all 0.3s 0.1s ease-out;
    text-align: center;
}

.q21cattoposttype-button span {
    margin: 10px;
}

.q21cattoposttype-button::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    content: "";
    border-radius: 50%;
    display: block;
    width: 20em;
    height: 20em;
    left: -5em;
    text-align: center;
    transition: box-shadow 0.5s ease-out;
    z-index: -1;
}

.q21cattoposttype-card a .q21cattoposttype-button:hover {
    color: #fff;
    background: transparent;
    border: 1px solid rgb(255, 255, 255, 0.6);
}

.q21cattoposttype-button:hover::before {
    box-shadow: inset 0 0 0 10em rgb(255, 255, 255, 0.6);
}

/* grid cards*/
.q21cattoposttype-grid-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--q21-item-gap);
}

.q21cattoposttype-grid-container>div {
    border-radius: 0.5rem;
    transition: 0.3s ease-in-out;
    cursor: pointer;
    box-shadow: 1px 5px 15px #1e0e3e;
    position: relative;
    overflow: hidden;
}

body .q21cattoposttype-card-wrapper .q21cattoposttype-card__img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 50s ease-in-out;
}

.q21cattoposttype-grid-container>div .q21cattoposttype-card-content {
    font-size: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 15px 15px 50px 15px;
    opacity: 0;
    flex-direction: column;
    height: 100px;
    justify-content: flex-end;
    background: #02022e;
    background: linear-gradient(0deg,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(255, 255, 255, 0) 100%);
    transform: translatey(100%);
    transition: height 0.3s ease-in-out, opacity 0.3s ease-in-out,
        transform 0.3s 0.2s;
    visibility: hidden;
}

.q21cattoposttype-grid-container>div .q21cattoposttype-card-content span {
    display: block;
    margin-top: 5px;
    font-size: 1.2rem;
    overflow-y: auto;
}

.q21cattoposttype-card-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    background: rgba(0, 0, 0, 0.3) 0%;
}

.q21cattoposttype-card-title h2 {
    text-align: center;
    margin: 0;
    color: #fff;
}

.q21cattoposttype-grid-container>div.active {
    box-shadow: 1px 3px 15px #7645d8;
    z-index: 1;
}

.q21cattoposttype-grid-container>div.active .q21cattoposttype-card-content {
    opacity: 1;
    transform: translatey(0%);
    height: 400px;
    visibility: visible;
}

.q21cattoposttype-grid-container>div.active .q21cattoposttype-card-title {
    transform: translatey(-200%);
    opacity: 0;
}

.q21cattoposttype-grid-container>div:hover .q21cattoposttype-card__img,
.q21cattoposttype-grid-container>div:active .q21cattoposttype-card__img {
    transform: scale(5);
}

.q21cattoposttype-card-content h2 {
    color: #fff;
}

.q21cattoposttype-flip-container {
    display: flex;
    justify-content: flex-start;
    flex-flow: row wrap;
    gap: 10px;
}

.card {
    overflow: visible;
    width: 190px;
    height: 254px;
}

.content {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 300ms;
    box-shadow: 0px 0px 10px 1px #000000ee;
    border-radius: 5px;
}

.front,
.back {
    background-color: #555;
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 5px;
    overflow: hidden;
}

.back {
    width: 100%;
    height: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.back::before {
    position: absolute;
    content: " ";
    display: block;
    width: 160px;
    height: 160%;
    background: linear-gradient(90deg,
            transparent,
            #ff9966,
            #ff9966,
            #ff9966,
            #ff9966,
            transparent);
    animation: rotation_481 5000ms infinite linear;
}

.front-end-container {
    height: calc(100% - 50px);
    margin-bottom: 50px;
    overflow: hidden;
}

.back-content {
    position: absolute;
    width: 99%;
    height: 99%;
    /* background-color: linear-gradient(90deg, transparent, #ff9966, #ff9966, #ff9966, #ff9966, transparent); */
    border-radius: 5px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.q21cattoposttype-flip__name {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    width: 100%;
    padding-bottom: 30px;
    background: linear-gradient(0deg,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(255, 255, 255, 0) 100%);
}

.card:hover .content {
    transform: rotateY(180deg);
}

@keyframes rotation_481 {
    0% {
        transform: rotateZ(0deg);
    }

    0% {
        transform: rotateZ(360deg);
    }
}

.front {
    transform: rotateY(180deg);
    color: white;
}

.front .front-content {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.front-content .badge {
    /* background-color: #00000055; */
    padding: 2px 10px;
    border-radius: 10px;
    backdrop-filter: blur(2px);
    width: fit-content;
    color: #fff;
}

.description {
    /* box-shadow: 0px 0px 10px 5px #00000088; */
    width: 100%;
    padding: 10px;
    /* background-color: #00000099; */
    backdrop-filter: blur(5px);
    border-radius: 5px;
}

.title {
    font-size: 11px;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
}

.title p {
    width: 50%;
}

.card-footer {
    color: #ffffff88;
    margin-top: 5px;
    font-size: 8px;
}

.q21cattoposttype-animated-container {
    gap: 16px;
}

.q21cattoposttype-animated__card {
    width: 280px;
    height: 280px;
    background: white;
    border-radius: 32px;
    padding: 3px;
    position: relative;
    box-shadow: #604b4a30 0px 70px 30px -50px;
    transition: all 0.5s ease-in-out;
}

.q21cattoposttype-animated__img {
    stroke: #fbb9b6;
    stroke-width: 3px;
}

.q21cattoposttype-animated__img:hover {
    stroke: #f55d56;
}

.q21cattoposttype-animated__card .q21cattoposttype-profile-pic {
    position: absolute;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    top: 3px;
    left: 3px;
    border-radius: 29px;
    z-index: 1;
    border: 0px solid #fbb9b6;
    overflow: hidden;
    transition: all 0.5s ease-in-out 0.2s, z-index 0.5s ease-in-out 0.2s;
}

.q21cattoposttype-animated__card .q21cattoposttype-profile-pic img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
    -o-object-position: 0px 0px;
    object-position: 0px 0px;
    transition: all 0.5s ease-in-out 0s;
}

.q21cattoposttype-animated__card .q21cattoposttype-profile-pic .q21cattoposttype-animated__img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 0px 0px;
    object-position: 0px 0px;
    transform-origin: 45% 20%;
    transition: all 0.5s ease-in-out 0s;
}

.q21cattoposttype-animated__card .q21cattoposttype-bottom {
    position: absolute;
    bottom: 3px;
    left: 3px;
    right: 3px;
    background: #fbb9b6;
    top: 80%;
    border-radius: 29px;
    z-index: 2;
    box-shadow: rgba(96, 75, 74, 0.1882352941) 0px 5px 5px 0px inset;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.q21cattoposttype-animated__card .q21cattoposttype-bottom .q21cattoposttype-animated__content {
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 160px;
}

.q21cattoposttype-animated__card .q21cattoposttype-bottom .q21cattoposttype-animated__content .name {
    display: block;
    font-size: 1.2rem;
    color: white;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.q21cattoposttype-animated__card .about-me {
    display: block;
    font-size: 0.9rem;
    color: white;
    margin-top: 1rem;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    transition-delay: 0.3s;
}

.q21cattoposttype-animated__card .q21cattoposttype-bottom .q21cattoposttype-bottom-bottom {
    position: absolute;
    bottom: 8px;
    left: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.q21cattoposttype-animated__card .q21cattoposttype-bottom .q21cattoposttype-bottom-bottom a{
    box-shadow: none;
}

.q21cattoposttype-animated__card .q21cattoposttype-bottom .q21cattoposttype-bottom-bottom .social-links-container {
    display: flex;
    gap: 1rem;
}

.q21cattoposttype-animated__card .q21cattoposttype-bottom .q21cattoposttype-bottom-bottom .social-links-container .q21cattoposttype-animated__img {
    height: 20px;
    fill: white;
    filter: drop-shadow(0 5px 5px rgba(165, 132, 130, 0.1333333333));
}

.q21cattoposttype-animated__card .q21cattoposttype-bottom .q21cattoposttype-bottom-bottom .social-links-container .q21cattoposttype-animated__img:hover {
    /* fill: #f55d56; */
    transform: scale(1.2);
}

.q21cattoposttype-animated__card .q21cattoposttype-animated__button {
    background: white;
    color: #333;
    border: none;
    border-radius: 20px;
    font-size: 0.7em;
    padding: 0.4rem 0.6rem;
    box-shadow: rgba(165, 132, 130, 0.1333333333) 0px 5px 5px 0px;
    transform: translateX(500px);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.q21cattoposttype-animated__card .q21cattoposttype-animated__button:hover {
    background: #666;
    color: white;
}

.q21cattoposttype-animated__card:hover {
    border-top-left-radius: 55px;
}

.q21cattoposttype-animated__card:hover .q21cattoposttype-bottom {
    top: 20%;
    border-radius: 80px 29px 29px 29px;
    transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0.2s;
}

.q21cattoposttype-animated__card:hover .q21cattoposttype-profile-pic {
    width: 100px;
    height: 100px;
    aspect-ratio: 1;
    top: 10px;
    left: 10px;
    border-radius: 50%;
    z-index: 3;
    border: 7px solid #fbb9b6;
    box-shadow: rgba(96, 75, 74, 0.1882352941) 0px 5px 5px 0px;
    transition: all 0.5s ease-in-out, z-index 0.5s ease-in-out 0.1s;
}

.q21cattoposttype-animated__card:hover .q21cattoposttype-profile-pic:hover {
    transform: scale(1.3);
    border-radius: 0px;
}

.q21cattoposttype-animated__card:hover .q21cattoposttype-profile-pic .q21cattoposttype-animated__img {
    transform: scale(1.2);
    transition: all 0.5s ease-in-out 0.5s;
}

.q21cattoposttype-bottom-bottom__name {
    position: relative;
    display: inline-block;
    color: white;
    bottom: 5px;
    transform: translateX(0px);
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.q21cattoposttype-animated__card:hover .q21cattoposttype-bottom-bottom__name {
    transform: translateX(-1000px);
}

.q21cattoposttype-animated__card:hover .q21cattoposttype-animated__button {
    transform: translateX(0px);
}

.q21cattoposttype-animated__card:hover .about-me {
    opacity: 1;
}

.q21cattoposttype-animated__card:not(:hover) .about-me {
    transition: opacity 0.4s ease-in-out;
}

/* caroussel */

.q21cattoposttype-caroussel-container {
    position: relative;
    color: #fff;
    background-color: #021417;
}

.q21cattoposttype-caroussel-container ul {
    list-style: none;
}

.q21cattoposttype-caroussel-container .container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: stretch;
    min-height: 100%;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

.c-header {
    display: block;
    width: 100%;
}

.u-a5 {
    font-family: Arial;
    font-size: 37px;
    line-height: 35px;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.u-b4 {
    font-family: Arial;
    font-size: 12px;
    line-height: 17px;
    letter-spacing: 0.3px;
    font-weight: normal;
    color: #fff;
}

.q21cattoposttype-li-content {
    display: inline-block;
}

.q21cattoposttype-li-content a {
    display: block;
    text-decoration: none;
    box-shadow: none !important;
    color: #fff;
}

.q21cattoposttype-li-content a:hover {
    box-shadow: none !important;
    color: #fff !important;
}

.u-media-wrapper {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    height: 0;
}

.u-media-wrapper.u-media-wrapper--16-9 {
    padding-bottom: 56.25%;
}

.c-gradient-overlay {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 49% 50%,
            rgba(2, 21, 25, 0.3),
            rgba(2, 21, 25, 0.6));
}

.c-mouse-vertical-carousel {
    position: relative;
    overflow: hidden;
}

.c-mouse-vertical-carousel__list {
    width: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 1;
}

.c-mouse-vertical-carousel__list-item .q21cattoposttype-li-content {
    display: block;
    padding-bottom: 25px;
    padding-top: 25px;
    padding-left: 20%;
}

.c-mouse-vertical-carousel__eyebrow {
    position: relative;
    padding-bottom: 12px;
}

.c-mouse-vertical-carousel__eyebrow span {
    position: absolute;
    left: -30px;
    top: 2px;
}

.c-mouse-vertical-carousel__title {
    max-width: 100%;
}

.c-mouse-vertical-carousel__title .q21cattoposttype-caroussel__name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.c-mouse-vertical-carousel__bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.q21cattoposttype-caroussel__button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35px;
    font-size: 1rem;
    font-weight: 300;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 500px;
    padding: 0 16px;
    margin-top: 16px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.q21cattoposttype-caroussel__button--visible .q21cattoposttype-caroussel__button {
    opacity: 1;
    transform: translateX(0px);
}

@media (max-width: 550px) {
    .q21cattoposttype-caroussel__name {
        font-size: 20px;
        font-weight: 600;
    }

    .q21cattoposttype-caroussel__button {
        height: 30px;
        font-size: 0.8rem;
    }
}