.social-item:hover .social-icon {
  display: inline-block;
  animation: wiggle 2.5s infinite;
}

@keyframes wiggle {
    0% { transform: rotate(0deg); }
   2% { transform: rotate(0deg); }
   4% { transform: rotate(10deg); }
   6% { transform: rotate(0deg); }
   8% { transform: rotate(-8deg); }
   10% { transform: rotate(0deg); }
   12% { transform: rotate(6deg); }
   14% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 24px;
  margin: 18px auto 0 auto;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s cubic-bezier(0,1,0.5,1);
  border-radius: 4px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s cubic-bezier(0,1,0.5,1);
  border-radius: 2px;
}

input:checked + .slider {
  background-color: #52c944;
}

input:checked + .slider:before {
  -webkit-transform: translateX(21px);
  -ms-transform: translateX(21px);
  transform: translateX(21px);
}

.slider.round {
  border-radius: 17px;
}

.slider.round:before {
  border-radius: 50%;
}

ol {
  margin: 2px auto 2px 0;
}

li, label, input {
  font-weight: var(--THIN);
  line-height: 1.4;
  font-size: 14px;
  font-family: var(--FONT);
}

label.radio-label { margin-right: 2ex; }

#attendance-question {
  margin-bottom: 0;
  display: inline;
  margin-right: 2ex;
  font-weight: 400;
}

@media screen and (max-width: 767px) {
  label.radio-label:after {
    white-space: pre;
    content: "\A";
  }

  #attendance-question {
    display: block;
  }
}


#last-name {
  display: none;
}

form {
  text-align: center;
}

#email {
  border-radius: 8px;
  border: 1px solid var(--FONT-COLOR);
  padding: 2px 8px;
}

#submit {
  padding: 4px 12px;
  font-family: var(--FONT);
  color: var(--FONT-COLOR);
  border-radius: 8px; 
  border: 1px solid var(--FONT-COLOR);
  font-size: calc(((2 * var(--X-SMALL)) + var(--SMALL)) / 3);
  margin: 1ex auto 0 auto;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: transparent;
  letter-spacing: 0.25px;
}

#submit:hover {
  transition: all 0.2s ease;
  color: var(--BACKGROUND-COLOR);
  background-color: var(--FONT-COLOR);
  opacity: 0.5;
}

@media screen and (max-width: 900px) {
  #submit { display: block;opacity: 1; }
}

#complete {
  display: none;
  color: var(--GREEN);
}
