/*
Theme Name: Nutricionista Científico
Author: SA Publicidad
Author URI: https://www.sapublicidad.cl/
Description: Este diseño ha sido creado por SA Publicidad de manera exclusiva para usted.
Version: 1.0
License: Privada
Tags: minimalista, responsive, modern, full width

Este tema tiene una licencia privada y el uso de esta es exclusiva de SA Publicidad.
*/

*{
    padding: 0;
    margin:0;
}

html, body{
    font-family: "Lato", sans-serif;
}

.wrap{
    width: 90%;
    max-width: 1490px;
    margin:auto;
}

.agenda{
    max-width: 800px;
}

/* header */
header{
    padding: 20px 0;
}
header .wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 30px 50px rgba(0,0,0,.1);
}

header .wrap .logo{
    width: 200px;
    flex: 1;
}

header .wrap .logo img{
    width: 100%;
}

@media(max-width:800px){
    header{
        padding: 0;
    }

    header .wrap{
        display: block;
    }

    header .wrap .logo{
        width: 50%;
    }
}

/* btn-nav */
#btn-nav{
    display: none;
}

header label{
    display: none;
}

@media(max-width:800px){
    header label{
        display: block;
        position: absolute;
        top:20px;
        right: 30px;
        background-color: #0b7112;
        width: 45px;
        height: 45px;
        cursor: pointer;
        border-radius: 3px;
    }
    
    header label span{
        width: 70%;
        height: 3px;
        background-color: #ffffff;
        position: absolute;
        left: 15%;
        transition: all .3s ease;
    }

    header label span:nth-child(1){
        top:13px;
        transition-delay: .2s;
    }

    header label span:nth-child(2){
        top:28px;
    }



    #btn-nav:checked ~ label span:nth-child(1){
        transform: rotate(45deg);
        top:20px;
        transition-delay: .0s;
    }

    #btn-nav:checked ~ label span:nth-child(2){
        transform: rotate(-45deg);
        top:20px;
        transition-delay: .3s;
    }
}

/* nav */
nav{
    flex:5;
}

nav > ul{
    display: flex;
    justify-content: center;
    list-style: none;
}

nav > ul > li:has(ul)::after {
    content: "▼"; 
    position: absolute;
    right: 10px; 
    top: 20px;
    font-size: 12px; 
    color: #0b7112;
    transition: all .3s ease;
}

nav > ul > li:has(ul):hover::after {
    transform: translateY(-55%) rotate(180deg); 
    color: #111111;
    top:25px;
}

nav > ul > li{
    position: relative;
}

nav > ul > li > a{
    color: #0b7112;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: block;
    line-height: 50px;
    padding: 0 20px;
    border-radius: 5px;
    transition: all .3s ease;
}

.destacado,
.destacado:hover{
    background-color: #0b7112;
    color: #ffffff !important;
}


@media(max-width:800px){
    nav{
        position: absolute;
        top:0;
        background-color: #ffffff;
        margin:0;
        left: 0;
        top:0;
        width: 60%;
        transform:translateY(-100%);
        opacity: 0;
        transition: all .3s ease;
    }

    #btn-nav:checked ~ nav{
        transform: translateY(0);
        opacity: 1;
    }
    nav > ul{
        display: block;
    }

    .destacado,
    .destacado:hover{
        border-radius: 0;
    }
}


nav > ul > li:hover > a{
    background-color: #f0f0f0;
    color: #111111;
}

nav > ul > li:has(ul) > a{
    padding: 0 30px 0 20px;
}

/* sub-nav */
nav > ul > li > ul{
    position: absolute;
    top:100%;
    left: 0;
    list-style-type: none;
    padding: 10px;
    z-index:999;
    backdrop-filter: blur(5px);
    background-color: rgba(255,255,255,.6);
    width: 200px;
    border-radius: 5px;
    display: none;
}

@media(max-width:800px){
    nav > ul > li > ul{
        position: static;
        width: 100%;
    }
}

nav > ul > li:hover > ul{
    display: block;
}

nav > ul > li > ul li a{
    display: block;
    text-decoration: none;
    color: #0b7112;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 10px;
    border-radius: 5px;
}

nav > ul > li > ul li a:hover{
    background-color: #f0f0f0;
    color: #111111;
}

/* social-top */
.social-top ul{
    display: flex;
    justify-content: right;
    list-style-type: none;
    gap: 2%;
}

.social-top ul li a{
    color: #0b7112;
    font-size: 25px;
    width: 50px;
    line-height: 50px;
}

@media(max-width:800px){
    .social-top ul{
        justify-content: center;
        gap:4%;
    }
}

/* home */
.home .wrap{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap:2%;
}

.home .wrap article{
    width: 48%;
}

.home .wrap article img{
    width: 100%;
    mix-blend-mode: multiply;
}

.home .wrap article h1{
    font-family: "Chau Philomene One", sans-serif;
    font-size: 44px;
    color: #0b7112;
}
.home .wrap article h2{
    font-size: 20px;
    line-height: 30px;
    font-weight: 500;
    margin:10px 0 0 0;
}

@media(max-width:800px){
    .home .wrap{
        display: block;
        text-align: center;
    }

    .home .wrap article{
        width: 100%;
        padding: 50px 0 0 0;
        text-align: center;
    }

    .home .wrap article img{
        max-width: 70%;
    }

    .home .wrap article h1{
        font-size: 30px;
    }

    .home .wrap article h2{
        font-size: 16px;
    }
}

/* valors */
.valors{
    text-align: center;
}

.valors h2{
    font-family: "Chau Philomene One", sans-serif;
    font-size: 44px;
    color: #0b7112;
    max-width: 900px;
    margin:auto;
}
.valors .gallery{
    display: flex;
    justify-content: space-between;
    gap:3%;
    flex-wrap: wrap;
    padding: 80px 0 0 0;
}

.valors .gallery article{
    width: 20%;
}


@media(max-width:800px){
    .valors{
        padding: 50px 0 0 0;
    }
    .valors h2{
        font-size: 30px;
    }

    .valors .gallery{
        display: block;
    }

    .valors .gallery article{
        width: 100%;
        margin:20px 0;
    }
}

.valors .gallery article .image{
    margin:0 auto 30px auto;
    max-width: 80px;
}

.valors .gallery article .image img{
    width: 100%;
}

.valors .gallery article h3{
    font-size: 18px;
    color: #0b7112;
    font-weight: 800;
    margin:0 0 10px 0;
}

.valors .gallery article p{
    font-size: 17px;
    font-weight: 500;
    color: #111111;
    line-height: 30px;
}

/* showcase */
.showcase{
    text-align: center;
    padding: 100px 0 50px 0;
}

.showcase h2{
    font-family: "Chau Philomene One", sans-serif;
    font-size: 44px;
    color: #0b7112;
}

.showcase h3{
    font-size: 20px;
    color: #111111;
}

.showcase h3 a{
    display: inline-block;
    color: #313131;
    font-weight: 400;
    text-decoration: none;
}

.showcase .gallery{
    display: flex;
    justify-content: center;
    gap:2%;
    flex-wrap: wrap;
    padding: 80px 0 0 0;
}

.showcase .gallery article{
    width: 28%;
    background-color: #f9f9f9;
    text-align: left;
}

@media(max-width:800px){
    .showcase h2{
        font-size: 30px;
    }


    .showcase .gallery{
        display: block;
    }

    .showcase .gallery article{
        width: 90%;
        margin:20px auto;
    }
}

.showcase .gallery article .image img{
    width: 100%;
}

.showcase .gallery article h4{
    padding: 10px 40px;
    color: #0b7112;
    font-size: 18px;
    font-weight: 800;
}

.showcase .gallery article p{
    color: #111111;
    line-height: 30px;
    font-weight: 500;
    font-size: 17px;
    padding: 0 40px 40px 40px;
}

.showcase .gallery article .btn-more{
    display: table;
    margin:0 0 40px 40px;
}

.showcase .gallery article .btn-more a{
    display: block;
    background-color: #0b7112;
    color: #ffffff;
    border-radius: 5px;
    line-height: 50px;
    font-size: 18px;
    font-weight: 600;
    padding: 0 30px;
    text-decoration: none;
}

.showcase .gallery article .btn-more a:hover{
    background-color: #111111;
    transition: all .3s ease;
}


/* blog */
.blog{
    text-align: center;
    padding: 100px 0 50px 0;
}

.blog h2{
    font-family: "Chau Philomene One", sans-serif;
    font-size: 44px;
    color: #0b7112;
}

.blog h3{
    font-size: 20px;
    color: #111111;
}

.blog h3 a{
    display: inline-block;
    color: #313131;
    font-weight: 400;
    text-decoration: none;
}

.blog .gallery{
    display: flex;
    justify-content: center;
    gap:2%;
    flex-wrap: wrap;
    padding: 20px 0 0 0;
}

.blog .gallery article{
    width: 22%;
    background-color: #f9f9f9;
    text-align: left;
}

@media(max-width:800px){
    .blog h2{
        font-size: 30px;
    }


    .blog .gallery{
        display: block;
    }

    .blog .gallery article{
        width: 90%;
        margin:20px auto;
    }
}

.blog .gallery article .image img{
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.blog .gallery article h4{
    padding: 10px 40px;
    color: #0b7112;
    font-size: 18px;
    font-weight: 800;
}

.blog .gallery article p{
    color: #111111;
    line-height: 30px;
    font-weight: 500;
    font-size: 17px;
    padding: 0 40px 40px 40px;
}

.blog .gallery article .btn-more{
    display: table;
    margin:0 0 40px 40px;
}

.blog .gallery article .btn-more a{
    display: block;
    background-color: #0b7112;
    color: #ffffff;
    border-radius: 5px;
    line-height: 50px;
    font-size: 18px;
    font-weight: 600;
    padding: 0 30px;
    text-decoration: none;
}

.blog .gallery article .btn-more a:hover{
    background-color: #111111;
    transition: all .3s ease;
}

/* contact */
.contact{
    background-color: #c5e9a2;
    text-align: center;
    padding: 80px 0 50px 0;
}


.contact h2{
    font-family: "Chau Philomene One", sans-serif;
    font-size: 44px;
    color: #0b7112;
}

.contact form{
    max-width: 700px;
    margin:auto;
}

.contact form p{
    display: flex;
    justify-content: space-between;
    gap:2%;
    flex-wrap: wrap;
    margin:15px 0;
    width: 100%;
}

.contact form p span{
    width: 48%;
    margin:0 !important;
    display: block;
}

.contact form p input[type="text"],
.contact form p input[type="email"]{
    padding: 12px 2%;
    width: 96%;
    border:none;
    font-size: 17px;
    border-radius:5px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.1);
}

.contact form p input[type="text"]:hover,
.contact form p input[type="email"]:hover,
.contact form p textarea:hover,
.contact form p input[type="text"]:focus,
.contact form p input[type="email"]:focus,
.contact form p textarea:focus{
    box-shadow: 0 0 0 1px rgba(0,0,0,.5);
}

.contact form p:nth-child(3) span{
    width: 100%;
}

.contact form p textarea{
    font-family: "Lato", sans-serif;
    padding: 12px 2%;
    width: 96%;
    border:none;
    font-size: 17px;
    border-radius:5px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.1);
    outline: none;
    resize: vertical;
}

.contact form p input[type="submit"],
.contact form p button{
    display: inline-block;
    margin:auto;
    padding: 15px 30px;
    border:none;
    font-size: 18px;
    font-weight: 700;
    background-color: #0b7112;
    color: #ffffff;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    transition: all .3s ease;
}

.contact form p input[type="submit"]:hover,
.contact form p button:hover{
    background-color: #0b7112;
}

.contact .gallery{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin:100px auto 0 auto;
    gap:3%;
}

.contact .gallery article{
    width: 45%;
    align-items: center;
    display: flex;
    justify-content: center;
    background-color: #ffffff;
    padding: 50px 0;
}

@media(max-width:800px){
    .contact .gallery{
        margin:20px 0 0 0;
    }
    .contact .gallery article{
        width: 80%;
        margin:20px auto;
    }
}
.contact .gallery article i{
    color: #0b7112;
    font-size: 60px;
}

.contact .gallery article h3{
    font-size: 30px;
    margin:10px 0 0 0;
    font-weight: 800;
}

.contact .gallery article p a{
    color: #0b7112;
    font-size: 16px;
    margin:5px 0 0 0;
    display: block;
    letter-spacing: 1px;
    font-weight: 600;
    text-decoration-thickness: 3px;
}

/* follow */
.follow{
    text-align: center;
    padding: 50px 0;
}

.follow h2{
    font-family: "Chau Philomene One", sans-serif;
    font-size: 44px;
    color: #0b7112;
}

.follow ul{
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 20px 0 0 0;
    gap:1%;
}

.follow ul li{
    line-height: 60px;
    width: 60px;
    text-align: center;
}

.follow ul li a{
    text-decoration: none;
    font-size: 40px;
    color: #ffffff;
    display: block;
    border-radius: 50px;
}

.follow ul li:nth-child(1) a{
    background-color: #F20587;
}

.follow ul li:nth-child(2) a{
    background-color: #048ABF;
}

/* page-banner */
.page-banner{
    background-color: #0b7112;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
.page-banner h1{
      margin:300px auto 100px auto;
      font-size: 30px;
      color: #ffffff;
      position: relative;
      text-align: center;
      z-index: 5;
      max-width: 700px;
}

  .page-banner h1 span{
    display: block;
    font-size: 20px;
  }
  
  .page-banner .image{
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    z-index: 1;
    opacity: .5;
  }
  
  .page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: color;
  }
  
  .page-banner .image img{
      top: 30%;
      height: auto;
      width: 100%;
      position: absolute;
      transform: translateY(-50%);
  }
  
  @media(max-width:800px){
        .page-banner{
            height: auto;
            padding: 100px 0 30px 0;
        }

      .page-banner h1{
        font-size: 30px;
        margin:0;
      }
      .page-banner .image img{
          width: 120%;
      }
  }
  
  

  /* content */
  .content{
    padding: 80px 0 80px 0;
}

@media(max-width:800px){
    .content{
        padding: 40px 0;
    }
}

.content input[type="text"],
.content input[type="email"],
.content input[type="tel"],
.content input[type="number"],
.content input[type="file"],
.content input[type="date"],
.content textarea,
.content select{
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    padding: 8px 2%;
    width: 96%;
    border:solid 1px #f0f0f0;
    border-radius: 5px;
    outline: none;
    resize: none;
    margin:0 0 10px 0;
    font-size: 15px;
    -webkit-appearance: none;
}

.content select{
    color: #313131;
    cursor: pointer;
}

.content label{
    font-size: 14px;
    font-weight: bold !important;
    color: #777777 !important;
}

.content input[type="text"]:focus,
.content input[type="email"]:focus,
.content input[type="tel"]:focus,
.content input[type="number"]:focus,
.content input[type="date"]:focus,
.content textarea:focus,
.content select:focus{
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    transition: all .3s ease;
}

.content input[type="text"]::placeholder,
.content input[type="email"]::placeholder,
.content input[type="tel"]::placeholder,
.content input[type="number"]::placeholder,
.content input[type="date"]::placeholder,
.content textarea::placeholder{
    color: #313131;
}

.content input[type="submit"]{
    background-color: #0b7112;
    color: #ffffff;
    border:none;
    outline: none;
    cursor: pointer;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 30px;
    margin:0 0 20px 0;
    transition: all .3s ease;
    -webkit-appearance: none;
}

.content input[type="submit"]:hover,
.content input[type="submit"]:focus{
    color: #ffffff;
    background-color: #313131;
}

.not-found{
    padding: 100px 0;
}

.not-found h2{
    font-size: 100px;
    text-align: center;
    color: #313131;
    font-weight: 900;
}

.not-found h3{
    font-size: 24px;
    text-align: center;
    color: #313131;
    margin:auto;
    max-width: 500px;
    font-weight: 300;
}

@media(max-width:800px){
    .not-found{
        padding: 50px 0;
    }

    .not-found h2{
        font-size: 50px;
    }

    .not-found h3{
        font-size: 17px;
        width: 80%;
    }
}



/* category */
.category .wrap{
  display: flex;
  gap:2%;
  flex-wrap: wrap;
}

.category .wrap article{
  width: 23.5%;
  overflow: hidden;
  margin:0 0 40px 0;
}

.category .wrap article img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all .3s ease;
}

.category .wrap article:hover img{
  width: 120%;
  height: 200px;
}

.category .wrap article h2{
  font-size: 20px;
  font-weight: 600;
  padding: 10px;
  position: relative;
}

.category .wrap article h2:after
{
  content: "";
  position: absolute;
  width: 50px;
  height: 2px;
  background-color: #0b7112;
  bottom: -1px;
  left: 10px;
}
.category .wrap article p{
  font-size: 14px;
  line-height: 25px;
  color: #777777;
  padding: 10px;
  text-align: justify;
}

.category .wrap article .btn-more{
  display: table;
  margin:10px;
}

.category .wrap article .btn-more a{
  display: block;
  text-decoration: none;
  background-color: #0b7112;
  color: #ffffff;
  line-height: 45px;
  padding: 0 20px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  transition: all .3s ease;
}

.category .wrap article .btn-more a:hover{
  background: #0b7112;
  color: #ffffff;
}



/* sub-footer */
.sub-footer{
    padding: 50px 0;
    background-color: #0b7112;
}

.sub-footer ul{
    display: flex;
    justify-content: center;
    gap:2%;
    list-style-type: none;
}

.sub-footer ul li ul{
    display: none;
}

.sub-footer a{
    transition: all .3s ease;
}

@media(max-width:800px){
    .sub-footer ul{
        display: block;
        text-align: center;
    }

    .sub-footer a{
        padding: 20px;
    }
}

.sub-footer ul.menu li a{
    display: block;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    text-decoration-thickness: 3px;
}

.sub-footer ul.menu li a:hover{
    color: #f0f0f0;
}

.sub-footer ul.social{
    margin:10px 0;
}

.sub-footer ul.social li a{
    line-height: 50px;
    width: 50px;
    text-decoration: none;
    color: #ffffff;
    font-size: 30px;
}

.sub-footer ul.social li a:hover{
    color: #ffffff;
}

.sub-footer p{
    text-align: center;
    font-size: 17px;
    color: #ffffff;
    margin:20px 0 0 0;
    font-weight: 500;
}

.sub-footer p a{
    color: #ffffff;
}

.sub-footer p a:hover{
    color: #999999;
}

.go-top {
    position: fixed;
    bottom: 5%;
    right: 5%;
    background-color: rgba(0,0,0,.2);
    color: #ffffff;
    border:solid 2px #ffffff;
    line-height: 60px;
    width: 60px;
    text-align: center;
    border-radius: 50%;
    font-size: 25px;
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
}

.go-top.show {
    display: block;
}

.go-top:hover {
    background-color: rgba(0,0,0,.5);
}  

.comment-form-rating{
    margin:20px 0;
}

.star-rating .icon-star,
.comment-rating .icon-star,
.comment-rating .icon-star-empty {
    font-size: 24px;
    cursor: pointer;
    color: gray;
}

.star-rating .icon-star.hover,
.star-rating .icon-star.selected,
.comment-rating .icon-star.selected {
    color: #0b7112;
}

.form-submit{
    margin:20px  0 0 0;
}

.star-rating{
    margin:0 0 30px 0;
}

.comments{
    max-width: 800px;
    margin:40px auto;
}

.comments a{
    color: #0b7112;
}