body {
  margin: 0; 
  /* overflow: hidden; */
  background: black;
  /* font-family: 'Vollkorn', serif; */
  /* font-family: 'Roboto', sans-serif; */
  /* font-family: 'Open Sans', sans-serif; */
  font-family: 'Cormorant Garamond', serif;
  /* font-family: 'Playfair Display', serif; */
  /* font-size: 18px; */
  margin: 0;
  padding:0;
  font-size: 32px;
  color: black;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

#loader {
  position: fixed;
  width: 100%;
  height: 100vh;
  z-index: 1;
  overflow: visible;
  background: #000 url('../img/loader_02.gif') no-repeat center center;
}


article {
  display: flex;
  justify-content: center;
  width: 100%;

  position: relative;
  padding: 0 1rem;
  /* max-width: 20rem; */
}

h1 {
  font-size: 2em;
  /* font-size: 4em; */
  color: white;
  /* color: #81CDE0; */
  /* padding: 0.5em 2em; */
  padding: 0.5em 0em;
  letter-spacing: 0.025em;
  margin: 0.5em 0;
  position: relative;
}

p {
  font-size: 1em;
  text-shadow: 0px 4px 12px rgba(255, 255, 255, 0.425);

  
}

h3 {
  font-size: 1.25em;
  /* word-spacing: auto; */
  text-shadow: 0px 4px 12px rgba(255, 255, 255, 0.425);
  letter-spacing: 0.025em;
}

h2{
  font-size: 1.75em;
  /* word-spacing: auto; */
  text-shadow: 0px 4px 12px rgba(255, 255, 255, 0.425);

}

h4{
  text-shadow: 0px 4px 12px rgba(255, 255, 255, 0.425);
  /* word-spacing: auto; */
}


.main-col {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  width: 60%;
  /* width: 100%; */
  /* border: rgb(228, 110, 158); */
}

.row {
  display: flex;
  justify-content: center;
  flex-direction: row;
  width: 100%;
}



.box-small {
  width: 500px;
  height: 100px;
  padding: 3em;
  background: rgba(200, 100, 200, 0.5);
  margin: 5em;

}

.box-full {
  width: 100%;
  height: 800px;
  
}



#portada {
  display: flex;
  background: none;
  position: fixed;
  flex-direction: column;
  justify-content: center;
  /* justify-content: space-between; */
  align-items: center;
  color: white;
}

#sceneCont {
  position: fixed;
  opacity: 1;
  -webkit-transition: opacity 3.5s ease-in-out;
  -moz-transition: opacity 3.5s ease-in-out;
  transition: opacity 3.5s ease-in-out;
}

#canvasRitual {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 16;
  pointer-events: none;
}


#poema-altar {
  position: relative;
  /* background-color: aquamarine; */
  /* opacity: 0.5; */
  width: 100%;
  height: 100%;
  z-index: 5;
  display: flex;
  justify-content: center;
}
/* 
#defaultCanvas0 {
  display: none;
} */



#videoCont, #camVid {
  position: fixed;
  /* background:black; */
  width: 100%;
  opacity: 1;
  /* pointer-events: none; */
  /* mix-blend-mode: color-dodge;     */
  mix-blend-mode: soft-light;    
  background-repeat: repeat-x;   
  transform: rotateY(180deg);
  -webkit-transform:rotateY(180deg);
  -moz-transform:rotateY(180deg);
  /* -moz-box-shadow: 1px 2px 3px rgba(0,0,0,.5); */
  -webkit-box-shadow: 1px 2px 3px rgba(0,0,0,.5);
  /* box-shadow: 1px 2px 3px rgba(0,0,0,.5); */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;

  
}

#vidJam01, #vidJam02, #vidJam03, #vidJam04 {
  position: fixed;
  background:black;
  width: 100%;
  opacity: 0;
  /* pointer-events: none; */
  mix-blend-mode: overlay;    
  background-repeat: repeat-x;   
  transform: rotateY(180deg);
  -webkit-transform:rotateY(180deg);
  -moz-transform:rotateY(180deg);
  /* -moz-box-shadow: 1px 2px 3px rgba(0,0,0,.5); */
  -webkit-box-shadow: 1px 2px 3px rgba(0,0,0,.5);
  box-shadow: 1px 2px 3px rgba(0,0,0,.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1; 
}

#vidCor {
  /* position: fixed;
  mix-blend-mode: overlay;     */
  /* width: 0px; */
  /* opacity: 0; */

}

#videoCont:after, #camVid, #vidJam01  {
  /* -moz-box-shadow: inset 0 0 500px #000000; */
  -webkit-box-shadow: inset 0 0 500px #000000;
  box-shadow: inset 0 0 500px #000000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  content: "";
}

#footer {
  display: flex;
  position: fixed;
  top: 90vh;
  height: 10vh;
  width: 100vw;
  background: rgba(0,0,0,0.75);
  z-index: 30;
  /* justify-content: space-around; */
  justify-content: center;
  align-items: center;
  opacity:0.0;
  /* pointer-events: none; */
}

#footer div {
  width: 30%;
  text-align: center;
}

#logo-alt {
  width: auto;
  height: 8vh;
}


.btn-footer {

  font-size: 32px;
  background-color: transparent; 
  background-position: 100% 0;
  background-size: 200% 200%;
  border: none; 
  outline: solid;
  outline-width: 1px;
  color: rgb(228, 175, 39);
  /* font-weight: bold; */
  letter-spacing: 1px;
  text-shadow: 0px 8px 8px rgba(255, 253, 253, 0.2);
  text-align: center;
  font-size: 18px;
  width: 220px;
  height: 40px; 
  margin: 25px;
  /* box-shadow: 0 16px 32px 0 rgba(252, 181, 100, 0.247); */
  /* box-shadow: 0 8px 32px 12px rgba(252, 181, 100, 0.250); */
  font-family: 'Cormorant Garamond', serif;
  z-index: 1;
  cursor: pointer;  
}

.btn-footer:hover {
  box-shadow: 0 16px 16px 0 rgba(255, 255, 255, 0.0966);
  background-position: 0 0; 
  /* color: rgb(252, 195, 88); */
  transition: all 0.5s;
  -webkit-transform: scale(1.025);
  -ms-transform: scale(1.025);
  transform: scale(1.025);
}

.btn-footer:active {
  box-shadow: 0 16px 16px 0 rgba(255, 255, 255, 0.0966);
  background-position: 0 0; 
  color: rgb(255, 255, 255);
  transition: all 0.5s;
  -webkit-transform: scale(1.025);
  -ms-transform: scale(1.025);
  transform: scale(1.025);
}




#scrolly {
  position: sticky;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* background-color: none; */
  padding: 1rem;
}

#scrolly > * {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}


.step {
  position: relative;
  display: flex !important;
  /* margin: 0 auto 2rem auto; */
  /* background-color: none; */
  /* background-color: #3b3b3b; */
  color: #fff;
  opacity: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center !important;
  flex-direction: column;
  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
}

.step:last-child {
  display: flex;
  width: 100%;
  margin-bottom: 0;
}

.step.is-active {
  display: flex;
  width: 100%;
  /* background-color: goldenrod;
  color: #3b3b3b; */
  color: white;
  opacity: 1;
  -webkit-transition: opacity 1.5s ease-in-out;
  -moz-transition: opacity 1.5s ease-in-out;
  transition: opacity 1.5s ease-in-out;

}

.step > p, .step > h3 {
  text-align: center !important;
  /* display: flex; */
  width: 100%;
  /* height: 100%; */
  /* padding: 1rem; */
  /* font-size: 1.5rem; */
  align-self: center;
  margin: 0 !important;
}


/* DERECHA*/
#uno, #dos {
  margin-top: 5%; 
  margin-left: 70%;
  font-size: 22px;
  text-shadow: 0px 4px 12px rgba(255, 255, 255, 0.425);
  text-align: right;
  
}



.faded {
  transition: all 0.5s ease;
  opacity: 0;
}

/* Formulario*/
.form {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  /* align-content: center; */
  align-items: flex-start;
  
}

.form-text {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  width: 100%;
  text-shadow: 0px 4px 12px rgba(255, 255, 255, 0.425);

  
}

.form-text p {
  margin: 1em 0em;
  width: 300px;
  font-size: 20px;
}


.form-text input {
  margin: 1em 0em;
  border-width: 0 0 2px 0;
  border-color: white;
  line-height: 26px;
  background-color: transparent;
  font-family: 'DM Mono', monospace;
  
}

.input-short {
  width: 300px;
  height: 25px;
  align-self: center;
  
}

/* .input-num-cont {
  display: flex;
  justify-content: flex-end;
  flex-direction: row;
  align-items: center;
  width: 100%;
} */

.input-num {
  width: 100px;
  height: 25px;
  align-self: center;

}


.input-long {
  width: 300px;
  height: 50px;
  align-self: center;
}


#text-input {
  font-size: 14px;
  height: 10vh;
  padding: 1em;
  font-family: 'DM Mono', monospace;

}

#nombre, #nacio, #murio {
  font-size: 22px;
  color: white;
  padding: 1em;
}

textarea {
  background-color: rgb(20,20,20);
  border: rgb(20,20,20);
  color: white;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    transform: rotate(90deg);
    height: 80px;
    opacity: 0;
}





.form-button {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1em 1em;

}

#form-button {
  background-color: transparent; 
  background-position: 100% 0;
  background-size: 200% 200%;
  border: none; 
  outline: solid;
  outline-width: 1px;
  color: white;
  font-family: 'Cormorant Garamond', serif;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 0px 8px 8px rgba(255, 253, 253, 0.2);
  text-align: center;
  font-size: 18px;
  width: 200px;
  height: 40px; 
  /* transition: all 0.5s;  */
  cursor: pointer;
  margin: 50px;
  box-shadow: 0 16px 32px 0 rgba(252, 181, 100, 0.247);
  transition: all 0.5s ease;
}

#form-button:hover{
  box-shadow: 0 16px 16px 0 rgba(255, 255, 255, 0.0966);
  background-position: 0 0; 
  color: rgb(252, 195, 88);

}

#form-button:disabled {
  background-color: gray;
  color: #202224; 
  cursor: not-allowed;
}

 #vidJam01, #vidJam02, #vidJam03, #vidJam04 {
  /* display: none; */
  pointer-events: none;
}





.hide {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}


.hidden {
  display: none !important;
}


#jam {
  width: 100vh;
  height: 50vh;
}





/* Mobile Styles */
@media only screen and (max-width: 480px) {
  #footer {
    flex-direction: column;
    justify-content: flex-start;
    height:100vh;
    top: 0;
    background: none;
    /* pointer-events: visible; */

  }

  #footer div {
    width:100%;
    margin: 5px;
  }

  .btn-footer {
    margin: 5px;

  }

  .main-col {
    width: 90%;
    margin: 0;
    padding: 25px;
  }

  #form {
    width: 90%;
    margin: 0;
    padding: 25px;


  }
	
}