:root {
  --primaryColor:rgb(63, 81, 181);
}


body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Roboto, "Helvetica Neue", sans-serif;
    
  }

  .header{
    background: linear-gradient(
      to right,
      rgba(104, 78, 250, 0.95),
      rgba(63, 81, 181, 0.95)
    ),
    url(https://firebasestorage.googleapis.com/v0/b/siguientenivel150116.appspot.com/o/Productos%2FRestaurante%2Fpizza.jpg?alt=media&token=decc0dd1-5d32-43a2-a2e3-032cb0af35d3);
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  padding-top: 2em;
  color: white;
  font-weight: 300;
  line-height: 2em;
  }

  nav {
    text-align: right;    
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .enlaces a {
    color: white;
    font-weight: 400;
    text-decoration: none;
    margin-right: 16px;
    font-size: 1em;
  }
  
  .enlaces a:hover {
    color: white;    
    text-decoration: underline;  
    cursor: pointer;
  }

  .container{
    margin: 0 auto;
    max-width: 1200px;
    width: 90%;
    text-align: justify;
    line-height: 1.8em;
  }

  .logoCnt{
    display: flex;
    align-items: center;
    align-content: center;
  }

  .logoCnt p{
    margin-left: 0.5em;    
    font-size: 1.5em;
  }

  .logoCnt img{
    border-radius: 50%;
    box-shadow: 0 0 8px 4px rgba(255, 255, 255, 0.5);
  }

  .titulo{
    width: 60%;
  }

  .titulo h1{
    margin-top: 2em;
    font-weight: 500;
    font-size: 2em;    
  }

  .titulo p{
    font-size: 1.5em;
  }

  .imgHeader{    
    width: 25%; 
    max-width: 350px;  
    position: absolute;
    z-index: 1;
    right: 16%;
    top:8em;
  }

  h2{
    font-weight: 500;
    font-size: 1.8em; 
    color:var(--primaryColor);
  }

  h3{
    font-weight: 500;
    font-size: 1.4em; 
    color:var(--primaryColor);
  }

  .shortyoutube {
    margin: 0 auto;
    aspect-ratio: 13 / 16;
    width: 100%;
    max-width: 560px; 
    max-height: 90%;
  }

  span{
    padding-top: 0.5em;
    padding-right: 0.5em;
  }

  .caracteristicas{
    max-width: 60%;
  }

  .cards_imagenes {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .cards_imagenes a {
    width: 23%;    
    margin:0.5em;
    min-width: 250px;
  }

  .cards_imagenes img{    
    width: 100%;    
  }

  .cards_productos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .card_productos {
    max-width: 300px;
    margin: 8px;
    padding: 16px;
    text-align: center;  
    position: relative;      
    border-radius: 8px;
    background-color: rgba(124, 101, 255, 0.493);
  }
  
  .card_productos img {
    max-width: 200px;  
    margin-bottom: 8px;
    border-radius: 8px;
  }
  
  .titulo_productos {
    text-align: center;
    width: 100%;
    font-size: 20px;  
    margin-bottom: 12px;
    font-weight: 500;
  }
  
  .precio{  
    margin-bottom: 32px;
  }
  
  .precio p{
    text-align: center;
  }

  .importe{
    font-size: 32px;
    font-weight: 500;
  }
  
  .descripcion {
    text-align: justify;
  }

  .header b{
    font-weight: 500;
  }

  .card_productos > .btnInfo{
    padding-top: 1em;
  }

  .card_productos >.btnInfo a{
    background-color: var(--primaryColor);
    color: whitesmoke;   
    font-weight: 500;
    box-shadow: 0 0 8px 4px rgba(255, 255, 255, 0.5);
  }

  .card_productos > .btnInfo a:hover{    
    background-color: white;
    color: black;
  }

  .videoItem{
    display: flex;
    justify-content: space-between;
  }
  .youtube {    
    width: 100%;
    height: calc(100vw * 7/16);
    max-width: 500px;
    max-height: 285px;
    border-radius: 8px;
    margin: 1em;
}

  .btnInfo{
    padding-bottom: 1.4em;
  }

  .btnInfo a{       
    background-color: rgb(104, 78, 250);
    color: whitesmoke;
    padding: 1em 1em;    
    font-size: 1.2em;
    border-radius: 0.25em;
    text-align: center;
    text-decoration: none;    
    box-shadow: 0 0 8px 4px rgba(43, 0, 78, 0.5);
  }

  .btnInfo a:hover{    
    background-color: var(--primaryColor);
  }

  footer{ 
      background: linear-gradient(
        to right,
        rgba(104, 78, 250, 0.95),
        rgba(63, 81, 181, 0.95)
      ),
      url(https://firebasestorage.googleapis.com/v0/b/siguientenivel150116.appspot.com/o/Productos%2FRestaurante%2Fpizza.jpg?alt=media&token=decc0dd1-5d32-43a2-a2e3-032cb0af35d3);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;    
    color: white;
    font-weight: 300;
    line-height: 2em;
  }

  footer a{
    color: white;
  }
  
  footer b{
    font-weight: 500;
  }

  .firma{
    text-align: center; 
    padding-bottom: 2em;
  }
  
@media screen and (max-width: 1500px) {
  .imgHeader{    
    right: 8%;
  }
}

@media screen and (max-width: 500px) {
  .enlaces{
    display: none;
  }

  .wave{
    display: none;
  }

  .waveFooter{
    display: none;
  }

  .container{
    width: 80%;
  }

  .titulo{
    width: 100%;   
    line-height: 2.2em;
  }

  .titulo h1{
    text-align: center;
    margin-top: 1em;
  }

  .titulo p{
    text-align: justify;
  }

  .imgHeaderCnt{
    text-align: center;
  }

  .imgHeader{    
    position:initial;  
    width: 70%;  
  }

  .caracteristicas{
    width: 100%;
    max-width: 100%;
  }

  h2{
    text-align: center;
  }

  h3{
    text-align: center;
  }

  .videoItem{
    flex-direction: column;
  }

  .youtube{
    margin:0em;
  }

  .btnInfo{
    text-align: center;
    margin-bottom: 1em;
    font-size: 0.8em;
  }

  .firma{    
    padding-top: 0.5em;
  }
  
}