.wrapperClass {
  position: relative;
  perspective: 40em;
  display: grid;
  transform-style: preserve-3d;
}

.cardClass {
  grid-area: 1 / 1;
  height: 200px;
  width: 400px;
  transform: translateX(10px) rotateY(25deg) rotateX(10deg);
  /*background: rgba(249, 198, 26, 0.88);*/
  /*background: rgba(55, 152, 237, .88);*/
  background: url('./img/allServices/avio.jpg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 60px;
  color: #042e54;
  text-transform: uppercase;
  font-size: 60px;
  font-weight: 900;
  backface-visibility: hidden;
  box-shadow: 0 10px 30px -3px rgba(0,0,0,.1);
}

h1 {
  font-size: 43px;
  font-weight: 900;
}

.cardClass .enclosedSpan {
  background: #042e54;
  line-height: 1;
  /*color: rgba(249, 198, 26, 1);*/
  color: rgba(55, 152, 237, 1);
  padding: 1px 5px;
  display: inline-block;
  transform: translate(-1px, 1px) scale(0.75);
  transform-origin: right center;
}

.wrapperClass:hover {
    cursor: pointer;
}

.wrapperClass:before {
  --bw: 9px;
  grid-area: 1 / 1;
  content: '';
  backface-visibility: hidden;
  height: 100%;
  width: 100%;
  margin-top: calc(-1 * var(--bw));
  margin-left: calc(-1 * var(--bw));
  background: transparent;
  transform: translateX(-60px) rotateY(-30deg) rotateX(15deg) scale(1.03);
  pointer-events: none;
  border: var(--bw) solid #042e54;
  box-sizing: content-box;
}


.wrapperClass:hover > div,
.wrapperClass:hover:before {
  transform: none;
}


.wrapperClass > div,
.wrapperClass:before {
  will-change: transform;
  transition: .3s transform cubic-bezier(.25,.46,.45,1);
}

#allServicesSection {
  display: grid;
  place-items: center;
  background:
    linear-gradient(to bottom, #802718 15%, transparent),
    radial-gradient(circle at 100% 0%, rgba(10,28,87,.2) 10%, transparent 20%) center center / 15px 15px,
    linear-gradient(to bottom, #802718, #FFFFFF);
    font-family: Prompt;
}

/************** SCALABLE **************/

.wrapperClass2 {
  position: relative;
  perspective: 40em;
  display: grid;
  transform-style: preserve-3d;
}

.cardClass2 {
  grid-area: 1 / 1;
  height: 200px;
  width: 400px;
  transform: translateX(10px) rotateY(25deg) rotateX(10deg);
  /*background: rgba(249, 198, 26, 0.88);*/
  /*background: rgba(55, 152, 237, .88);*/
  /*background: url('./img/allServices/avio.jpg');
  background-repeat: no-repeat;
  background-size: 100% 100%;*/
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 60px;
  color: #042e54;
  text-transform: uppercase;
  font-size: 60px;
  font-weight: 900;
  backface-visibility: hidden;
  box-shadow: 0 10px 30px -3px rgba(0,0,0,.1);
}

.wrapperClass2:nth-of-type(1) .cardClass2 {
  background: url('./img/allServices/avio.jpg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.wrapperClass2:nth-of-type(2) .cardClass2 {
  background: url('./img/allServices/sea.jpg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.cardClass2 h1 {
  font-size: 32px;
  font-weight: 900;
}

.cardClass2 .enclosedSpan2 {
  background: #042e54;
  line-height: 1;
  /*color: rgba(249, 198, 26, 1);*/
  color: rgba(55, 152, 237, 1);
  padding: 1px 5px;
  display: inline-block;
  transform: translate(-1px, 1px) scale(0.75);
  transform-origin: right center;
}

.wrapperClass2:hover {
    cursor: pointer;
}

.wrapperClass2:before {
  --bw: 9px;
  grid-area: 1 / 1;
  content: '';
  backface-visibility: hidden;
  height: 100%;
  width: 100%;
  margin-top: calc(-1 * var(--bw));
  margin-left: calc(-1 * var(--bw));
  background: transparent;
  transform: translateX(-60px) rotateY(-30deg) rotateX(15deg) scale(1.03);
  pointer-events: none;
  border: var(--bw) solid #042e54;
  box-sizing: content-box;
}


.wrapperClass2:hover > div,
.wrapperClass2:hover:before {
  transform: none;
}


.wrapperClass2 > div,
.wrapperClass2:before {
  will-change: transform;
  transition: .3s transform cubic-bezier(.25,.46,.45,1);
}

#allServicesSection2 {
  display: grid;
  place-items: center;
  background:
    linear-gradient(to bottom, #c7f7ff 15%, transparent),
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.2) 10%, transparent 20%) center center / 15px 15px,
    linear-gradient(to bottom, #c7f7ff, #FFFFFF);
    font-family: Prompt;
}

#allServices {
  display: grid;
  place-items: center;
  background:
    linear-gradient(to bottom, #9E9B9B 15%, transparent),
    radial-gradient(circle at 100% 0%, rgba(10,28,87,.2) 10%, transparent 20%) center center / 15px 15px,
    linear-gradient(to bottom, #9E9B9B, #FFFFFF);
    font-family: 'BankGothic Regular';
}

/****************** ******************/

#allServices h1 {
    font-family: 'BankGothic Regular';
    color: #f1f1f1;
    text-shadow: 1px 1px 2px #5c1206;
}

.encloser {
}

.serviceOption {
    min-height: 30vh;
    color: #f1f1f1;
    border-radius: 2vw;
    border: 2px solid #5c1206;
}

.serviceOption:hover {
    cursor: pointer;
    -webkit-animation: shadow-drop-center 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: shadow-drop-center 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.serviceOption:nth-of-type(1) {
    background: url('./img/allServices/avio.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.serviceOption:nth-of-type(2) {
    background: url('./img/allServices/sea.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.serviceOption:nth-of-type(3) {
    background: url('./img/allServices/road.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.serviceOption:nth-of-type(4) {
    background: url('./img/allServices/logistics.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#allServices h3 {
    font-size: 3vw;
    font-weight: 700;
    text-shadow: 2px 2px 4px #5c1206, -2px -2px 4px #5c1206;
}

@-webkit-keyframes shadow-drop-center {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
            box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 30px 0px rgba(0, 0, 0, 0.40);
            box-shadow: 0 0 30px 0px rgba(0, 0, 0, 0.40);
  }
}
@keyframes shadow-drop-center {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
            box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 30px 0px rgba(0, 0, 0, 0.40);
            box-shadow: 0 0 30px 0px rgba(0, 0, 0, 0.40);
  }
}

a {
  color:inherit;
  text-decoration: none;
}

a:hover { color: tomato !important; }

#allServices h3:hover {
    color: tomato;
    -webkit-animation: text-blur-out 1.4s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
	        animation: text-blur-out 1.4s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

@-webkit-keyframes text-blur-out {
  0% {
    -webkit-filter: blur(0.01);
            filter: blur(0.01);
  }
  100% {
    -webkit-filter: blur(12px) opacity(0%);
            filter: blur(12px) opacity(0%);
  }
}
@keyframes text-blur-out {
  0% {
    -webkit-filter: blur(0.01);
            filter: blur(0.01);
  }
  100% {
    -webkit-filter: blur(12px) opacity(0%);
            filter: blur(12px) opacity(0%);
  }
}

a:link, a:visited, a:active, a:focus, .btn-primary:active, .btn-primary:focus {
		text-decoration: none;
		outline: none !important;
}

/****************** ******************/

.serviceOption{
    z-index: 2;
}

.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: black;
}

.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(10, 28, 87, 0.2);
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}















