.social-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  gap: 0 20px;
}
.social-container.wide {
  justify-content: center;
  gap: 0;
}
.social-container.with-logo {
  justify-content: space-between;
  gap: 0;
}
.social-container a {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 20%;
  max-width: 60px;
  aspect-ratio: 1 / 1;
}
.social-container.wide a {
  width: 25%;
  max-width: unset;
}
.social-container a::before {
  content: '';
  position: absolute;
  display: block;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition: all 500ms ease-in-out;
  z-index: -1;
}
.social-container:not(.wide) a::before {
  border-radius: var(--template-border-radius);
}
.social-container a .badge {
  width: 50%;
  height: 50%;
}
.social-container.monotone a .badge {
  width: 75%;
  height: 75%;
}
.social-container.with-logo a .badge {
  width: 70%;
  height: 70%;
}
.social-container a .text {
  display: none;
}
.social-container .facebook::before {
  background-color: rgba(66,103,178,1);
}
.social-container .tiktok::before {
  background: linear-gradient(45deg, rgb(3,252,254) 0%,rgb(243,11,110) 100%);
}
.social-container .tiktok:hover::before {
  background: linear-gradient(115deg, rgb(3,252,254) 0%,rgb(243,11,110) 100%);
}
.social-container .youtube::before {
  background-color: rgba(255,0,0,1);
}
.social-container .instagram::before {
  background: linear-gradient(115deg, #f9ce34, #ee2a7b, #6228d7);
}
.social-container .instagram:hover::before {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
}
.social-container.monotone .facebook::before,
.social-container.monotone .tiktok::before,
.social-container.monotone .youtube::before,
.social-container.monotone .instagram::before,
.social-container.with-logo .facebook::before,
.social-container.with-logo .tiktok::before,
.social-container.with-logo .youtube::before,
.social-container.with-logo .instagram::before {
  background: none !important;
}
.social-container.with-logo .logo {
  margin-bottom: unset !important;
  margin-left: 10px;
  margin-right: 10px;
  max-width: 65px;
}

@media (min-width: 768px) {
  .social-container {
    justify-content: center;
    gap: 0 20px;
  }
  .social-container.wide {
    gap: 0;
  }
  .social-container.monotone {
    align-items: baseline;
  }
  .social-container.with-logo {
    align-items: center;
  }
  .social-container a {
    flex-direction: column;
    justify-content: center;
    gap: 10px 0;
    height: 140px;
    width: 25%;
    max-width: unset;
    aspect-ratio: unset;
  }
  .social-container.monotone a,
  .social-container.with-logo a {
    height: unset !important;
  }
  .social-container a .badge {
    max-width: 45px;
    max-height: 45px;
  }
  .social-container.wide a .badge {
    max-width: 50px;
    max-height: 50px;
  }
  .social-container.with-logo a .badge {
    max-width: 50px;
    max-height: 50px;
  }
  .social-container a .text {
    display: flex;
    max-height: 21px;
  }
  .social-container.with-logo a .text {
    display: none;
  }
  .social-container.wide a .text {
    max-height: 23px;
  }
  .social-container a.instagram .text {
    max-height: 30px;
  }
  .social-container.wide a.instagram .text {
    max-height: 32px;
  }
  .social-container.with-logo .logo {
    margin-left: 10px;
    margin-right: 10px;
    max-width: 75px;
  }
}

@media (min-width: 992px) {
  .social-container {
    gap: 0 20px;
  }
  .social-container.wide {
    gap: 0;
  }
  .social-container.monotone,
  .social-container.with-logo {
    justify-content: center;
    align-items: center;
  }
  .social-container a {
    flex-direction: row;
    height: unset;
    padding: 20px 0;
    gap: 0 10px;
    -webkit-filter: brightness(.9);
      filter: brightness(.9);
    transition: all 500ms ease-in-out;
  }
  .social-container.monotone a,
  .social-container.with-logo a {
    padding: 0;
    -webkit-filter: brightness(.8);
      filter: brightness(.8);
  }
  .social-container a:hover {
    -webkit-filter: brightness(1.05);
      filter: brightness(1.05);
      -webkit-transform: scale(1.05);
          transform: scale(1.05);
    transition: all 250ms ease-in-out;
  }
  .social-container.monotone a:hover,
  .social-container.with-logo a:hover,
  .social-container.wide a:hover {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  .social-container:not(.monotone) a:hover::before,
  .social-container:not(.with-logo) a:hover::before {
    transition: all 250ms ease-in-out;
  }
  .social-container.wide a:hover::before {
    top: -3px;
  }
  .social-container a.tiktok {
    gap: 0 10px;
  }
  .social-container a .badge {
    max-width: 40px;
    max-height: 40px;
  }
  .social-container.wide a .badge {
    max-width: 45px;
    max-height: 45px;
  }
  .social-container.with-logo a .badge {
    max-width: 40px;
    max-height: 40px;
  }
  .social-container a .text {
    max-height: 21px;
  }
  .social-container.with-logo a .text {
    display: flex;
  }
  .social-container a.instagram .text {
    max-height: 30px;
    margin-top: 6px;
  }
  .social-container.wide a .text {
    max-height: 24px;
  }
  .social-container.wide a.instagram .text {
    max-height: 33px;
    margin-top: 8px;
  }
  .social-container.with-logo .logo {
    margin-left: 20px;
    margin-right: 20px;
    max-width: 90px;
  }
}

@media (min-width: 1340px) {
  .social-container.wide a {
    padding: 25px 0;
    gap: 0 15px;
  }
  .social-container.wide a:hover::before {
    top: -5px;
  }
  .social-container.wide a.tiktok {
    gap: 0 15px;
  }
  .social-container.wide a .badge {
    max-width: 50px;
    max-height: 50px;
  }
  .social-container.wide a .text {
    max-height: 27px;
  }
  .social-container.wide a.instagram img.text {
    max-height: 36px;
    margin-top: 8px;
  }
}