/* Google Fonts */
/* import here google font */
@import url('https://fonts.googleapis.com/css2?family=Teko:wght@400;500&family=Ysabeau+Office:wght@400;500&display=swap');

/*=============== CSS VARIABLES ===============*/
:root {
    /*========== Colors ==========*/
    --dark-color: hsl(240, 2%, 9%);
    --dark-color-light: hsl(0, 0%, 100%);
    --first-color: #9d4edd;
    --text-color: hsl(0, 0%, 100%);
    --body-color: hsl(29, 100%, 99%);

    --body-font: 'Tektur', cursive;
    --h3-font-size: 1.5rem;
    --smaller-font-size: .90rem;
}

/*=============== BASE ===============*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tektur', cursive;
}

/*========== BODY ==========*/
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to right, #bb9ace, #71408a);
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/*=============== CARD ===============*/
.card {
    position: relative;
    width: 350px;
    height: 220px;
    background: var(--first-color);
    border-radius: 20px;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
    transition: 0.5s;

}

.card:hover {
    height: 480px;
}

.imgBx {
    position: absolute;
    left: 50%;
    top: -50px;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.50);
    overflow: hidden;
    transition: 0.5s;

}

.imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card:hover .imgBx {
    width: 250px;
    height: 250px;
}

/* CONTENT */
.card .content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
}

.card .content .details {
padding: 10px;
    text-align: center;
    width: 100%;
    transform: translateY(150px);
    transition: 0.5s;
    margin-bottom: 55px;
}

.card:hover .content .details {
    transform: translateY(0px);
}

.card .content .details h2 {
    font-size: 1.25em;
    font-weight: 600;
    color: var(--dark-color-light);
    line-height: 1.2em;
}

.card .content .details h2 span {
    font-size: 0.75em;
    font-weight: 500;
    opacity: 0.5;
    color: var(--dark-color);
}

.card .content .details .data {
    display: flex;
    justify-content: space-between; 
    margin: 20px 10px;
}

.card .content .details .tata {
    /* display: flex; */
    justify-content: space-between; 
    margin: 20px 10px;
}
/* .card .content .details .bata {
    display: flex;
    justify-content: space-between; 
   margin-top: 1000px;
} */
.card .content .details .data h3 {
    font-size: 1em;
    color: var(--dark-color);
    line-height: 1.2em;
    font-weight: 600;
}

.card .content .details .data h3 span {
    font-size: 0.85em;
    font-weight: 400;
    color: var(--dark-color);
    opacity: 0.6;
}

.card .content .details .actionBtn {
    display: flex;
    justify-content: space-between;
}

.card .content .details .actionBtn button {
    padding: 10px 30px;
    border-radius: 20px;
    border: none;
    outline: none;
    font-size: 1em;
    font-weight: 500;
    background: #fff;
    color: var(--first-color);
    cursor: pointer;
}

.card .content .details .actionBtn button:nth-child(2) {
    border: 1px solid #999;
    color: var(--dark-color);
    background: #fff;
}


/* SOCIAL ICONS */
.card_social {
    width: 260px;
    background-color: var(--dark-color);
    padding: 0.75rem;
    border-radius: 3rem;
    text-align: initial;
    box-shadow: 0 8px 24px black;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1.75rem;
    margin: 0 auto;
    overflow: hidden;
    transform-origin: 18px 17px;
}

.card_social-control {
    position: relative;
    transform-origin: 18px 18px;
    transition: transform 0.45s ease;
    transform: rotate(0);
}

.card_social-toggle {
    display: inline-flex;
    background-color: var(--first-color);
    color: var(--dark-color);
    font-size: 1.25rem;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.card_social-text {
    display: block;
    color: var(--first-color);
    font-size: var(--smaller-font-size);
    font-weight: 500;
}

.card_social-list {
    display: inline-flex;
    column-gap: 0.75rem;
    transform: rotate(135deg);
    transform-origin: 18px 17px;
}

.card_social-link {
    display: inline-flex;
    background-color: var(--dark-color-light);
    color: var(--first-color);
    font-size: 1.25rem;
    padding: 6px;
    border-radius: 50%;
}

.card_social-text,
.card_social-list {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding-left: 3.1rem;
}

.card_social-text {
    top: 0.5rem;
}

/* Animation on add button */
.animation .card_social-control {
    transform: rotate(-135deg);
}

.card_social.animation {
    animation: up-animation 1s ease-in-out forwards;
}

/* Keyframe animation  Up*/
@keyframes up-animation {

    0%,
    100% {
        transform: rotate(0);
    }

    50%,
    60% {
        transform: rotate(-3deg);
    }

    88% {
        transform: rotate(1deg);
    }
}

/*Down animation */
.card_social.down-animation {
    animation: down-animation 1s ease-in-out forwards;
}

/* Keyframes animation down*/
@keyframes down-animation {

    0%,
    100% {
        transform: rotate(0);
    }

    50%,
    60% {
        transform: rotate(6deg);
    }

    88% {
        transform: rotate(-1deg);
    }
}

/*END OF FILE */