:root {
  --sssi-background: #4285f4;
  --sssi-icon-color: #344955;
  --sssi-icon-width: 50px;
  --sssi-icon-height: 50px;
  --sssi-icon-border-radius: 100%;
}

/*body {
  background: #fff;
  background-color: #eff8e2;
  height: 100vh;
  font: "Lexend Deca", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin: 0;
  padding: 0;
} */

.sssi-icon-wrapper {
  width: var(--sssi-icon-width);
  height: var(--sssi-icon-height);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 6rem;
  
  .sssi-icon-fab {
    background: var(--sssi-background);
    width: var(--sssi-icon-width);
    height: var(--sssi-icon-height);
    position: relative;
    z-index: 3;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fab-animation-reverse 0.4s ease-out forwards;
    
    /* &::before,
    &::after {
      content: "";
      display: block;
      position: absolute;
      border-radius: 4px;
      background: #fff;
    }
    
    &::before {
      width: 4px;
      height: 18px;
    }
    
    &::after {
      width: 18px;
      height: 4px;
    } */
  }
  
  .sssi-icon-fab img { 
      width: 24px;
  }
  
  .sssi-icon-fac {
    width: 32px;
    height: 150px;
    border-radius: 64px;
    position: absolute;
    background: #fff;
    z-index: 2;
    padding: 0.5rem 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    opacity: 0;
    top: -180px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    transition: opacity 0.2s ease-in, top 0.2s ease-in, width 0.1s ease-in;
    
    /*&::after {
      content: "";
      width: 20px;
      height: 20px;
      background: #fff;
      border-radius: 3px;
      position: absolute;
      left: 50%;
      margin-left: -10px;
      bottom: -8px;
      transform: rotate(45deg);
      z-index: 0;
    }*/
    
    a {
      color: var(--sssi-icon-color);
      opacity: 0.8;
      padding: 0 5px;
      
      &:hover {
        transition: 0.2s;
        opacity: 1;
        color: darken(#344955, 2%);
      }
    }
  }
  
  input {
    height: 100%;
    width: 100%;
    border-radius: var(--sssi-icon-border-radius);
    cursor: pointer;
    position: absolute;
    z-index: 5;
    opacity: 0;
    
    &:checked {
     /* ~ .sssi-icon-fab img{
        animation: fab-animation 0.4s ease-out forwards;
      } */
      
      ~ .sssi-icon-fac {
        width: 48px;
        height: 240px;
        animation: fac-animation 0.4s ease-out forwards 0.1s;
        top: -250px;
        opacity: 1;
        left: 4px;
      }
    }
  }
}

/* Floating Social Shares */
#social-toggle-icon {
    -webkit-transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}
#social-toggle-icon svg {
	transform: rotate(180deg);
}
#social-toggle-icon.in-active svg {
	transform: rotate(0deg);
}

.elementor-social-icons-wrapper {	
	-webkit-transition: all;
  -moz-transition: alls;
  transition: all;
}

.elementor-social-icons-wrapper .elementor-grid-item:first-child .e-font-icon-svg{   
	transition: all 0.5s ease 0s;
  -webkit-transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  display: inline-block;
  vertical-align: bottom;
}

.elementor-social-icons-wrapper .elementor-grid-item:not(:first-child) {   
	position: relative;
	left: 0;	
	
}

.elementor-social-icons-wrapper .elementor-grid-item:not(:first-child) .e-font-icon-svg {  		
	-webkit-transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}




@keyframes fab-animation {
  0% {
    transform: rotate(0) scale(1);
  }
  20% {
    transform: rotate(60deg) scale(0.93);
  }
  55% {
    transform: rotate(35deg) scale(0.97);
  }
  80% {
    transform: rotate(48deg) scale(0.94);
  }
  100% {
    transform: rotate(45deg) scale(0.95);
  }
}

@keyframes fab-animation-reverse {
  0% {
    transform: rotate(45deg) scale(0.95);
  }
  20% {
    transform: rotate(-15deg);
  }
  55% {
    transform: rotate(10deg);
  }
  80% {
    transform: rotate(-3deg);
  }
  100% {
    transform: rotate(0) scale(1);
  }
}

@keyframes fac-animation {
  0% {
    transform: scale(1, 1);
  }
  33% {
    transform: scale(0.95, 1.05);
  }
  66% {
    transform: scale(1.05, 0.95);
  }
  100% {
    transform: scale(1, 1);
  }
}
