/* =============================================================================
   HTML5 CSS Reset Minified - Eric Meyer
   ========================================================================== */

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}
li{list-style:none}


/* =============================================================================
   My CSS
   ========================================================================== */

/* ---- base ---- */

html,body{ 
	width:100%;
	height:100%;
	background:#222;
}

html{
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

canvas{
  display:block;
  
}


/* ---- particles.js container ---- */

#particles-js{
  width: 100%;
  height: 99.8%;
  
  
  z-index: 1;
  position: absolute;
  top: 0.1%;
  left: 0;
  
}

#contenedor{
  height:45vw;
  width:100vw;
  position: relative;
  background-image: url("../img/fondo_calendario.jpg");
  background-position: center;
  background-size: contain;
}

/* ---- elementos del calendario ---- */
#calendario{
  z-index: 100;
  width: 55vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000;
  background-image: url('../img/calendario.jpg');
  background-size: cover;
  box-shadow: 0.05vw 0px 2vw #333;
  opacity: 0;
}
#promos{
  width: 100%;
  height: 100%;
  z-index: 10;
}
#fondo{
  width: 100%;
  height: 100%;
  display:flex;
  align-items: center;
}
#logo{
  width:100%;
  height: 100%;
  position: absolute;
  top:0%;
  left:0%;
  background-image: url('../img/MySTG.png');
  background-position: center center;
  background-size: 40%;
  background-repeat: no-repeat;
  z-index: 19;
  
}
#texto{
  font-family: "Caecilia-bold-italic";
  font-size: 2.5vw;
  position: absolute;
  top: 11vw;
  left:60vw;
  z-index: 2;
  color: #4F3D38;
  
}
#subtexto{
  font-family: "Caecilia-light-italic";
  font-size: 1.5vw;
  position: absolute;
  top: 38vw;
  left:60vw;
  z-index: 3;
  color: #4F3D38;
}
.oculto{
  opacity: 0;
}



/* ---- animaciones --- */
.aparecer {
  animation-name:aparecer;
  animation-duration: 3.5s;
  animation-fill-mode: forwards;
}

@keyframes aparecer { 
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.calaparecer {
  animation-name:calaparecer;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
}
@keyframes calaparecer {
  0% {opacity:0}
  100% {opacity: 1}
}


.salida {
  animation-name: salida;
  animation-duration: 1s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}
.entrada {
  animation-name: entrada;
  animation-duration: 1.2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
  
}

@keyframes salida {
  from {left: 0%;}
  to {left: 55%;}
}

@keyframes entrada {
  from {left: 55%;}
  to {left: 0%;}
}

/* ---- fonts --- */
@font-face {
  font-family: "Caecilia-light-italic";
  src: url("../fonts/PMN Caecilia 46 Light Italic.woff") format("woff"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Caecilia-bold-italic";
  src: url("../fonts/Caecilia LT W04 76 Bold Italic.woff") format("woff"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}