@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css);

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif
}

body {
  background-color: #f1f9fc;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.Card_card {
  width: 400px;
  height: 615px;
  border-radius: 30px;
  background-color: #f6fcfe;
  box-shadow: 0px 20px 70px 0px rgba(0, 0, 0, 0.21);
  position: relative;
  overflow: hidden;
}

.Card_card .Card_back {
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  margin-top: -130px;
  font-weight: 600;
  z-index: 1;
}

.Card_card .Card_back a {
  text-decoration: none;
}

.Card_card .Card_up {
  position: absolute;
  width: 100%;
  height: 437px;
  background-image: url(profile.jpg);
  background-position: top;
  background-size: cover;
  z-index: 3;
  text-align: center;
  transition: 0.5s ease-in-out;
}

.Card_on .Card_up {
  height: 100px;
  box-shadow: 0 0 30px #cfd8dc;
}

.Card_card .Card_up .Card_text {
  position: absolute;
  top: 319px;
  left: 0;
  right: 0;
  color: #f1f9fc;
  text-shadow: 0 0 10px #000;
  transition: 0.5s ease-in-out;
}

.Card_on .Card_up .Card_text {
  top: 20px;
}

.Card_text h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 600;
}

.Card_text p {
  margin: 0;
  font-size: 16px;
  color: #e3f1f5;
}

.Card_card .Card_up .Card_add {
  border-radius: 50%;
  background-color: #ed145b;
  box-shadow: 0px 5px 24px 0px rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 392px;
  left: 0;
  right: 0;
  margin: auto;
  width: 88px;
  height: 88px;
  transition: 0.5s ease-in-out;
}

.Card_on .Card_up .Card_add {
  transform: rotate(360deg) scale(0.5);
  top: 470px;
}

.Card_card .Card_up .Card_add i {
  color: #fff;
  font-size: 38px;
  line-height: 88px;
}

.Card_card .Card_down {
  background-color: #fff;
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 178px;
  z-index: 2;
  transition: 0.5s ease-in-out;
}

.Card_on .Card_down {
  height: 100px;
  box-shadow: 0 0 30px #cfd8dc;
}

.Card_card .Card_down div {
  width: 33.333%;
  float: left;
  text-align: center;
  margin-top: 60px;
  font-size: 18px;
  transition: 0.5s ease-in-out;
}

.Card_on .Card_down div {
  margin-top: 35px;
}

.Card_card .Card_down div p:first-of-type {
  color: #68818c;
  margin-bottom: 5px;
}

.Card_card .Card_down div p:last-of-type {
  color: #334750;
  margin-bottom: 0;
  font-weight: 700;
}

.Card_card .Card_back a i {
  margin: 10px;
  padding: 15px;
  width: 60px;
  font-size: 25px;
  border-radius: 15px;
  transition: 0.3s ease-in-out;
}

.Card_card .Card_back a i:hover {
  transform: scale(1.2);
}

.Card_card .Card_back a:nth-of-type(1) i {
  color: #4267B2;
  border: 2px solid #4267B2;
}

.Card_card .Card_back a:nth-of-type(2) i {
  color: #0077b5;
  border: 2px solid #0077b5;
}

.Card_card .Card_back a:nth-of-type(3) i {
  color: #8f00f5;
  border: 2px solid #8f00f5;
}

.Card_card .Card_back a:nth-of-type(4) i {
  color: #e1306c;
  border: 2px solid #e1306c;
}

.Card_card .Card_back a:nth-of-type(5) i {
  color: #1da1f2;
  border: 2px solid #1da1f2;
}

.Card_card .Card_back a:nth-of-type(6) i {
  color: #ea4c89;
  border: 2px solid #ea4c89;
}

@media (max-width: 990px) {
  .Card_card {
    width: 310px;
    height: 600px;
  }
}
