/* google front */
/* @import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap'); */
@import './google-front.css';

*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body
{
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(45deg, #00bcd4, #ffeb3d);
}

.container
{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap:wrap;
  gap: 100px 50px;
  padding: 100px 50px;
}

.container .card
{
  position: relative;
  width: 350px;
  height: 300px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, .15);
  transition: 0.5s;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.container .card:hover{
  height: 400px;
}

.container .card .imgBox
{
  position: absolute;
  top: 20px;
  width: 220px;
  height: 220px;
  border-radius: 12px;
  transition: 0.5s;
  overflow: hidden;
}

.container .card:hover .imgBox
{
  top: -100px;
  scale: 0.75;
  box-shadow: 0 15px 45px rgba(0, 0, 0, .2);
}

.container .card .imgBox img
{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container .card .content
{
  position: absolute;
  top: 252px;
  width: 100%;
  padding: 0 30px;
  height: 35px;
  overflow: hidden;
  text-align: center;
  transition: 0.5s;
}

.container .card:hover .content
{
  top:130px;
  height: 250px;
}

.container .card .content h2
{
  font-size: 1.5em;
  font-weight: 700;
  color: var(--clr);
}

.container .card .content p
{
  color: #333;
}

.container .card .content a
{
  position: relative;
  top:15px;
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--clr);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
}