:root {
  --main-color: #ff6f69; }

> * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }
  > *:before, > *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }

*::-webkit-input-placeholder {
  color: #666;
  opacity: 1; }

*:-moz-placeholder {
  color: #666;
  opacity: 1; }

*::-moz-placeholder {
  color: #666;
  opacity: 1; }

*:-ms-input-placeholder {
  color: #666;
  opacity: 1; }

body input:focus:required:invalid,
body textarea:focus:required:invalid {
  color: #666; }

body input:required:valid,
body textarea:required:valid {
  color: #666; }

html, body {
  height: 100%; }

body {
  font-size: 16px;
  min-width: 320px;
  position: relative;
  line-height: 1.65;
  overflow-x: hidden; }

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto; }

::selection {
  background-color: #fff;
  color: #fff; }

a, a:hover, a:focus, a:active {
  outline: none !important;
  text-decoration: none;
  color: #000; }

body {
  box-sizing: border-box; }

html,
body {
  height: 100%; }

body {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #222; }

.loader {
  position: relative;
  width: 300px;
  height: 300px;
  transform-style: preserve-3d;
  transform: perspective(500px) rotateX(60deg); }
  .loader span {
    position: absolute;
    display: block;
    border: 5px solid #ffffff;
    box-shadow: 0 5px 0 #ccc, inset 0 5px 0 #ccc;
    box-sizing: border-box;
    border-radius: 50%;
    animation: animate 3s ease-in-out infinite; }
  .loader span:nth-child(1) {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    animation-delay: 0s; }
  .loader span:nth-child(0) {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    animation-delay: 0s; }
  .loader span:nth-child(1) {
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    animation-delay: 0.1s; }
  .loader span:nth-child(2) {
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    animation-delay: 0.2s; }
  .loader span:nth-child(3) {
    top: 40px;
    left: 40px;
    right: 40px;
    bottom: 40px;
    animation-delay: 0.3s; }
  .loader span:nth-child(4) {
    top: 50px;
    left: 50px;
    right: 50px;
    bottom: 50px;
    animation-delay: 0.4s; }
  .loader span:nth-child(5) {
    top: 60px;
    left: 60px;
    right: 60px;
    bottom: 60px;
    animation-delay: 0.5s; }
  .loader span:nth-child(6) {
    top: 70px;
    left: 70px;
    right: 70px;
    bottom: 70px;
    animation-delay: 0.6s; }
  .loader span:nth-child(7) {
    top: 80px;
    left: 80px;
    right: 80px;
    bottom: 80px;
    animation-delay: 0.7s; }
  .loader span:nth-child(8) {
    top: 90px;
    left: 90px;
    right: 90px;
    bottom: 90px;
    animation-delay: 0.8s; }
  .loader span:nth-child(9) {
    top: 100px;
    left: 100px;
    right: 100px;
    bottom: 100px;
    animation-delay: 0.9s; }
  .loader span:nth-child(10) {
    top: 110px;
    left: 110px;
    right: 110px;
    bottom: 110px;
    animation-delay: 1s; }
  .loader span:nth-child(11) {
    top: 120px;
    left: 120px;
    right: 120px;
    bottom: 120px;
    animation-delay: 1.1s; }
  .loader span:nth-child(12) {
    top: 130px;
    left: 130px;
    right: 130px;
    bottom: 130px;
    animation-delay: 1.2s; }
  .loader span:nth-child(13) {
    top: 140px;
    left: 140px;
    right: 140px;
    bottom: 140px;
    animation-delay: 1.3s; }
  .loader span:nth-child(14) {
    top: 150px;
    left: 150px;
    right: 150px;
    bottom: 150px;
    animation-delay: 1.4s; }
  .loader span:nth-child(15) {
    top: 160px;
    left: 160px;
    right: 160px;
    bottom: 160px;
    animation-delay: 1.5s; }

@keyframes animate {
  0%,100% {
    transform: translateZ(-100px); }
  50% {
    transform: translateZ(100px); } }
