body {
  width: 100%;
}
/* botão whats pagina de contato*/


#animations {
    animation-name: popup;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
  }

  @keyframes popup {
    from {
      transform: translateY(-10px);
    }
  
    to {
      transform: scaleY(0px);
    }
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 #008000;
    }
  
    100% {
      box-shadow: 0 0 0 20px;
    }
  }
  
  .whats {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
    position: fixed;
    bottom: 40px;
    right: 25px;
    font-size: 64px;
    z-index: 1000;
    box-shadow: 2px 2px 2px rgba(182, 46, 5, 0);
    transform: scaleY(-10px);
    background-color: green;
  }
  
  .icone {
    width: 55px;
    height: 55px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    animation: pulse 1.5s linear infinite;
    text-decoration: none;
  }

 .whats a {
    color: white;
    text-decoration: none;
 }

/* pagina de contatos */
.contatos-geral {
    display: flex;
    margin-top: 5rem;
    padding: 0 40px;
    width: 100%;
   
}

.titulo {
    font-size: 30px;
    margin-top: 5rem;
    font-weight: 600;
    text-align: center;
}

.titulo h1 {
  color: #8e2424;
  font-size: 40px;

}

.card{
    display: flex;
    margin: 2rem;
    height: 25rem;
    padding: 0.3rem;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.5s;
    text-align: center;
   /* From https://css.glass */
    background: rgba(180, 36, 31, 0.09);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2.8px);
    -webkit-backdrop-filter: blur(2.8px);
    border: 1px solid #8e2424;     
}

.img img {
    width: 200px;
    padding: 1rem;
    transition: 0.5s;
    border-radius: 100%;
}

h1 {
   font-size: 1.7rem;
}

.conteudo-contatos {
    padding: 4px;
    text-align: center;
}

.conteudo-contatos p {
    color: #666;
    transition: 0.5s;
}

.conteudo-contatos a {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    /* background-color: #0b7bff; */
    color: #222;
    border-radius: 40px;
    text-decoration: none;
    transition: 0.5s;
    outline: none;
}

.card:hover {
    background-color: #8e2424;
    color: white;
    margin-top: -1rem;
    box-shadow: 2px 20px 25px #666;
    border-color: #8e2424
}

.card:hover .conteudo-contatos p{
    color: white;
}

.card:hover .conteudo-contatos a{
    color: #8e2424;
    background-color: white;

}


@media (min-width: 1024px) and (max-width: 1250px) {
  .img img {
    width: 120px;
  }

  .conteudo-contatos a {
    padding: 1px 10px;
  }

  .whats {
    right: 15px;
  }

  .contatos-geral {
    margin-left: 8rem;
  }

}

@media (min-width: 768px) and (max-width: 1023px) {
  .contatos-geral {
    margin-left: 5rem;
  }

  .img img {
    width: 80px;
  }

  h1 {
    font-size: 0.9rem;
  }

  p {
    font-size: 0.7rem;
  }

  .card {
    margin: 1rem;
  }

  .conteudo-contatos a {
    margin-top: 1rem;
  }

  .whats {
    right: 09px;
  }
}

@media (min-width: 320px) and (max-width: 767px) {
  
  main.contatos-geral {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }

  .whats, .whats a, .whats a i {
    font-size: 35px;
  }

  .icone {
    width: 30px;
    height: 30px;
  }
}