/*Reset-------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*Nuevo--------------------------*/

*{
    box-sizing: border-box;
}

/*Tipo e iconos--------------------------*/


@font-face{
    font-family: "OpenSans-Regular";
    src: url(fonts/OpenSans-Regular.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face{
    font-family: "OpenSans-Bold";
    src: url(fonts/OpenSans-Bold.ttf) format("truetype");
    font-weight: bold;
    font-style: normal;
}
@font-face {
  font-family: 'FontAwesome';
  src: url('fonts/fontawesome-webfont.eot?v=4.7.0');
  src: url('fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}
.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fa-navicon:before,
.fa-reorder:before,
.fa-bars:before {
  content: "\f0c9";
}


/*Estilos--------------------------*/


body{
    font-family: Open Sans;
}
a{
    text-decoration: none;
    color: #f5f0ed;
}
.header-text {
    text-align: center;
}
#logo{
    vertical-align: center;
    margin: 5%;
    max-width: 90%;
    z-index: 9999;
    position: relative;
}
.onover h2{
    font-family: Open Sans;
    font-weight: 800;
    font-size: 30px;
    text-align: center;
    margin: 20px;
    color: #f5f0ed;
    text-transform: uppercase;
}
.onover p{
    font-family: Open Sans;
    font-weight: 200;
    font-size: 13px;
    text-align: center;
    margin: 20px;
    color: #f5f0ed;
    text-transform: uppercase;
}
.square {
    float:left;
    position: relative;
    width: 33.33%;
    padding-bottom: 33.33%; /* = width for a 1:1 aspect ratio */
    background-color: black;
    overflow:hidden;
}
.onover > div {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}
.content {
    margin-top: auto;
    position:absolute;
    /*height:80%; /* = 100% - 2*10% padding */
   	width: 100%;
}

.square .content img{
    width: 100%;
    height: auto;
}

.onover {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    color: aqua;
    transition: 0.6s opacity;
}
.onover:hover{
    opacity: 1;
    transition: 0.6s opacity;
}
.lista {
text-underline-position: auto; 
color: #7c7c7c;
}
.fa{
    font-size: 20px;
    font-size: 20px;
    display: block;
    margin: 15%;
}
hr{
    width: 100px;
    height: 4px;
    background-color: #f5f0ed;
    border: none;
    margin-bottom: 5%;
}
p{
    font-size: 16px;
    line-height: 1.3;
}
.logoalgo {
    position: relative;
    z-index: 99999;
}
.descripcion{
    max-width: 600px;
    text-align: center;
    /* margin: auto;
    margin-top: 50px; */
    padding-bottom: 5%;
    color: #f5f0ed;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
/* #inicio{
    background-image: url(img/Fondo1.jpg);
    background-position: center;
    background-size: cover;
} */

#inicio{
    background: black;
    position: relative; 
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#inicio::before {    
    content: "";
    background-image: url(img/Fondo1.jpg);
    background-size: cover;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: .35;
}

.tabla {
    display: flex;
    flex-direction: row;
    align-items:center;
    gap: 3rem;
    justify-content:space-between;
    /* width: 33%; */
    padding: 3%;
    color: #7c7c7c;
    text-align: center;
}

.logo-texto {
    width:75%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5rem
}

#logobienba{
    min-width: 12rem;
}

#texto-text p {
    width: 50%;
    margin: auto;
    
}

iframe{
    display:block;
    width: 100%;
    height: 100%;
    min-width: 280px;
    min-height: 280px;
    max-width: 500px;
    /* min-width: 400px;
    min-height: 400px; */
    margin: auto;
}

#iframe-bienba{
    min-width: 100px;
}


.div-rojo{
    background-color: #f28955;
    opacity: 1;
}
.div-azul{ 
    background-color: #0e0548;
    opacity: 1;
}
.div-verde{ 
    background-color: #73eace;
    opacity: 1;
}
.div-blue{
    background-color: #FF005A;
    opacity: 1;
}
.div-negro{
    background-color: #000000;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    gap:2em;
    /* padding: 2.5em 0 2.5em 3.5em; */
    padding: 3.5em 2.5em;
}
.div-negro a {
    display: inline-block;
}
.div-negro a img{
    width:auto;
    height: 30px;
}

.div-negro .logo-alt{
    width: 2%;
    height: 2%;
}
.div-negro .logo-alt{
    width: 5%;
    height: 5%;
}

.logo-tabla{
    width: 13rem;
    height: auto;
}
#texto-text{
    width: 100%;
    text-align: center;
}

.logo-tabla-logo{
    width: 6rem ; 
    height: auto
}
    .div-beige{
    background-color: #ded6c0;
    padding: 5%;
    color: #d03b40;
    text-align: center;
}
.div-foto{
    background-image: url(img/Fondo2.jpg);
    background-size: cover;
    padding: 5%;
    color: #f5f0ed;
    text-align: center;
}
.button{
    display: inline-block;
    padding: 3% 6%;
    color: #f5f0ed;
    text-transform: uppercase;
    border-style: solid;
    border-color: #f5f0ed;
    border-width: 2px;
    margin-top: 25px;
    font-size: 14px;
}
.button:hover{
    background-color: rgba(245, 240, 237, 0.8);
    color: #d03b40;
    font-weight: bold;
    border-color: #d03b40;
}
#ofertas{
    padding: 3%;
    color: #3c3c3b;
}
.icon{
    display: block;
    height: 100px;
}
h3{
    font-family: Open Sans;
    font-weight: 800;
    font-size: 24px;
    line-height: 1.1;
    margin-bottom: 5%;
    text-transform: uppercase;
}
strong{
    font-family: "OpenSans-Bold";
}
.footer{
    color: #000000;
    background-color: #000000;
    line-height: 2;
}

li{
    border-bottom-width: 1px;
    color: #7c7c7c;
    
}
.contenedor{
	width: 100%;
    overflow: hidden;
}

/*Media queries--------------------------*/

@media screen and (max-width: 530px){
    h1{
        font-size: 34px;
    }
    hr{
    height: 2px;
    margin-bottom: 10%;
    }
    .descripcion{
        font-weight: 100;
        line-height: 1.5;
        /* margin: 0 10%; */
    }
    p{
        font-size: 14px;
        font-weight: 100;
        line-height: 1.3;
    }
    #inicio{
        min-height: 450px;
    }
    h2{
        font-size: 20px;
        line-height: 1.3;
    }
    .div-rojo{
        width: 100%;
        padding: 8% 10%;
    }
    .div-beige{
        padding: 15% 10%;
    }
    .div-foto{
                padding: 15% 10%;
    }
    .button{
        font-size: 12px;
        padding: 5% 7%;
    }
    .div-foto h2{
        font-size: 24px;
    }
    .icon{
        height: 75px;
        margin-bottom: 5%;
        margin-left: auto;
        margin-right: auto;
    }
    h3{
        font-size: 20px;
        margin-bottom: 0;
        line-height: 1.5;
    }
    .oferta{
        margin: 15% 7%;
    }
    .oferta p{
        line-height: 1.5
    }

    .tabla {
        flex-direction: column;
        padding-bottom: 2em;
    }

    .div-negro img{
        width: 12.5%;
        height: 12.5%;
    }

    .div-negro .logo-alt{
        width: 7.25%;
        height: 7.25%;
    }

    
}
@media screen and (min-width: 531px) and (max-width: 775px){
    #espacio, #contacto{
        display: table;
    }
    #brunch, #contactar{
        width: 100%;
        padding: 5%;
    }
    #fiestas, #localizacion{
        display: table-cell;
        width: 33%;
        padding: 5%;
    }
    .tabla{
        display: flex;
        flex-direction: column;
        gap: .5em;
        width: 100%;
        margin: auto;
    }

    .logo-texto {
        width: 100%;
        margin: auto;
    }
    #logo-text-bmg {
        margin: 1em 0;
    }

    .div-foto p{
        max-width: 75%;
        margin-left: auto;
        margin-right: auto;
    }
    .oferta{
        display: table-cell;
        max-width: 50%;
        float: left;
        padding: 3%;
    }
    #ofertas{
        display: table;
    }
    /* #fila1, #fila2, .tabla{
        display: table-row-group;
    } */
    .icon{
        margin: 0 0 10% 0;
    }
    .footer p{
        display: inline;
        float: left;
        margin-left: 2%;
    }

    .div-negro img{
        width: 12.5%;
        height: 12.5%;
    }

    .div-negro .logo-alt{
        width: 7.25%;
        height: 7.25%;
    }

}
@media screen and (min-width: 776px){
    #enlace-menu{
        display: none;
    }

    #espacio, #contacto{
        display: table;
    }
    #brunch, #contactar,  #fiestas, #localizacion{
        display: table-cell;
        width: 100%;
        /* padding: 10% 5%; */
    }
    /* iframe{
        width:400px;
        height:250px;
    } */
    
    .div-foto{
        padding: 15% 
    }
    .button{
        padding: 2% 5%; 
    }
    .oferta{
        display: table-cell;
        max-width: 50%;
        float: left;
        padding: 3%;
       
    }
    .div-rojo{
        width: 100%;       
    }

    #ofertas{
        display: table;
        padding: 0;
        margin: 0;
        border-collapse: collapse;
    }
    /* #fila1, #fila2, .tabla{
        display: table-row-group;
        padding: 10% 0%;
    } */
    .icon{
        height: 125px;
        margin: 0;
        margin-top: 5%;
        float: left;
        vertical-align: baseline;
    }
    .oferta-texto{
        width: 62%;
        float: left;
        margin: 3%;
    }
    #contactar p{
        max-width: 75%;
        margin-left: auto;
        margin-right: auto;
    }
    .footer{
        padding: 2% 3%;
    }
    .div-foto p{
        max-width: 75%;
        margin-left: auto;
        margin-right: auto;
    }
    .footer p{
        display: inline;
        margin-left: 2%;
    }
    .navegacion{
        position: absolute;
        width: 65%;
        top: 45px;
        right: 30px;
        padding: 0;
        background-color: transparent;
        border: none;
        text-align: right;
    }
    .navegacion li{
        display: inline;
        border: none;
        margin: 0 5px;
    }
    .navegacion li a:hover{
        border-style: solid;
        border-bottom-width: 2px;
        border-color: #f5f0ed;
    }
}
@media screen and (max-width: 775px){
    .js .navegacion{
        padding-top: 0;
        padding-bottom: 0;
        max-height: 0;
        width: 200px;
        overflow: hidden;
        transition: max-height .5s;
        position: absolute;
        top: 65px;
        right: 3%;
        border: none;
    }
    .js .navegacion a{
        padding: 5px 10px;
    }
    .js .navegacion.menu-desplegado{
        max-height: 275px;
    }

    .logo-tabla {
        min-width: 208px;
        min-height: 96px;
        width: 25%;
        height: 25%;
    }

    .div-negro img{
        width: 12.5%;
        height: 12.5%;
    }

    .div-negro .logo-alt{
        width: 7.25%;
        height: 7.25%;
    }

    iframe {
        width: unset;
        min-height: unset;
    }


}



@media screen and (max-width: 700px){
    .square {
        width: 50%;
        padding-bottom: 50%;
        
    }
    #brunch{
        display: block;
        width: 100%;
        max-height: 250px;

    }
    .square {
    	padding-bottom: 20px;
    }
    .content {
    	position: static;
    }
    .onover {
    	opacity: 1;
    	position: static;
    }
    .onover > div {
    	position: static;
    	top:0;
    	left: 0;
    	transform: none;
    }

    #texto-text p {
        width: 80%;
    }

}
@media screen and (max-width: 450px){
    .square {
        float:none;
        width: 100%;        
    }

    .div-negro img{
        width: 12.5%;
        height: 12.5%;
    }

    .div-negro .logo-alt{
        width: 7.25%;
        height: 7.25%;
    }

}