.packages__text{
  margin-bottom:30px;
}
.packages__text p{
  line-height: 19px;
  margin:10px 0 15px 0;
}

.company-class .text-clamp {
  margin-bottom: 40px;
}

.cruise-logo {
  position: relative;
}

.blocks_content{
  background-color:#fff;
  padding:20px 10px;
}

.cruise-logo__frame {
  position: relative;
  -webkit-perspective: 200px;
          perspective: 200px;
}

.cruise-logo__frame::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease 0s;
  z-index: -2;
  -webkit-transform-origin: bottom;
          transform-origin: bottom;
  background: var(--colorBlueAccent);
}

.cruise-logo__frame::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  transition: all 0.3s ease 0s;
  z-index: -1;
  -webkit-transform-origin: bottom;
          transform-origin: bottom;
  background: #F7F7F7;
}

.cruise-logo span {
  display: block;
  height: 60px;
  background-repeat: no-repeat;
  background-size: auto 56px;
  background-position: center;
  margin-bottom: 12px;
  position: relative;
  transition: all 0.3s ease 0s;
  -webkit-transform: translateY(0px) scale(1);
          transform: translateY(0px) scale(1);
}

.cruise-logo h3 {
  color: var(--colorBlue);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  transition: color 0.3s;
}

@-webkit-keyframes bounce-logo {
  0%, 100% {
    -webkit-transform: translateY(-20px) scale(1.1) rotate(0deg);
            transform: translateY(-20px) scale(1.1) rotate(0deg);
  }

  25% {
    -webkit-transform: translateY(-23px) scale(1.1) rotate(-1deg);
            transform: translateY(-23px) scale(1.1) rotate(-1deg);
  }

  50% {
    -webkit-transform: translateY(-26px) scale(1.1) rotate(0deg);
            transform: translateY(-26px) scale(1.1) rotate(0deg);
  }

  75% {
    -webkit-transform: translateY(-23px) scale(1.1) rotate(1deg);
            transform: translateY(-23px) scale(1.1) rotate(1deg);
  }
}

@keyframes bounce-logo {
  0%, 100% {
    -webkit-transform: translateY(-20px) scale(1.1) rotate(0deg);
            transform: translateY(-20px) scale(1.1) rotate(0deg);
  }

  25% {
    -webkit-transform: translateY(-23px) scale(1.1) rotate(-1deg);
            transform: translateY(-23px) scale(1.1) rotate(-1deg);
  }

  50% {
    -webkit-transform: translateY(-26px) scale(1.1) rotate(0deg);
            transform: translateY(-26px) scale(1.1) rotate(0deg);
  }

  75% {
    -webkit-transform: translateY(-23px) scale(1.1) rotate(1deg);
            transform: translateY(-23px) scale(1.1) rotate(1deg);
  }
}

@media (min-width: 998px) {
  .cruise-logo:hover .cruise-logo__frame::before {
    -webkit-transform: rotateX(40deg);
            transform: rotateX(40deg);
  }

  .cruise-logo:hover .cruise-logo__frame::after {
    -webkit-transform: rotateX(40deg);
            transform: rotateX(40deg);
    background: #E9F2FC;
  }

  .cruise-logo:hover h3 {
    color: var(--colorBlueAccent);
  }

  .cruise-logo:hover span {
    -webkit-transform: translateY(-20px) scale(1.1);
            transform: translateY(-20px) scale(1.1);
    -webkit-animation: bounce-logo 4s linear infinite;
            animation: bounce-logo 4s linear infinite;
    -webkit-animation-delay: 0.4s;
            animation-delay: 0.4s;
  }
}

@media (max-width: 768px) {
  .company-class .text-clamp {
    margin-bottom: 24px;
  }

  .cruise-logo span {
    margin-bottom: 6px;
    height: 54px;
  }

  .cruise-logo h3 {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .cruise-logo span {
    margin-bottom: 4px;
    height: 36px;
  }

  .cruise-logo h3 {
    font-size: 16px;
  }
}