/*Utility styles*/
body, html {
  overflow-x: hidden;
  overflow-y: hidden;
  user-select: none;
  background: #F8E71C;
  font-family: 'Lato', sans-serif;
}
img {
  pointer-events: none;
  width: 100%;
  height: auto;
}
.float-left {
  float: left;
}
.float-right {
  float: right;
}
.clearfix:after,
.clearfix:before {
  content: " ";
  clear: both;
  display: block;
}
.text-active {
  color: #d94b3f;
}
.text-inactive {
  color: #d3d3d3;
}

.logo {
  display: block;
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 39px;
  z-index: 2;
}

/*Card styles*/
.cards-container {
  position: relative;
  width: 100%;
}
.user {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  height: 50px;
  z-index: 2;
}
.user-content {
  display: flex;
  margin: 0 auto;
  align-items: center;
  width: 400px;
}
.user .bombilla {
  margin-right: 10px;
  width: 38px;
  height: 50px;
}
.user p {
  margin: 0;
}
.user .logout {
  margin-left: auto;
  color: #000000;
}
.intro {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 400px;
  color: #000000;
  font-family: 'Lato', sans-serif;
  font-size: 0;
  font-weight: 900;
}
.intro .left {
  display: inline-block;
  width: 50%;
  font-size: 32px;
}
.intro .right {
  display: inline-block;
  width: 50%;
}
.intro .center {
  display: block;
  width: 100%;
  margin: 0 auto 20px;
  font-size: 72px;
}
.intro form {
  display: block;
}
.intro .input {
  display: block;
  width: 100%;
  height: 50px;
  margin: 0 0 15px;
  border-radius: 8px;
  border: 2px solid #000000;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
}
.intro .submit {
  display: block;
  width: 100%;
  height: 60px;
  border-radius: 28px;
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  font-size: 20px;
}
.card {
  overflow: hidden;
  position: absolute;
  left:0;
  right:0;
  top: 100px;
  margin: 0 auto;
  width: 400px;
  border: 2px solid #000000;
  border-radius: 11px;
}
.card.animate {
  transition: all .3s;
}
.card-image {
  position: relative;
}
.card-image-yes,
.card-image-no {
  z-index: 99;
  position: absolute;
  top: 50px;
  width: 100px;
  padding: 5px;
  border: 5px solid;
  border-radius: 10px;
  font-size: 2em;
  letter-spacing: 2px;
  text-align: center;
  font-weight: bold;
  opacity: 0;
}
.card-image-yes {
  left: 30px;
  color: green;
  border-color: green;
  transform: rotate(-30deg);
}
.card-image-no {
  /* left: calc(512px - 115px - 30px); */
  right: 30px;
  color: red;
  border-color: red;
  transform: rotate(30deg);
}
.card-info {
  display: block;
  height: 80px;
  text-align: center;
  border-top: 2px solid #000;
  background-color: #fff;
  padding: 20px;
  font-size: 1.6em;
}

/*Match screen styles*/
#match-fancy-text-img {
  max-width: 512px;
}
.match-screen {
  opacity: 0;
  position: absolute;
  text-align: center;
  font-size: 2em;
  height: 100vh;
  width: 100%;
  text-align: center;
  color: #fff;
  background-color: rgba(0,0,0,1);
  transition: all 1s;
  z-index: 1;
}
.match-screen h2 {
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 70px;
  font-weight: 900;
}
.match-images {
  width: 75%;
  margin: 0 auto;
}
.match-images img {
  display: inline;
  max-width: 175px;
  width: 35%;
  margin: 5%;
  border-radius: 50%;
  border: 2px solid #fff;
}
.match-return-btn {
  border: 4px solid #fff;
  border-radius: 5px;
  max-width: 350px;
  height: 60px;
  border-radius: 28px;
  font-size: 20px;
  margin-top: 25px;
  padding: 15px 45px;
  color: #fff;
  background-color: transparent;
  transition: all .3s;
}

.match-return-btn:hover {
  background-color: #fff;
  color: #000;
}

/*Reset button*/
.reset-btn {
  z-index: 1;
  position: absolute;
  left:0;
  right:0;
  top: 45%;
  margin: 0 auto;
  padding: 15px 45px;
  width: 100%;
  max-width: 300px;
  height: 60px;
  border: 1px solid #000;
  border-radius: 28px;
  background-color: #000000;
  color: #ffffff;
  font-size: 20px;
  transition: all .3s;
  z-index: 3;
}
.reset-btn:hover {
  background-color: #000;
  color: #fff;
}

/*Responsiveness*/
@media (max-width: 512px) {
  .user-content {
    width: 400px;
  }
  .card {
    width: 400px;
  }
  .card-info {
    font-size: 1.4em;
  }
  .match-screen {
    font-size: 1.2em;
  }
}

@media (max-width: 400px) {
  .user-content {
    width: 300px;
  }
  .intro {
    width: 300px;;
  }
  .card {
    width: 300px;
  }
}
@media (max-width: 360px) {
  .card {
    top: 75px;
  }
  .card-info {
    height: 50px;
    font-size: 1.2em;
  }
}

@media (max-width: 300px) {
  .user-content {
    width: 256px;
  }
  .intro {
    width: 256px;
  }
  .card {
    width: 256px;
  }
}



#hilo {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: offsetbase 4s linear forwards;
}

#contorno {
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  animation: offsetbase 4s linear forwards;
}

#base1 {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: offsetbase 1s linear forwards;
}
#base2 {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: offsetbase 1s linear forwards;
  animation-delay: 0.5s;
}
#base3 {
  stroke-dasharray: 37;
  stroke-dashoffset: 37;
  animation: offsetbase 1s linear forwards;
  animation-delay: 1s;
}
@keyframes offsetbase {
  to {
    stroke-dashoffset: 0;
  }
}

#brillointerno1 {
  opacity: 0;
  stroke-dasharray: 45;
  stroke-dashoffset: 45;
  animation: offsetbrillo 2s linear forwards;
  animation-delay: 1s;
}
#brillointerno2 {
  opacity: 0;
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
  animation: offsetbrillo 2s linear forwards;
  animation-delay: 1.5s;
}

#brillo1 {
  opacity: 0;
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
  animation: offsetbrillo 2s linear forwards;
  animation-delay: 2s;
}
#brillo2 {
  opacity: 0;
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
  animation: offsetbrillo 2s linear forwards;
  animation-delay: 2.5s;
}
#brillo3 {
  opacity: 0;
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
  animation: offsetbrillo 2s linear forwards;
  animation-delay: 3s;
}
#brillo4 {
  opacity: 0;
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
  animation: offsetbrillo 2s linear forwards;
  animation-delay: 3.5s;
}
#brillo5 {
  opacity: 0;
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
  animation: offsetbrillo 2s linear forwards;
  animation-delay: 4s;
}
@keyframes offsetbrillo {
  to {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}



