html,
body {
  width: 100%;
  height: 100%;
}

body {
  background: #ee9ca7;
}

.cake {
  display: block;
  position: relative;
  margin: -160px auto 0 auto;
}
.cake-fallback {
  display: none;
  position: relative;
  margin: -160px auto 0 auto;
}

/* ============================================== Candle
*/
.velas {
  background: #ffffff;
  border-radius: 10px;
  position: absolute;
  top: 220px;
  left: 50%;
  margin-left: -2.5px;
  width: 5px;
  height: 35px;
  -webkit-transform: translateY(-300px);
  -ms-transform: translateY(-300px);
  transform: translateY(-300px);
  -webkit-animation: in 500ms ease-out 6s forwards;
  animation: in 500ms ease-out 6s forwards;
}

.velas:after,
.velas:before {
  background: rgba(255, 0, 0, 0.4);
  content: "";
  position: absolute;
  width: 100%;
  height: 2.22222222px;
}

.velas:after {
  top: 25%;
  left: 0;
}

.velas:before {
  top: 45%;
  left: 0;
}

/* ============================================== Fire
*/
.fuego {
  border-radius: 100%;
  position: absolute;
  top: -20px;
  left: 25%;
  margin-left: -2.2px;
  width: 6.66666667px;
  height: 18px;
}

.fuego:nth-child(1) {
  -webkit-animation: fuego 2s 6.5s infinite;
  animation: fuego 2s 6.5s infinite;
}

.fuego:nth-child(2) {
  -webkit-animation: fuego 1.5s 6.5s infinite;
  animation: fuego 1.5s 6.5s infinite;
}

.fuego:nth-child(3) {
  -webkit-animation: fuego 1s 6.5s infinite;
  animation: fuego 1s 6.5s infinite;
}

.fuego:nth-child(4) {
  -webkit-animation: fuego 0.5s 6.5s infinite;
  animation: fuego 0.5s 6.5s infinite;
}

.fuego:nth-child(5) {
  -webkit-animation: fuego 0.2s 6.5s infinite;
  animation: fuego 0.2s 6.5s infinite;
}

/* ============================================== Animation Fire
*/
@-webkit-keyframes fuego {
  0%, 100% {
    background: rgba(254, 248, 97, 0.5);
    -webkit-box-shadow: 0 0 40px 10px rgba(248, 233, 209, 0.2);
    box-shadow: 0 0 40px 10px rgba(248, 233, 209, 0.2);
    -webkit-transform: translateY(0) scale(1);
    transform: translateY(0) scale(1);
  }

  50% {
    background: rgba(255, 50, 0, 0.1);
    -webkit-box-shadow: 0 0 40px 20px rgba(248, 233, 209, 0.2);
    box-shadow: 0 0 40px 20px rgba(248, 233, 209, 0.2);
    -webkit-transform: translateY(-20px) scale(0);
    transform: translateY(-20px) scale(0);
  }
}
@keyframes fuego {
  0%, 100% {
    background: rgba(254, 248, 97, 0.5);
    -webkit-box-shadow: 0 0 40px 10px rgba(248, 233, 209, 0.2);
    box-shadow: 0 0 40px 10px rgba(248, 233, 209, 0.2);
    -webkit-transform: translateY(0) scale(1);
    transform: translateY(0) scale(1);
  }

  50% {
    background: rgba(255, 50, 0, 0.1);
    -webkit-box-shadow: 0 0 40px 20px rgba(248, 233, 209, 0.2);
    box-shadow: 0 0 40px 20px rgba(248, 233, 209, 0.2);
    -webkit-transform: translateY(-20px) scale(0);
    transform: translateY(-20px) scale(0);
  }
}
@-webkit-keyframes in {
  to {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes in {
  to {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@media screen and (max-width: 767px) {
	.cake {
		margin-top: -250px;
	}
  .cake-fallback {
    margin-top: -250px;
  }
  .velas {
    top: 130px;
  }
}


/*
============
Music Button
============
*/

#music-button {
  box-sizing: border-box;
  width: 50px;
  height: 50px;
  background: url('../img/musicButton.svg') no-repeat center;
  background-size: cover;
  border-radius: 50%;
  border: 2px dashed #000;
  position: absolute;
  right: 50px;
  top: 50px;
  z-index: 10000;
}

#music-button:hover {
  cursor: pointer;
  /*border: 2px solid rgb(100, 173, 241);*/
  box-shadow: 0 0 20px 5px #e98191;
}

@media screen and (orientation: landscape) and (max-width: 767px) {
  #music-button {
    top: 25px;
  }
}


/*
====
Code
====
*/

.code-outer {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  -webkit-perspective: 1000;
  -webkit-perspective-origin-y: 25%;
}

.code-inner {
  width: 40%;
  border-radius: 30px;
  border: outset rgb(185, 102, 42);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: lightgreen;
  transform: rotateY(90deg);
  opacity: 0;
  background: url('../img/wood.svg') no-repeat center;
  background-size: cover;
  transition: transform 0.7s cubic-bezier(0.694, 0.0482, 0.335, 1),
              opacity 0.7s cubic-bezier(0.694, 0.0482, 0.335, 1),
              box-shadow 0.7s cubic-bezier(0.694, 0.0482, 0.335, 1),
}

.code-inner-visible {
  transform: rotateY(0deg);
  opacity: 1;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.code {
  width: 15%;
  margin: 3%;
  position: relative;
}

.code::before {
  display: block;
  content: '';
  width: 100%;
  padding-top: 100%;
}

.code input {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  color: #fa2d2d;
  outline: none;
  border: 2px solid #6fc0c8;
  border-radius: 10%;
  transition: box-shadow 0.3s ease-out,
              border 0.3s ease-out;
}

.code input:focus {
  border: 2px solid #fa2d2d;
  box-shadow: 0 0 8px 2px rgba(250, 45, 45, 0.5);
}


/*
=======
Regards
=======
*/

*,
*::after,
*::before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	overflow: hidden;
}

/* Text styles */
.title {
	margin: 0 auto 0 10%;
	font-size: 3vw;
	position: relative;
	color: #424242;
}

.title--centered {
	width: 100%;
	text-align: center;
}

.js .title--centered {
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.title--right {
	width: 100%;
	text-align: right;
}

.js .title--right {
	-webkit-justify-content: flex-end;
	-ms-flex-pack: flex-end;
	justify-content: flex-end;
}

.title--style-1 {
	font-family: 'Helvetica', 'Airal', sans-serif;
	font-weight: 400;
}

.title--style-2 {
	font-family: 'Fascinate Inline', cursive;
	font-weight: 400;
}

.title--style-3 {
	font-family: 'Pangolin', cursive;
	font-weight: 400;
}

.title--style-4 {
	font-family: 'Secular One', sans-serif;
	font-weight: 400;
}

.title--style-5 {
	font-family: 'Elsie Swash Caps', serif;
	font-weight: 400;
}

.title--style-6 {
	font-family: 'Lobster', cursive;
	font-weight: 400;
}

.title--style-7 {
	font-family: 'Pacifico', cursive;
	font-weight: 400;
}

.title--style-8 {
	font-family: 'Sacramento', serif;
	font-weight: 400;
}

.title--style-9 {
	font-family: 'Rye', cursive;
	font-weight: 400;
}

.title--style-10 {
	font-family: 'Dancing Script', cursive;
	font-weight: 400;
}

.title--style-11 {
	font-family: 'Amatic SC', cursive;
	font-weight: 400;
}

.title--style-12 {
	font-family: 'Satisfy', cursive;
	font-weight: 400;
}

.title--style-13 {
	font-family: 'Neucha', serif;
	font-weight: 400;
}

.title--style-14 {
	font-family: 'Chewy', cursive;
	font-weight: 400;
}

.title--style-15 {
	font-family: 'Cookie', cursive;
	font-weight: 400;
}

.title--style-16 {
	font-family: 'Bad Script', cursive;
	font-weight: 400;
}

.title--style-17 {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 400;
}

.title--style-18 {
	font-family: 'Noto Sans', sans-serif;
	font-weight: 400;
}

.title--style-19 {
	font-family: 'Baloo Da', cursive;
	font-weight: 400;
}

.title--style-20 {
	font-family: 'Lateef', cursive;
	font-weight: 400;
}

.title--style-21 {
	font-family: 'Comic Sans MS', cursive, sans-serif;
	font-weight: 400;
}

[class*="letter"] {
	display: block;
	position: relative;
	-webkit-flex: none;
	-ms-flex: none;
	flex: none;
	white-space: pre;
}

/* Slideshow */
.slideshow {
	margin-top: 3em;
}

.slideshow,
.slide {
	position: relative;
	width: 100%;
	height: 5em;
	text-align: center;
}

.slide {
	padding: 0 6vw;
}

.js .slide {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}

.js .slide:not(.slide--current) {
	position: absolute;
	top: 0;
	pointer-events: none;
	opacity: 0;
}

.letter-effect {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap
}

@media screen and (orientation: landscape) and (max-width: 767px) {
	.slideshow {
		margin-top: 1vw;
	}
	.slide .slideshow {
		height: 5vw;
	}
}

@media screen and (max-width: 479px) {
	.title {
		font-size: 5vw;
	}
}


/*
============
Enter Button
============
*/

.enter-button {
  position: relative;
  width: 15vw;
  margin-left: 70%;
  text-align: center;
  border-radius: 10px;
  transition: box-shadow 0.2s linear,
              background-color 0.2s linear;
  border: solid 2px #e98191;
}

.enter-button:hover {
  box-shadow: 0 0 10px 5px #e98191;
  background-color: #e66c7e;
  cursor: pointer;
}

.enter-button a {
  display: inline-block;
  width: 100%;
  height: 100%;
  line-height: 5vw;
  color: #424242;
  font-size: 3vw;
  text-decoration: none;
}

@media screen and (orientation: landscape) and (max-width: 767px) {
  .enter-button {
    position: relative;
    top: -3.5em;
  }
}


/*
===
Ban
===
*/

#ban {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -144px;
  margin-left: -256px;
  width: 512px;
  height: 288px;
  border: 2px solid #424242;
  border-radius: 10px;
  background-image: url(../img/ban.png);
  background-size: cover;
  background-position: center;
}
