/********** Template CSS **********/
:root {
  --primary: #061727;
  --light: #f3f6f8;
  --dark: #0e2e50;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

.my-6 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.py-6 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}

/*** Navbar ***/
.navbar .navbar-nav .nav-link {
  position: relative;
  margin-left: 25px;
  padding: 35px 0;
  color: #ffffff;
  font-weight: 500;
  outline: none;
  transition: 0.5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: #ffffff;
}

.sticky-top.navbar .navbar-nav .nav-link {
  padding: 20px 0;
  color: var(--dark);
}

.sticky-top.navbar .navbar-nav .nav-link:hover,
.sticky-top.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar .navbar-brand h1 {
  color: #ffffff;
}

.navbar .navbar-brand img {
  max-height: 80px;
  transition: 0.5s;
}

.sticky-top.navbar .navbar-brand img {
  max-height: 45px;
}

@media (max-width: 991.98px) {
  .sticky-top.navbar {
    position: relative;
    background: #ffffff;
  }

  .navbar .navbar-collapse {
    margin-top: 15px;
    border-top: 1px solid #dddddd;
  }

  .navbar .navbar-nav .nav-link,
  .sticky-top.navbar .navbar-nav .nav-link {
    padding: 10px 0;
    margin-left: 0;
    color: var(--dark);
  }

  .navbar .navbar-nav .nav-link:hover,
  .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
  }

  .navbar .navbar-brand h1 {
    color: var(--primary);
  }

  .navbar .navbar-brand img {
    max-height: 45px;
  }
}

@media (min-width: 992px) {
  .navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    border-bottom: 1px solid rgba(256, 256, 256, 0.2);
    z-index: 999;
  }

  .sticky-top.navbar {
    position: fixed;
    background: #ffffff;
  }

  .navbar .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    bottom: 10px;
    left: 0;
    background: #ffffff;
    opacity: 0;
    transition: 0.5s;
  }

  .sticky-top.navbar .navbar-nav .nav-link::before {
    background: var(--primary);
  }

  .navbar .navbar-nav .nav-link:hover::before,
  .navbar .navbar-nav .nav-link.active::before {
    bottom: -1px;
    left: 0;
    opacity: 1;
  }

  .navbar .navbar-nav .nav-link.nav-contact::before {
    display: none;
  }

  .sticky-top.navbar .navbar-brand h1 {
    color: var(--primary);
  }

  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    transition: 0.5s;
    opacity: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/******** Scroll Button CSS **********/
/**************************************/

.lni-chevron-down-circle::before {
  content: "\ea57";
}

.lni-chevron-down::before {
  content: "\ea58";
}

.lni-chevron-left-circle::before {
  content: "\ea59";
}

.lni-chevron-left::before {
  content: "\ea5a";
}

.lni-chevron-right-circle::before {
  content: "\ea5b";
}

.lni-chevron-right::before {
  content: "\ea5c";
}

.lni-chevron-up-circle::before {
  content: "\ea5d";
}

.lni-chevron-up::before {
  content: "\ea5e";
}

.btn-hover {
  position: relative;
  overflow: hidden;
}

.btn-hover::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 0%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  top: 50%;
  left: 50%;
  padding: 50%;
  z-index: -1;
  transition: all 0.3s ease-out 0s;
  transform: translate3d(-50%, -50%, 0) scale(0);
}

.btn-hover:hover::after {
  transform: translate3d(-50%, -50%, 0) scale(1.3);
}


.scroll-top {
  width: 45px;
  height: 45px;
  background: #4E6EF1;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: #fff;
  border-radius: 5px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9;
  cursor: pointer;
  transition: all 0.3s ease-out 0s;
}

.scroll-top:hover {
  color: #fff;
  background: rgba(78, 110, 241, 0.8);
}

@keyframes animation1 {
  0% {
    transform: translateY(30px);
  }
  50% {
    transform: translateY(-30px);
  }
  100% {
    transform: translateY(30px);
  }
}

/******** Section Header CSS **********/
/**************************************/
.section-header {
  position: relative;
  max-width: 700px;
  margin: 0 auto 60px auto;
  padding-bottom: 25px;
}

.section-header h2 {
  color: #666666;
  font-size: 35px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 6px;
  text-align: center;
}

.section-header::after {
  content: '';
  position: absolute;
  display: inline-block;
  width: 100px;
  height: 5px;
  background: #cccccc;
  border-radius: 0 0 5px 5px;
  bottom: 0;
  left: calc(50% - 50px);
}

.section-header p {
  font-size: 22px;
  font-weight: 300;
  text-align: center;
  margin: 0;
}


/*** Hero Header ***/
.hero-header {
  margin-bottom: 3rem;
  padding: 6rem 0 4rem 0;
  background: url(../img/shape-bottom.png) center bottom no-repeat;
}

.page-header {
  margin-bottom: 3rem;
  padding: 6rem 0 3rem 0;
}

@media (max-width: 991.98px) {
  .hero-header {
    padding: 3rem 0 4rem 0;
  }

  .page-header {
    padding: 3rem 0;
  }
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(256, 256, 256, 0.0);
}

/*** Service ***/

.service {
  background: #ffffff;
  padding: 90px 0 60px 0;
  text-align: center;
}

.service .service-item {
  position: relative;
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}

.service .service-icon {
  position: relative;
  width: 100%;
  padding: 30px 15px;
  background: #4F84C4;
  /*background-image:url(//img/imac_web_des.png)
  background-color: transparent;*/
}

.service .service-icon i {
  font-size: 90px;
  line-height: 0;
  color: #ffffff;
}

.service .service-detail {
  position: relative;
  width: 100%;
  padding: 30px 15px;
  background: #f2f2f2;
}

.service .service-detail h4,
.service .service-detail h4 a {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 1px;
  text-transform: capitalize;
}

.service .service-detail p {
  margin: 0;
}


/*** Header Animated ***/

header .item {
  height: 100vh;
  position: relative;
}
header .item img {

  width: 100%;
  height: 100%;
  object-fit: cover;
}
header .item .cover {
  padding: 75px 0;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
}
header .item .cover .header-content {
  position: relative;
  padding: 56px;
  overflow: hidden;
}
header .item .cover .header-content .line {
  content: "";
  display: inline-block;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  border: 9px solid #fff;
  -webkit-clip-path: polygon(0 0, 60% 0, 36% 100%, 0 100%);
  clip-path: polygon(0 0, 60% 0, 36% 100%, 0 100%);
}
header .item .cover .header-content h2 {
  font-weight: 300;
  font-size: 35px;
  color: #fff;
}
header .item .cover .header-content h1 {
  font-size: 56px;
  font-weight: 600;
  margin: 5px 0 20px;
  word-spacing: 3px;
  color: #fff;
}
header .item .cover .header-content h4 {
  font-size: 24px;
  font-weight: 300;
  line-height: 36px;
  color: #fff;
}
header .owl-item.active h1 {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-name: fadeInDown;
  animation-delay: 0.3s;
}
header .owl-item.active h2 {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-name: fadeInDown;
  animation-delay: 0.3s;
}
header .owl-item.active h4 {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-name: fadeInUp;
  animation-delay: 0.3s;
}
header .owl-item.active .line {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-name: fadeInLeft;
  animation-delay: 0.3s;
}
header .owl-nav .owl-prev {
  position: absolute;
  left: 15px;
  top: 43%;
  opacity: 0;
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  filter: brightness(150%);
  background: rgba(0, 0, 0, 0.5) !important;
  width: 40px;
  cursor: pointer;
  height: 40px;
  position: absolute;
  display: block;
  z-index: 1000;
  border-radius: 0;
}
header .owl-nav .owl-prev span {
  font-size: 1.6875rem;
  color: #fff;
}
header .owl-nav .owl-prev:focus {
  outline: 0;
}
header .owl-nav .owl-prev:hover {
  background: #000 !important;
}
header .owl-nav .owl-next {
  position: absolute;
  right: 15px;
  top: 43%;
  opacity: 0;
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  background: rgba(0, 0, 0, 0.5) !important;
  width: 40px;
  cursor: pointer;
  height: 40px;
  position: absolute;
  display: block;
  z-index: 1000;
  border-radius: 0;
}
header .owl-nav .owl-next span {
  font-size: 1.6875rem;
  color: #fff;
}
header .owl-nav .owl-next:focus {
  outline: 0;
}
header .owl-nav .owl-next:hover {
  background: #000 !important;
}
header:hover .owl-prev {
  left: 0px;
  opacity: 1;
}
header:hover .owl-next {
  right: 0px;
  opacity: 1;
}

@media (max-width: 991.98px) {
  .header-content {
    padding: 3rem 0 4rem 0;
  }
}

/*
@media (max-width: 991.98px) {
  .header {
    padding: 3rem 0 4rem 0;
  }
} */




* {
	padding: 0;
	margin: 0;
	box-sizing:border-box;
	font-family: "Heebo", inherit;
}


body {
  background-color: #274d99; 
  /*color: #ccd6f6;
}



.counter-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12% 0;
  /* margin: 10px 0 0 0;
  color: #fff;
  flex-wrap: wrap; */
}

.counter-item {
  width: 100%;
  text-align: center;
  margin-bottom: 15px;
  padding: 20px;
  font-size: 25px;
  box-sizing: border-box;
}

.count-wrapper {
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px #536efe;
}

p {
  font-size: 15px;
  /* font-weight: 500; */
  margin: 10px 0 0 0;
}

@media (max-width: 1000px) {
	.counter-item {
		margin-bottom: 20px;
	}
	.count-wrapper {
		font-size: 50px;
	}
}
/*
h4 {
  font-size: 60px;
  font-weight: bold;
  margin: 0;
  color: #fff;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
  border: 1px solid transparent;
  transform: scale(0.85);
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
  box-shadow: none;
  border-color: var(--primary);
  transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-item img {
  width: 50px;
  height: 50px;
}

.testimonial-carousel .owl-nav {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin: 0 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 45px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: #ffffff;
  background: var(--primary);
}


/*** Projects ***/
.project-carousel .owl-item .project-item {
  box-shadow: 0 0 768px rgba(0, 0, 0, 0.07);
  border: 1px solid transparent;
  transform: scale(0.85);
  transition: 0.5s;
}

.project-carousel .owl-item.center .project-item {
  box-shadow: none;
  border-color: var(--primary);
  transform: scale(1);
}

.project-carousel .owl-item .project-item img {
  width: 310px;
  height: 205px;
}

.project-carousel .owl-nav {
  margin-top: 120px;
  display: flex;
  justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
  margin: 0 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 45px;
  transition: 0.5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
  color: #ffffff;
  background: var(--primary);
}


/*** Team ***/
.team-item {
  position: relative;
  padding: 30px;
  text-align: center;
  transition: 0.5s;
  z-index: 1;
}

.team-item::before,
.team-item::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 40%;
  top: 0;
  left: 0;
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
  transition: 0.5s;
  z-index: -1;
}

.team-item::after {
  top: auto;
  bottom: 0;
}

.team-item:hover::before,
.team-item:hover::after {
  background: var(--primary);
}

.team-item h5,
.team-item p {
  transition: 0.5s;
}

.team-item:hover h5,
.team-item:hover p {
  color: #ffffff;
}

.team-item img {
  padding: 15px;
  border: 1px solid var(--primary);
}


/************* Contact CSS ************/
/**************************************/
.contact {
  position: relative;
  padding: 90px 0;
  background: #f2f2f2;
}

.contact .container {
  max-width: 900px;
}

.contact .container .col-md-6 {
  padding: 0;
  background: #ffffff;
}

.contact .form {
  background: #ffffff;
  padding: 30px;
  color: #353535;
}

.contact .form input,
.contact .form textarea {
  padding: 10px 0;
  border-color: #dddddd transparent #dddddd transparent;
  border-radius: 0;
  box-shadow: none;
  font-size: 15px;
}

.contact .form input:focus,
.contact .form textarea:focus {
  border-color: #4F84C4 transparent #4F84C4 transparent;
}

.contact .form button[type="submit"] {
  color: #ffffff;
  background: #888888;
  border-radius: 0;
}

.contact .form button[type="submit"]:hover {
  background: #4F84C4;
}

.contact .map {
  position: relative;
  background: #ffffff;
}

.contact .map iframe {
  width: 100%;
  height: 375px;
  margin-bottom: -7px;
}


/*** Footer ***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid rgba(256, 256, 256, 0.1);
  border-radius: 20px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: var(--blue);
  font-weight: normal;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 10px 0;
  font-size: 14px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--blue);
}

.footer .footer-menu a {
  margin-right: 5px;
  padding-right: 5px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background-color: black;
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}



/*** table collapse ***/

table {
  border-collapse: collapse;
}
th,
td {
  border-bottom: 1px solid #cecfd5;
  padding: 10px 15px;
}
tfoot tr:last-child td {
  border-bottom: 0;
}

/*** images into table box***/
* {
  box-sizing: border-box;
  }

.allColumns {
  float: left;
  width: 33.33%;
  padding: 10px;
  object-fit: cover;
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

@media screen and (max-width: 768px) {
   .allColumns {
    width: 120%;
   }
}



*/
.error {
  color: red;
  font-size: 0.9em;
}

.logos-container {
  display: flex;
  gap: 20px; /* Adjust the gap between logos */
  justify-content: center;
  align-items: center;
}

.logo {
  width: 100px; /* Set the size you want for the logos */
  height: 100px; /* Set the size you want for the logos */
  object-fit:contain;/* Ensure logos maintain their aspect ratio */
}

.footer-left-widget {
  padding-left: 80px; }

.footer-widget .section-heading {
  margin-bottom: 35px; }

.footer-widget h3 {
  font-size: 24px;
  color: #fff;
  position: relative;
  margin-bottom: 15px;
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content; }

.footer-widget ul {
  width: 50%;
  float: left;
  list-style: none;
  margin: 0;
  padding: 0; }

.footer-widget li {
  margin-bottom: 18px; }

.footer-widget p {
  margin-bottom: 27px; }

.footer-widget a {
  color: #878787;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s; }
  .footer-widget a:hover {
    color: #007bff; }

.footer-widget:after {
  content: "";
  display: block;
  clear: both; }

.footer-clean {
  padding:50px 0;
  background-color:#070707;
  color:#ffffff;
}

.footer-clean h3 {
  margin-top:0;
  margin-bottom:12px;
  font-weight:bold;
  font-size:16px;
}

.footer-clean ul {
  padding:0;
  list-style:none;
  line-height:1.6;
  font-size:14px;
  margin-bottom:0;
}

.footer-clean ul a {
  color:inherit;
  text-decoration:none;
  opacity:0.8;
}

.footer-clean ul a:hover {
  opacity:1;
}

.footer-clean .item.social {
  text-align:right;
}

@media (max-width:767px) {
  .footer-clean .item {
    text-align:center;
    padding-bottom:20px;
  }
}

@media (max-width: 768px) {
  .footer-clean .item.social {
    text-align:center;
  }
}

.footer-clean .item.social > a {
  font-size:24px;
  width:40px;
  height:40px;
  line-height:40px;
  display:inline-block;
  text-align:center;
  border-radius:50%;
  border:1px solid #ccc;
  margin-left:10px;
  margin-top:22px;
  color:inherit;
  opacity:0.75;
}

.footer-clean .item.social > a:hover {
  opacity:0.9;
}

@media (max-width:991px) {
  .footer-clean .item.social > a {
    margin-top:40px;
  }
}

@media (max-width:767px) {
  .footer-clean .item.social > a {
    margin-top:10px;
  }
}

.footer-clean .copyright {
  margin-top:14px;
  margin-bottom:0;
  font-size:13px;
  opacity:0.6;
}

/* ======== Image Flip ============= 

body{
  margin:0;
  padding:0;
  background:#f2f2f2;
  font-family: 'Acme';
}
*/
.container1{
  max-width:auto;
  margin:50px auto;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-around;
  perspective:1000px;
}

.card{
  position:relative;
  margin:20px 0;
  width:700px;
  height: 550px;;
  background:transparent;
  transform-style:preserve-3d;
  transform:perspective(auto);
  transition:1s;
  box-shadow:inset 100px 0 50px rgba(247, 245, 245, 0.5);
}

.card:hover{
  z-index:1111;
  transform:perspective(1000px) rotate(0deg);
  box-shadow:inset 20px 0 50px none;
}

.card .img-container1{
  position:relative;
  width:100%;
  height:100%;
  border:1px solid #f9f4f4;
  box-sizing:border-box;
  transform-origin:left;
  z-index:1;
  transition:1s;
}

.card .img-container1 img{
  position:absolute;
  left:0;
  top:0;
  height:100%;
  width:100%;
  object-fit:cover;
}

.card:hover .img-container1{
  transform:rotateY(180deg);
}

.card .card-details{
  position:absolute;
  left:0;
  top:0;
  box-sizing:border-box;
  padding:20px;
  color:#2b2a2a;
  overflow: hidden;
}

 .card .card-details h2{
  margin:0;
  padding:0.5em 0;
  text-transform:uppercase;
  font-size:1em;
  color:#ed363a;
}

.card .card-details p{
  margin:0;
  padding:0;
  line-height:20px;
  font-size:1em;
} 

/* ============ Img Spread ============ 

html, body {
  min-height:100vh;
}

body {
  display:flex; 
  align-items:center; 
  flex-flow:column nowrap;
  overflow-x:hidden;
}

.title {
  font:1.3em/1 monospace;
  font-variant:small-caps;
  letter-spacing:0.5em;
  margin:4em;
}

.gallery {
  perspective:700px;
  width:50vw;
  display:flex; justify-content:center; align-items:center; flex-flow:row wrap;
}

ul {
  position:relative;
  width:100px; height:100px;
  margin:0.1em;
  perspective-origin:center center;
  transform-style:preserve-3d;
  transform:rotateX(40deg);
  transition:all 0.4s;
}

ul:hover {
  transform:translateZ(100px) rotateX(20deg); z-index:999;
}

ul:hover li {
  filter:grayscale(0);
}

li {
  position:absolute; left:0; top:0;
  backface-visibility:hidden;
  width:100%; height:100%;
  transition:transform 0.3s, filter 1s;
  background:coral;
  filter:grayscale(0.9);
}
/*
Setup individual planes final poistion(by left top) and initial position(by transform)

li:first-of-type {transform:none;}
li:nth-of-type(2) {left:100%; transform-origin:left center; transform:rotateY(180deg);}
li:nth-of-type(3) {top:100%; transform-origin:center top; transform:rotateX(-180deg);}
li:nth-of-type(4) {left:-100%; transform-origin:right center; transform:rotateY(-180deg);}
li:nth-of-type(5) {top:-100%; transform-origin:center bottom; transform:rotateX(180deg);}
li:nth-of-type(6) {top:100%; left:100%; transform-origin:center top; transform:rotateX(-180deg);}
li:nth-of-type(7) {top:100%; left:-100%; transform-origin:right center; transform:rotateY(-180deg);}
li:nth-of-type(8) {top:-100%; left:-100%; transform-origin:center bottom; transform:rotateX(180deg);}
li:nth-of-type(9) {top:-100%; left:100%; transform-origin:left center; transform:rotateY(180deg);}
/*
Setup transition-delay, for mouseout state 

li:nth-of-type(2),li:nth-of-type(3),li:nth-of-type(4),li:nth-of-type(5) {transition-delay:0.03s;}
li:nth-of-type(6),li:nth-of-type(7),li:nth-of-type(8),li:nth-of-type(9) {transition-delay:0s;}
ul:hover :nth-of-type(2),ul:hover :nth-of-type(3),ul:hover :nth-of-type(4),ul:hover :nth-of-type(5) {transition-delay:0s}
ul:hover :nth-of-type(6),ul:hover :nth-of-type(7),ul:hover :nth-of-type(8),ul:hover :nth-of-type(9) {transition-delay:0.2s}
/*
Setup planes final state

ul:hover :nth-of-type(2),ul:hover :nth-of-type(4),ul:hover :nth-of-type(7),ul:hover :nth-of-type(9) {transform:rotateY(0);}
ul:hover :nth-of-type(3), ul:hover :nth-of-type(5),ul:hover :nth-of-type(6), ul:hover :nth-of-type(8) {transform:rotateX(0);}
/* 
Set background position

ul li {background-size:300% 300%;}
li:nth-of-type(1) {background-position:center center;}
li:nth-of-type(2) {background-position:right center;}
li:nth-of-type(3) {background-position:center bottom;}
li:nth-of-type(4) {background-position:left center;}
li:nth-of-type(5) {background-position:center top;}
li:nth-of-type(6) {background-position:right bottom;}
li:nth-of-type(7) {background-position:left bottom;}
li:nth-of-type(8) {background-position:left top;}
li:nth-of-type(9) {background-position:right top;}
/*
Set background image source

ul:nth-of-type(1) li { background-image:url(//picsum.photos/1200/800?image=1011);}
ul:nth-of-type(1) { width:120px; height:80px; }
ul:nth-of-type(2) li { background-image:url(//picsum.photos/1424/2136?image=1027);}
ul:nth-of-type(2) { width:90px; height:130px; }
ul:nth-of-type(3) li { background-image:url(//picsum.photos/1618/712?image=996);}
ul:nth-of-type(3) { width:130px; height:90px; }
ul:nth-of-type(4) li { background-image:url(//picsum.photos/1200/800?image=1005);}
ul:nth-of-type(4) { width:120px; height:80px; }
ul:nth-of-type(5) li { background-image:url(//picsum.photos/1042/1356?image=978);}
ul:nth-of-type(5) { width:64px; height:84px; }
ul:nth-of-type(6) li { background-image:url(//picsum.photos/1000/666image=943);}
ul:nth-of-type(6) { width:100px; height:66px; }
/* 
Hide debug label 

li { text-indent:999px; overflow:hidden; }

*/