* {
  padding: 0;
  margin: 0;
  font-family: 'Nunito', sans-serif;
  scroll-behavior: smooth;
  font-size: 16px;
  box-sizing: border-box;
}


:root {
  --header-height: 80px;
  --ghost-white: #F8F8FF;
  --white-smoke: #F5F5F5;



  --red-pantone: hsla(355, 78%, 56%, 1);
  --honeydew: hsla(105, 55%, 96%, 1);
  --non-photo-blue: hsla(182, 43%, 76%, 1);
  --cerulean: hsla(203, 39%, 44%, 1);
  --berkeley-blue: hsla(215, 50%, 23%, 1);
}


body {
  background: #ffffff;
  width: 100%;
}


header .container {
  display: flex;
  flex-direction: row;
  padding: 20px 50px;
  justify-content: space-between;
  align-items: center;
  background: var(--cerulean);
}

header .container .brand {
  text-decoration: none;
  font-size: 40px;
  font-weight: 600;
  color: #ffffff;
}


.menu-abrir,
.menu-cerrar {
  display: none;
  position: absolute;
  right: 30px;
  z-index: 2;

  & i {
    font-size: 35px;
    font-weight: 700;
    color: var(--ghost-white)
  }

}


header .container .nav-primary .menu-menu-principal-container {

  & ul {
    list-style: none;


    & li {
      display: inline-block;
      margin-inline: 10px;
      cursor: pointer;
      transition: .5s;

      & a {
        font-size: 25px;
        text-decoration: none;
        color: var(--color-secundario);
        color: #ffffff;
      }


      & li:hover {
        transform: scale(1.5);
        margin-inline: 20px;
      }
    }
  }
}



footer#content-info {
  width: 100%;
  height: 300px;

  & container {
    display: flex;

  }


}



/* comunes */
.button {
  width: fit-content;
  background: var(--berkeley-blue);
  padding: 5px 16px;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  color: var(--honeydew);
  border-radius: 15px;
  margin-top: 35px;
}

.border-rojo {
  border: 2px solid red
}

/* Section principal */
section#principal {
  width: 100%;
  min-height: 75vh;
  padding: 30px;
  background: var(--ghost-white);
  color: var(--berkeley-blue);
  display: flex;
  align-items: center;
  position: relative;
}

section#principal::before {
  content: '';
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 100px 100px 0 100px;
  border-color: var(--ghost-white) transparent transparent transparent;
  left: 80%;
  transform: translateX(-50%) translateY(100%);
}

.principal-texto {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: 20px;

  & h1 {
    font-size: 60px;
    font-weight: 800;
    color: var(--cerulean)
  }

  & p {
    font-size: 20px;
    font-weight: 500;
    text-wrap: pretty;
  }
}


.principal-imagen {
  width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;

  & img {
    width: 90%;
    height: auto;
  }

}



/* Section equipo de trabajo */

section#equipo {
  width: 99vw;
  min-height: fit-content;
  padding-block: 25vh;
  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;
}

section#equipo::before {
  position: absolute;
  content: '';
  left: 18%;
  z-index: 10;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #ffffff;
  transform: translateX(-50%) translateY(48%);
  bottom: 0px;
}

section#equipo .contenedor {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 5rem;

}

section#equipo .contenedor article {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  margin: 0 auto;
  background: linear-gradient(var(--cerulean) 30%, rgb(255, 255, 255) 30%);
  box-shadow: 0 0 25px var(--cerulean);
  border-radius: 10px;
  padding: 40px;


  & .card_image {
    position: relative;
    height: 150px;
    width: 150px;

    & img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
      border: 4px solid rgb(250, 238, 227);
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    }
  }

  & .card_body {
    text-align: center;
    padding: 20px;

    & h2 {
      color: var(--red-pantone);
      margin-bottom: 5px;
    }

    & p {
      color: gray;
      margin-top: 5px;
    }
  }

  .card_redes {
    width: 100%;
    display: flex;
    justify-content: space-around;

    & div {
      padding: 10px;
      text-align: center;
      background: papayawhip;
      border-radius: 6px;
      width: 100%;
      margin: 10px;

      &p {
        font-size: 20px;
        margin: 0;
      }

      & a {
        text-decoration: none;
        color: peru;
      }
    }
  }
}


/* contenido */
section#contenido {
  background: var(--berkeley-blue);
  display: flex;
  align-items: center;
  min-height: 70vh;


  & .contenedor {
    display: flex;
    flex-direction: row-reverse;
    align-content: space-evenly;
    align-items: center;

    align-content: space-evenly;
    align-items: center;
  }

  & .contenedor {
    color: var(--ghost-white);
  }

  & .contenedor>div:nth-of-type(1) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 60%;
    padding-inline: 2.5rem;
    width: 55%;

    & h2 {
      font-size: 2rem;
    }

    & p {
      font-size: 0.9rem;
      font-weight: 400;
    }
  }

  & .contenedor>div:nth-of-type(2) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 45%;

    & #glow {
      height: 80%;
      width: 80%;
      border-radius: 60% 40% 33% 67% / 63% 67% 33% 37%;
      background: var(--ghost-white);
      display: flex;
      justify-content: center;
      align-items: center;

      & img {
        width: 100%;
        height: auto;
      }
    }
  }

}


/* Lineas de trabajo */

section#lineas {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 1.5rem;

  & .contenedor {
    width: 80vw;
    min-height: 50vh;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;

    justify-content: center;
    align-content: center;

    align-items: center;


    & div {
      height: 80%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 40px;

      & i {
        font-size: 4rem;
      }

      & p {
        font-size: 1rem;
        font-weight: 400;
        text-align: center;
        padding: 10px;
      }
    }
  }

}

/* Publicaciones */
div.publicacion {
  display: flex;
  justify-content: center;
  width: 100%;
  height: fit-content;
  padding-block: 2rem;
}

div.publicacion-inverso {
  display: flex;
  justify-content: center;
  width: 100%;
  height: fit-content;
  padding-block: 2rem;
  background: var(--non-photo-blue);
}

div.publicacion-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0px 40px 0;
  width: 70vw;
  height: 500px;
  gap: 3vw;

  position: relative;

}

div.publicacion-container-inverso {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0px 40px 0;
  width: 70vw;
  height: 500px;
  gap: 3vw;
  flex-direction: row-reverse;
  position: relative;

}

div.publicacion-fotos {
  width: 1024px;
  height: 350px;
  overflow: hidden;
  border-radius: 20px;

  & a img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

}

div.publicacion-info {
  display: flex;
  flex-direction: column;
  width: 85%;

}

div.publicacion-info .post__head {
  max-width: 90%;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;

  & .post__cat {
    color: #444;
    position: relative;
    font-size: 11px;
    text-transform: uppercase;
    display: inline-block;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    letter-spacing: 1px;
  }

  & .post__cat:before {
    content: '';
    height: 1px;
    width: 30px;
    position: absolute;
    background-color: #ddd;
    top: 50%;
    right: 100%;
    margin-right: 40px;
  }

  & .post__cat::after {
    content: '';
    height: 1px;
    width: 30px;
    position: absolute;
    background-color: #ddd;
    top: 50%;
    left: 100%;
    margin-left: 40px;
  }


  & .post__title {
    padding-bottom: 15px;
    border-bottom: 1px dashed #dedede;
    font-size: 1.753rem;
    word-break: break-word;
    margin: 10px 0 15px 0;

    & a {
      display: inline-block;
      color: inherit;
      text-decoration: none;
    }
  }

  & .post__meta {
    margin-top: .4em;
    margin-bottom: .4em;
    color: rgba(0, 0, 0, .4);
    font-size: 12px;
    font-size: .85714rem;
    line-height: 1.5;

    & .entry-author {
      text-transform: none;

      & a.entry-author__name {
        color: rgba(0, 0, 0, .6);
      }

      & .entry-author__name,
      a.entry-author__name {
        color: inherit;
        text-decoration: none;
        text-transform: uppercase;
        font-weight: 700;
      }
    }
  }
}

div.publicacion-info .post__excerpt {
  margin-top: .6em;
  margin-bottom: .6em;
  color: rgba(0, 0, 0, .6);
  font-size: 1rem;
  line-height: 1.6;
  padding-inline: 10px;
  text-wrap: pretty;
}

div.publicacion-info .post__readmore {
  margin-top: 20px;
  text-align: center;
  padding-block: 1.5rem;
}

a.more-link {
  padding: 12px 18px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: var(--honeydew);
  background: var(--berkeley-blue);
  font-size: 1rem;
  font-weight: 700;
  transition: .4s;
}

a.more-link:hover {
  background: var(--honeydew);
  color: var(--berkeley-blue);
  box-shadow: 0 0 8px var(--berkeley-blue);
}

/* Fin de contenido de publicacions */







/* Nosotros Page */
section#nosotros {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 65vh;
  margin-block: 100px;

  position: relative;

  h1,
  h2,
  h3,
  h4 {
    margin: 1.414em 0 0.5em;
    font-weight: 700;
    line-height: 1.2;
  }



  & div#nosotrosBanner {
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    position: relative;
    background: linear-gradient(180deg, hsla(203, 39%, 44%, 1), hsla(203, 39%, 44%, .4)), url('../images/familia2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    & h1 {
      position: absolute;
      bottom: 20%;
      color: var(--ghost-white);
      font-size: 4em;
      /* font-weight: 700; */
      text-shadow: 1 1 5px rgba(0, 0, 0, 0.8);
    }

    & h2 {
      width: 55%;
      color: var(--ghost-white);
      font-size: 3rem;
      font-weight: 500;
      text-align: center;
      text-wrap: balance;
      position: absolute;
      bottom: 10%;
    }
  }

  & #nosotrosContenido {

    margin-top: 50px;
    padding: 40px;
    min-height: fit-content;




    & article {
      -webkit-columns: 2 200px;
      -moz-columns: 2 200px;
      columns: 2 200px;

      -webkit-column-gap: 4em;
      -moz-column-gap: 4em;
      column-gap: 4em;

      & p {
        margin-bottom: 1.3em;
        text-wrap: pretty;
      }

      & h3 {
        font-size: 1.5rem;
      }
    }

  }
}

section#nosotros::before {
  position: absolute;
  content: '';
  right: 18%;
  z-index: 10;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #ffffff;
  transform: translateX(100%) translateY(80%);
  bottom: 0px;
}





/* nombre grids */
.principal-texto {
  grid-area: principal-texto;
}

.principal-imagen {
  grid-area: principal-imagen;
}

/* configuración para visyalizar una entrada */
div#singleArticle {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-block: 3rem;
}

article.type-post {
  width: 80vw;
  display: flex;
  flex-direction: column;
}

h1.entry-title {
  font-size: 4rem;
  font-weight: 700;
  text-align: center;
  padding-block: 2rem;
}


time.updated {
  font-style: italic;
  margin-block: .3rem;
}

/* Comentarios */
section.comments {
  display: flex;
  flex-direction: column;
  padding-block: 1rem;
  align-items: center;
  padding-block: 1rem;
  margin-top: 1.2rem;
}

.comment-respond {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 60%;
}

h3.comment-reply-title {
  font-size: 1.35rem;
}

div.comment-content p {
  text-wrap: pretty;
}

article.comment-body {
  width: 100%;
}

/* Fin comentarios */


/* Dispositivos moviles */
@media screen and (width <=850px) {

  header {
    & .container {
      align-items: center;

      &.brand {
        font-size: 30px;
      }
    }
  }

  .menu-abrir {
    /* display: inherit; */
  }

  .mostrar {
    display: inherit !important;
  }

  .ocultar {
    display: none !important;
  }

  header .container .nav-primary .menu-menu-principal-container {

    /* border: 1px solid red; */
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 80px;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 100vw;
    background: linear-gradient(180deg, var(--cerulean), var(--non-photo-blue));
    transition: .3s ease-in-out;

    & ul {

      margin-top: 2rem;

      & li {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-block: 30px;

        & a {
          font-size: 25px;
          text-decoration: none;
          color: var(--color-secundario);
          color: #ffffff;
        }



      }
    }
  }

  .visible {
    opacity: 1 !important;
    visibility: visible !important;
  }

  section#principal {
    min-height: 75vh;
    flex-direction: column;
    justify-content: center;
  }

  section#principal::before {
    /* border-width: 35px 35px 0 35px; */
    left: 60%;
  }

  .principal-texto {
    width: 100%;
    padding-inline: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;

    & h1 {
      font-size: 60px;
      font-weight: 800;
      color: var(--cerulean);
      text-align: center;
    }

    & p {
      font-size: 1.3rem;
      font-weight: 500;
      text-align: center;
    }
  }

  .principal-imagen {

    & img {
      display: none;
    }

  }

  section#equipo .contenedor {
    display: grid;
    grid-template-columns: 1fr;

  }

  section#equipo::before {
    left: 35%;
    transform: translateX(-50%) translateY(50%);
    height: 120px;
    width: 120px;
  }

  section#contenido {
    & .contenedor {
      display: flex;
      flex-direction: column-reverse;
      min-height: inherit;
      gap: 1.2rem;
      align-content: space-evenly;
      margin-block: 66px;

      & div:nth-of-type(1) {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        height: 60%;
        padding-inline: 2.5rem;
        width: 100%;
        text-align: center;

        & h2 {
          font-size: 1.2rem;
          text-wrap: pretty;
        }
      }

      & div:nth-of-type(2) {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        width: 108%;
      }
    }


  }

  section#lineas {
    margin-block: 30px;

    & .contenedor {
      width: 90vw;
      grid-template-columns: 1fr;
      grid-template-rows: repeat(3, 1fr);

      justify-content: center;
      align-content: center;

      align-items: center;
    }

  }

  section#nosotros {
    & #nosotrosContenido {
      margin-top: 0px;
      padding: 20px 22px;
      min-height: fit-content;
    }
  }

  section#nosotros::before {
    right: 18%;
    width: 150px;
    height: 150px;
    transform: translateX(-85%) translateY(78%);
    bottom: -33px;

  }

  div.publicacion-container,
  div.publicacion-container-inverso {
    flex-direction: column;
    width: 100vw;
    height: inherit;

  }


  div.publicacion-fotos {
    width: 450px;
    height: 300px;
  }

  div.publicacion-info {
    height: fit-content;
    width: inherit;
  }

  div.publicacion-info .post__excerpt {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  div.excerpt {
    width: 70%;
  }

  div.publicacion-info .post__readmore {
    position: inherit;
    margin-top: 35px;
  }

  /* Fin de contenido de proyectos */
}


.cuidados_upse_entry_content {
  padding-inline: 10%;

  & p {
    margin-block: .5rem;
  }

}

p img.alignleft {
  float: left;
  width: 300px;
  margin-inline-end: 2rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  box-shadow: 0 0 10px #444;
}


/* archive of categories */
section.cuidados_upse_category_site_content {
  display: flex;
  flex-direction: column;
  align-items: center;
}


nav {
  display: flex;
  justify-content: center;
}



.cuidados_upse_pagination {
  width: fit-content;
  margin-block: 1rem 2rem;
  padding: .5rem 1.5rem;
  display: flex;
  justify-content: center;
}

.cuidados_upse_pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #2571e1;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin-inline: .1rem;
  font-weight: 800;
  font-size: 1.05rem;
}

.cuidados_upse_pagination a {
  text-decoration: none;
}

.cuidados_upse_pagination .current {
  font-weight: 600;
  background-color: #e1e1e1;
  color: #080808;
}

.cuidados_upse_pagination .page-numbers:not(.current):hover {
  background-color: #2571e1 !important;
  color: #080808 !important;
}

div.cuidados_upse_category_archive {
  width: 100%;
  min-height: 70vh;
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4rem;

  & .cuidados_upse_article_of_posts {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 380px;
    height: 655px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .2);
    position: relative;

    & .post__thumb {
      margin-bottom: 20px;
      position: relative;
      width: 100%;
      height: 250px;
      overflow: hidden;

      & a {

        & img {
          width: 100%;
          object-fit: cover;
          object-position: center;
          aspect-ratio: 1 / 1;
        }
      }
    }

    & .post__text {
      & .post__head {
        max-width: 90%;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;

        & .post__cat {
          color: #444;
          position: relative;
          font-size: 11px;
          text-transform: uppercase;
          /* letter-spacing: 1px; */
          display: inline-block;
          /* font-size: 9px; */
          /* font-size: 0.64286rem; */
          font-weight: 700;
          line-height: 1.4;
          text-decoration: none;
          letter-spacing: 1px;
        }

        & .post__cat:before {
          content: '';
          height: 1px;
          width: 30px;
          position: absolute;
          background-color: #ddd;
          top: 50%;
          right: 100%;
          margin-right: 40px;
        }

        & .post__cat::after {
          content: '';
          height: 1px;
          width: 30px;
          position: absolute;
          background-color: #ddd;
          top: 50%;
          left: 100%;
          margin-left: 40px;
        }


        & .post__title {
          padding-bottom: 15px;
          border-bottom: 1px dashed #dedede;
          font-size: 1.753rem;
          word-break: break-word;
          margin: 10px 0 15px 0;

          & a {
            display: inline-block;
            color: inherit;
            text-decoration: none;
          }
        }

        & .post__meta {
          margin-top: .4em;
          margin-bottom: .4em;
          color: rgba(0, 0, 0, .4);
          font-size: 12px;
          font-size: .85714rem;
          line-height: 1.5;

          & .entry-author {
            text-transform: none;

            & a.entry-author__name {
              color: rgba(0, 0, 0, .6);
            }

            & .entry-author__name,
            a.entry-author__name {
              color: inherit;
              text-decoration: none;
              text-transform: uppercase;
              font-weight: 700;
            }
          }
        }
      }

      & .post__excerpt {
        text-align: center;
        margin-top: .6em;
        margin-bottom: .6em;
        color: rgba(0, 0, 0, .6);
        font-size: 1rem;
        line-height: 1.6;
        padding-inline: 10px;
      }

      & .post__readmore {
        margin-top: 20px;
        text-align: center;
        position: absolute;
        transform: translateX(100%);
        bottom: 50px;

        & .more-link {
          padding: 12px 18px;
          border-radius: 5px;
          border: none;
          cursor: pointer;
          text-decoration: none;
          color: var(--color-black);
          background: var(--color-yellow);
          font-size: 1rem;
          font-weight: 700;

        }

        & .more-link:hover {
          background: var(--color-black);
          color: var(--color-yellow);
          animation: linear 0.2s ease-in-out;
        }

      }
    }
  }
}

/* Dispositivos moviles */
@media only screen and (min-width : 320px) and (max-width : 480px) {


  /* Contenido Proyectos */


  div.publicacion-fotos {
    width: 90vw;
    height: 300px;
  }

  div.publicacion-info .post__excerpt {
    width: 95vw;
  }

  div.publicacion-info .post__readmore {
    padding-block: .5rem;
    position: inherit;
    display: flex;
    justify-content: center;
  }

  div.excerpt {
    width: 80vw;
  }

  /* Fin de contenido de proyecto*/

}

/* Botón Subir */
button.toTop {
  border: none;
  display: flex;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
  /* posición */
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 9999;
}

button.toTop:not(.is-visible) {
  pointer-events: none;
  opacity: 0;
  transform: translateY(-2rem);
}

button.toTop svg {
  stroke-width: 3px;
  stroke: currentColor;
  fill: none;
  width: 24px;
}

/* Personalizar */
button.toTop {
  background-color: #252525;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  padding: 0.75rem;
  color: #fff;
}

button.toTop:hover {
  background: #123456;
}

/* Fin boton arriba */
.page-none {
  display: none !important;
}

.crlf_theme_not_found_content {
  min-height: 80lvh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  & img {
    width: 500px;
    height: auto;

  }

}

/* ipad y Tables */
@media only screen and (min-width : 480px) and (max-width : 767px) {}

/* pantallas pequeñas, ordenadores portátiles */
@media only screen and (min-width : 768px) and (max-width : 1023px) {}

/* pantallas grandes, ordenadores de escritorio */
@media only screen and (min-width : 1024px) and (max-width : 1119px) {}

/* pantallas extra-grandes, televisores */
@media only screen and (min-width : 1200px) {}
