@import url("https://fonts.googleapis.com/css?family=Outfit");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



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

body {
  background: #333333;
  position: relative;
    font-family: 'Outfit', sans-serif;
  overflow: hidden;
}


.bg-isometric, .bg-isometric:after, .isometric {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 0;
  overflow: hidden;
}



.isometric {
  background-color: transparent;
  background-image: linear-gradient(HSLA(210, 2%, 43%, 1) 1%, transparent 1%, transparent 99%, HSLA(210, 2%, 43%, 1) 99%),
    linear-gradient(90deg, HSLA(210, 2%, 43%, 1) 1%, transparent 1%, transparent 99%, HSLA(210, 2%, 43%, 1) 99%);
  background-size: 69px 69px;
  left: -69%;
  right: -69%;
  top: -69%;
  bottom: -69%;
  transform: rotateX(45deg) rotateZ(45deg) skewX(-5deg) skewY(-5deg);
    opacity: 0.15;
}

a[href^="tel"] {
  text-decoration:  none;
  color: #1D1D1B;

  -o-transition:color .4s ease-out;
  -ms-transition:color .4s ease-out;
  -moz-transition:color .4s ease-out;
  -webkit-transition:color .4s ease-out;
  /* ...and now override with proper CSS property */
  transition:color .4s ease-out;
}

a:link    {
  /* Applies to all unvisited links */
  text-decoration:  none;
  color: #1D1D1B;

  -o-transition:color .4s ease-out;
  -ms-transition:color .4s ease-out;
  -moz-transition:color .4s ease-out;
  -webkit-transition:color .4s ease-out;
  /* ...and now override with proper CSS property */
  transition:color .4s ease-out;

  } 
a:visited {
  /* Applies to all visited links */
  text-decoration:  none;
  color: #1D1D1B;

  } 
a:hover   {
  /* Applies to links under the pointer */
  text-decoration:  none;
  color: #FF0000;

  -o-transition:color .4s ease-out;
  -ms-transition:color .4s ease-out;
  -moz-transition:color .4s ease-out;
  -webkit-transition:color .4s ease-out;
  /* ...and now override with proper CSS property */
  transition:color .4s ease-out;

  } 
a:active  {
  /* Applies to activated links */
  text-decoration:  none;
  color: #1D1D1B;
}


.card-container {
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 500px;
  height: 500px;
}
.card-container .card {
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 370px;
  height: 240px;
  padding: 25px;
  overflow: hidden;
  background: #fff;
  border-radius: 6px;
  box-shadow: -3px 3px 0px 0px #DDDDDD, -6px 6px 6px 0px rgba(0, 0, 0, 0.5);
  transform: translate(0px, 0px) rotateX(54.5deg) rotateZ(-45deg);
  z-index: 2;
  transition: all 1.2s ease;
}
.card-container .card:hover {
  transform: translate(0px, -40px) rotateX(20deg) rotateZ(-15deg);
  box-shadow: -2px 2px 0px 0px #333, -50px 100px 100px 0 rgba(0, 0, 0, 0.3);
}
.card-container .card h1 {
  font-size: 26px;
  color: #888888;
  letter-spacing: 0em;
  margin-top: 9%;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 500;
}
.card-container .card h1:nth-of-type(2) {
  font-size: 10px;
  color: #888888;
  letter-spacing: 0.25em;
  margin-bottom: 20px;
  margin-top: 10px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
}
.card-container .card h3 {
  color: #1D1D1B;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 5px;
}
.card-container .card h3:nth-of-type(2) {
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.card-container .card i {
  margin-right: 5px;
  color: crimson;
}
.card-container .card .circle {
  position: absolute;
  margin: auto;
  top: 10%;
  bottom: 0;
  right: -90%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: #1D1E1D;
  z-index: -2;
}

.card-container .card .circle:nth-of-type(2) {
  width: 200px;
  height: 200px;
  top: 90%;
  right: -50%;
  z-index: -1;
  background: #1D1D1B;
}

@media only screen and (max-width: 780px) {
  .card-container .card {
    width: 370px;
    height: 230px;
    animation: hvr 5s infinite ease-in-out;
    transition: none;
    border-radius: 6px;


  }
  .card-container .card h1 {
    font-size: 26px;
    color: #888888;
    letter-spacing: 0.03em;
    margin-top: 8%;
    margin-bottom: 0px;
    text-align: center;
    font-weight: 500;
  }
  .card-container .card h1:nth-of-type(2) {
    font-size: 12px;
    color: #888888;
    letter-spacing: 0.1em;
    margin-bottom: 26px;
    margin-top: 5px;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
  }
  .card-container .card h3 {
    color: #1D1D1B;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: 5px;
  }
  .card-container .card h3:nth-of-type(2) {
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
  }
  .card-container .card .circle {
    right: -75%;
    width: 440px;
    height: 440px;
  }

  @keyframes hvr {
    0% {
      box-shadow: -2px 2px 0px 0px #0F0F0F, -3px 3px 8px 0px rgba(0, 0, 0, 0.5);
      transform: translate(0px, 0px) rotateX(54deg) rotateZ(-45.5deg);
    }
    50% {
      transform: translate(0px, -20px) rotateX(54deg) rotateZ(-45.5deg);
      box-shadow: -2px 1px 0px 0px #0F0F0F, -50px 50px 40px 0 rgba(0, 0, 0, 0.3);
    }
    100% {
      box-shadow: -2px 2px 0px 0px #0F0F0F, -3px 3px 8px 0px rgba(0, 0, 0, 0.5);
      transform: translate(0px, 0px) rotateX(54deg) rotateZ(-45.5deg);
    }
  }
}
