.card-photo {
  margin: 20px;
  margin-left: -95px;
  width: 353px;
  height: 315px;
  position: relative;
  display: flex;
  justify-content: center;
  text-align: center;
  line-height: 150px;
  background-image: url(/img/hexagon.svg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }
  .card-photo:hover .text-inner {
    opacity: 1; }
  .card-photo h3 {
    font-size: 29rem;
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0px; }
  .card-photo p {
    text-align: center;
    font-weight: 600;
    color: var(--secondary-text);
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical; }
    .card-photo p strong {
      color: var(--element1-color); }
  .card-photo .wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; }
  .card-photo .text {
    padding: 20px; }
    .card-photo .text .title {
      max-width: 160px;
      word-break: break-word; }
  .card-photo .photo {
    margin-bottom: 30px; }
    .card-photo .photo .image {
      display: flex;
      justify-content: center;
      align-items: center; }
    .card-photo .photo img {
      max-width: 110px;
      max-height: 98px;
      object-fit: contain; }
  .card-photo .text-inner {
    width: 100%;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    top: 0;
    right: 0;
    padding: 57px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url(/img/hexagon_dark.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    position: absolute;
    opacity: 0;
    height: 100%; }
  .card-photo:nth-child(even) {
    margin-top: 185px; }
  .card-photo:first-child {
    margin-left: 0px; }
  .card-photo:after {
    content: "";
    height: 12px;
    width: 26px;
    background-image: url("/img/right-arrow-green.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: block;
    position: absolute;
    bottom: 40px; }

@media (max-width: 575.5px) {
  .card-photo-wrapper .row {
    justify-content: center; }

  .card-photo {
    width: 285px;
    height: 250px;
    margin: 20px !important; }
    .card-photo h3 {
      font-size: 26rem; }
    .card-photo .photo img {
      height: 55px; }
    .card-photo .text {
      padding: 0 15px; }
    .card-photo:after {
      bottom: 40px; } }
@media (min-width: 576px) and (max-width: 767.5px) {
  .card-photo {
    margin-left: -80px;
    width: 285px;
    height: 250px; }
    .card-photo:nth-child(2n+1) {
      margin-left: 0;
      margin-top: -140px; }
      .card-photo:nth-child(2n+1):first-child {
        margin-top: 0; }
    .card-photo:nth-child(n+4) {
      margin-top: -140px; }
      .card-photo:nth-child(n+4):nth-child(even) {
        margin-top: -5px; }
    .card-photo:nth-child(even) {
      margin-top: 135px; }
    .card-photo p {
      font-size: 14rem; }
    .card-photo h3 {
      font-size: 26rem; }
    .card-photo .photo img {
      height: 55px; }
    .card-photo .text {
      padding: 0 15px; }
    .card-photo:after {
      bottom: 30px; } }
@media (min-width: 768px) and (max-width: 991.5px) {
  .card-photo {
    margin-left: -75px;
    width: 270px;
    height: 235px; }
    .card-photo:nth-child(3n+1) {
      margin-top: -135px !important;
      margin-left: 0; }
      .card-photo:nth-child(3n+1):first-child {
        margin-top: 20px !important; }
    .card-photo:nth-child(3n+2) {
      margin-top: -5px !important; }
      .card-photo:nth-child(3n+2):nth-child(2) {
        margin-top: 145px !important; }
    .card-photo:nth-child(3n+3) {
      margin-top: -130px !important; }
      .card-photo:nth-child(3n+3):nth-child(3) {
        margin-top: 20px !important; }
    .card-photo:nth-child(even) {
      margin-top: 145px; }
    .card-photo h3 {
      font-size: 26rem; }
    .card-photo .photo img {
      height: 55px; }
    .card-photo .text {
      padding: 0 15px; }
    .card-photo:after {
      bottom: 30px; } }
@media (min-width: 992px) and (max-width: 1199.5px) {
  .card-photo {
    margin-left: -75px;
    width: 270px;
    height: 235px; }
    .card-photo:nth-child(4n+1) {
      margin-left: 0; }
    .card-photo:nth-child(n+5) {
      margin-top: -129px; }
      .card-photo:nth-child(n+5):nth-child(even) {
        margin-top: -5px; }
    .card-photo:nth-child(even) {
      margin-top: 145px; }
    .card-photo h3 {
      font-size: 26rem; }
    .card-photo .photo img {
      height: 55px; }
    .card-photo .text {
      padding: 0 15px; }
    .card-photo:after {
      bottom: 30px; } }
@media (min-width: 1200px) and (max-width: 1579.5px) {
  .card-photo {
    width: 325px;
    height: 270px;
    margin-left: -80px; }
    .card-photo:nth-child(4n+1) {
      margin-left: 0; }
    .card-photo:nth-child(n+5) {
      margin-top: -143px; }
      .card-photo:nth-child(n+5):nth-child(even) {
        margin-top: 0px; }
    .card-photo:nth-child(even) {
      margin-top: 167px; }
    .card-photo p {
      font-size: 14rem; }
    .card-photo .photo img {
      max-width: 80px;
      max-height: 80px; }
    .card-photo h3 {
      font-size: 24rem;
      margin-bottom: 5px; }
    .card-photo p {
      font-size: 16rem; }
    .card-photo .text {
      max-width: 178px; } }
@media (min-width: 1580px) {
  .card-photo:nth-child(5n+1) {
    margin-top: -135px !important;
    margin-left: 0; }
    .card-photo:nth-child(5n+1):first-child {
      margin-top: 20px !important; }
  .card-photo:nth-child(5n+2), .card-photo:nth-child(5n+4) {
    margin-top: 185px !important; }
  .card-photo:nth-child(5n+3), .card-photo:nth-child(5n+5) {
    margin-top: 20px !important; }
    .card-photo:nth-child(5n+3):nth-child(3), .card-photo:nth-child(5n+5):nth-child(3) {
      margin-top: 20px !important; }
  .card-photo:nth-child(5n+7), .card-photo:nth-child(5n+9) {
    margin-top: -3px !important; }
  .card-photo:nth-child(5n+6), .card-photo:nth-child(5n+8), .card-photo:nth-child(5n+10) {
    margin-top: -170px !important; } }

/*# sourceMappingURL=card_photo.css.map */
