@import url("https://fonts.googleapis.com/css2?family=Comfortaa&display=swap");

body {
  background: url(../img/bg-body.png);
  padding: 62px 24px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

a,
a:hover {
  text-decoration: none;
}

.box {
  max-width: 960px;
  display: block;
  margin: auto;
  padding: 0 2%;
}

.desktop {
  visibility: visible;
  display: block;
}

.mobile {
  visibility: hidden;
  display: none;
}

div a {
  margin: 32px 100px;
}

a.logo {
  display: block;

  margin: auto;
  text-align: center;
}

.logo img {
  width: 400px;
  display: block;
  object-fit: cover;
  margin: auto;
}

.list-items {
  display: block;
  margin: 32px 0;
}

.desktop .box-item {
  border-radius: 100%;
  height: 234px;
  box-shadow: -10px 10px 30px 0 rgba(154, 19, 49, 0.3);
  transition: 0.2s ease;
  margin: 32px;
}

.desktop .box-item:hover {
  transition: 0.2s ease;
  box-shadow: 10px -10px 30px 0 rgba(154, 19, 49, 0.2);
}

.desktop div.row:nth-of-type(1) .box-item:nth-of-type(1) {
  background-image: url("../img/blog.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.desktop div.row:nth-of-type(1) .box-item:nth-of-type(2) {
  background-image: url("../img/agende.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.desktop div.row:nth-of-type(1) .box-item:nth-of-type(3) {
  background-image: url("../img/site.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.desktop div.row:nth-of-type(2) .box-item:nth-of-type(1) {
  background-image: url("../img/whatsapp.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.desktop div.row:nth-of-type(2) .box-item:nth-of-type(2) {
  background-image: url("../img/ebook.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.desktop div.row:nth-of-type(2) .box-item:nth-of-type(3) {
  background-image: url("../img/localizacao.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.desktop div.row:nth-of-type(1) .box-item:nth-of-type(1):before,
.desktop div.row:nth-of-type(1) .box-item:nth-of-type(2):before,
.desktop div.row:nth-of-type(1) .box-item:nth-of-type(3):before {
  content: "";
  display: none;
  position: absolute;
  visibility: hidden;
  height: 100%;
  width: 100%;
  border-radius: 100%;
  bottom: 0;
  left: 0;
  transition: 0.5s ease;
  background: #e8c11db3;
}

.desktop div.row:nth-of-type(2) .box-item:nth-of-type(1):before,
.desktop div.row:nth-of-type(2) .box-item:nth-of-type(2):before,
.desktop div.row:nth-of-type(2) .box-item:nth-of-type(3):before {
  content: "";
  display: none;
  position: absolute;
  visibility: hidden;
  height: 100%;
  width: 100%;
  border-radius: 100%;
  bottom: 0;
  left: 0;
  transition: 0.5s ease;
  background: #e8c11db3;
}

.desktop div.row:nth-of-type(1) .box-item:nth-of-type(1):hover:before,
.desktop div.row:nth-of-type(1) .box-item:nth-of-type(2):hover:before,
.desktop div.row:nth-of-type(1) .box-item:nth-of-type(3):hover:before {
  height: 100%;
  visibility: visible;
  transition: 0.5s ease;
  display: block;
  z-index: 5;
}

.desktop div.row:nth-of-type(2) .box-item:nth-of-type(1):hover:before,
.desktop div.row:nth-of-type(2) .box-item:nth-of-type(2):hover:before,
.desktop div.row:nth-of-type(2) .box-item:nth-of-type(3):hover:before {
  height: 100%;
  visibility: visible;
  transition: 0.5s ease;
  display: block;
  z-index: 5;
}

.box-item p {
  text-align: center;
  font-family: "Comfortaa", cursive;
  color: #000;
  font-size: 32px;
  display: block;
  margin: auto;
  z-index: 10;
}

.footer-endereco {
  text-align: center;
  font-family: "Comfortaa", cursive;
  color: #000;
  font-size: 14px;
  padding: 0 35%;
}

.footer-info {
  text-align: center;
  font-family: "Comfortaa", cursive;
  color: #000;
  font-size: 14px;
}

@media only screen and (max-width: 992px) {
  .logo img {
    display: block;
    max-width: 100%;
  }

  .desktop {
    visibility: hidden;
    display: none;
  }

  .mobile {
    visibility: visible;
    display: block;
  }

  .mobile .box-item {
    border-radius: 100%;
    height: 197px;
    transition: 0.2s ease;
  }

  .mobile .box-item:hover {
    transition: 0.2s ease;
    box-shadow: 10px -10px 30px 0 rgba(154, 19, 49, 0.2);
  }

  .mobile div.row:nth-of-type(1) .box-item:nth-of-type(1) {
    background-image: url("../img/agende.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    box-shadow: -10px 10px 30px 0 rgba(154, 19, 49, 0.3);
    transition: 0.2s ease;
  }

  .mobile div.row:nth-of-type(1) .box-item:nth-of-type(2) {
    background-image: url("../img/site.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .mobile div.row:nth-of-type(2) .box-item:nth-of-type(1) {
    background-image: url("../img/whatsapp.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .mobile div.row:nth-of-type(2) .box-item:nth-of-type(2) {
    background-image: url("../img/localizacao.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .mobile div.row:nth-of-type(3) .box-item:nth-of-type(1) {
    background-image: url("../img/localizacao.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .mobile div.row:nth-of-type(3) .box-item:nth-of-type(2) {
    background-image: url("../img/ebook.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .mobile div.row:nth-of-type(1) .box-item:nth-of-type(1):before,
  .mobile div.row:nth-of-type(1) .box-item:nth-of-type(2):before {
    content: "";
    display: none;
    position: absolute;
    visibility: hidden;
    height: 100%;
    width: 100%;
    border-radius: 100px;
    bottom: 0;
    left: 0;
    transition: 0.5s ease;
    background: #e8c11db3;
  }

  .mobile div.row:nth-of-type(2) .box-item:nth-of-type(1):before,
  .mobile div.row:nth-of-type(2) .box-item:nth-of-type(2):before {
    content: "";
    display: none;
    position: absolute;
    visibility: hidden;
    height: 100%;
    width: 100%;
    border-radius: 100%;
    bottom: 0;
    left: 0;
    transition: 0.5s ease;
    background: #e8c11db3;
  }

  .mobile div.row:nth-of-type(3) .box-item:nth-of-type(1):before,
  .mobile div.row:nth-of-type(3) .box-item:nth-of-type(2):before {
    content: "";
    display: none;
    position: absolute;
    visibility: hidden;
    height: 100%;
    width: 100%;
    border-radius: 100%;
    bottom: 0;
    left: 0;
    transition: 0.5s ease;
    background: #e8c11db3;
  }

  .mobile div.row:nth-of-type(1) .box-item:nth-of-type(1):hover:before,
  .mobile div.row:nth-of-type(1) .box-item:nth-of-type(2):hover:before {
    height: 100%;
    visibility: visible;
    transition: 0.5s ease;
    display: block;
    z-index: 5;
  }

  .mobile div.row:nth-of-type(2) .box-item:nth-of-type(1):hover:before,
  .mobile div.row:nth-of-type(2) .box-item:nth-of-type(2):hover:before {
    height: 100%;
    visibility: visible;
    transition: 0.5s ease;
    display: block;
    z-index: 5;
  }

  .mobile div.row:nth-of-type(3) .box-item:nth-of-type(1):hover:before,
  .mobile div.row:nth-of-type(3) .box-item:nth-of-type(2):hover:before {
    height: 100%;
    visibility: visible;
    transition: 0.5s ease;
    display: block;
    z-index: 5;
  }

  .box-item p {
    text-align: center;
    font-family: "Comfortaa", cursive;
    color: #000;
    font-size: 24px;
    display: block;
    margin: auto;
    z-index: 10;
  }

  .footer-endereco {
    font-size: 12px;
    padding: 0;
    margin: 32px 0 0 0;
  }

  .footer-info {
    font-size: 12px;
  }
}

@media only screen and (max-width: 400px) {
  .box {
    padding: 0 4%;
  }
  .mobile .box-item {
    border-radius: 100%;
    height: 165px;
    box-shadow: -10px 10px 30px 0 rgba(154, 19, 49, 0.3);
    transition: 0.2s ease;
  }

  .box-item p {
    font-size: 18px;
  }

  .footer-endereco {
    font-size: 10px;

    margin: 32px 0 16px 0;
  }

  .footer-info {
    font-size: 10px;
  }
}
