.alignright {
    text-align: right;
}

/* ===============================================================================================================================
   secciones efecto scroll
   =============================================================================================================================== */

section {
    /* position: fixed;
    top: 0;
    visibility: hidden;
    height: 100%;
    width: 100%; */

    /* display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 100vh;
    padding: 8em; */
}

section .outer,
section .inner {
    /* width: 100%;
    height: 100%;
    overflow: hidden; */
}

section .bg {
    /* display: flex;
    align-items: center;
    justify-content: center; */

    /* position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    background-size: cover;
    background-position: center; */
}

section .section-heading {
    position: relative;
    /* margin: 2em; */
}

section .section-heading span {
    font-size: 3em;
    display: inline-block;
    color: #803939;
    font-family: "tit", Verdana, sans-serif;
    text-shadow: -1px -1px 0px rgba(255, 255, 255, 0.3), 1px 1px 0px rgba(0, 0, 0, 0.8);
    /* text-shadow: #fff 0 -1px 4px, #ff0 0 -2px 10px, #ff8000 0 -10px 20px, red 0 -18px 40px; */
}

section .bg h2 {
    z-index: 2;
}

section .bg .clip-text {
    overflow: hidden;
}

#seccionSlideshow .bg {
    background: #fff;
    /* background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url(images/bg01.jpg); */
}

section .bg1 {
    /* background: url(images/bg01.jpg); */
    /* background-size: contain; */
}

section .bg2 {
    /* background: url(images/bg04.jpg); */
}

#seccionSomos .bg {
    /* background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url(images/bg01.jpg); */
    /* background: url(images/bg04.jpg); */
}

#seccionCarta .bg {
    /* background: url(images/bg04.jpg); */
}

#seccionPrecios .bg {
    /* background: url(images/bg04.jpg); */
}

#seccionContacto .bg {
    /* background: url(images/bg04.jpg); */
}

.contenido_seccion {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    /* height: 100%; */
    padding: 1em;
    overflow-y: hidden;
}

html {
    /* scroll-behavior: smooth; */
}

/* ===============================================================================================================================
   Lenis smooth scroll
   =============================================================================================================================== */

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: clip;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

/* ===============================================================================================================================
   FIN Lenis smooth scroll
   =============================================================================================================================== */


/* ===============================================================================================================================
   FIN secciones efecto scroll
   =============================================================================================================================== */

/* ===============================================================================================================================
   Seccion Slideshow
   =============================================================================================================================== */

.slideshow {
    position: relative;
    height: 100vh;
}

.slideshow .slide {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.slideshow .slide .image-container {
    /* position: absolute;
    top: 0;
    left: 0; */
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* background-position: center; */
    /* z-index: 1; */
    /* background-size: cover; */
    /* image-rendering: smooth; */
}

.slideshow .slide[data-index="1"] .image-container {
    background-image: url(../imagenes/portada01.jpg);
}

.slideshow .slide[data-index="2"] .image-container {
    background-image: url(../imagenes/portada02.jpg);
}

.slideshow .slide[data-index="3"] .image-container {
    background-image: url(../imagenes/portada03.jpg);
}

.slideshow .slide[data-index="4"] .image-container {
    background-image: url(../imagenes/portada04.jpg);
}

.slideshow .slide[data-index="5"] .image-container {
    background-image: url(../imagenes/portada05.jpg);
}

/* ===============================================================================================================================
   FIN seccion Slideshow
   =============================================================================================================================== */

/* .seccion_somos, .seccion_precios {
    opacity: 0;
    transform: translateX(-200px) scale(0);
}

.seccion_galeria, .seccion_contacto{
    opacity: 0;
    transform: translateX(200px) scale(0);
} */

/* .seccion_somos, .seccion_precios, .seccion_galeria, .seccion_contacto {
    opacity: 0;
    transform: scale(0);
} */


#seccionSomos,
#section-headingseccionPrecios {
    background-color: #f5f5f5;
    /* position: relative; */
}



/* ===============================================================================================================================
   Seccion somos
   =============================================================================================================================== */

.textosomos {
    display: block;
    text-align: left;
    margin-top: 0;
}

.textosomos *:first-child {
    margin-top: 0;
}

.contenido_somos .conenedor_widget {
    display: flex;
    gap: 1rem;
}

.contenido_somos .conenedor_widget .widget {
    width: 32rem;
}

.contenido_somos svg {
    width: 3rem;
    height: 3rem;
    fill: #292;
    stroke: #fff;
    /*mismo color del fondo para hacerlo mas delgado*/
    stroke-width: 3%;
    /*cuanto mas valor, mas delgado*/
    /* transition: 0.5s; */
}

.contenido_somos svg:hover {
    /* fill: #a75b4e; */
}

/* .contenido_somos svg path{
    transform-origin: center;
    transform-box:fill-box;
    transition-duration: 0.5s;
}

.contenido_somos svg path:hover{
    transform: scale(1.1);
    fill: red;
}
  */

/*
#seccionSomos:before {
    content: '';
    background: url(../imagenes/camara.png);
    background-size: cover;
    background-position: 50% 0;
    background-repeat: no-repeat;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
} */

/* ===============================================================================================================================
   FIN Seccion somos
   =============================================================================================================================== */

/* ===============================================================================================================================
   Seccion carta
   =============================================================================================================================== */

#seccionCarta .contenedor_carta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    /* grid-template-rows: repeat(3, 1fr); */
    gap: 5px;
    /* border: 2px solid; */
    height: auto;
    width: 100%;
    overflow: hidden;

    /* display: inline-block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 30vh;
    width: 30vh;
    background-size: cover;
    background-position: center center;
    transform-origin: center center;
    transition: all 0.3s; */
}

#seccionCarta .contenedor_carta:hover {
    /* opacity: 0.5; */
}

#seccionCarta .contenedor_carta .texto_carta {
    grid-column: 2 / span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#seccionCarta .contenedor_carta p {
    position: absolute;
    width: 100%;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    margin: 0;
}

#seccionCarta .mostrarmascarta {
    border: 1px solid #fff;
    padding: 1em;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s;
}

#seccionCarta .mostrarmascarta:hover {
    background: rgba(0, 100, 0, 0.4);
}

#seccionCarta .contenedor_carta img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
}

/* #seccionCarta>div * {
    pointer-events: none;
} */

/*Carta Platos*/

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    /* transform: translate(-50%, -50%); */
    opacity: 0;
    width: 90vw;
    height: 90vh;
    overflow-y: auto;
    z-index: 100;

    /* text-align: center; */
}

#carta {
    /* display: grid;
    grid-template-columns: 1fr 6fr 1fr;
    grid-template-rows: 1fr 10fr 1fr; */
    position: relative;
    /* width: 100%; */
    /* min-height: calc(100vh - 2rem); /*2rem por el padding de #carta*/
    /* min-height: 100%; */
    /* min-height: 100%; */
    height: 100%;
    text-align: center;
    background-color: #eae6d6;
    padding: 1rem;
    z-index: 1;
}

#contenedorCarta {
    width: 100%;
    height: 100%;
    /* min-height: calc(100vh - 2rem); /*2rem por el padding de #carta*/
    border: 3px solid #b5a981;
}

#rotoArriba {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 14rem;
    background-image: url('../imagenes/roto.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: bottom;
    z-index: -1;
}

#rotoAbajo {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 14rem;
    background-image: url('../imagenes/roto.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: bottom;
    z-index: -1;
    transform: rotate(180deg);
}

#grecaArribaIzda {
    top: 1.5rem;
    left: 1.5rem;
    border-bottom: 3px solid #b5a981;
    border-right: 3px solid #b5a981;
    border-radius: 37%;
}

#grecaArribaDcha {
    top: 1.5rem;
    right: 1.5rem;
    border-bottom: 3px solid #b5a981;
    border-left: 3px solid #b5a981;
    border-radius: 37%;
}

#grecaAbajoIzda {
    bottom: 1.5rem;
    left: 1.5rem;
    border-top: 3px solid #b5a981;
    border-right: 3px solid #b5a981;
    border-radius: 37%;
}

#grecaAbajoDcha {
    bottom: 1.5rem;
    right: 1.5rem;
    border-top: 3px solid #b5a981;
    border-left: 3px solid #b5a981;
    border-radius: 37%;
}

.greca {
    position: absolute;
    background-image: url('../imagenes/estrella.png');
    background-repeat: no-repeat;
    background-size: cover;
    height: 2rem;
    width: 2rem;
}

#cierreCarta {
    /* background: rgba(0, 0, 0, 0.4); */
    position: fixed;
    top: 1em;
    right: 1em;
    cursor: pointer;
    height: 3em;
    z-index: 105;
}

#cierreCarta .line {
    display: block;
    width: 3em;
    height: 0.3em;
    background-color: #000;
    margin: .5em;
    transform-origin: center;
    border: 3px solid #000;
    border-radius: 6px;
}

#cierreCarta .line1 {
    transform: rotate(45deg) translate(0.75em, 0.55em);
}

#cierreCarta .line2 {
    transform: rotate(-45deg);
}

#platos {
    display: grid;
    /* grid-template-columns: 1fr 1fr 1fr; */
    grid-gap: 2rem;
    padding: 3rem;
}

.plato {
    display: inline-grid;
    /* justify-content: center; */
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.espacio_between {
    /* height: 65%; */
    width: 100%;
    border-bottom: 2px dashed #000;
}

.plato-categoria {
    text-align: center;
}

/* ===============================================================================================================================
   FIN Seccion carta
   =============================================================================================================================== */

/* ===============================================================================================================================
   Seccion pedido
   =============================================================================================================================== */

#seccionVideo {
    position: relative;
    overflow: hidden;
    /* height: 75vh; */
    /* height: 50vh;
    overflow: hidden; */
    /* background: rgba(0, 100, 0, 0.4); */
    /* display: flex;
    align-items: center;
    justify-content: center; */
}

#seccionVideo video {
    width: 100%;
}

/* ===============================================================================================================================
   FIN Seccion pedido
   =============================================================================================================================== */


/* ----------------- Galeria individual ---------------------*/

#navegadorgalerias {
    position: fixed;
    top: 1em;
    right: 1em;
}

#navegadorgalerias {
    /* background: rgba(0, 0, 0, 0.4); */
    cursor: pointer;
    height: 3em;
    z-index: 105;
}

#navegadorgalerias .line {
    display: block;
    width: 3em;
    height: 0.3em;
    background-color: #fff;
    margin: .5em;
    transform-origin: center;
    border: 3px solid #fff;
    border-radius: 6px;
}

#navegadorgalerias .line1galeria {
    transform: rotate(45deg) translate(0.75em, 0.55em);
}

#navegadorgalerias .line2galeria {
    transform: rotate(-45deg);
}

#contenedorgaleria {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: auto;
    z-index: 5;
    padding: 6em 0.2em;
    background: rgba(0, 0, 0, 1);
}

#contenedorgaleria:before {
    content: '';
    background: url(../imagenes/foto-galeria.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

#galeria {
    display: none;
}

#galeria div {
    display: inline-block;
    height: 150px;
    border: 1px solid #fff !important;
    border-radius: 4px !important;
    background-size: cover !important;
    background-position: center center !important;
    cursor: pointer;
}

#image_full_container {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    z-index: 10;
}

#imageFull {
    /* position: absolute;
    top: 0;
    left: 0; */
    height: 100%;
    width: 100%;
    background-size: contain !important;
    background-position: center center !important;
    display: none;
    cursor: pointer;
    /* object-fit: contain; */
    /* object-position: 50% 50%; */
    /* border: 1px solid #fff;
    border-radius: 4px; */
}

.stop-scrolling {
    height: 100%;
    overflow: hidden;
}

/* ===============================================================================================================================
   FIN Seccion galerias
   =============================================================================================================================== */



/* ===============================================================================================================================
   Seccion precios
   =============================================================================================================================== */

#seccionPrecios .contenido_precios .contenedor_botones_precios {}

#seccionPrecios .contenido_precios .precios_boda,
.precios_estudio {
    /* display: flex;
    width: 80%;
    justify-content: space-evenly; */
}

#seccionPrecios #divbodaestudio {
    /* position: relative; */
    /* min-height: 20em; */
}

#seccionPrecios .contenido_precios ul {
    text-align: left;
}

/* #seccionPrecios .contenido_precios, .extras {
    vertical-align: top;
} */

/* #seccionPrecios .contenido_precios ul, .extras table {
    text-align: left;
    color: #888;
    padding-right: 0.5em;
    padding-left: 0.5em;
} */

/* #seccionPrecios .contenido_precios ul li, .extras ul li {
    color: #888;
    list-style-type: none;
} */

/*#seccionPrecios .contenido_precios ul li:nth-child(even){background-color: #f2f2f2}*/

#seccionPrecios .contenido_precios li:before {
    font-family: "Lucida Sans Unicode", "Arial Unicode MS";
    /*para compatibilidad con antiguas versiones de navegadores*/
    content: "\2713";
    /*hay que escapar con \ (&#x2713; equivale a \2713;) para poner el caracter unicode */
    margin-right: 0.7em;
    font-size: 1em;
    color: #292;
}

/* #seccionPrecios .contenido_precios .extras td:before {
    font-family: "Lucida Sans Unicode", "Arial Unicode MS";
    content: "\2022";
    margin-right: 0.2em;
    font-size: 2em;
    line-height: 0.5em;
    vertical-align: sub;
    color: #86BEF5;
} */

/* #seccionPrecios .contenido_precios .extras th {
    padding-left: 1em;
    padding-right: 0.5em;
    text-align: right;
} */

/* ===============================================================================================================================
   FIN Seccion precios
   =============================================================================================================================== */

/* ===============================================================================================================================
   Seccion contacto
   =============================================================================================================================== */

.datos-contacto p:first-child {
    margin-top: 0;
}

.datos-contacto a {
    color: #84c569;
    text-decoration: none;
}

#imagenfondo {
    /* height: 100%; */
    /* position: absolute;
    top: 0;
    opacity: 0.2;
    z-index: -10; */
}

#imagenfondo img {
    /* width: 100vw; */
}

/* #seccionContacto {
    position: relative;
}

#seccionContacto:before {
    content: '';
    background: url(../imagenes/buzon.jpg);
    background-size: cover;
    background-position: 50% 0;
    background-repeat: no-repeat;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
} */

#contact-form {
    width: 50vw;
    /* margin: auto; */
    text-align: left;
    position: relative;
}

#contact-form label {
    display: block;
    color: #a9a9a9;
    margin-top: 1.5em;
}

#contact-form span {
    margin-left: 0.7%;
}

#contact-form input,
#contact-form textarea {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 0.3em auto 5px;
    border: 1px solid #597395;
    border-radius: 5px;
    padding: 0.75em;
    display: block;
    width: 99%;
    box-sizing: border-box;
    -webkit-transition: ease-in-out 0.3s;
    -o-transition: ease-in-out 0.3s;
    transition: ease-in-out 0.3s;
}

#contact-form input:focus,
#contact-form textarea:focus {
    box-shadow: 0px 0px 3px 3px #597395;
}

#contact-form button {
    display: block;
    margin: 1em auto 0 auto;
    text-align: center;
}

#contact-form .privacycheckbox {
    /* height: 2rem; */
    text-align: center;
    margin: 0;
}

#contact-form .privacycheckbox span,
#contact-form .privacycheckbox a {
    vertical-align: middle;
}

#contact-form .privacycheckbox a {
    text-decoration: none;
    color: rgb(197 121 159);
    transition: all 0.5s;
}

#contact-form .privacycheckbox a:hover {
    color: rgb(267 200 230);
}

/* #contact-form .checkbox{
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    border: 2px solid #c9c9c9;
    background-color: #dedbdb;
} */

#contact-form input[type="checkbox"] {
    display: inline-block;
    cursor: pointer;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
    width: 1rem;
    height: 1rem;
    appearance: none;
    /* border: 2px solid #888; */
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-left: 1em;
}

#contact-form input[type="checkbox"]:checked {
    background-color: rgb(236 72 153);
}

#contact-form input[type="checkbox"]:focus {
    box-shadow: none;
    outline: none;
    border-color: rgb(80, 67, 250);
}

#contact-form input[type="checkbox"]:disabled {
    background-color: rgb(198, 198, 198);
    background-image: none;
}

#contact-form input[type="checkbox"]:disabled:checked {
    background-color: rgb(198, 198, 198);
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

#success_box,
#error_box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: -6em;
    left: -100vw;
    width: 100%;
    height: 5em;
    font-size: 1em;
    box-sizing: border-box;
    text-align: center;
    text-shadow: none;
    border-radius: 5px;
}

#success_box {
    background: #e2f1bb none repeat scroll 0 0;
    border: 1px solid #598800;
    color: #000000;
}

#error_box {
    background: #fad3c4 none repeat scroll 0 0;
    border: 1px solid #a75b4e;
    color: #444444;
}

#mapa {
    width: 100%;
}

#mapagoogle h2 {
    font-size: 3em;
    margin: 2rem;
}

#mapagoogle iframe {
    width: 100%;
    height: 50vh;
}

#imagenfondo img {
    /* -webkit-filter: blur(3px); */
    /* Safari 6.0 - 9.0 */
    /* filter: blur(3px); */
}

.horario {
    width: 30rem;
    margin-top: 1rem;
    background: #f1e7e7;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.horario h2 {
    text-align: center;
    margin-bottom: 15px;
}

.horario table {
    width: 100%;
    border-collapse: collapse;
}

.horario td {
    padding: 8px 0;
    border-bottom: 1px solid #cdc5c5;
}

.horario .dia {
    font-weight: bold;
}

.horario .cerrado {
    color: red;
}

/* ===============================================================================================================================
    FIN Seccion contacto
    =============================================================================================================================== */



/* ===============================================================================================================================
    Media queries
    =============================================================================================================================== */

@media (min-aspect-ratio: 1/1) {
    #platos {
        grid-template-columns: repeat(auto-fit, minmax(min(100%/3, max(30%, 100%/5)), 1fr));
    }
}

@media (aspect-ratio: 1/1) {
    #platos {
        grid-template-columns: repeat(auto-fit, minmax(min(100%/3, max(30%, 100%/5)), 1fr));
    }
}

@media (max-aspect-ratio: 1/1) {

    #platos {
        grid-template-columns: 1fr;
    }

    .slideshow .slide[data-index="1"] .image-container {
        background-image: url(../imagenes/portada01v.jpg);
    }

    .slideshow .slide[data-index="2"] .image-container {
        background-image: url(../imagenes/portada02v.jpg);
    }

    .slideshow .slide[data-index="3"] .image-container {
        background-image: url(../imagenes/portada03v.jpg);
    }

    .slideshow .slide[data-index="4"] .image-container {
        background-image: url(../imagenes/portada04v.jpg);
    }

    .slideshow .slide[data-index="5"] .image-container {
        background-image: url(../imagenes/portada05v.jpg);
    }

    #seccionCarta #contenedor_carta .contenedor_carta {
        width: 24vh;
        height: 24vh;
    }

    #seccionCarta .contenedor_carta .texto_carta {
        font-size: 0.5rem;
        grid-column: 1 / span 4;
    }

    .ocultarparamovil {
        display: none;
    }

    #seccionCarta .contenedor_carta .texto_carta button,
    #seccionCarta .contenedor_carta .texto_carta a {
        /* font-size: 0.5rem; */
    }

    #contact-form {
        width: 100%;
    }

    #seccionContacto .datos-contacto {
        font-size: 0.8rem;
    }

    #contact-form .privacycheckbox a {
        /* font-size: 0.5rem;
        vertical-align: inherit; */
    }

    .horario {
        width: 100%;
    }

}