:root {
  
  --bg-color: rgba(31, 18, 19, 1);
  --text-color: rgba(244, 87, 146, 1);
}

@font-face {
  font-family: Coolvetica;
  src: url("Coolvetica\ Rg.otf");
}

body {
  position: relative;
  margin: 0px;

}

.bg-image {

  background-color: var(--bg-color);
  /* background-image: url(libido.png); */
 
  /* filter: blur(8px); */
 
  height: 100%;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  z-index: 1;
    
}
 
.count {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 4em;
  color: var(--text-color);
  font-family: Coolvetica;
}

.social{
  display: flex;
  position: absolute; 
  bottom: 20px;
  z-index: 2; /* il z index gestisce l'ordine di sovrapposizione degli elementi, un z index maggiore comporta di essere visualizzati sopra gli oggetti con z index minore */
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0 auto;
  gap: 20px;
  font-family: Coolvetica;
}
.social a{
  background-color: var(--bg-color);
  padding: 1em;
  border-radius: 50%;
  height: 64px;
  width: 64px;
  box-sizing: border-box;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}
.social a svg{
  height: 32px;
  fill: var(--text-color);
}

.social a::before{
  content: attr(data-social);
  position: absolute;
  background-color: white;
  text-decoration: none;
  padding: 0.5em 1em;
  border-radius: 100px;
  box-shadow: 0 5px 10px var(--bg-color);
  transform: translateY(-30px) rotate(25deg);
  opacity:0;
  transition: 200ms cubic-bezier(.42,0,.44,1.68);
}

.social a:hover{
  background-color: white;
  fill: white;
}

.social a::after{
  content: '';
  position:absolute;
  height: 0;
  width: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid white;
  opacity: 0;
  transform: translateY(0) rotate(25deg);
  
}
.social a:hover::before{
    transform: translateY(-65px) rotate(0);
    opacity: 1;
}
.social a:hover::after{
    transform: translateY(-42px) rotate(0);
    opacity: 1;

}
.presave a{

  color: var(--text-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: large;
}