
/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(355, 70%, 54%);
  --first-color-alt: hsl(355, 66%, 50%);
  --title-color: hsl(355, 4%, 15%);
  --text-color: hsl(355, 4%, 35%);
  --text-color-light: hsl(355, 4%, 55%);
  --body-color: #fff;
  --container-color: #fff;
  --color-principal: #13477b;
  --color-secundario: #b9925e;
  --color-de-fondo: #f3f3f3;
  --color-blanco: #fff;
  --background-negro: #1d1d1d ;
  --color-blanco-letras: #fff;
  --color-letras-principal: #13477b;
  --color-negro-letras: #000;

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Poppins', sans-serif;

  --biggest-font-size: 1.5rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margenes Bottom ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --mb-0-25: .25rem;
  --mb-0-5: .5rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 1.5rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 2.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/* Prelaoder */
#preloader {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: #f2f2f2 url("../../img/preloader/preload.svg") no-repeat center center;
}

/*
.wrapper02{
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
*/


/* MENSAJES FIREBASE */

.container{
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
  padding: 0;
}

.container02{
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    padding: 0;
    margin-top: 3rem;
  }

  .container03{
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 0;
  }



.container__footer{
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  padding: 0;
}


* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
  }
  
header{
  position: fixed;
  width: 100%;
  z-index: 99;
  text-decoration: none;
}

  .navbar.bg-dark {
    background-color: var(--color-principal)!important;
  }

  .navbar-brand img {
    width: 120px;
  }
  
  .navbar-nav {
    background-color: #1F2933 !important;
  }
  
  .header .offcanvas-body, .header .offcanvas-header {
    background-color: #1F2933;
  }
  .header .offcanvas-header, .header .offcanvas-body {
    padding: 1.5rem 2rem;
  }
  .header .nav-link {
    color: #f5f7fa;
    font-weight: 400;
    transition: 0.3s all;
    font-size: 1.2rem;
    padding: 0rem 2rem;
  }
  .header .nav-link:hover, .header .nav-link:focus {
    color: var(--color-secundario);
  }
  .header .offcanvas-start {
    width: 300px;
    border-right: none !important;
  }
  .header .offcanvas-backdrop.show {
    opacity: 0.8;
    /* solo comento lo de abajo y listo
    background-color: #02448663;*/
  }
  
  a {
    text-decoration: none !important;
  }
  
  button:focus:not(:focus-visible) {
    box-shadow: none !important;
  }
  
  /*
  .underline-hover:hover, .underline-hover:focus {
    background-image: linear-gradient(120deg, #36ad8750 0%, #36ad8725 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.5em;
    background-position: 0 88%;
    transition: background-size 0.25s ease-in;
  }
  
  .active {
    background-image: linear-gradient(120deg, #36ad8759 0%, #0096fa4f 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.5em;
    background-position: 0 65%;
  }
  */
  
  @media (max-width: 991px) {
    .header .navbar-nav .nav-link{
      padding: 1.2rem 0;
      font-size: 1.5rem;
      text-align: center;
    
    }

     .navbar-brand img {
    width: 70px;
  }

    .header li {
      /*padding: 1.2rem 0;*/
      font-size: 1.5rem;
      text-align: center;
    }

    .logged-in{
      padding: 1rem 0;
      font-size: 1.5rem;
      text-align: center;
    }

    .logged-out{
      padding: 1rem 0;
      font-size: 1.5rem;
      text-align: center;
    }

    .boton-salir{
      padding: 0rem 0;
      text-align: center;
    }
    
/*
    .registration{
        padding: 1.2rem 0;
      font-size: 1.5rem;
      line-height: 80px;
    }

    */
    .header .navbar-nav .nav-link:first-child {
      padding: 0 0 1.2rem;
    }
  
    .active {
      margin: 0 auto;
    }
    .active:first-child {
      background-position: 0 50%;
    }
  }
  header span.close-btn {
    color: #1F2933;
    background: #CBD2D9;
    border-radius: 50%;
    font-size: 18px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    transition: 0.15s ease-in-out;
  }
  header span.close-btn:hover {
    background: #fff;
  }


/*** seleccina tu vehiculo ***/
.card__chapultepec{
max-width: 1200px;
width: 90%;
}


/*Banner*/

  .section02 .row{
    margin-top: 0%;
    margin-bottom: 0%;
    width: 95%;
    margin: 0 auto;
}
.section02 .row .col-md-6{
    background: transparent;
    margin-right: -2%;
    padding: 5%;
}
.section02 h3{
    font-size: 2rem;
    color: var(--color-principal);
    font-weight: 900;
    text-align: center;
}
.section02 p{
    margin-top: 10%;
    color: var(--color-principal);
}
.section02 img
{
    width: 100%;
}

/**** Paquetes ******/


.header-h {
    font-size: 1.5rem !important;
color: var(--color-secundario);
font-size: 46px;
font-family: 'Satisfy', sans-serif;
font-weight: 700;
}
.header-h ul
{
list-style:none;
}
 ul {
     padding-left: 0rem !important;
}

.header-p {
color:#9699a6;
font-size:1rem;
}
.section-padding{
padding: 1rem 0rem 2rem 0rem;
}
.marb-35{
margin-bottom:35px;
}
.menu-restaurant
{
width:50%;
float:left;
padding:15px;
position:realtive;

}
.menu-restaurant .menu-title
{
float:left;
text-transform:uppercase;
letter-spacing:0px;
color:var(--color-secundario);
font-weight: 800;
}

/* Agregue las images */
.menu-restaurant img{
  align-items: left !important;
  width: 100%;
}


.menu-restaurant .menu-line
{
position: absolute;
bottom:6px;
border-bottom:1px dotted rgba(0,0,0,.3);
margin-left: .6em;
margin-right: .6em;
}
.menu-restaurant .menu-price{
font-weight:600;
position:absolute;
right:0;
top:25px;

}
.menu-restaurant .menu-subtitle
{
display:block;
float:left;
color:#B1B1B1;
font-family: Satisfy,'Open Sans',arial;
font-size: 1.2rem;
}
.menu-restaurant span.clearfix{
position:relative;
display:block;
}
#menu-filters ul li a.active, #menu-filters ul li a:hover
{
background: var(--color-secundario);
color:#fff;
border:1px solid var(--color-secundario);
}
#menu-filters ul li 
{
display:inline-block;
color:#fff;
text-transform:capitalize;
letter-spacing:1px;
margin-bottom: 40px;
}
#menu-filters ul li a
{
padding:10px 20px;
font-size:14px;
color:#565656;
border-radius:0px;
border:1px solid #BBBBBB;
text-decoration:none;
cursor:pointer;
}
@media (min-width: 20px) and (max-width: 450px) 
{
.menu-restaurant 
{
width: 100%;
}
.header-h
{
font-size: 35px;
}
.header-p 
{
font-size: 14px;
}

.header-h ul
{
list-style:none;
}

}

.msg-row{
margin-top:56px;
}
.media-body, .media-left, .media-right
{
display:table-cell; 
vertical-align: top;

}

.bg-1
{
background-color: #fecc17;
width:70px;
height:70px;
border-radius:50%;

}
.bg-14
{
background-color: #ccdb38;
width:70px;
height:70px;
border-radius:50%;
}
.dark-blue
{
color: #31364c;
font-size: 24px;
margin-top: 0;
}
.light-blue {
color: #9699a6;
font-size: 16px;
margin-bottom: 1px;
}
.media-body{
margin-left:10px;
padding-left:13px;
}
.media-2{
margin-top:30px;

}
.form-group
{
margin:8px 0 9px !important;
padding-bottom:10px;
}
.contact-form .form-control
{
color:#000 !important;
font-size:16px;
font-weight:normal;
height:38px;
line-height: 1.42857;
padding:7px 0;

}
.form-control, .form-group .form-control {
border: 0;
background-image: -webkit-gradient(linear,left top,left bottom,from(#009688), to(#009688)),-webkit-gradient(linear, left top, left bottom, from(#D2D2D2), 
to(#D2D2D2));
background-image: -webkit-linear-gradient(#009688, #009688), -webkit-linear-gradient(#D2D2D2, #D2D2D2);
background-image: -o-linear-gradient(#009688, #009688), -o-linear-gradient(#D2D2D2, #D2D2D2);
background-image: linear-gradient(#009688, #009688), linear-gradient(#D2D2D2, #D2D2D2);
-webkit-background-size: 0 2px, 100% 1px;
background-size:0 2px,100% 1px;
background-repeat: no-repeat;
background-position: center bottom, center -webkit-calc(100% - 1px);
background-position: center bottom, center calc(100% - 1px);
background-color: rgba(0, 0, 0, 0);
-webkit-transition: background 0s ease-out;
-o-transition: background 0s ease-out;
transition: background 0s ease-out;
float: none;
-webkit-box-shadow: none;
box-shadow: none;
border-radius: 0;

}
.contact-form {
margin: 8px 0 9px !important;
padding-bottom: 10px;
}
.phone-in-talk, .hour-icon
{
font-size: 35px;
line-height: 70px;
color: rgb(255, 255, 255);
}

.contact-form textarea.form-control {
color: #000 !important;
height: auto;
}
.contacts-btn {
background-color:  #FFB03B !important;
color: #ffffff !important;
width: 170px;
height: 54px;
border-radius: 3px;
font-size: 16px;
font-family: 'Roboto', sans-serif;
font-weight: normal;
text-transform: capitalize;
border: 0px;
color: #000 !important;
}

.validation {
color: red;
display:none;
margin: 0 0 20px;
font-weight:400;
font-size:13px;
}

#sendmessage {
color: green;
border:1px solid green;
display:none;
text-align:center;
padding:15px;
font-weight:600;
margin-bottom:15px;
}

#errormessage {
color: red;
display:none;
border:1px solid red;
text-align:center;
padding:15px;
font-weight:600;
margin-bottom:15px;
}

#sendmessage.show, #errormessage.show, .show {
display:block;
}

  
  
  
  

/**** TERMINA Paquetes ***/









/***** GALERIA ******/

.small {
  font-size: .9rem !important;
  color: #999;
  display: block;
  margin-top: 10px;
  margin-bottom: 2rem;
}

/*
.cont {
  text-align: center;
}*/

.page-head {
  padding: 0;
  text-align: center;
  /*width: 98%;
  margin-left: 10px;*/
}

.page-head .lead {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 50px;
  margin-top: 0;
}

.btn {
  /*-moz-user-select: none;*/
  background-image: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.42857;
  margin-bottom: 0;
  padding: 6px 12px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  text-decoration: none;
}

.btn-lg {
  border-radius: 2px;
  font-size: 18px;
  line-height: 1.33333;
  padding: 10px 16px;
}

.btn-primary:hover {
  background-color: #fff;
  color: #152836;
}

.btn-primary {
  background-color: #152836;
  border-color: #0e1a24;
  color: #ffffff;
}

.btn-primary {
  border-color: #eeeeee;
  color: #eeeeee;
  transition: color 0.1s ease 0s, background-color 0.15s ease 0s;
}

/* Boton con imagen */

.btn-primary01 {
  background-color: var(--color-secundario) !important;
  border-color: var(--background-negro);
  color: #ffffff !important;
  box-shadow: none !important;
}

.page-head h1 {
  font-size: 1.5rem;
  margin: 0 0 20px;
  color: var(--color-secundario);
  position: relative;
  display: inline-block;
}

.page-head h1 .version {
  bottom: 0;
  color: var(--color-secundario);
  font-size: 11px;
  font-style: italic;
  position: absolute;
  width: 58px;
  right: -58px;
}

.demo-gallery > ul {
  margin-bottom: 0;
  padding-left: 15px;
  margin-bottom: 30px;
}

.demo-gallery > ul > li {
  margin-bottom: 15px;
  width: 180px;
  display: inline-block;
  /* le puse 0*/
  margin-right: 0px;
  list-style: outside none none;
}

.demo-gallery > ul > li a {
  border: 3px solid #FFF;
  border-radius: 3px;
  display: block;
  overflow: hidden;
  position: relative;
  float: left;
}

.demo-gallery > ul > li a > img {
  -webkit-transition: -webkit-transform 0.15s ease 0s;
  -moz-transition: -moz-transform 0.15s ease 0s;
  -o-transition: -o-transform 0.15s ease 0s;
  transition: transform 0.15s ease 0s;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  height: 100%;
  width: 100%;
}

.demo-gallery > ul > li a:hover > img {
  -webkit-transform: scale3d(1.1, 1.1, 1.1);
  transform: scale3d(1.1, 1.1, 1.1);
}

.demo-gallery > ul > li a:hover .demo-gallery-poster > img {
  opacity: 1;
}

.demo-gallery > ul > li a .demo-gallery-poster {
  background-color: rgba(0, 0, 0, 0.1);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: background-color 0.15s ease 0s;
  -o-transition: background-color 0.15s ease 0s;
  transition: background-color 0.15s ease 0s;
}

.demo-gallery > ul > li a .demo-gallery-poster > img {
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  opacity: 0;
  position: absolute;
  top: 50%;
  -webkit-transition: opacity 0.3s ease 0s;
  -o-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}

.demo-gallery > ul > li a:hover .demo-gallery-poster {
  background-color: rgba(0, 0, 0, 0.5);
}

.demo-gallery .justified-gallery > a > img {
  -webkit-transition: -webkit-transform 0.15s ease 0s;
  -moz-transition: -moz-transform 0.15s ease 0s;
  -o-transition: -o-transform 0.15s ease 0s;
  transition: transform 0.15s ease 0s;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  height: 100%;
  width: 100%;
}

.demo-gallery .justified-gallery > a:hover > img {
  -webkit-transform: scale3d(1.1, 1.1, 1.1);
  transform: scale3d(1.1, 1.1, 1.1);
}

.demo-gallery .justified-gallery > a:hover .demo-gallery-poster > img {
  opacity: 1;
}

.demo-gallery .justified-gallery > a .demo-gallery-poster {
  background-color: rgba(0, 0, 0, 0.1);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: background-color 0.15s ease 0s;
  -o-transition: background-color 0.15s ease 0s;
  transition: background-color 0.15s ease 0s;
}

.demo-gallery .justified-gallery > a .demo-gallery-poster > img {
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  opacity: 0;
  position: absolute;
  top: 50%;
  -webkit-transition: opacity 0.3s ease 0s;
  -o-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}

.demo-gallery .justified-gallery > a:hover .demo-gallery-poster {
  background-color: rgba(0, 0, 0, 0.5);
}

.demo-gallery .video .demo-gallery-poster img {
  height: 48px;
  margin-left: -24px;
  margin-top: -24px;
  opacity: 0.8;
  width: 48px;
}

.demo-gallery.dark > ul > li a {
  border: 3px solid #04070a;
}


  /*** FOOTER ***/

 footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
footer img {
max-width: 100%;
height: auto;
}
section {
    padding: 60px 0;
   /* min-height: 100vh;*/
}

footer p{
  color: #fff;
}

.main-footer{
position:relative;
padding: 2rem 0px 0px;
background-color: var(--color-principal);
background-repeat:repeat-x;
background-position:right bottom;
}

.main-footer .footer-widget{
position:relative;
margin-bottom:40px;
}

.main-footer .widgets-section{
position:relative;
padding-bottom:60px;
}

.main-footer .footer-widget h2{
position:relative;
font-size:22px;
font-weight:600;
color:#fff;
line-height:1.2em;
margin-bottom:30px;
margin-top:25px;
text-transform:capitalize;
}

.main-footer .about-widget{
position:relative;
}

.main-footer .about-widget .logo {
position: relative;
margin-bottom: 15px;
width: 210px;
}
.main-footer .about-widget .text{
position:relative;
}

footer .main-footer .about-widget .text p{
position:relative;
color:#8a8d91;
font-size:15px;
line-height:1.7em;
margin-bottom:20px;
}

.main-footer .about-widget .text p:last-child{
margin-bottom:0px;
}

/* Footer List */

.main-footer .footer-list{
position:relative;
}

 .main-footer .footer-list li{
position:relative;
margin-bottom:17px;
}

 .main-footer .footer-list li a{
position:relative;
color:var(--blanco);
font-size: 1rem;
padding-left: 15px;
-webkit-transition:all 300ms ease;
-ms-transition:all 300ms ease;
-o-transition:all 300ms ease;
-moz-transition:all 300ms ease;
transition:all 300ms ease;
}

.main-footer .footer-list li a:hover{
text-decoration:underline;
color:var(--color-secundario);
}

.main-footer .footer-list li a:before{
position:absolute;
content:'\f105';
left:0px;
top:0px;
color:#8a8d91;
font-weight:800;
font-family: 'Font Awesome 5 Free';
}

/*Gallery Widget*/

.main-footer .gallery-widget{
position:relative;
max-width:350px;
}

.main-footer .gallery-widget .images-outer{
position:relative;
margin:0px -3px;
}

.main-footer .gallery-widget .image-box{
position:relative;
float:left;
width:33.333%;
padding:0px 5px;
margin-bottom:10px;
}

.main-footer .gallery-widget .image-box img{
position:relative;
display:block;
width:100%;
border-radius:4px;
-webkit-transition:all 300ms ease;
-ms-transition:all 300ms ease;
-o-transition:all 300ms ease;
-moz-transition:all 300ms ease;
transition:all 300ms ease;
}

.main-footer .gallery-widget .image-box img:hover{
opacity:0.70;   
}

/* Info List */

.main-footer .info-list{
position:relative;
}

.main-footer .info-list li{
position:relative;
color:var(--blanco);
font-size:15px;
line-height:1.8em;
margin-bottom:12px;
}

.main-footer .info-widget .social-links{
position:relative;
float:left;
padding:15px 0px;
}

.main-footer .info-widget .social-links li{
position:relative;
margin-right:8px;
display:inline-block;
}

.main-footer .info-widget .social-links li:last-child{
margin-right:0px;
}

.main-footer .info-widget .social-links li a{
position:relative;
color: #ffffff;
width:50px;
height:50px;
line-height:50px;
text-align:center;
border-radius:50%;
display:inline-block;
-webkit-transition:all 300ms ease;
-moz-transition:all 300ms ease;
-ms-transition:all 300ms ease;
-o-transition:all 300ms ease;
transition:all 300ms ease;
}

.main-footer .info-widget .social-links li.google a{
background-color:#dd4b39;
}

.main-footer .info-widget .social-links li.facebook a{
background-color:#4a6fbe;
}

.main-footer .info-widget .social-links li.twitter a{
background-color:#55acee;
}

.main-footer .info-widget .social-links li.instagram a{
background-color:#ea4c89;
}

.main-footer .info-widget .social-links li.vimeo a{
background-color:#1ab7ea;
}

.main-footer .footer-bottom{
position:relative;
padding:20px 0px;
border-top:1px solid #e5e5e5;
}

.main-footer .footer-bottom .footer-nav{
position:relative;
text-align:right;
}

.main-footer .footer-bottom .footer-nav li{
position:relative;
padding-right:10px;
margin-right:10px;
line-height:1.1em;
display:inline-block;
border-right: 1px solid var(--blanco);
}

.main-footer .footer-bottom .footer-nav li:last-child{
padding-right:0px;
margin-right:0px;
border-right:none;
}

.main-footer .footer-bottom .footer-nav li a{
position:relative;
color: var(--blanco);
font-size:15px;
-webkit-transition:all 300ms ease;
-moz-transition:all 300ms ease;
-ms-transition:all 300ms ease;
-o-transition:all 300ms ease;
transition:all 300ms ease;
}

.main-footer .footer-bottom .footer-nav li a:hover{
  color:var(--color-secundario);
text-decoration:underline;
}
.copyright{
  color: var(--blanco);
}

.footer-bottom a{
  color: var(--blanco);
}

.footer-bottom a:hover{
  color: var(--color-secundario);
  transition: .1s ease-in;
}




/* .........../Food Menu/............ */


#services{
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
  padding-top: 0px;
}

#services p{
  color: var(--color-blanco);
  font-size: 1.2rem;
}
.services-wrap{
  display: block;
  margin: 10px auto;
}

.services-wrap .img-fill{
  display: block;
height: 300px;
  background-size: cover;
background-repeat: no-repeat;
background-position: center center;
}

@media(max-width: 991px){
.services-wrap{
  padding: 20px 0;
}
#services{
  margin: 0 auto;
  max-width: 1200px;
  width: 80%;
  margin: 0 auto;
  padding-top: 0px;
}
}
@media(max-width: 575px){
.services-wrap .text{
  margin-left: 0px;
}
}
.services-wrap .text{
background: var(--color-principal);
position: relative;
display: block;
padding:20px 17px;
}
@media(max-width: 991px){
.services-wrap .text{
  padding: 40px;
}
.services-wrap .text{
  background: var(--color-principal);
  position: relative;
  display: block;
  padding:20px 17px;
  border-radius: 0px 0px 20px 20px;
  }


}
.services-wrap .text h3{
font-size: 20px;
line-height: 1.4;
color: #fff;
font-weight: 400;
font-family: "Josefin Sans", Arial, sans-serif;
}
#services .hot h2{
text-transform: uppercase;
font-size: 30px;
font-weight: 400;
position: relative;
color: var(--color-blanco);
font-family: "Josefin Sans", Arial, sans-serif;
}
.services-wrap .btn{
color: var(--color-blanco);
padding: 10px;
border: 1px solid white;
font-family: "Josefin Sans", Arial, sans-serif;

}
.services-wrap .btn:hover{
background: var(--color-secundario);
color: #101315;
}
.services-wrap .text .price{
font-size: 16px;
margin-bottom: 0;
}
.services-wrap .text .price span{
color: #fac564;
}



/* General */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background-color: var(--lighter-orange);
  color: var(--white);
}

.main p {
  margin: 0;
}
.main p:not(:last-child) {
  margin-bottom: 14px;
}

.main ul {
  list-style: none;
}

.main img {
  width: 100%;
}

/* Layout */
.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0rem !important;
}

/* Typography */
.card_title {
  font-family: var(--color-letras-principal);
  font-size: 1.2rem;
  line-height: 24px;

}

.card_text p {
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 24px;
}

/* Utilities */
.orange {
  color: var(--color-principal);
}

.note-sm {
  color: var(--grey);
  font-family: var(--title-font);
  font-size: 14px;
}

/* Components */
.main .cards {
  align-items: start;
  display: flex;
  flex-wrap: wrap;
  margin: 50px 0;
  cursor: pointer;
}

.cards_item {
  display: flex;
  padding: 1rem;
}
.main .card {
  background-color: var(--color-blanco);
  border-radius: 0.25rem;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /*height: 500px;*/
}

.main .card_content {
  padding: 26px 16px 16px;
}
.main .card_title {
  margin-bottom: 5px;
}
.main .card_text {
  margin: 16px 0;
}
.main .card_btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  text-transform: capitalize;
  font-family: var(--body-font);
  float: right;
}
.main .card_btn:hover {
  text-decoration: underline;
}

/* Media queries */
@media (min-width: 40rem) {
  .main .cards_item {
    width: 50%;
  }
}
@media (min-width: 56rem) {
  .main .cards_item {
    width: 33.3333%;
  }
}









/* Nuevas tarjetas */

.wrapper {
  display: flex;
  flex-wrap: wrap; /* Make it Responsive */
  justify-content: center;
}


.card {
  overflow: hidden; /* to make the border-radius visible */ 
   box-shadow: 0px 2px 20px var(--clr-gray-light);
  background: white;
  border-radius: 0.5rem;
  position: relative;
  width: 350px;
  margin: 1rem;
  transition: 250ms all ease-in-out;
  cursor: pointer;
}

.banner-img {
  position: absolute;
  object-fit: cover;
  height: 14rem;
  width: 100%;
}

.category-tag {
  font-size: 0.8rem;
  font-weight: bold;
  color: white;
  padding: 0.5rem 1.3rem 0.5rem 1rem;
  text-transform: uppercase;
  position: absolute;
  z-index: 1;
  background:  red;
  top: 1rem;
  border-radius: 0 2rem 2rem 0;
}

/* category-tag classes */
.popular {
  background: var(--color-secundario);
}

.technology {
  background: var(--color-principal);
}

.psychology {
  background: #009688;
}

.malteadas {
  background: #5a0096;
}


/**** Crepas y wafflles ****/
.waffles{
  background-color: #4a6fbe;
}

.hot-cakes{
  background-color: #31364c;
}


.card-body {
  margin: 15rem 1rem 1rem 1rem; /* to make the text visible from a position: absolute element*/
}

.blog-hashtag {
  color: var(--color-secundario);
  font-size: 0.9rem;
  font-weight: 500;
}

.blog-title {
  font-size: 1.2rem;
  line-height: 1.5rem;
  margin: 1rem 0 0.5rem;
  color: var(--color-principal);
  font-weight: 900;
}

.blog-description {
  color: var(--clr-gray-med);
  font-size: 1rem;
}

.card-profile {
  display: flex;
  margin-top: 2rem;
  align-items: center;
}

.profile-img {
  width: 135px;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  transition: ease .2s;
  background-color: var(--color-principal);
}

.profile-img:hover{
  transform: scale(1.1);
}

.card-profile-info {
  margin-left: 1rem;
}

.profile-name {
  font-size: 1.2rem;
  color: var(--color-principal);
  font-weight: 900;
}

.profile-followers {
  color: var(--clr-gray-med);
  font-size: 0.9rem;
}


/* hover effects */
.card:hover {
  transform: scale(1.05);
  box-shadow: 0px 2px 40px var(--clr-gray-light);
}

.card {
  transition: 250ms all ease-in-out;
  cursor: pointer;
}
