.loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 120px;
  height: 120px;
  margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 } 
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0 } 
  to{ bottom:0; opacity:1 }
}

#myDiv {
  display: none;
  text-align: center;
}

body {
font-family: 'SansationLight';
background: rgba(127,114,196,1);
background: -moz-linear-gradient(left, rgba(127,114,196,1) 0%, rgba(123,0,171,1) 100%);
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(127,114,196,1)), color-stop(100%, rgba(123,0,171,1)));
background: -webkit-linear-gradient(left, rgba(127,114,196,1) 0%, rgba(123,0,171,1) 100%);
background: -o-linear-gradient(left, rgba(127,114,196,1) 0%, rgba(123,0,171,1) 100%);
background: -ms-linear-gradient(left, rgba(127,114,196,1) 0%, rgba(123,0,171,1) 100%);
background: linear-gradient(to right, rgba(127,114,196,1) 0%, rgba(123,0,171,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7f72c4', endColorstr='#7b00ab', GradientType=1 );
}

/** EXTRA **/
.titlex {
  color: #FFF;
  text-align: center;
  font-size: 40px;
}

.credits {
  width: 100%;
  color: #FFF;
  float: left;
  text-align: center;
  opacity: .3;
}
/** EOF EXTRA **/

.containerx {
  margin: 0px;
  position: relative;
  color: #FFF;
  padding: 20px;
  width: 1024px;
  max-width: 100%;
  margin: 0 auto;
}

.button-containerx {
  width: 100px;
  height: 100px;
  float: left;
  text-align: center;
}

.cardx {
  position: absolute;
  width: 80px;
  height: 80px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  color: #FFF;
  text-decoration: none;
}

.cardx:hover {
  background-color: #FFF;
  border-radius: 5px;
  transition: .3s;
  width: 110px;
  height: 110px;
  -webkit-box-shadow: -17px 15px 45px -2px rgba(0,0,0,0.32);
  -moz-box-shadow: -17px 15px 45px -2px rgba(0,0,0,0.32);
  box-shadow: -17px 15px 45px -2px rgba(0,0,0,0.32);
}

.cardx-icon {
  color: #FFF;
  font-size: 60px;
  transition: .3s;
}

.cardx:hover .cardx-icon {
  color: #a676f1;
  font-size: 70px;
  transition: .3s;
}

.cardx-title {
  color: black;
  opacity: 0;
  font-weight: bold;
  position: absolute;
  text-transform: uppercase;
  bottom: 0;
  transition: .3s;
}

.cardx:hover .cardx-title {
  opacity: 1;
  transition: .3s;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}