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

/* COLORES */

.primary-color {
  color: #e4b7e5;
}
.secondary-color {
  color: #A4EFCE;
}
.dark-color {
  color: #141414;
}
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap");

body {
  font-family: "Playfair Display", serif;
}
.vertical-rl {
  writing-mode: vertical-rl;
}

.darl p,
.dark span {
  color: white;
}
.dark a {
  color: #e4b7e5;
}

/* HEADER */

.site-header {
  display: flex;
  justify-content: space-between;
  background-color: #141414;
}
.site-title {
  color: #e4b7e5;
  font-size: 1.5rem;
  font-weight: 800;
  padding: 1rem 1rem 0.5rem;
  letter-spacing: 0.2rem;
  text-align: left;
}
.site-description {
  padding: 0 1rem 1rem;
  color: white;
}
ul.nav-menu {
  display: flex;
}
ul.nav-menu li {
  padding: 1rem;
}
ul.nav-menu li a {
  color: white;
  text-decoration: none;
}

/* MAIN CONTENT */

.home .page-title {
  display: none;
}
section.flex {
  flex-wrap: wrap;
}
.col-title {
  width: 10%;
  background-color: yellow;
  justify-content: center;
  align-items: center;
}
.col-title h2 {
  font-size: 4rem;
  padding: 2rem 0;
}
.col-content {
  flex-wrap: wrap;
  width: 90%;
}
.full {
  flex-basis: 100%;
  width: 100%;
}
.half {
  flex-basis: 50%;
  width: 50%;
}
.third {
  flex-basis: 33.333%;
  width: 33.333%;
}
.col-action {
  height: 80vh;
  justify-content: flex-end;
  align-items: baseline;
  background-size: cover;
  background-position: center;
}
.col-action a {
  padding: 2rem;
  display: block;
  background-image: url(https://glitter.cloudylab.co.uk/wp-content/uploads/2020/12/flecha.png);
  background-position: left center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #e4b7e5;
  text-decoration: none;
  font-size: 1.5rem;
  width: 50%;
  text-align: right;
  top: 0;
  position: sticky;
}

.section.actualidad .col-action {
  background-image: url(http://glitter.cloudylab.co.uk/wp-content/uploads/2020/12/daniel-clemente-LMuBLfo-uTI-unsplash.jpg);
}
.section.about .col-action {
  background-image: url(http://glitter.cloudylab.co.uk/wp-content/uploads/2020/12/efe-kurnaz-RnCPiXixooY-unsplash-scaled.jpg);
}
.section.acciones .col-action {
  background-image: url(http://glitter.cloudylab.co.uk/wp-content/uploads/2020/12/clem-onojeghuo-DoA2duXyzRM-unsplash.jpg);
}
.cell {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.cell h3 {
  background-color: #141414;
  color: #e4b7e5;
  padding: 1rem;
}
.cell-1 {
  background-image: url(https://glitter.cloudylab.co.uk/wp-content/uploads/2020/12/IMG_1644-2.jpg);
}
.cell-2{
    background-image: url(https://glitter.cloudylab.co.uk/wp-content/uploads/2020/12/informate.png);
}
/* CARDS */

.card {
  margin: 1rem;
  background-color: #e4b7e5;
  border-radius: 13px;
  padding: 1rem;
  flex-basis: calc(33% - 2rem);
  width: calc(33% - 2rem);
  flex-direction: column;
}
.card-date {
  margin-bottom: 1rem;
}
.card-description {
  margin-bottom: 1rem;
}
.card a.cta {
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 800;
  color: black;
  transition: ease-in-out 0.5s;
}
.svg-arrow {
  width: 20px;
  transform: translate(0);
  transition: ease-in-out 0.5s;
}
.card a.cta:hover {
  letter-spacing: 0.05rem;
}

.card a.cta:hover .svg-arrow {
  transform: translateX(10px);
}
/* FOOTER */

.site-footer {
  background-color: #292929;
}
