@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: khaki;
}

.container {
  position: relative;
  height: 100%;
  width: 100%;
}

ul {
  list-style: none;
  justify-content: center;
  gap: 60px;
}

li a {
  color: #000000;
  text-decoration: none;
  font-size: 2em;
  padding: 5px 20px;
  font-weight: 500;
  transition: 0.5s;
}

ul:hover li a {
  color: #0002;
}

ul li:hover a {
  color: #000;
}

ul li a:before {
  content: ""; /* faz o efeito na transição*/
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  color: rgba(0, 0, 0, 0.1);
  z-index: -1;
  opacity: 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 50px;
  transition: letter-spacing 0.5s, left 0.5s;
}

ul li a:hover:before {
  content: attr(data-text);
  opacity: 1;
  left: 50%;
  letter-spacing: 10px;
  width: 100%;
  height: 20vh;
}

ul li:nth-child(6n + 1) a:before {
  background: #dbd802;
}

ul li:nth-child(6n + 2) a:before {
  background: #ff7675;
}

ul li:nth-child(6n + 3) a:before {
  background: #55efc4;
}

ul li:nth-child(6n + 4) a:before {
  background: #a29bfe;
}

ul li:nth-child(6n + 5) a:before {
  background: #fd79a8;
}

ul li:nth-child(6n + 6) a:before {
  background: #bdfd47;
}

.descricao {
  text-align: center;
  margin: 2.3em auto;
  width: 320px;
  height: 150px;
  display: block;
  border-radius: 0.25em;
  box-shadow: 0 0 0.25em rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  padding: 3px;
  transition: all 0.5s;
  cursor: pointer;
}

.descricao:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

h1 {
  margin-top: 10px;
  font-size: 15px;
}

.box-total {
  height: 50px;
  margin-top: 40%;
}

.box-button1 {
  width: 25%;
  height: 43vh;
}

.bteesquerdo {
  margin-left: -300px;
  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: -567px;
  width: 25%;
  height: 43vh;
  margin-left: 340px;
}
.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) {
  .container {
    position: relative;
    height: 100%;
    width: 100%;
  }

  ul {
    list-style: none;
    justify-content: center;
    gap: 60px;
  }

  .descricao {
    text-align: center;
    margin: 2.1em auto;
    width: 320px;
    height: 150px;
    display: block;
    border-radius: 0.25em;
    box-shadow: 0 0 0.25em rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    padding: 3px;
    transition: all 0.5s;
    cursor: pointer;
  }

  .descricao:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }

  h1 {
    margin-top: 10px;
    font-size: 15px;
  }

  /*caixa dos botões*/
  .box-total {
    height: 50px;
    margin-top: 20px;
  }

  /*caixa botão esquerdo*/
  .box-button1 {
    margin-top: 14%;
    margin-left: 20px;
    width: 15%;
    height: 25%;
  }

  /*caixa botão direito*/
  .box-button2 {
    margin-top: 5px;
    margin-left: 82%;
    width: 15%;
    height: 25%;
  }
}
/******************************************Media Query PC*********************************************************************/

@media screen and (min-width: 998px) {
  .container {
    position: relative;
    height: 100%;
    width: 100%;
  }

  ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 60px;
  }

  .descricao {
    text-align: center;
    margin: 5.9em auto;
    width: 320px;
    height: 150px;
    display: block;
    border-radius: 0.25em;
    box-shadow: 0 0 0.25em rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    padding: 3px;
    transition: all 0.5s;
    cursor: pointer;
  }

  .descricao:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }

  h1 {
    margin-top: 10px;
    font-size: 15px;
  }
  /***********************************************Botões************************************************/
  .box-total {
    height: 32%;
    margin-top: 250px;
  }

  .box-button1 {
    margin-top: 180px;
    margin-left: 65px;
    width: 15%;
    height: 25%;
  }

  .box-button2 {
    margin-top: -45px;
    margin-left: 84%;
    width: 15%;
    height: 25%;
  }
}
