:root{
    --rojo: #ff0606;
    /*--rojotrans: rgba(250,40,40,0.5);*/
    --rojotrans: rgba(219,11,31);
    --rojoobs:#a30000;
    --blanco: #ffffff;
    --negro: #000000;
    --trans: rgba(255,255,255,0.5);
    --mor: #fa02d18f;
}
html{
    box-sizing: border-box;
    font-size: 62.5%;
}
*, *::before, *:after{
    box-sizing: inherit;
}
body{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.6rem;
    line-height: 2;
   /* background-image: url(../img/fondo.jpg);*/
    background-size: cover;
    background-repeat:no-repeat;
    background-position: center center;
}
/*globales*/
a{
    text-decoration: none;
}
h1, h2, h3, h4{
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.2;
}
h1{
    font-size: 4.8rem;
}
h2{
    font-size: 4rem;
}
h3{
    font-size: 3.2rem;
}
h4{
   font-size: 2.8rem; 
}
p{
    text-align: justify;
}
img{
    max-width: 100%;
}
/*utilidades*/
.no-margin{
    margin: 0;
    padding: 0;
}
.no-padin{
    padding: 0;
}
.centrar-texto{
    text-align: center;
}
/*header*/
.header{
    display: flex;
    justify-content: center;
}
.contenedor_h{ /*centrar el contenido de la pagina*/
    width: 85%;
    margin: 0.5rem auto 0 auto;
}
.sombra_h{
        border-radius: 14px 14px 14px 14px;
        -moz-border-radius: 14px 14px 14px 14px;
        -webkit-border-radius: 14px 14px 14px 14px;
        border: 0px solid #000000;
        -webkit-box-shadow: 2px 5px 15px 0px rgba(59,55,59,0.64);
        -moz-box-shadow: 2px 5px 15px 0px rgba(59,55,59,0.64);
        box-shadow: 2px 5px 15px 0px rgba(59,55,59,0.64);
        background-color: var(--trans);
}
@media(min-width: 768px){
    .ser{
        display: grid;
        /*grid-template-columns: 50% 50%;*//*se usa la opcion de abajo que divide para fracciones*/
        grid-template-columns: 1fr 1fr ;
        column-gap: 2rem;
        padding: 1rem;
    }
}
.header__logo{
    margin: 5rem 0;
    width: 100%;
    justify-content: center;
}
.header__tienda{
    margin: 4rem 0;
    max-width: 100%;
}
/*menu*/
.nav-bg{
    background-color: var(--rojotrans);
}
.menu_principal{
    scroll-snap-align: center;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width:768px){
    .menu_principal{
        flex-direction: row;
        justify-content: space-between;
    }
}
.menu_principal a{
    color: var(--blanco);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 1rem;
    
} 
.menu_principal a:hover{
    background-color: var(--rojoobs);
    color: var(--negro);
}
/*Menu secundario*/
.nav-bg2{
    background-color: var(--rojotrans);
}
.menu_sec{
    scroll-snap-align: center;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width:768px){
    .menu_sec{
        flex-direction: row;
        justify-content: space-between;
    }
}
.menu_sec a{
    color: var(--blanco);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 1rem;
    
} 
.menu_sec a:hover{
    background-color: var(--mor);
    color: var(--negro);
}
/*Contenido*/
.blog{
    padding: 1rem;
}
.contenedor{
    width: 85%;
    margin: 0 auto 0 auto;
}
.sombra{
    border-radius: 14px 14px 14px 14px;
    -moz-border-radius: 14px 14px 14px 14px;
    -webkit-border-radius: 14px 14px 14px 14px;
    border: 0px solid #000000;
    -webkit-box-shadow: 2px 5px 15px 0px rgba(59,55,59,0.64);
    -moz-box-shadow: 2px 5px 15px 0px rgba(59,55,59,0.64);
    box-shadow: 2px 5px 15px 0px rgba(59,55,59,0.64);
    background-color: var(--trans);
}
@media (min-width: 768px){
    .contenido-principal{
        display: grid;
        grid-template-columns: 2fr 1fr;
        column-gap: 4rem;
    }
}
.entrada{
    border-bottom: 1px solid var(--claro);
    margin-bottom: 2rem;
    padding: 1rem;
}
.sidebar{
    padding: 1rem;
}
.entrada:last-of-type{
    border: none;
    margin-bottom: 0;
}
.cursos{
    list-style: none;
}
.widget-curso{
    border-bottom: 1px solid var(--gris);
    margin-bottom: 2rem;
    text-align: center;
}
.widget-curso:last-of-type{
    border: none;
    margin-bottom: 0;
}
.widget-curso__label{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}
.widget-curso__info{
    font-weight: normal;
}
.widget-curso__label,
.widget-curso__info{
    font-size: 2rem;
}
.productos {
    scroll-snap-align: center;
    scroll-snap-stop: always;
}
@media(min-width: 768px){
    .productos{
        display: grid;
        /*grid-template-columns: 33.3% 33.3% 33.3%;*//*se usa la opcion de abajo que divide para fracciones*/
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 2rem;
    }
}
@media(min-width: 768px){
    .productos2{
        display: grid;
        /*grid-template-columns: 33.3% 33.3% 33.3%;*//*se usa la opcion de abajo que divide para fracciones*/
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
    }
}
.producto {
    text-align:center;
}
.producto{
    display: flex;
    flex-direction: column;
    align-items: center;
}
/*Imagen redonda*/
.imgredonda {
    width:10rem;
    height:10rem;
    border-radius:5rem;
}
/*footer*/
.derechos{
    text-align: center;
    color: var(--negro);
    text-transform: capitalize;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
}

/*SLIDER*/
.container{
    margin: auto 200px;
    padding: 1rem;
    height: auto;
}
  ul, li {
      padding: 0;
      margin: 0;
      list-style: none;
  }
  
  ul.slider{
    position: relative;
    width: 100%;
    height: 72rem;
  }
  
  ul.slider li {
      position: absolute;
      left: 0px;
      top: 0px;
      opacity: 0;
      width: inherit;
      transition: opacity .5s;
  }
  
  ul.slider li img{
    width: auto;
    height: auto;
    object-fit: cover;
  }
  
  ul.slider li:first-child {
      opacity: 1; /*Mostramos el primer <li>*/
  }
  
  ul.slider li:target {
      opacity: 1; /*Mostramos el <li> del enlace que pulsemos*/
  }
  
  .menu{
    text-align: justify;
    margin: 1rem;
  }
  
  .menu li{
    display: inline-block;
    text-align: center;
  }
  
  .menu li a{
    display: inline-block;
    color: black;
    text-decoration: none;
    padding: 1rem;
    width: 2rem;
    height: 2rem;
    font-size: 2rem;
    border-radius: 100%;
  }
/*SLIDER cuidado personal*/
.container2{
    margin: auto;
    padding: 1rem;
}
  ul, li {
      padding: 0;
      margin: 0;
      list-style: none;
  }
  
  ul.slider2{
    position: relative;
    width: auto;
    height: 54rem;
  }
  
  ul.slider2 li {
      position: absolute;
      left: 0px;
      top: 0px;
      opacity: 0;
      width: inherit;
      transition: opacity .5s;
  }
  
  ul.slider2 li img{
    width: 90%;
    height: 90%;
    object-fit: cover;
  }
  
  ul.slider2 li:first-child {
      opacity: 1; /*Mostramos el primer <li>*/
  }
  
  ul.slider2 li:target {
      opacity: 1; /*Mostramos el <li> del enlace que pulsemos*/
  }
  
  .menu2{
    text-align: justify;
    margin: 1rem;
  }
  
  .menu2 li{
    display: inline-block;
    text-align: center;
  }
  
  .menu2 li a{
    display: inline-block;
    color: black;
    text-decoration: none;
    padding: 1rem;
    width: 2rem;
    height: 2rem;
    font-size: 2rem;
    border-radius: 100%;
  }
