:root {
    --verde: #00a149;
    --blanco: #fff;
    --rojo: #881014;
    --oscuro: #000;
    --titulos:'Arima Madurai', cursive;
    --parrafos:'Mulish', sans-serif;
}
html {
    box-sizing: border-box;
    font-size: 62.5%; /*recetear el rem c/rem vale 10px*/
   /* width: 95%; /*deja el 5% de espacio libre por cada lado izq y derc*/
}
body{
    font-size: 1.6rem; /*valor en la pagina*/
    overflow-x: hidden;
}

*,*::after, *::before{
    box-sizing: inherit;
}
/*-----------------globales---------------------------*/

.contenedor{
    max-width: 120rem;
    margin: 0 auto;
    width: 95%;
}
h1,h2{
    font-family: var(--titulos);
}
h3, p, a{
    font-family: var(--parrafos);
}

img {
    max-width: 100%;
}
.verde {
    color: var(--verde);
}
.rojo {
    color: var(--rojo);
}
.ocultar{ /*Desaparece el menu*/
   display: none; 
}
.btn-cerrar{
    font-size: 3rem;
    color: var(--blanco);
    position: absolute;
    top: 0;
    right: 50px;
    font-weight: bold;
    user-select: none; /*quitar el fondo de la x*/

}

.pantalla-completa{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .5);
    z-index: 4;

}

@keyframes desplazamiento {
    0%{
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}
.btn-cerrar:hover{ /*agregar al cursor la manita*/
    cursor: pointer;
}

.btn{
    text-decoration: none;
    color: var(--blanco);
    font-size: 2.2rem;
    text-transform: capitalize;
    padding: 1rem 5rem;
    transition: .3s ease-in-out;
    border-radius: 5px;
}
@media(min-width: 768px){
    .btn{
        font-size: 2.2rem;
    }
}
.bordes{
    border: 3px solid var(--blanco);   
}

@media(min-width: 768px){
    .bordes{
        border: 4px solid var(--blanco);
    }
}

.bordes:hover{
    background-color: var(--blanco);
    color: var(--verde);
}
.btn-rojo{
    background-color: var(--rojo);
    font-weight: bold;
    display: inline-block;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.btn-verde{ /* aqui ok */
    background-color: var(--verde);
    border: none;
    display: inline-block;
    margin-bottom: 2rem;
    font-family: var(--parrafos); 
}

.btn-verde:hover{
    background-color: var(--rojo);
}
/*Encabezado*/
.contenedor-navegacion{
    background-color: var(--oscuro);
    position: relative;
    z-index: 5;

}
.contenido-navegacion{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo h2{
    font-size: 3rem;
}

.logo h2, .navegacion a{
    color: var(--blanco);
}
.navegacion a{
    text-decoration: none;
    font-size: 2.2rem;
    padding: 1.5rem;
    padding-left: 4rem;
    display: block;
    transition: .3s ease-in-out; /*suavizado de la barra*/
    text-align: center;
}

@media(min-width: 768px){
    .navegacion a {
        text-align: left;
    }
}
.navegacion a:nth-child(even):hover{ /*menu inciso par rojo*/
    color: var(--rojo);
}

.navegacion a:nth-child(odd):hover{ /*menu inciso inpar rojo*/
    color: var(--verde);
}
.navegacion a:first-of-type{
    margin-top: 5rem;
}

.navegacion{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    width: 40rem;
    padding: 3rem 4rem;
    background-color: var(--oscuro);
    animation: desplazamiento .5s ease-in-out;
}

.hamburguesa:hover{
    cursor: pointer;
}

.hamburguesa span{ /*lineas del menu*/
    background-color: var(--blanco);
    display: block;
    width: 5rem;
    height: .5rem;
    margin-bottom: .5rem;

}
.contenido-header {
    position: relative;
}

.contenido-header::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
}
.texto-encabezado{
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.texto-encabezado h2{
    color: var(--blanco);
    font-size: 4rem;
}
/*media queri mobil*/
@media(min-width: 768px){
    .texto-encabezado h2{
        font-size: 8rem;
    }
}
/*video*/
video{
    width: 100%;
    height: 100%;
}
/*-----------Bienvenido Nosotros imagenes---------------*/
.contendor-nosotros {
    display: flex;
    justify-content: space-between; 
    padding-top: 5rem; /*separando contenedor nosrotros de la parte de arriba*/

}
/*-----mobil-------*/
@media(min-width: 768px){ /*tableta hacia arriba*/
  .contenedor-nosotros{
    display: flex;
    justify-content: space-between; 
  }
}
.texto-nosotros, .imagenes-nosotros {
/*flex-grow: /*si hay espacio en el contenido se hace mas grande*/
/*flex-shrink /*hace mas pequeño el contenido*/
/*flex-basis; /*define un ancho como el width */
flex: 0 0 calc(50% - 1rem) ;
}
.texto-nosotros .bienvenida{ /*benebinutti*/
    font-size: 4rem;
    color: var(--verde);
    text-align: center;
}
@media(min-width: 768px){ /*cuando estes en modo tableta*/
    .texto-nosotros .bienvenida{ 
        text-align: left; /*texto binbenutii alinieado a la izquierda*/
    }
}
.texto-nosotros h1{ /*Ristorante Turilli*/
    font-size: 5rem;
    text-align: center;
}
@media(min-width: 768px){
    .texto-nosotros h1{ /*Ristorante Turilli*/
    text-align: left;
}
}
.texto-nosotros p{
    font-size: 2rem; /*parrafo de bienvenida*/
     text-align: center;
}
@media(min-width: 768px){
.texto-nosotros p{
     /*parrafo de bienvenida*/
     text-align: left;
}
}
.imagenes-nosotros{
    display: flex;
    justify-content: space-between;
}
.imagenes-nosotros img{
    border-radius: 5px;
}
.imagen1, .imagenes2 {
    flex: 0 0 calc(50% - 1rem) ;
}
.imagenes2 img{
    margin-bottom: 1rem;
}

.menu{
padding-top: 4rem;
}
/* ------platillos-----------*/
.texto-platillos{
    text-align: center;
    font-size: 5rem;
}

.botones-platillos{ /*revision ok*/
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.botones-platillos button{ /*Revision ok*/
flex: 0 0 calc(50% - 1rem);
padding: 1rem 3rem; /*corregir el acomodo de botones*/
}

@media(min-width: 768px) { /*ok revisado*/
    .botones-platillos{
       display: inline-block;
    }
    botones-platillos button{
       flex: unset;
    }
}
@media (min-width: 768px) { /*ok revisado*/
    .platillos{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}


.platillo{ /*ok revisado*/
    flex: 0 0 calc(33.3% - 1rem);
    border: 1px solid #e1e1e1;
    padding: 2rem;
    border-radius: 5px;
}

.platillo h2{ /*ok revisado*/
    text-align: center;
}
.platillo p{ /*ok revisado*/
    font-size: 1.8rem;
}
.precio{  /*ok revisado*/
    display: flex;
    justify-content: space-between;
}
.precio p{  /* ok revisado*/
    font-weight: bold;
    font-size: 2rem;
}
.precio button{ /*ok revisado */
    padding: 1rem;
    border-radius: 5px;
    border: none;
    background-color: var(--rojo);
    color: var(--blanco);
    height: 3.8rem;
}
.separador{
    background-image: url(../assets/img/ensalada11.fw.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 2;
}
.separador::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    z-index: -1;
}

.contenido-separador{
    padding: 5rem;
}
.contenido-separador h2{
    font-size: 4rem;
    color: var(--blanco);
    text-align: center;
}

@media(min-width: 48rem) {
    .contenido-separador h2{
    font-size: 5rem;
    color: var(--blanco);
    text-align: left;
    }
}

.contenido-separador p{
    text-align: center;
    color: var(--blanco);
    font-size: 2rem;
}

@media(min-width: 768px) {
    .contenido-separador p{
    text-align: left;
    }
}

/*Seccion del chef*/

.chef h2{
    background-color: var(--rojo);
    display: inline-block;
    padding: 1rem 3rem;
    color: var(--blanco);
    font-size: 4rem;
}

@media(min-width: 768px){
.contenido-chef{
    display: flex;
    justify-content: space-between;
}
}

.texto-chef, .imagen-chef{
    flex: 0 0 calc(50% - 1rem);
}
.texto-chef h3{
    font-size: 3rem;
}

.formulario-contacto{
    padding-top: 5rem;
}
/*formulario contacto*/
@media(min-width: 768px) {
.formulario-contacto{
    display: flex;
    }
}

.informacion-contacto{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.informacion-contacto, .formulario{
    flex: 0 0 calc(50% - 1rem);
}

.informacion-contacto{
    background-color: var(--oscuro);
    padding: 2rem;
}

.informacion-contacto h3, .informacion-contacto p, .redes-sociales i{
color: var(--blanco);
}

.informacion-contacto h3{
    font-size: 4rem;
    font-family: var(--titulos);
}
.informacion-contacto p{
    font-size: 2.2rem;
}

.informacion-contacto i{
    margin-right: 1rem;
}

.redes-sociales{
    font-size: 3rem;
}

.formulario{
    padding: 5rem;/*separacion del bloque de 80px*/
}
.input-formulario label{
    display: block; /*se acomodan en bloque uno abajo del otro*/
    font-size: 2rem; /*el tamaño de la letra es de 32px*/
    font-family: var(--parrafos); /*se llama a la variable del tipo de letra*/
    margin-bottom: 1.5rem; /*margin botton. margen inferrior de 16px*/
}

.input-formulario input, .input-formulario textarea{ /*los hijos que son input y texarea*/
    width: 100%;  /*se estiran el 100% en la tabla*/
}

.input-formulario input, .input-formulario textarea{
    padding: 1rem 1.6rem; /*se estiran a izq 16px a derecha 25.6px*/
    border: 1px solid #e1e1e1; /*borde de los recuadros*/
    border-radius: 5px; /*redondeado de los recuadros*/
    outline: none; /*se quita el borde negro al momento de seleccionar en el formulario*/
    font-family: var(--parrafos);
}
.input-formulario textarea{
    height: 20rem; /*tamaño del area mensage*/
    resize: none; /*evitar que le mueban el tamaño*/
}

/*--------------Pie de lagina-----------------*/
.pie-pagina{
    margin-top: 5rem;
    background-color: rgba(20, 20, 20);
    padding: 5rem;
}

@media(min-width: 768px) {
.contenedor-piepagina{
    display: flex; /*se colocan uno a  lado del otro*/
    justify-content: space-between;
    }
}

.info{
    flex: 0 0 calc(25% -1rem); /*Se  divide en 4 secciones del 25% cada una */
    margin-bottom: 2rem; /*separacion de cada info*/
}

.info h3, .info p{
    color: var(--blanco);
    text-align: center;
}

.info h3{
    font-size: 2.2rem;
}
.info p{
    font-size: 1.4rem;
}
.redes-pie{
    text-align: center;
}

.info input[type="email"]{
font-family: var(--parrafos);
display: inline-block; /*se acomodan en bloque*/
margin-bottom: 1rem; /*lo separa 1rem*/
padding: 1rem;
border-radius: 5px;
outline: none;
width: 100%; /*que ocipe el 100% */
}

.info input[type="submit"]{
    padding: .5rem 1.5rem; /*tamaño del boton .5 alto 2rem largo*/
    font-size: 1.5rem;
    border-radius: 2px;
}

/*------Footer ------->*/

.footer{
    text-align: center;
    background-color: var(--oscuro);
    color: var(--blanco);
    padding: 2rem;
    font-size: 2rem;
}
