html {
  height: 100%;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  /* flex: 1; would be enough but it looks bad in IE */
  display: flex;
  flex: 1 0 auto; /*flex grow - flex shrink - flex basis*/

}
/* Unimportant part */
body {
  /*font: 16px/1.5 sans-serif;*/
    font-size: 16px;
    font-family: 'Spinnaker', sans-serif;
}
p {
  margin-bottom: 1em;
}
header.index {
  background-color: #666;/*#49CBCD;*/
  min-height: 580px;
  background-image: url(../images/banner.png);
  background-size: cover;
  color: white;
}
main {
  background-color: whitesmoke;
  padding: 0 0 4rem 0; /*0 2rem 3rem 2rem;*/
  display: flex;
  flex-direction: column;
}
footer {
    background-image: url("../images/galeria/galeria5.JPG");
    background-size: cover;
    background-position: center;
  color: white;
}
h1,h2,h3,h4,h5{
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    word-break: break-word;
}
/* Colores */
.tinto {
    color: #8b0000 !important
}
.white{
    color: white;
}
.azul-c{
    color: #6F9AAE !important;
}
.bg-white{
    background-color: white;
}
/*Transparent to solid*/
.image-cover{
  background-image: url(../images/banner.png);
  background-size: cover;
  height: 570px;
  margin-top: -20px;
}
#carouselPrincipal{
  height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.navbar{
  transition: background-color 1s ease 0s;
}
.navbar.solid {
  background-color: white !important;
  transition: background-color 1s ease 0s;
  box-shadow: 0 0 4px grey;
}
#nosotros{
  width: 100%;
}
#nosotros div{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 400px;
  background-color: white;
  margin-top: -70px;
  border-radius: 10px;
  padding: 3rem;
}
h2{
  color: #8b0000;
  font-size: 3rem;
    text-align: center;
}
#nosotros div p{
  text-align: justify;
  font-size: 1rem;
  padding: 1rem 0rem;
}

#mision-vision div .contenedor{
  display: flex;
  padding: 0 0 3rem 0;

}
#mision-vision div .contenedor div{
  background-color: white;
  margin: 20px;
  flex: 1;
  text-align: justify;
  border-radius: 15px;
    box-shadow: 10px 16px 45px -16px rgba(0,0,0,0.75);
}
#mision-vision div .contenedor div img{
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
#mision-vision div .contenedor div h2{
  color: #8b0000;
  text-align: center;
  margin-top: 1rem;
}
#mision-vision div .contenedor div p{
  font-size: 18px;
  padding: 2rem;
}
#frase div{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 230px;
  text-align: center;
  background-image: url(../images/agave-mod.jpeg);
  /* parrallax effect */
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
#frase div h3{
  color: whitesmoke;
  font-size: 1rem;
    font-weight: normal;
}
#galeria{
  display: flex;
  flex-direction: column;
  padding: 2rem;
    border-radius: 10px;
    box-shadow: 10px 16px 45px -16px rgba(0,0,0,0.75);
}
#galeria h2{
  font-size: 3rem;
  text-align: center;
  color: #8b0000;
}
#galeria h2 hr{
    border-top: 2px solid rgba(139, 0, 0,0.6);
}
#galeria div{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
#galeria div img{
     margin: 1rem 0;
     width: 300px;
     height: 300px;
     border-radius: 15px;
     box-shadow: 10px 22px 10px -16px rgba(0,0,0,0.75);
     overflow: hidden;
    transition: transform .25s;
 }
#galeria div img:hover{
    transform: scale(1.1);
}
#marcas img {
    width: 120px;
    height: 120px;
}
/* sobreescritura ekko lightbox
.ekko-lightbox-nav-overlay a {
  color: black;
}
*/
/*Sobreescritura bs4*/
.nav-link{
  color: black;
  transition: color 1s ease 0s;
}
.nav-link.solid-color{
  color: black;
  transition: color 1s ease 0s;
}
.navbar li:hover{
  background-color: transparent;
  border-radius: 10px;
}
.navbar-toggler{
  background-color:#00537F;
  padding: 0;
}

.navbar-toggler-icon{
  background-image: url(../images/ham-icon.png);
  background-size: cover;
}
a:hover{
  color: #8b0000;
}
hr{
  border-top: 4px solid rgba(0, 0, 0, 0.3);
    margin: 0 1.5rem;
}
.bg-transparent{
    background-color: white !important;
}
/*------animacion de links menu principal con reescritura de bs4 en algunos atributos -----*/
.navbar ul li
{
 list-style: none;
    margin: .2rem;
}
.navbar ul li a.nav-link
{
 position: relative;
 display: block;
 padding: 15px 15px;
 text-align: center;
 font-size: 14px;
 text-transform: uppercase;
 text-decoration: none;
 transition: .3s;
}
.navbar ul li a.nav-link:before
{
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 2px;
 background: #8b0000;
 overflow: hidden;
 z-index: 1;
 transform: scaleX(0);
 transform-origin: right;
 transition: transform .3s;
}
.navbar ul li a.nav-link:hover:before
{
 transform: scaleX(1);
 transform-origin: left;
}
.navbar ul li a.nav-link:after
{
 content: '';
 position: absolute;
 bottom: 0;
 right: 0;
 width: 100%;
 height: 2px;
 background: #8b0000;
 overflow: hidden;
 z-index: 1;
 transform: scaleX(0);
 transform-origin: left;
 transition: transform .3s;
}
/* Animacion azul*/
.navbar ul li a.azul-c:before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #6F9AAE;
    overflow: hidden;
    z-index: 1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s;
}
.navbar ul li a.azul-c:hover:before
{
    transform: scaleX(1);
    transform-origin: left;
}
.navbar ul li a.azul-c:after
{
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: #6F9AAE;
    overflow: hidden;
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}
.navbar ul li a:hover:after {
 transform: scaleX(1);
 transform-origin: right;
}
.bg-texto {
     background-color: rgba(0, 0, 0, 0.6);
     color: white;
     border: 1px solid #f1f1f1;
     border-radius: 3px;
     z-index: 1;
     font-weight: lighter;
     padding: 20px;
     text-align: center;
    border-radius: 10px;
 }
/* productos */
.productos-header {
    min-height: 300px;
    background-image: url('../images/tequila-shot.jpg');
    background-position: top;
    filter: drop-shadow(8px 8px 10px gray) ;
    display: flex;
    background-size: cover;
}
.producto-solo-header {
    min-height: 200px;
    background-image: url('../images/galeria/Campos01.JPG');
    background-position: top;
    filter: drop-shadow(8px 8px 10px gray) ;
    display: flex;
    background-size: cover;
}
.nosotros-header{
    min-height: 250px;
    background-image: url('../images/galeria/INICIO BANNER 2-01.jpeg');
    background-position: center;
    filter: drop-shadow(8px 8px 10px gray) ;
    display: flex;
    background-size: cover;
}
.fondo-negro-transparente{
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-basis: 100%;
}
.productos-cards{
    padding: 2rem;
}
  .carta {
    display: flex;
    padding: 1rem 0 3rem 0;

}
 div .carta div{
    background-color: white;
    margin: 20px;
    flex: 1;
    text-align: left;
    border-radius: 15px;
    box-shadow: 10px 16px 45px -16px rgba(0,0,0,0.75);
}
 div .carta div img{
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: 325px;
     width: 210px;
     padding: .5rem;
}
div .carta div h3{
    color: #8b0000;
    margin: 1rem 0 0 0;
padding:0 2rem;
}
div .carta div small{
    color: #8b0000;
    padding:0 2rem;
    font-style: italic;
}

 div .carta div p{
    font-size: 16px;
    padding:1rem 2rem 0.5rem;
     margin: 0;
}
 .carta .btn-info{
     background-color: #00537F;
 }
 .solo-main{
     background-image: url("../images/galeria/Campos01.JPG");
     background-size: cover;
 }
 .solo-carta{
     background-color: white;
     padding: 20px;
     border-radius: 15px;
     box-shadow: 10px 16px 45px -16px rgba(0,0,0,0.75);
     text-align: left;
     flex: 1;
     max-width: 1200px;
 }
 .img-carta{
     width: 70vw;
     max-width: 400px;
 }
 .icono{
     width: 32px;
     height: 32px;
 }
 .f18{
    font-size: 18px;
     font-family: 'Spinnaker', sans-serif;
 }
@media (min-width: 330px) {
    .navbar-toggler{
        background-color:#00537F;
        padding: .25rem .75rem;
    }
}
@media (min-width: 576px) {

}
@media (min-width: 768px) {
    #nosotros div p{
        text-align: justify;
        font-size: 1.5rem;
        padding: 1rem 0rem;
    }
    #frase div h3{
        color: whitesmoke;
        font-size: 1.6rem;
    }
    #galeria div img {
        margin: 1rem;
    }
}
@media (min-width: 992px) {
    .bg-transparent{
        background-color: transparent !important;
    }
    .nav-link{
        color: white;
        transition: color 1s ease 0s;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    .productos {
        min-height: 200px;
        background-image: url('../images/tequila-shot-1920.jpg');
        background-position: 50% 10%;
        filter: drop-shadow(8px 8px 10px gray) ;
        background-size: cover;
    }
    .navbar ul li {
        margin: 1rem;
    }
    .navbar ul li a.nav-link {
        font-size: 16px;
    }
}