/*
  Bootstrap match
*/
* {
  box-sizing: border-box;
}
/*
@import url('https://fonts.googleapis.com/css2?family=Saira:wght@100&display=swap');

  Styles

html, body {
  height: 100vh;
  width:  100vw;
}

body {
  background: linear-gradient(#ccc, #333);
  margin: 0;
  font-family: 'Michroma', sans-serif;
}

.blocker {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 1;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.75);
    text-align: center;
    display: none;
}
*/
.modal {
    display: none;
    vertical-align: middle;
    position: relative;
    z-index: 2;
    max-width: 500px;
    box-sizing: border-box;
    width: 90%;
    background: #fff;
    padding: 15px 30px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -o-border-radius: 8px;
    -ms-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 0 10px #000;
    -moz-box-shadow: 0 0 10px #000;
    -o-box-shadow: 0 0 10px #000;
    -ms-box-shadow: 0 0 10px #000;
    box-shadow: 0 0 10px #000;
    text-align: left;
}




/* =======NUEVO BOTON ================ */


.abrir {
  position: absolute;
  z-index: 30;
  width: 56px;
  height: 56px;
  border: 1px solid #fff;
  background: transparent;
    right: 15px;
    bottom: 15px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  cursor: pointer;
  opacity: 1;
  z-index: 999;
}
.abrir span {
  display: block;
  position: absolute;
  width: 40px;
  height: 1px;
  background: #fff;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
  cursor: pointer;
}
.abrir .lin3 {
  transform-origin: center;
  transform: rotate(0deg);
}
.abrir .lin4 {
  transform-origin: center;
  transform: rotate(90deg);
}
.abrir:hover {
  background: rgba(255, 255, 255, 0.4);
}
.abrir:hover span {
  background: #fff;
}



.close {
  position: absolute;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  bottom: 0;
  right: 8px;
  top: 8px; 
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  cursor: pointer;
  opacity: 1;
  z-index: 5000;
}
.close span {
  display: block;
  position: absolute;
  width: 32px;
  height: 1px;
  background: #858585;
  /*background: #969696;*/
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
  cursor: pointer;
}
.close .lin1 {
  transform-origin: center;
  transform: rotate(45deg);
}
.close .lin2 {
  transform-origin: center;
  transform: rotate(-45deg);
}
.close:hover {
  background: #fff;
}
.close:hover span {
  background: #000;
}




/* ======= FIN NUEVO BOTON ================ */





.card-container {
  height: 300px;
  margin-bottom: 0px;
}
.card {
  position: absolute; 
  height: 280px;
  margin: 0 auto; 
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.7);

  transition: all 700ms ease-in;
 background: rgb(24,138,124);
background: linear-gradient(0deg, rgba(24,138,124,1) 15%, rgba(137,205,50,1) 100%); 
  
}

/*background:linear-gradient(to left , orange, tomato);*/
/* background: rgb(75,113,24);
background: linear-gradient(0deg, rgba(75,113,24,1) 0%, rgba(137,205,50,1) 100%); */
/* background: rgb(24,138,124);
background: linear-gradient(0deg, rgba(24,138,124,1) 15%, rgba(137,205,50,1) 100%);  */




.card-preview {
  position: relative;
  height:280px;
  padding:0px;
  z-index: 4;
  /* background: #000;*/
}


#tw{
  font-family: 'Michroma';
  font-size: 1.4rem;
  font-weight:900;
  text-align: center;
  position: relative;
  top: 40%;
  color: #FFFFFF;
  z-index: 1;

}

.titmod span{
  font-size: 1.4rem;
  font-family: 'Saira', sans-serif;
  font-weight: 800;
  letter-spacing: 4px;
}







.card-background {
  position: absolute;
  top: 0;
  left: 0;
  max-height: 280px;
  z-index: -1;
  object-fit: cover;
  height:100%;
  width: 100%;
  opacity: 1;
  /*filter: blur(4px);*/

}
.card-background:not(.active):hover {
  border-radius: 8px;
 /* filter: blur(10px);*/
  /*box-shadow: inset 0 0 300px 0px white;*/
  /*border: 2px solid white;*/
  opacity: 0;

}





#descr {
  font-family: 'Saira', sans-serif;
    font-size: 12px;
    font-weight:400;
    color: #fff;
    margin: 4px 0;
    letter-spacing: 1px;  
    line-height: 1.4em;
    text-align: left;
    padding: 0px !important;
    display: none;
}

#card-details {
    font-size: 12px;
    font-weight:400;
    color: #777;
    margin: 4px 0;
    letter-spacing: 1px;  
    line-height: 1.4em;
    text-align: left;
    padding: 30px !important;
}


.card.active {
  border-radius: 0px;
  top: 30vh !important;
  position: fixed;
 /* width: 600px;*/
  max-width: 50vw;
  right: 0;
  left: 0; 
  /*min-height: 30vh;*/
  min-height: auto;
  max-height: 94vh !important;
  z-index: 2000;
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-animation-name: open;
  animation-name: open;
  -webkit-animation-duration: 0.2s;
  animation-duration: 0.6s;
  border-radius: 8px;
  color: #fff;
  /*background: rgba(34, 34, 34, 0.9);*/
  box-shadow: inset 0 0 300px 0px white;
  border: 1px solid #fff;
}

.card.active .card_fondo{
position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: #222;
}


.card.active .card-container {
    -webkit-filter: blur(0px);
  -moz-filter: blur(0px);
  -o-filter: blur(0px);
  -ms-filter: blur(0px);
  filter: blur(0px);
  box-shadow: inset 0 0 300px 0px white;
   top:calc(100% - 2px);
  height:100%;
  width:100%;
  left:0;
}


.card.active .col {
filter: blur(8px);
}
.card.active #cross {
  opacity: 1;
}
.card.active #open {
  opacity: 0;
}
.card.active .card-background {
  max-height: 50%;
   filter: blur(4px);
    box-shadow: inset 0 0 300px 0px white;
}
.card.active .card-preview {
  max-height: 50%;
  background: none;
}
.card.active #descrip {
  position: absolute;
  top: 25%;
  padding: 20px;
  font-size: 12px;
}

.card.active #tw {
  position: absolute;
  top: 80%;
  bottom: 20px;
  font-size: 18px;
}





@media only screen and (max-width: 1400px) {
.car{transition: all 100ms ease-in;
}
.card.active {
  top: 30vh !important;
  width: 80%;
  max-width: 80vw;
  min-height: 10%;
  -webkit-animation-duration: 0.1s;
  animation-duration: 0.1s;
}
.card.active #tw{
  top:120%;
}
}



@media only screen and (max-width: 1200px) {
.car{transition: all 100ms ease-in;
}
.card.active {
  top: 30vh !important;
  width: 80%;
  max-width: 80vw;
  min-height: 34%;
  -webkit-animation-duration: 0.1s;
  animation-duration: 0.1s;
}
.card.active #tw{
  top:105%;
}
}



@media only screen and (max-width: 1024px) {
.car{transition: all 100ms ease-in;
}
.card.active {
  top: 30vh !important;
  width: 80%;
  max-width: 80vw;
  min-height: 37%;
  -webkit-animation-duration: 0.1s;
  animation-duration: 0.1s;
}
.card.active #tw{
  top:70%;
}
}




@media only screen and (max-width: 800px) {
.car{transition: all 100ms ease-in;
}
.card.active {
  top: 20vh !important;
  width: 80%;
  max-width: 80vw;
  height: 45%;
  -webkit-animation-duration: 0.1s;
  animation-duration: 0.1s;
}
.card.active #tw{
  top:60%;
}
}


@media only screen and (max-width: 600px) {
.car{transition: all 100ms ease-in;
}
.card.active {
  top: 20vh !important;
  width: 80%;
  max-width: 80vw;
  min-height: 52%;
  -webkit-animation-duration: 0.1s;
  animation-duration: 0.1s;
}
.card.active #tw{
  top:50%;
}
}








/*==================  


.box {
  width: 400px;
  max-width: 100%;
  position: relative;
  display: inline-block;
  margin: 30px;
  border: 1px solid #cecece;
  border-radius: 3px;
}
.box:nth-of-type(1) {
  background: center / cover no-repeat;
}
.box:nth-of-type(2) {
  background: center / cover no-repeat;
}
.box:nth-of-type(3) {
  background: center / cover no-repeat;
}
.box:before, .box:after {
  content: '';
  display: block;
  width: 100%;
  padding-bottom: 60%;
  top: 0;
  left: 0;
  background: inherit;
  border-radius: inherit;
}
.box:after {
  position: relative;
}
.box:before {
  position: absolute;
  -webkit-filter: blur(20px);
          filter: blur(20px);
  top: 20px;
}
*/


.AU-modal {z-index: 3; display: none;  position: fixed; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; 
  background-color: rgba(0, 0, 0, 0.2)
}
/* 
.AU-modal-content {
   position: absolute;
   top: 50%;
   left: 50%;
   width: 50%;
   margin: -15% 0 0 -25%;
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 300px 0px rgba(255, 255, 255, 0.7);
  border: 1px solid #fff;
  border-radius: 12px;
  padding : 0; 
  width: 600px;
z-index: 20000;
}
*/
  
.AU-modal-content {
  right: 0%;
  top: 20vh;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 300px 0px rgba(255, 255, 255, 0.7);
  border: 1px solid #fff;
  border-radius: 12px;
  position: relative;
  padding : 0; 
  width: 600px;
z-index: 999999;
}




.AU-modal-content p {
  position: relative;
   color: #000000!important;
   line-height:1.4em;
   font-size: 12px;
}
 .AU-container:after,.AU-container:before{content:"";display:table;clear:both}

.AU-tit{
  border-radius: 12px 12px 0px 0px;
  color:#fff!important;background-color:rgba(255, 255, 255, 0.2)!important; padding: 1.4em 16px;}

.AU-tit h2{
  width: 90%;
 line-height:1.2em;
 text-shadow: 1.4px 1.4px 4px #000 !important;
}


.AU-container{padding: 1.4em 16px; background: background-color: rgba(255, 255, 255, 1)}

.AU-animate{ -webkit-animation-name: open;
  animation-name: open;
  -webkit-animation-duration: 0.2s;
  animation-duration: 0.6s;}


.AU-teal,.AU-hover-teal:hover{color:#444!important;background-color:rgba(255, 255, 255, 0.4)!important}

.AU-btn,.AU-button{border:none;display:inline-block;padding:8px 16px;vertical-align:middle;overflow:hidden;text-decoration:none;color:inherit;background-color:inherit;text-align:center;cursor:pointer;white-space:nowrap}

.AU-display-topright {position: absolute; right: 0; top: 0}



.blur {
 filter: blur(20px); } /*esta en 32 */


/* ==== Animations ====*/
@keyframes open {
  0% {
    transform: scale(0.4);
    transform-origin: 0% 60vh;
  }
  100% {
    transform: scale(1.004);
    transform-origin: 100% 100%;
  }
}


/* ==== Animations ===============================*/




@media only screen and (max-width: 800px) {
.AU-modal-content {
  position: relative;
  top: 20vh;
  right: 0px;
  width: 50vw;
  height: auto;
  overflow-y: auto;
}
.close {
  position: absolute;
  width: 34px;
  height: 34px;
}
.close span {
  width: 24px;
  }
.AU-animate{ -webkit-animation-name: open;
  animation-name: open;
  -webkit-animation-duration: 0.6s;
  animation-duration:0.6s;}
@keyframes open {
from{right:-300px;opacity:0} to{right:0px;opacity:1}
}
.AU-tit h2{
  font-size: 20px; 
  width: 88%;
}

}

@media only screen and (max-width: 480px) {
 
.AU-modal-content {
  position: relative;
  top: 0;
  right: 0px;
  width: 98vw;
  height: 98vh;
  overflow-y: auto;
  z-index: 200000;
}
.close {
  position: absolute;
  width: 34px;
  height: 34px;
  right: 18px;
  top: 18px;
}
.close span {
  width: 24px;
  }
.AU-animate{ -webkit-animation-name: open;
  animation-name: open;
  -webkit-animation-duration: 0.4s;
  animation-duration:0.4s;}
@keyframes open {
from{right:-300px;opacity:0} to{right:0px;opacity:1}
}
.AU-tit h2{
  font-size: 20px; 
  width: 88%;
}

}

