html {
    box-sizing: border-box;
    font-size: 62.5%;
    /* 1rem = 10px*/
}

body {
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: darkgray;
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}


*,
*:before,
*:after {
    box-sizing: border-box;
}

/*Globales*/

h1,
h2,
h3 {
    margin: 0 0 5rem 0;
}

h1 {
    font-size: 4rem;
    text-align: center;
    background-color: brown;
    color: white;
}

h2 {
    font-size: 3.5rem;
}

h3 {
    font-size: 3rem;
}

h4 {
    margin: 0;
}

a {
    text-decoration: none;
    color: #000;
}

img {
    max-width: 100%;
    display: block;
}

.contenedor {
    max-width: 120rem;
    margin: 0 auto;
}

p {
    margin: 0;
}

main{
    flex:1
}

.encabezado {
    background-color: black;
    color: white;
}

.contenido-encabezado {
    padding: 0 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.logo {
    max-width: 20rem;
    padding: 2rem 0;
}

.contacto a {
    color: white;
}

.contenido-main {
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

@media (min-width: 568px){ 
    .contenido-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px){ 
    .contenido-main {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 992px){ 
    .contenido-main {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* cards */
.card-owl {
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 0px;
    overflow: hidden;
    text-align: center;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    /* Asegura que los elementos se alineen verticalmente */
    text-decoration: none;
    /* Elimina el subrayado del enlace */
    color: inherit;
    /* Hereda el color del texto */
    transition: .3s;
    height: 100%;
}

.card-owl:hover {
    scale: 1.05;
}

.card-owl-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    /* Limita la altura máxima de la imagen */
    object-fit: contain;
    /* Asegura que las imágenes mantengan su proporción */
}


.card-owl-body {
    padding: 10px;
    flex: 1;
    /* Hace que el cuerpo de la tarjeta ocupe el espacio restante */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Asegura que los elementos estén distribuidos */
}

.card-owl-title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}

.card-owl-footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    /* Asegura que el footer esté al final */
}

/* cards */

.image-container{
    height: 20rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


.info{
    display: flex;
    flex-direction: row;
    margin-bottom: 1rem;
    align-items: center;
}
.info i{
    margin-right: 1rem;
    font-size: 2rem;
}

.local-numero{
    margin-top: 1rem;
    color: gray;
    font-size: 1.4rem;
}

.form-group{
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-group1{
    margin-bottom: 1rem;
}

/* Estilos para los modales */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.modal-content {
    background: white;
    width: 300px;
    padding: 20px;
    margin: 10% auto;
    border-radius: 5px;
    text-align: center;
}
.modal-content button {
    width: auto;
    margin: 10px;
}
/* Tabla  */
table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    background: white;
}
th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}
th {
    background: black;
    color: white;
}
.actions button {
    margin-right: 5px;
    padding: 5px;
    cursor: pointer;
}

.locales{
    margin-bottom: 5rem;
}

footer{
    background-color: #000;
    color: white;
    padding: 5rem 0;
    margin-top: 5rem;
}

.contenido-footer{
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

@media (min-width: 768px){ 
    .contenido-footer{
        grid-template-columns: repeat(3, 1fr);
    }
}
.mapa{
    width: 100%;
    margin: 2rem 0;
    padding: 0 2rem;
}

@media (min-width: 768px){ 
    .mapa{
        margin: 0;
        padding:0;
    }
}

.direccion{
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap:1.5rem
}

.redes{
    display: flex;
    gap:2rem;
    margin:auto
}
.redes, .redes a{
    color:white;
    font-size: 2.5rem;
}
