:root {
  --facebook: #0866FF;
  --twitter: #00aced;
  --instagram: #800BFD;
  --tiktok: #FE014F;
  --email: #34e60c;
}

footer {
  display: flex;
  flex-direction: column;
  text-align: center;
  background-color: rgba(231, 229, 229, 0.937);
}

footer a {
  text-decoration: none;
  color: var(--color-2);
}

footer p {
  font-size: 11px;
}

.others ul{
  list-style: none;
  display: flex;
  justify-content: space-around;
  padding: 0;
}

.socials ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  padding: 0; 
  width: 100%;
}

.socials li {
  width: 50px;
  height: 50px;
  text-align: center;
  cursor: pointer;
  border-radius: 50%;
  border: 5px solid rgba(231, 229, 229, 0.937);
  transition: all 0.5s ease;
}

/*facebook*/
.socials ul li:hover.facebook {
  border: 5px solid var(--facebook);
  box-shadow: 0 0 15px var(--facebook);
  transition: all 0.5s ease;
}

.socials ul li:hover .fa-facebook-f {
  color: var(--facebook);
  text-shadow: 0 0 15px var(--facebook);
  transition: all 0.5s ease;
}

/* instagram */
.socials ul li:hover.instagram {
  border: 5px solid var(--instagram);
  box-shadow: 0 0 15px var(--instagram);
  transition: all 0.5s ease;
}

.socials ul li:hover .fa-instagram {
  color: var(--instagram);
  text-shadow: 0 0 15px var(--instagram);
  transition: all 0.5s ease;
}

/* tiktok */
.socials ul li:hover.tiktok {
  border: 5px solid var(--tiktok);
  box-shadow: 0 0 15px var(--tiktok);
  transition: all 0.5s ease;
}

.socials ul li:hover .fa-tiktok {
  color: var(--tiktok);
  text-shadow: 0 0 15px var(--tiktok);
  transition: all 0.5s ease;
}

/* email */
.socials ul li:hover.email {
  border: 5px solid var(--email);
  box-shadow: 0 0 15px var(--email);
  transition: all 0.5s ease;
}

.socials ul li:hover .fa-at {
  color: var(--email);
  text-shadow: 0 0 15px var(--email);
  transition: all 0.5s ease;
}

.socials .tooltip {
  position: absolute;
  top: 0;
  font-size: 14px;
  background: #ffffff;
  color: #ffffff;
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.socials .tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background: #ffffff;
  bottom: -3px;
  transform: rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.socials .icon {
  position: relative;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.socials .icon:hover span,
.socials .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.socials .icon:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.socials .facebook:hover .tooltip,
.socials .facebook:hover .tooltip::before {
  color: #ffffff;
  background-color: var(--facebook);
}

.socials .instagram:hover .tooltip,
.socials .instagram:hover .tooltip::before {
  color: #ffffff;
  background-color: var(--instagram);
}

.socials .tiktok:hover .tooltip,
.socials .tiktok:hover .tooltip::before {
  color: #ffffff;
  background-color: var(--tiktok);
}

.socials .email:hover .tooltip,
.socials .email:hover .tooltip::before {
  color: #ffffff;
  background-color: var(--email);
}

@media only screen and (max-width: 1140px) {
  .tooltip {
    display: none;
  }
}