body {
  margin: 35px;
  font-family: "Raleway", sans-serif;
  background-image: radial-gradient(circle at center, #899dc4, #495d84);
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  background: radial-gradient(ellipse at bottom, #1b2735, #090a0f);
  font-weight: 300;
}

.all {
  display: flex;
  perspective: 10px;
  transform: perspective(300px) rotateX(20deg);
  will-change: perspective;
  perspective-origin: center center;
  transition: all 1.3s ease-out;
  justify-content: center;
  transform-style: preserve-3d;
}
.all:hover {
  perspective: 1000px;
  transition: all 1.3s ease-in;
  transform: perspective(10000px) rotateX(0deg);
}
.all:hover .text {
  opacity: 1;
}
.all:hover > div {
  opacity: 1;
  transition-delay: 0s;
}
.all:hover .explainer {
  opacity: 0;
}
.left,
.center,
.right,
.lefter,
.righter {
  width: 200px;
  height: 150px;
  transform-style: preserve-3d;
  border-radius: 10px;
  border: 1px solid #fff;
  box-shadow: 0 0 20px 5px rgba(100, 100, 255, 0.4);
  opacity: 0;
  transition: all 0.3s ease;
  transition-delay: 1s;
  position: relative;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #58d;
  cursor: pointer;
  background-blend-mode: color-burn;
}

.left:hover,
.center:hover,
.right:hover,
.lefter:hover,
.righter:hover {
  box-shadow: 0 0 30px 10px rgba(100, 100, 255, 0.6);
  background-color: #ccf;
}

.text {
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.3s ease;
  bottom: 0;
  left: 5px;
  position: absolute;
  will-change: transform;
  color: #fff;
  text-shadow: 0 0 5px rgba(100, 100, 255, 0.6);
}

.lefter {
  transform: translateX(-60px) translateZ(-50px) rotateY(-10deg);
  background-image: url(https://cdn3.iconfinder.com/data/icons/other-icons/48/organization-512.png);
}

.left {
  transform: translateX(-30px) translateZ(-25px) rotateY(-5deg);
  background-image: url(https://cdn3.iconfinder.com/data/icons/other-icons/48/creative_draw-512.png);
}

.center {
  opacity: 1;
  background-image: url(https://cdn3.iconfinder.com/data/icons/other-icons/48/app_window-512.png);
}

.right {
  transform: translateX(30px) translateZ(-25px) rotateY(5deg);
  background-image: url(https://cdn3.iconfinder.com/data/icons/other-icons/48/cloud_weather-512.png);
}

.righter {
  transform: translateX(60px) translateZ(-50px) rotateY(10deg);
  background-image: url(https://cdn3.iconfinder.com/data/icons/other-icons/48/search-512.png);
}

.explainer {
  font-weight: 300;
  font-size: 1.5rem;
  color: #fff;
  transition: all 0.6s ease;
  width: 100%;
  height: 100%;
  background-color: #303050;
  background-image: radial-gradient(circle at center top, #cce, #33a);
  border-radius: 10px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.ref {
  background-color: #000;
  background-image: linear-gradient(to bottom, #d80, #c00);
  border-radius: 3px;
  padding: 7px 10px;
  position: absolute;
  font-size: 16px;
  bottom: 10px;
  right: 10px;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
}

.ref::first-letter {
  font-size: 12px;
}

.descricao {
  padding-top: 10px;
  justify-self: center;
  text-align: center;
  margin: 3.3em auto;
  width: 50%;
  height: 35%;
  border-radius: 0.25em;
  box-shadow: 0 0 0.25em rgba(250, 246, 246, 0.25);
  box-sizing: border-box;
  transition: all 0.5s;
  cursor: pointer;
}

h1,
p {
  font-size: 15px;
  color: #646464;
}

.descricao:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/*-----------------------------botões-----------------------------------*/
.box-total {
  height: 32%;
  margin-top: 5%;
}

.box-button1 {
  margin-top: 100px;
  margin-left: -14px;
  width: 25%;
  height: 43vh;
}

.bteesquerdo {
  margin-left: 280px;
  height: 30%;
  display: flex;
}

.bte {
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  border-radius: 500px;
  transition-property: background-color, border-color, color, box-shadow, filter;
  transition-duration: 0.3s;
  border: 1px solid transparent;
  letter-spacing: 2px;
  min-width: 160px;
  text-transform: uppercase;
  white-space: normal;
  font-weight: 700;
  text-align: center;
  padding: 16px 14px 18px;
  color: #616467;
  box-shadow: inset 0 0 0 2px #616467;
  background-color: transparent;
  height: 48px;
}

.bte:hover {
  color: #fff;
  background-color: #f56653;
}

.box-button2 {
  margin-top: -375px;
  width: 25%;
  height: 43vh;
  margin-left: 320px;
}
.btdireito {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btd {
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  border-radius: 500px;
  transition-property: background-color, border-color, color, box-shadow, filter;
  transition-duration: 0.3s;
  border: 1px solid transparent;
  letter-spacing: 2px;
  min-width: 160px;
  text-transform: uppercase;
  white-space: normal;
  font-weight: 700;
  text-align: center;
  padding: 16px 14px 18px;
  color: #616467;
  box-shadow: inset 0 0 0 2px #616467;
  background-color: transparent;
  height: 48px;
}

.btd:hover {
  color: #fff;
  background-color: #d1e706;
}

/********************************************Media Query Tablet**************************************************************/

@media screen and (min-width: 600px) {
  .descricao {
    padding-top: 10px;
    justify-self: center;
    text-align: center;
    margin: 3.3em auto;
    width: 40%;
    height: 25%;
    border-radius: 0.25em;
    box-shadow: 0 0 0.25em rgba(255, 255, 255, 0.25);
    box-sizing: border-box;
    transition: all 0.5s;
    cursor: pointer;
  }

  .descricao:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }

  .box-total {
    height: 32%;
    margin-top: 10%;
  }

  .box-button1 {
    margin-top: 140px;
    margin-left: 4px;
    width: 25%;
    height: 43vh;
  }

  .box-button2 {
	margin-left: 725px;
    width: 25%;
    height: 43vh;}
}
/******************************************Media Query PC*********************************************************************/

@media screen and (min-width: 998px) {
  .descricao {
    padding-top: -100px;
    justify-self: center;
    text-align: center;
    margin: 4.1em auto;
    width: 35%;
    height: 25%;
    border-radius: 0.25em;
    box-shadow: 0 0 0.25em rgba(255, 255, 255, 0.25);
    box-sizing: border-box;
    transition: all 0.5s;
    cursor: pointer;
  }

  .descricao:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  .box-total {
    height: 30%;
    margin-top: -10px;
  }

  .box-button1 {
    margin-top: 160px;
    margin-left: 4px;
    width: 20%;
    height: 30%;
  }

  .box-button2 {
	margin-top: -13%;
	margin-left: 1045px;
    width: 25%;
    height: 43vh;}

}