/*
Theme Name: Cloudylab Ricardo
Theme URI: http://dummy.com
Description: Default Blog is a child theme of starter-woo
Author: Cloudylab
Author URI: https://cloudylab.co.uk
Template: starter-woo
Version: 1.0.0
Text Domain: defaultblog
*/

@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@100;400;700&display=swap");

/* COLOURS */

.jet {
  color: #2c2c2aff;
}

.middle-grey {
  color: #8e8178ff;
}
.gainsbor {
  color: #e0e0e5ff;
}
.eery-black {
  color: #191a1c;
}
.chinese-red {
  color: #ba3415ff;
}

.oxford-blue {
  color: #07194b;
}
.camel {
  color: #a88e5e;
}
.naples-yellow {
  color: #fada5e;
}
.middle-red {
  color: #ac5e5e;
}

.chocolate-web {
  color: #cf6228;
}

.egg-shell {
  color: #f9f5e0;
}
.wintergreen {
  color: #58958e;
}
body {
  font-family: "Barlow Semi Condensed", sans-serif;
  background-color: white;
  color: #2c2c2aff;
}

h2,
h3 {
  font-weight: 400;
}
h1 {
  text-transform: uppercase;
  font-weight: 200;
}
p,
span,
li {
  line-height: 1.5rem;
  font-weight: normal;
  font-size: 1rem;
}
/* p {
  margin-bottom: 1.5rem;
} */
.signature {
  width: 100px;
  margin-top: 1rem;
}
.project.entry-content p {
  margin-bottom: 1.5rem;
}
a,
a:visited {
  color: #2e2e2e;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.cta {
  color: #000000;
  opacity: 0.8;
  transition: all 1s ease-in-out;
  margin-top: 2rem;
}
.cta:after {
  content: "→";
  top: 51%;
  transition: all 1s ease-in-out;
}
.search-submit {
  width: fit-content;
  padding: 0.5rem 1.5rem;
  background-color: #ba3415ff;
  border: 1px solid #ba3415ff;
  color: white;
  border-radius: 0;
  transition: all 1s ease-in-out;
}

a.cta {
  color: black;
  text-decoration: none;
  font-size: 20px;
  text-transform: uppercase;
  display: block;
  width: fit-content;
  position: relative;
}
.cta:hover {
  opacity: 1;
}
a.cta::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background-color: #93ababff;
  bottom: -4px;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.5s ease-in-out;
}
.cta:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}
.cta:hover::after {
  transform: translate(0.6rem, -50%);
}

.search-submit:hover {
  background-color: white;
  border-color: #ba3415ff;
  color: #ba3415ff;
}

.hide {
  display: none;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mt-2 {
  margin-top: 2rem;
}

.xl-text {
  font-size: 1.2rem;
  line-height: 2rem;
}
input[type="search"] {
  border: 1px solid #517075ff;
  padding: 8px;
}
.main ol,
.main ul {
  list-style: disc;
  list-style-position: inside;
}
section.top {
  margin-top: -2rem;
}
/* animations */

.fade-in.active {
  -webkit-animation: fade-in 1.5s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: fade-in 1.5s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}
@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.hero a:nth-child(2) img.fade-in {
  animation-duration: 2s;
}
.hero a:nth-child(3) img.fade-in {
  animation-duration: 3s;
}

.fade-in-bottom.active {
  z-index: 10;
  -webkit-animation: fade-in-bottom 0.8s cubic-bezier(0.39, 0.575, 0.565, 1)
    both;
  animation: fade-in-bottom 0.8s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

/**
 * ----------------------------------------
 * animation fade-in-bottom
 * ----------------------------------------
 */
@-webkit-keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

/* coming soon*/

.page-template-comingsoon header {
  display: none;
}
.splash {
  height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* general */

.container {
  padding: 4rem 8rem;
  max-width: 1700px;
  margin: 0 auto;
}
.flex-50 {
  flex-basis: 50%;
}
.flex-45 {
  flex-basis: 45%;
}
.flex-55 {
  flex-basis: 55%;
}
/* header */

.site-header {
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
  padding-top: 0;
}

.with-logo {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
}
.with-logo img {
  height: 90px;
  width: auto;
}

.site-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  background-color: white;
  padding: 2rem 2rem 0;
  transition: all 0.6s cubic-bezier(0.4, -0.24, 0.25, 1);
}
a .site-description,
a .site-description:hover {
  text-decoration: none;
}
a.with-logo:hover {
  text-decoration: none;
}
.with-logo h1.site-title {
  display: none;
}
.site-title:hover {
  background-color: rgba(255, 255, 255, 0);
}
.site-branding{
  position: absolute;
  top: 0;
  left: 8rem;
}
header .nav-bar {
  width: 100%;
  justify-content: space-between;
  background-color: white;
  padding: 0 8rem;
  height: 100px;
}
.site-navigation {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.nav-menu {
  display: flex;
  justify-content: flex-end;
}
.nav-menu li {
  padding: 1rem 0.5rem;
}

.nav-menu li a,
.nav-menu li a:visited {
  position: relative;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 400;
  color: black;
  letter-spacing: 0.5px;
  font-size: 1rem;
  background-color: white;
}

.nav-menu li a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background-color: #93ababff;
  bottom: -4px;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.5s ease-in-out;
}

.nav-menu li a:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

.nav-menu li:first-child {
  padding-left: 0;
}
.nav-menu li:last-child {
  padding-right: 0;
}

.featured-img {
  height: 60vh;
  width: 100%;
}
.featured-img:before {
  content: "";
  width: 10px;
  height: 60vh;
  position: absolute;
}
.page-template-cv .featured-img:before {
  background-color: #f9f5e0;
  background-color: #93ababff;
}
.page-id-77 .featured-img:before {
  background-color: #cf6228;
  background-color: #93ababff;
}
.single-proyectos .featured-img:before {
  background-color: #58958e;
  background-color: #93ababff;
}
.hero {
  height: 60vh;
  width: 100%;
  flex-direction: row;
}
.hero a {
  flex-basis: 25%;
  background-repeat: no-repeat;
  background-size: 10px 100%;
  transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  padding-left: 10px;
}
.hero a:first-child {
  flex-basis: 50%;
  background-image: linear-gradient(#58958e, #58958e);
  background-image: linear-gradient(#93ababff, #93ababff);
}
.hero a:nth-child(2) {
  background-image: linear-gradient(#cf6228, #cf6228);
  background-image: linear-gradient(#93ababff, #93ababff);
}
.hero a:nth-child(3) {
  background-image: linear-gradient(#f9f5e0, #f9f5e0);
  background-image: linear-gradient(#93ababff, #93ababff);
}

.hero img {
  object-fit: cover;
  width: 100%;
  opacity: 1;
  z-index: 10;
}

.hero a.image-group:hover {
  background-size: 100% 100%;
}

.hero .link-text {
  position: absolute;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 8;
  opacity: 0;
  color: #191a1c;
  margin-left: -10px;
  font-weight: 200;
}
.hero .link-text h2 {
  text-transform: uppercase;
  font-weight: 200;
}
.hero a.image-group:hover img {
  opacity: 0;
  display: none;
}
.hero a.image-group:hover .link-text {
  opacity: 1;
}
.page-template-home .site-header .featured-img,
.blog .featured-img {
  display: none !important;
}

/* TITLE SECTION */

.titles {
  flex-direction: column-reverse;
  padding: 2rem 8rem 0;
  flex-basis: 50%;
}
.titles h1 {
  font-size: 2rem;
  font-weight: 600;
  text-transform: capitalize;
}
.titles h2 {
  font-size: 3rem;
  text-transform: uppercase;
  font-weight: 200;
}

/* All pages */

.all.content-area {
  flex-direction: column;
  gap: 2rem;
}
.all.content-area ul {
  list-style: none;
  position: relative;
}
.all.content-area li {
  padding-left: 2rem;
}
.all.content-area ul li::before {
  content: "→";
  position: absolute;
  top: 2px;
  margin-left: -2rem;
  padding-right: 8px;
}
/* SOCIAL */

.social {
  flex-basis: 50%;
  align-items: center;
  justify-content: flex-end;
}

.social a {
  padding-left: 1rem;
}
.social img {
  height: 20px;
  width: auto;
  opacity: 0.9;
  -moz-transition: opacity 0.5s ease-out;
  -o-transition: opacity 0.5s ease-out;
  -webkit-transition: opacity 0.5s ease-out;
  transition: opacity 0.5s ease-out;
}

.social a:hover img {
  opacity: 0.7;
}

/* page styles */

.page-title {
  margin-bottom: 2rem;
}
.page-content.flex {
  column-gap: 4rem;
  justify-content: space-between;
}
.page-content .text {
  flex-basis: calc(45% - 4rem);
  flex-direction: column;
  justify-content: flex-start;
}
.blog-post .page-content .text {
  flex-basis: calc(64% - 6rem);
}
.page-content .text h2 {
  margin-bottom: 1.5rem;
}

.blog-post .page-content .featured-image {
  flex-basis: 36%;
  margin-bottom: 2rem;
}
.page-content .featured-image img {
  max-height: calc(100vh - 12rem);
  object-fit: cover;
}
.blog-post .page-content .featured-image img {
  max-height: unset;
}
.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.content-section {
  column-gap: 4rem;
}

.content-section:nth-child(even) {
  background-color: #517075ff;
  flex-direction: row-reverse;
  color: white;
}
.content-section:nth-child(even) .cta {
  background-color: #93ababff;
  border-color: #93ababff;
  color: white;
}
.content-section:nth-child(even) .cta:hover {
  background-color: white;
  border-color: #517075ff;
  color: #517075ff;
}

.dark {
  background-color: #f3f3f3;
}

/* INTRO */

.intro {
  width: 60%;
}
.intro h2 {
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
.intro p,
.intro li {
  font-size: 1.5rem;
  line-height: 2.3rem;
}

/* blog styles */

.title {
  margin: 10rem auto 1rem;
  text-align: center;
  display: flex;
  flex-direction: column-reverse;
}

.title h2 {
  font-size: 2rem;
}
.title h3 {
  font-size: 0.8rem;
  font-weight: normal;
}

.error404 .site-header,
.error404 .site-footer {
  display: none;
}
.error-404 {
  height: 80vh;
  /* background-image: url(https://cloudylab.co.uk/lidija/wp-content/uploads/sites/28/2022/06/kisspng-organic-food-coriander-indian-cuisine-herb-parsley-herbs-5ab90b1a33eab5.7834579415220764422127-1.png); */
  background-size: 85%;
  background-repeat: no-repeat;
  background-position: 220% bottom;
  flex-direction: column;
  justify-content: center;
}
.error-404 .title {
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  row-gap: 1rem;
}
.error-404 .title h1 {
  font-size: 6rem;
}
.error-404 .title h2 {
  color: #517075ff;
  text-align: left;
}
.entries {
  flex-wrap: wrap;
}
.entry-wrapper {
  flex-basis: 31%;
  background-color: white;
  text-align: center;
  margin-right: calc(3.33333333333333% + 1px);
  margin-bottom: 2rem;
}
article.entry-wrapper:nth-child(3n + 1) {
  margin-right: 0;
}
.entry-wrapper a,
.entry-wrapper-sm a {
  text-decoration: none;
  color: unset;
}
.entry-wrapper .attachment-post-thumbnail,
.single-entry-posts .attachment-post-thumbnail {
  height: calc(33vw - 8rem);
  object-fit: cover;
  object-position: center;
}
.single-entry-posts .attachment-post-thumbnail {
  height: 20vw;
}
.entry-wrapper a.flex {
  flex-direction: column;
}

.entry-wrapper a span p {
  color: #6e6e6e;
}
.entry-text {
  flex-wrap: wrap;
  padding: 1rem 0;
}
.datetime {
  order: 4;
  color: #6e6e6e;
  padding-bottom: 0.5rem;
  flex-basis: 100%;
}
.entry-category {
  padding-right: 0.5rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #191a1c;
  flex-grow: 0;
  display: none;
}

.entry-title {
  color: #191a1c;
  order: 1;
  padding: 1rem 0;
}
h3.entry-title {
  font-weight: normal;
  line-height: normal;
  text-rendering: optimizeLegibility;
  font-size: 1rem;
  text-align: center;
}
.entry-excerpt {
  color: #6e6e6e;
  order: 2;
  margin-bottom: 1rem;
}
.entry-wrapper .entry-text .entry-title,
.entry-wrapper .entry-text .datetime,
.entry-wrapper .entry-text .entry-excerpt {
  flex-basis: 100%;
  width: 100%;
}

.arrow-icon {
  width: 100%;
  height: 10px;
  line-height: 10px;
  order: 5;
  text-align: left;
}
.arrow-icon .read-more {
  stroke: #191a1c;
  width: 1rem;
  height: 10px;
  scale: 1;
  transition: 0.5s all ease-in-out;
}
article:hover .arrow-icon .read-more {
  transform: scaleX(1.5);
}
.single-entry {
  margin: 0 auto;
  background-color: white;
  display: flex;
  flex-direction: column;
}
.single-entry .attachment-post-thumbnail {
  order: 1;
}
.single-entry .post-categories {
  order: 2;
  display: flex;
}
ul.post-categories:before {
  content: "Category: ";
  padding-right: 0.5rem;
}
.single-entry .post-categories li {
  padding-right: 0.5rem;
}
.single-entry .entry-title {
  padding: 0.5rem 0 2rem;
  order: 3;
}
.single-entry .entry-content {
  order: 4;
}

.single-entry-posts {
  max-width: 775px;
  margin: 0 auto;
  justify-content: space-between;
}
.single-entry-posts article.entry-wrapper-sm {
  flex-basis: calc(33.33333% - 1rem);
  padding: 1rem;
  margin: 1rem 0;
  background-color: white;
  flex-direction: column;
}

.single-entry-posts .entry-text {
  flex-grow: 1;
}
.single-entry-posts .entry-title {
  flex-grow: 0;
}
.single-entry-posts .arrow-icon {
  flex-grow: 1;
  align-self: flex-end;
}

.single-entry-info {
  align-items: center;
  margin-bottom: 2rem;
}
.single-entry-info .datetime {
  padding: 0;
  font-size: 0.8rem;
  order: unset;
  flex-grow: 0;
  flex-basis: auto;
  padding-right: 1rem;
}
.single-entry-info h5 {
  display: none;
}
.single-post .post-navigation {
  margin: 2rem 1rem;
  order: 5;
}
.single-post .entry-excerpt {
  order: unset;
}
.single-post .nav-links {
  display: flex;
}
.single-post .nav-next {
  text-align: right;
  margin-left: 33.3333%;
}
.archive-header {
  padding: 0 1rem;
}

.image-caption {
  opacity: 0.8;
  font-size: 0.8rem;
  margin: 0.5rem 0;
  font-weight: normal;
  line-height: normal;
}
/* widgets */
.widget-area {
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
  gap: 2rem;
}
.widget-area h2 {
  margin-bottom: 1rem;
}
.widget-area li {
  margin-bottom: 0.5rem;
}

/* Image effects */

.img-container {
  overflow: hidden;
}

.img-zoom img,
img.img-zoom {
  transform-origin: 65% 75%;
  -moz-transition: transform 1s, filter 0.5s ease-out;
  -o-transition: transform 1s, filter 0.5s ease-out;
  -webkit-transition: transform 1s, filter 0.5s ease-out;
  transition: transform 1s, filter 0.5s ease-out;
  filter: brightness(100%);
}

article.entry-wrapper:hover .img-zoom img,
article.entry-wrapper:hover img.img-zoom {
  transform: scale(1);
  filter: brightness(70%);
}
/* SHARING BOX */

.sharing-box {
  justify-content: center;
  align-items: center;
}
.share-button {
  padding: 0.25rem;
}
.share-button img {
  height: 20px;
  width: auto;
  opacity: 0.8;
}
/* CV */

.cv-content .container {
  padding: 4rem 8rem 0;
}
.cv-content .intro{
    padding: 4rem 8rem;
    display: flex;
    row-gap: 2rem;
    flex-direction: column;
}
.cv-content .container:last-child {
  padding-bottom: 4rem;
}
.cv-content .mb-2:last-child {
  margin: 0;
}
/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: white;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.cv {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.cv::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: white;
  border: 4px solid #cf6228;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
  transform: scale(1);
  transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}
.cv:hover::after {
  transform: scale(1.3);
  border-color: #58958e;
}
/* Place the container to the left */
.cv:nth-child(odd) {
  left: 0;
}

/* Place the container to the right */
.cv:nth-child(even) {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.cv:nth-child(odd)::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.cv:nth-child(even)::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.cv:nth-child(even)::after {
  left: -16px;
}

/* The actual content */
.content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px;
  text-align: justify;
}

.cv .content li {
  margin-bottom: 1rem;
}

.two-col-list ul {
  column-count: 2;
  gap: 6rem;
  text-align: justify;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  /* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }

  /* Full-width containers */
  .cv {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  /* Make sure that all arrows are pointing leftwards */
  .cv:nth-child(odd)::before,
  .cv:nth-child(even)::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .cv:nth-child(odd)::after,
  .cv:nth-child(even)::after {
    left: 15px;
  }

  /* Make all right containers behave like the left ones */
  .cv:nth-child(even) {
    left: 0%;
  }
}

/* single projects */

.single-projects {
  flex-direction: column;
  gap: 2rem;
}
.single-projects .widget-area {
  display: none;
}
.main .single-projects ul.project-info {
  list-style: none;
}
/* Archive projects */
.post-type-archive-proyectos .featured-img {
  display: none;
}
.post-type-archive-proyectos h1 {
  margin-bottom: 2rem;
}
.blog-main.projects .projects-archive {
  flex-wrap: wrap;
  justify-content: flex-start;
  row-gap: 4rem;
  gap: 4rem;
  column-gap: 76px;
}

.blog-main.projects a.card {
  flex-basis: calc(33% - 3rem);
  height: calc(33% - 10rem);
  flex-direction: column;
  row-gap: 1rem;
}
.blog-main.projects a.card .image {
  background: white;
  -moz-transition: cubic-bezier(0.075, 0.82, 0.165, 1) all 1s;
  -o-transition: cubic-bezier(0.075, 0.82, 0.165, 1) all 1s;
  -webkit-transition: cubic-bezier(0.075, 0.82, 0.165, 1) all 1s;
  transition: cubic-bezier(0.075, 0.82, 0.165, 1) all 1s;
  width: 100%;
}

.blog-main.projects a.card:nth-child(3n+2){
  animation-duration: 2s !important;
}
.blog-main.projects a.card:nth-child(3n+3){
  animation-duration: 2.5s !important;
}
.blog-main.projects a.card:hover .image {
  filter: brightness(0.45);
  flex-grow: 1;
}
.blog-main.projects a.card img {
  object-fit: cover;
  height: calc(30vw - 8rem);
}

.projects .card h2 {
  font-size: 22px;
  color: #07194b;
  text-align: left;
}

.projects .card h3 {
  font-size: 22px;
  color: #07194b;
  text-align: left;
}
/* Testimonial */

.testimonial-container {
  max-width: 600px;
  margin: 25vh auto;
}

.testimonial blockquote {
  margin: 10px 10px 0;
  background: white;
  padding: 3rem;
  position: relative;
  border: none;
  border-radius: 8px;
  font-style: italic;
  box-shadow: 5px -5px 17px 0px #00000014;
}

.testimonial blockquote:before,
.testimonial blockquote:after {
  content: "\201C";
  position: absolute;
  font-size: 80px;
  line-height: 1;
  color: #93ababff;
  font-style: normal;
}

.testimonial blockquote:before {
  top: 0;
  left: 10px;
}

.testimonial blockquote:after {
  content: "\201D";
  right: 10px;
  bottom: -0.5em;
}

.testimonial div {
  width: 0;
  height: 0;
  border-left: 0 solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid white;
  margin: 0 0 0 60px;
}

.testimonial p {
  margin: 8px 0 0 20px;
  text-align: left;
  color: #58958e;
}

/* GLightbox */

@media (min-width: 769px) {
  .glightbox-clean .gslide-media {
    -webkit-box-shadow: 1px 2px 12px 0 rgb(0 0 0 / 10%);
    box-shadow: 1px 2px 12px 0 rgb(0 0 0 / 10%);
  }

  .goverlay {
    background: #f2f2f2;
  }
}
/** CAROUSEL **/

.glide-blog,
.glide-project,
.glide-testimonial {
  position: relative;
}

.glide-project {
  max-height: 90vh;
  overflow: hidden;
}

a.glide__slide {
  text-decoration: none;
  cursor: pointer;
}

.glide__slide .entry-title {
  flex-grow: 1;
  font-size: 22px;
  /* padding: 0; */
}

.glide__slide .entry-category {
  padding: 0.5rem 0 0;
}
.glide__slide .arrow-icon {
  height: 20px;
  line-height: 15px;
}
.glide__slide {
  padding: 1rem;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.glide-testimonial .glide__slide {
  margin: 1rem auto;
  padding: 1rem 10%;
}
.glide__slide img {
  object-fit: cover;
  object-position: top center;
  height: 20vw;
  filter: brightness(100%);
  -moz-transition: transform 1s, filter 0.5s ease-out;
  -o-transition: transform 1s, filter 0.5s ease-out;
  -webkit-transition: transform 1s, filter 0.5s ease-out;
  transition: transform 1s, filter 0.5s ease-out;
  overflow: hidden;
}
.projects .glide__slide img {
  object-fit: contain;
  height: 200px;
}

.glide-project .glide__slide {
  margin: 0;
  padding: 0;
  flex-grow: 1;
}
.glide-project .glide__slide img {
  height: auto;
  width: 100%;
  -moz-transition: transform 1s, filter 0.5s ease-out;
  -o-transition: transform 1s, filter 0.5s ease-out;
  -webkit-transition: transform 1s, filter 0.5s ease-out;
  transition: transform 1s, filter 0.5s ease-out;
}
.glide__slide:hover img {
  filter: brightness(60%);
  /* transform: scale(1.1); */
}

.glide__slide:hover .arrow-icon .read-more {
  transform: scaleX(1.5);
}
.glide__slide:hover .entry-title {
  text-shadow: -0.1px -0.1px 0.8px #000000;
}
.glide__arrow {
  background: #ffffff00;
  border: none;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}
button.glide__arrow img {
  height: 30px;
  width: auto;
}

.glide__arrows {
  position: absolute;
  top: calc(50% - 50px);
  display: flex;
  justify-content: space-between;
  left: 0;
  right: 0;
  z-index: 10;
}
.glide-blog .glide__arrows {
  left: -1rem;
  right: -1rem;
}
.glide__track {
  z-index: 1;
  position: relative;
}
.glide__bullets {
  display: none;
}

/* CAROUSEL */
/* 
.slick-slider {
  position: relative;
  height: fit-content;
}
.slick-arrow {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: 50%;
  display: block;
  width: 20px;
  height: 20px;
  padding: 0;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  cursor: pointer;
  color: #434a55;
  border: none;
  outline: none;
  background-color: transparent;
}
.prev {
  left: -30px;
}
.next {
  right: -30px;
}
button.prev {
  height: 1rem;
  width: 1rem;
  background-image: url("http://insurwave.com/wp-content/uploads/2021/10/Vector-2.png");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  transform: rotate(180deg);
  transform-origin: 7px 4px;
}
button.next {
  height: 1rem;
  width: 1rem;
  background-image: url("http://insurwave.com/wp-content/uploads/2021/10/Vector-2.png");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}
button.prev:hover,
button.next:hover {
  background-color: unset;
} */

/* FOOTER */

.site-footer {
  background-color: #93ababff;
  /* background: -webkit-linear-gradient(to top, #93abab8c, #93ababff);
  background: linear-gradient(to top, #93abab8c, #93ababff); */
  align-items: center;
  color: white;
  flex-direction: column;
  gap: 2rem;
}
.site-footer .site-info {
  width: 100%;
  flex-direction: column;
  gap: 2rem;
}
.site-footer ul.info-title {
  justify-content: space-between;
  width: 100%;
}
.site-info p {
  font-size: 1.5rem;
}
.site-footer a,
.site-footer p,
.site-footer li {
  color: white;
  margin: 0;
}
.site-footer .info-title li a,
.site-footer .info-title li {
  font-size: 12px;
  color: white;
  flex-grow: 1;
}
.info-cloudylab {
  text-align: right;
}
.page-template-home .site-footer .hide {
  display: block;
}
.book {
  background-color: rgba(211, 239, 239, 0.458);
  column-gap: 4rem;
  gap: 4rem;
}
.book .form {
  flex-wrap: wrap;
  line-height: 2rem;
  flex-basis: 50%;
  flex-direction: column;
  row-gap: 1rem;
  gap: 1rem;
}
.book .form input[type="text"]:not([button]),
.book .form input[type="email"] {
  border: 0;
  background-color: rgba(211, 239, 239, 0.458);
  border-bottom: 1px dashed;
}

.book .form textarea {
  border: 0;
  line-height: 4ch;
  background-image: linear-gradient(
    transparent,
    transparent calc(4ch - 1px),
    rgba(211, 239, 239, 0.458) 0px
  );
  background-size: 100% 4ch;
}

@media (min-width: 1440px) {
  .glide__slide .entry-title {
    font-size: 25px;
  }
}
@media (max-width: 1060px) {
  .container,
  .cv-content .container {
    padding: 2rem 3rem;
  }
  .site-header {
    padding-bottom: 0;
  }
  header .nav-bar {
    padding: 0 3rem;
  }
  section.top {
    margin: initial;
}
}
@media (max-width: 900px) {
  .container,
  .cv-content .container {
    padding: 2rem 20px;
  }

  .site-header {
    align-items: center;
    padding-top: 2rem;
  }
  .featured-img {
    width: calc(100% - 40px);
  }
  header .nav-bar {
    padding: 10px 0;
    flex-direction: row-reverse;
  }
  .nav-bar .social {
    justify-content: flex-start;
    padding-left: 10px;
  }
  .nav-bar .social a {
    padding-left: 0;
    padding-right: 1rem;
  }
  .with-logo img {
    height: 50px;
    width: auto;
    margin: 1rem;
  }
  featured-img {
    width: calc(100% - 2rem);
  }
  .site-title {
    font-size: 1.5rem;
    text-align: center;
    font-weight: normal;
    padding-top: 0;
  }
  .menu {
    background-color: #f3f3f3;
    background-image: url(https://ricardogalvez.pe/wp-content/uploads/sites/29/2022/08/pintura1.jpg);
    background-size: cover;
    transition: all 0.6s cubic-bezier(0.4, -0.24, 0.25, 1);
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    left: unset;
    right: -100%;
    opacity: 0;
    top: 0;
    z-index: 100;
  }

  .nav-menu li.current-menu-item a,
  .single-projects li.menu-item-object-projects a,
  .nav-menu .page_item a,
  .nav-menu .menu-item a,
  .nav-menu .page_item a,
  .nav-menu .menu-item a {
    color: #191a1c;
    font-size: 1rem;
    letter-spacing: 0.2rem;
  }
  .toggled .menu {
    top: 0;
    right: 0;
    opacity: 1;
  }
  .menu-toggle {
    margin: 0;
    background-color: #93ababff;
    height: 40px;
    width: 50px;
    border-radius: 0;
  }
  .menu-toggle span {
    height: 2px;
    background: white;
    left: 14px;
    width: 24px;
  }
  .menu-toggle.close span:nth-child(1) {
    top: 12px;
  }
  .menu-toggle.close span:nth-child(2),
  .menu-toggle.close span:nth-child(3) {
    top: 19px;
  }
  .menu-toggle.close span:nth-child(4) {
    top: 26px;
  }
  .menu-toggle.open span:nth-child(3),
  .menu-toggle.open span:nth-child(2) {
    top: 19px;
  }
  .nav-menu li,
  .nav-menu li:first-child,
  .nav-menu li:last-child {
    padding: 0.5rem 0;
  }
  .nav-menu li.no-link {
    display: none;
  }
  .social-nav.hide {
    display: block;
  }
  .hero {
    width: calc(100% - 2rem);
    margin: 0 auto;
    flex-wrap: wrap;
    height: auto;
  }
  .hero a {
    flex-basis: 50%;
    height: calc(50vh - 2rem);
  }
  .hero a:first-child {
    flex-basis: 100%;
    order: 3;

  }
  .hero a:nth-child(2) {
    border-top: 2px solid;
    border-right: 2px solid;
    border-color: #cf6228;
    display: none;
  }
  .hero a:nth-child(3) {
    border-right: 2px solid;
    border-bottom: 2px solid;
    border-color: #f9f5e0;
    display: none;
  }

  .titles {
    padding-bottom: 0;
  }
  .intro {
    width: 100%;
  }
  .cv-content .intro{
    padding: 2rem;
  }
  .content-section {
    display: block;
  }
  .content-section div.content-image {
    height: 400px;
    width: 100%;
  }
  section.top {
    margin: initial;
  }
  .book {
    flex-direction: column;
    row-gap: 2rem;
    gap: 2rem;
  }
  article.entry-wrapper {
    flex-basis: 100%;
    width: 100%;
    margin-right: 0;
  }
  .two-col-list ul {
    column-count: 1;
    gap: unset;
  }
  .flex-50,
  .flex-45,
  .flex-55 {
    flex-basis: 100%;
    width: 100%;
  }

  .blog-post .page-content .featured-image {
    margin: 1rem 0;
  }

  .page-content.flex {
    row-gap: 2rem;
    gap: 2rem;
    flex-direction: column;
  }
  .entry-wrapper .attachment-post-thumbnail,
  .single-entry-posts .attachment-post-thumbnail {
    height: 60vw;
  }
  .blog-main.projects .projects-archive {
    flex-direction: column;
  }
  .blog-main.projects a.card img {
    height: 100%;
  }
  .sticky {
    position: relative;
  }
  .site-footer {
    align-items: flex-start;
    margin-top: 2rem;  }

  .site-footer .site-info {
    flex-direction: column;
    width: calc(100% - 20px);
  }

  .site-footer ul {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .site-footer .info-title.studio {
    flex-basis: 100%;
    height: 20px;
    display: flex;
    align-items: center;
  }
  .site-footer .info-title::before {
    content: "";
    padding: 0;
  }

  .error-404 {
    display: flex;
    background-size: 130%;
    background-repeat: no-repeat;
    background-position: -80% bottom;
  }
  /** CAROUSEL **/

  .glide-project .glide__arrows {
    display: flex;
    opacity: 1;
  }
  .glide__bullets {
    display: block;
    text-align: center;
    margin-top: 1rem;
  }
  button.glide__bullet {
    display: inline-block;
    height: 15px;
    width: 15px;
    margin: 1rem 5px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background-color: #5f5f5f93;
  }
  button.glide__bullet.glide__bullet--active {
    background-color: #2e2e2e;
  }
  .glide-testimonial .glide__slide {
    padding: 1rem 3rem;
  }
  .glide__slide img {
    height: calc(50vw - 2rem);
  }
  .woocommerce ul.products.glide__slides {
    flex-wrap: unset;
  }
}
