@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #F5FAFA;
}

.container {
    position: relative;
    padding-right: 5%;
    padding-top: 2%;
    padding-left: 5%;
    display: inline-block;
    border-width: 1px;
    border-color: black;
}

.container>div {
    flex: 1;
    /*grow*/
}

.container .card {
    position: relative;
    width: 330px;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
}

.container .card {
    background: #ffe2e0;
}

.cards123 {
    display: flex;
    /* align-items: center; */
}

.container .card1 {
    position: relative;
    width: 330px;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
}

.container .card1 {
    background: #E9F8FB;
}

.container .card2 {
    position: relative;
    width: 330px;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
}

.container .card2 {
    background: #E8EBFC;
}


/* //circle-bg */


/* 
.container .card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    clip-path: circle(130px at 80% 20%);
    transition: 0.5s ease-in-out;
}

.container .card1:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    clip-path: circle(130px at 80% 20%);
    transition: 0.5s ease-in-out;
}

.container .card2:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    clip-path: circle(130px at 80% 20%);
    transition: 0.5s ease-in-out;
} */


/* circle transition on hover  */


/* 
.container .card:hover:before {
    clip-path: circle(300px at 80% -20%);
}

.container .card1:hover:before {
    clip-path: circle(300px at 80% -20%);
}

.container .card2:hover:before {
    clip-path: circle(300px at 80% -20%);
} */

.container .card:after {
    content: '';
    position: absolute;
    top: 30%;
    left: -20%;
    font-size: 12em;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 25, 0.05)
}

.container .card1:after {
    content: '';
    position: absolute;
    top: 30%;
    left: -20%;
    font-size: 12em;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 25, 0.05)
}

.container .card2:after {
    content: '';
    position: absolute;
    top: 30%;
    left: -20%;
    font-size: 12em;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 25, 0.05)
}

.container .card .imgBx {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 100%;
    height: 220px;
    transition: 0.5s;
}

.container .card1 .imgBx {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 100%;
    height: 220px;
    transition: 0.5s;
}

.container .card2 .imgBx {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 100%;
    height: 220px;
    transition: 0.5s;
}

.container .card:hover .imgBx {
    top: 0%;
    transform: translateY(0%);
}

.container .card1:hover .imgBx {
    top: 0%;
    transform: translateY(0%);
}

.container .card2:hover .imgBx {
    top: 0%;
    transform: translateY(0%);
}

.container .card .imgBx img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 270px;
}

.container .card1 .imgBx img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 270px;
}

.container .card2 .imgBx img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 270px;
}

.container .card .contentBx {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 200px;
    text-align: center;
    transition: 1s;
    z-index: 1;
}

.container .card1 .contentBx {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 200px;
    text-align: center;
    transition: 1s;
    z-index: 1;
}

.container .card2 .contentBx {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 200px;
    text-align: center;
    transition: 1s;
    z-index: 1;
}


/* .container .card:hover .contentBx {
    height: 210px;
} */


/* .container .card1:hover .contentBx {
    height: 210px;
}

.container .card2:hover .contentBx {
    height: 210px;
} */


/* h2 formatting  */

.container .card .contentBx h2 {
    position: relative;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgb(0, 0, 0);
    margin: 0;
}

.container .card1 .contentBx h2 {
    position: relative;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgb(0, 0, 0);
    margin: 0;
}

.container .card2 .contentBx h2 {
    position: relative;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgb(0, 0, 0);
    margin: 0;
}

.card {
    padding-top: 10px;
    border-style: solid;
    border-width: 2px;
    border-color: rgb(255, 255, 255);
    box-shadow: 0 4px 20px rgba(61, 159, 255, 0.2)
}

.card1 {
    padding-top: 10px;
    border-style: solid;
    border-width: 2px;
    border-color: rgb(255, 255, 255);
    box-shadow: 0 4px 20px rgba(61, 159, 255, 0.2)
}

.card2 {
    padding-top: 10px;
    border-style: solid;
    border-width: 2px;
    border-color: rgb(255, 255, 255);
    box-shadow: 0 4px 20px rgba(61, 159, 255, 0.2)
}

.button-popup {
    box-shadow: 0 4px 20px rgba(61, 159, 255, 0.2)
}

.button-popup:hover {
    padding-top: 10px;
    border-style: solid;
    border-width: 2px;
    border-color: rgb(0, 0, 0);
}


/* .container .card .contentBx .size,
.container .card .contentBx .color {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 20px;
    transition: 0.5s;
    opacity: 0;
    visibility: hidden;
    padding-top: 0;
    padding-bottom: 0;
} */


/* .container .card1 .contentBx .size,
.container .card .contentBx .color {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 20px;
    transition: 0.5s;
    opacity: 0;
    visibility: hidden;
    padding-top: 0;
    padding-bottom: 0;
}

.container .card2 .contentBx .size,
.container .card .contentBx .color {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 20px;
    transition: 0.5s;
    opacity: 0;
    visibility: hidden;
    padding-top: 0;
    padding-bottom: 0;
} */


/* .container .card:hover .contentBx .size {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.5s;
} */

.container .card1:hover .contentBx .size {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.5s;
}

.container .card2:hover .contentBx .size {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.5s;
}

.container .card:hover .contentBx .color {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.6s;
}

.container .card1:hover .contentBx .color {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.6s;
}

.container .card2:hover .contentBx .color {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.6s;
}

.container .card .contentBx .size h3,
.container .card .contentBx .color h3 {
    color: rgb(0, 0, 0);
    font-weight: 300;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-right: 10px;
}

.container .card1 .contentBx .size h3,
.container .card .contentBx .color h3 {
    color: rgb(0, 0, 0);
    font-weight: 300;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-right: 10px;
}

.container .card2 .contentBx .size h3,
.container .card .contentBx .color h3 {
    color: rgb(0, 0, 0);
    font-weight: 300;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-right: 10px;
}

.container .card .contentBx .size span {
    width: 26px;
    height: 26px;
    text-align: center;
    line-height: 26px;
    font-size: 14px;
    display: inline-block;
    color: rgb(255, 255, 255);
    background: #fff;
    margin: 0 5px;
    transition: 0.5s;
    color: #111;
    border-radius: 4px;
    cursor: pointer;
}

.container .card1 .contentBx .size span {
    width: 26px;
    height: 26px;
    text-align: center;
    line-height: 26px;
    font-size: 14px;
    display: inline-block;
    color: rgb(255, 255, 255);
    background: #fff;
    margin: 0 5px;
    transition: 0.5s;
    color: #111;
    border-radius: 4px;
    cursor: pointer;
}

.container .card2 .contentBx .size span {
    width: 26px;
    height: 26px;
    text-align: center;
    line-height: 26px;
    font-size: 14px;
    display: inline-block;
    color: rgb(255, 255, 255);
    background: #fff;
    margin: 0 5px;
    transition: 0.5s;
    color: #111;
    border-radius: 4px;
    cursor: pointer;
}

.container .card .contentBx .size span:hover {
    background: #ffffff;
}

.container .card1 .contentBx .size span:hover {
    background: #ffffff;
}

.container .card2 .contentBx .size span:hover {
    background: #ffffff;
}


/* .container .card .contentBx .color span{
  width: 20px;
  height: 20px;
  background: #ff0;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
} */


/* .container .card .contentBx .color span:nth-child(2){
  background: #9bdc28;
}

.container .card .contentBx .color span:nth-child(3){
  background: #03a9f4;
}

.container .card .contentBx .color span:nth-child(4){
  background: #e91e63;
} */

.container .card .contentBx a {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    border-radius: 4px;
    margin-top: 10px;
    text-decoration: none;
    font-weight: 600;
    color: #111;
    opacity: 1;
    padding-top: 10px;
    /* transform: translateY(50px); */
    /* transition: 0.5s; */
    margin-top: 0;
}

.container .card1 .contentBx a {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    border-radius: 4px;
    margin-top: 10px;
    text-decoration: none;
    font-weight: 600;
    color: #111;
    opacity: 1;
    padding-top: 10px;
    /* transform: translateY(50px);
    transition: 0.5s; */
    margin-top: 0;
}

.container .card2 .contentBx a {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    border-radius: 4px;
    margin-top: 10px;
    text-decoration: none;
    font-weight: 600;
    color: #111;
    opacity: 1;
    padding-top: 10px;
    /* transform: translateY(50px);
    transition: 0.5s; */
    margin-top: 0;
}


/* .container .card:hover .contentBx a {
    opacity: 1;
    transform: translateY(0px);
    transition-delay: 0.75s;
}

.container .card1:hover .contentBx a {
    opacity: 1;
    transform: translateY(0px);
    transition-delay: 0.75s;
}

.container .card2:hover .contentBx a {
    opacity: 1;
    transform: translateY(0px);
    transition-delay: 0.75s;
} */

@media (max-width: 786px) {
    .cards123 {
        flex-direction: column;
        margin: 0 auto;
    }
    .container {
        margin: 0 auto;
    }
    .container .card {
        height: 160px;
        vertical-align: middle;
        padding-top: 20%;
    }
    .container .card1 {
        height: 160px;
        vertical-align: middle;
        padding-top: 20%;
    }
    .container .card2 {
        height: 160px;
        vertical-align: middle;
        padding-top: 20%;
    }
}