/* FONTS */

/* Fonts */
@font-face {
  font-family: 'Rubik';
  font-weight: 300;
  src: url('../../ui/assets/fonts/Rubik/Rubik-Light.ttf');
  /* IE9 Compat Modes */
}

@font-face {
  font-family: 'Rubik';
  font-weight: 400;
  src: url('../../ui/assets/fonts/Rubik/Rubik-Regular.ttf');
  /* IE9 Compat Modes */
}

@font-face {
  font-family: 'Rubik';
  font-weight: 500;
  src: url('../../ui/assets/fonts/Rubik/Rubik-Medium.ttf');
  /* IE9 Compat Modes */
}

@font-face {
  font-family: 'Rubik';
  font-weight: 700;
  src: url('../../ui/assets/fonts/Rubik/Rubik-Bold.ttf');
  /* IE9 Compat Modes */
}

/* LOGO */

.header-logo {
  width: 30%;
}

@media (min-width: 768px) {
  .header-logo {
    width: 60%;
  }
}

/* Images */

.content-image {
  max-width: 50%;
  margin: auto auto;
}

.content-image-2 {
  max-width: 70%;
  margin: auto auto;
  text-align: center;
}

.content-image-3 {
  max-width: 85%;
  margin: auto auto;
}

/* Highlight Text */
.highlight {
  color: #ff5300;
}

/* ---------- CAROUSEL 1 --------- */

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.card-carousel {
  position: relative;
  margin-right: 40%;
  max-width: 10%;
  height: 450px;
  -webkit-perspective: 2000px;
  perspective: 2000px;
  -webkit-perspective-origin: top;
  perspective-origin: top;
}

.card-carousel .button-spin {
  position: absolute;
  top: 50%;
  margin-left: 20%;
  border: 0 none;
  background-color: transparent;
  cursor: pointer;
  font-family: 'Open Sans';
  font-weight: 800;
  padding: 10px 16px;
  text-shadow: 1px 1px 4px rgba(0, 54, 90, 0.5);
}

.card-carousel .button-spin:hover {
  -webkit-box-shadow: 0px 4px 4px 4px rgba(0, 54, 90, 0.15);
  box-shadow: 0px 4px 4px 4px rgba(0, 54, 90, 0.15);
}

.card-carousel .button-spin:active {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.card-carousel .button-spin.sub-counterclockwise {
  left: -0px;
}

.card-carousel .button-spin.sub-clockwise {
  right: -617px;
}

.card-carousel .inner-carousel {
  position: relative;
  width: 150%;
  margin-left: 80%;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.card-carousel .inner-carousel > div {
  position: absolute;
  margin: 0 auto;
  padding: 10px;
  width: 400px;
  height: 450px;
  margin-left: 140%;
  background-color: rgba(0, 0, 0, 0.041);
  color: #000;
  border-radius: 10px;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  z-index: 1;
  -webkit-box-shadow: 0px 10px 10px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 10px 10px 10px rgba(0, 0, 0, 0.15);
}

.card-carousel .inner-carousel > div:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  opacity: 0.7;
  background-color: black;
  z-index: 1;
}

.card-carousel .inner-carousel > div.counterclockwise:after,
.card-carousel .inner-carousel > div.clockwise:after {
  cursor: pointer;
}

.card-carousel .inner-carousel > div.front:after {
  content: none;
}

.card-carousel .inner-carousel > div.front {
  background-image: radial-gradient(
    circle 200px at center right,
    #ffffff,
    #ffffff
  );
}

#photo1 {
  background-image: url(../images/card_carousel/card1.gif);
  background-size: contain;
  background-repeat: round;
}

#photo2 {
  background-image: url(../images/card_carousel/card2.jpeg);
  background-size: contain;
  background-repeat: round;
}

#photo3 {
  background-image: url(../images/card_carousel/card3.jpeg);
  background-size: contain;
  background-repeat: round;
}

#photo4 {
  background-image: url(../images/card_carousel/card4.jpeg);
  background-size: contain;
  background-repeat: round;
}

#photo5 {
  background-image: url(../images/card_carousel/card5.jpeg);
  background-size: contain;
  background-repeat: round;
}

#photo6 {
  background-image: url(../images/card_carousel/card6.jpeg);
  background-size: contain;
  background-repeat: round;
}

@media only screen and (max-width: 990px) {
  .card-carousel {
    position: relative;
    /* margin-right: 40%; */
    width: 100%;
    /* height: 100%; */
    -webkit-perspective: 2000px;
    perspective: 2000px;
    -webkit-perspective-origin: top;
    perspective-origin: top;
    align-items: center;
  }
  .card-carousel .button-spin {
    display: none;
  }

  .card-carousel .inner-carousel {
    position: relative;
    padding-top: 200%;
    width: 100%;
    height: 100%;
    margin-left: -10%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    align-items: center;
  }

  .card-carousel .inner-carousel > div {
    align-items: center;
    position: absolute;
    padding: 2%;
    width: 255px;
    height: 70%;
    background-color: rgba(0, 0, 0, 0.041);
    color: #000;
    border-radius: 10px;
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    z-index: 1;
    -webkit-box-shadow: 0px 10px 10px 10px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 10px 10px 10px rgba(0, 0, 0, 0.15);
  }

  .card-carousel .inner-carousel > div:after {
    align-items: center;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    opacity: 0.7;
    background-color: black;
    z-index: 1;
  }
}
/* ------END-CAROUSEL --------- */

/* ---------- CAROUSEL 2 --------- */

.main-card-carousel {
  position: relative;
  max-width: 10%;
  left: 0vw;
  height: 500px;
  -webkit-perspective: 2000px;
  perspective: 2000px;
  -webkit-perspective-origin: top;
  perspective-origin: top;
}

.main-card-carousel .main-inner-carousel {
  position: relative;
  left: 50%;
  width: 100%;
  margin: auto auto;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.main-card-carousel .main-inner-carousel > div {
  position: absolute;
  margin: 0 auto;
  width: 50vw;
  height: 500px;
  margin-left: 0%;
  background-color: rgba(0, 0, 0, 0.041);
  color: #000;
  border-radius: 10px;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  z-index: 1;
  -webkit-box-shadow: 0px 10px 10px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 10px 10px 10px rgba(0, 0, 0, 0.15);
}

.main-card-carousel .main-inner-carousel > div:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  opacity: 0.7;
  background-color: black;
  z-index: 1;
}

.main-card-carousel .button-spin {
  position: absolute;
  top: 50%;
  margin-left: 20%;
  border: 0 none;
  background-color: transparent;
  cursor: pointer;
  font-family: 'Open Sans';
  font-weight: 800;
  padding: 10px 16px;
  text-shadow: 1px 1px 4px rgba(0, 54, 90, 0.5);
}

.main-card-carousel .button-spin:hover {
  -webkit-box-shadow: 0px 4px 4px 4px rgba(0, 54, 90, 0.15);
  box-shadow: 0px 4px 4px 4px rgba(0, 54, 90, 0.15);
}

.main-card-carousel .button-spin:active {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.main-card-carousel .main-inner-carousel > div.counterclockwise:after,
.main-card-carousel .main-inner-carousel > div.clockwise:after {
  cursor: pointer;
}

.main-card-carousel .main-inner-carousel > div.front:after {
  content: none;
}

.main-card-carousel .main-inner-carousel > div.front {
  background-image: radial-gradient(
    circle 200px at center right,
    #ffffff,
    #ffffff
  );
}

#main-photo1 {
  background-image: url(../images/card_carousel_header/card1.png);
  background-size: cover;
}

#main-photo2 {
  background-image: url(../images/card_carousel_header/card2.png);
  background-size: cover;
}

#main-photo3 {
  background-image: url(../images/card_carousel_header/card3.png);
  background-size: cover;
}

#main-photo4 {
  background-image: url(../images/card_carousel_header/card4.jpeg);
  background-size: cover;
}

#main-photo5 {
  background-image: url(../images/card_carousel_header/card5.jpeg);
  background-size: cover;
}

#main-photo6 {
  background-image: url(../images/card_carousel_header/card6.jpeg);
  background-size: cover;
}

@media only screen and (max-width: 990px) {
  .main-card-carousel {
    position: relative;
    /* margin-right: 40%; */
    /* height: 100%; */
    margin: auto !important;
    -webkit-perspective: 2000px;
    perspective: 2000px;
    -webkit-perspective-origin: top;
    perspective-origin: top;
    align-items: center;
  }

  .main-card-carousel .main-inner-carousel {
    position: relative;
    padding-top: 200%;
    width: 100%;
    height: 100%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    align-items: center;
  }

  .main-card-carousel .button-spin.main-counterclockwise {
    left: -200px;
  }

  .main-card-carousel .button-spin.main-clockwise {
    right: -617px;
  }

  .main-card-carousel .main-inner-carousel > div:after {
    align-items: center;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    opacity: 0.7;
    background-color: black;
    z-index: 1;
  }
}
/* ------END-CAROUSEL --------- */

.logo-size {
  max-width: 135px;
  max-height: 300px;
  margin: 10px;
}

/* -------SWIPER JS ----------- */

.carousel-container {
  min-width: 95vw;
}

.swiper {
  width: 100%;
  padding: 20px !important;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 300px;
  height: 300px;
}

.swiper-slide img {
  display: block;
  width: 150%;
  min-height: 450px;
  max-height: 450px;
}

@media (max-width: 1350px) {
  .swiper-slide img {
    display: block;
    width: 150%;
    min-height: 341px;
    max-height: 341px;
  }
}

/* --------- END SWIPER JS ---------*/

/* --------- TESTIMONY -------------*/

.white-block {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 15px;
}

.dark-text {
  color: black;
  text-align: center;
  overflow-wrap: break-word;
}

.swiper-slide .testimony-avatar {
  width: 167px;
  max-width: 100%;
  max-height: 100%;
  min-height: 167px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  margin-top: 20px;
  border-radius: 50%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.swiper-slide .white-block {
  min-height: 50vh;
}

.feature-block {
  max-width: 55%;
  margin-bottom: 25px;
}

.feature-icon {
  margin: auto;
  width: 30%;
}

.right-block {
  float: right;
}

.left-block {
  float: left;
}
