@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,600;1,100;1,300&display=swap');

* {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
  transition: 0.2s linear;
}

:root {
  --primary-color: #493370;
  --white: #fff;
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  --gray: #666;
  --light-gray: #eee;
  --dark-gray: #333;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}
section {
  padding: 5rem 9%;
}
.p-bottom {
  flex-grow: 1;
}
.heading {
  font-size: 3.5rem;
  letter-spacing: 0.2rem;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  padding-bottom: 2rem;
}

.heading::after {
  content: '';
  position: absolute;
  border-bottom: 0.2rem solid var(--primary-color);
  width: 10rem;
  bottom: 1rem;
  left: 50%;
  display: inline-block;
  margin-left: -5rem;
}
/* home */
.home {
  height: 70vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)),
    url('images/artist-ducuara.jpg') no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;

  display: flex;
  align-items: center;
  justify-content: left;
}

.artist-2 {
  height: 70vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)),
    url('images/artist-2.jpg') no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;

  display: flex;
  align-items: center;
  justify-content: left;
}

.artist-3 {
  height: 70vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)),
    url('images/artist-3.jpg') no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;

  display: flex;
  align-items: center;
  justify-content: left;
}

.home h1, .artist-2 h1, .artist-3 h1  {
  color: var(--white);
  font-size: 7rem;
  text-align: left;
  letter-spacing: 0.2rem;
  padding: 0;
  line-height: 7rem;
    font-weight: 500;
}
/* home */
@media (min-width: 769px){
h1, h2 {
  color: #3A3A3A;
  font-size: 4rem;
  text-align: left;
  letter-spacing: 0.2rem;
  font-weight: 300;
  padding-bottom: 3rem;
}
}
@media (max-width: 768px){
  h1, h2 {
    font-size: 3rem;
    text-align: center;
    color: #3A3A3A;
  text-align: center;
  letter-spacing: 0.2rem;
  font-weight: 300;
  padding-bottom: 3rem;

}
}

/*Slideshow*/
.slideshow {
  list-style-type: none;
  height: 96vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

/** SLIDESHOW **/
.slideshow,
.slideshow:after { 
    top: -16px; /*Not sure why I needed this fix*/
    background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slideshow li span { 
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
    animation: imageAnimation 45s linear infinite 0s; 
}



.slideshow li:nth-child(1) span { 
    background-image: url("images/home-rotator/tenerife.jpg"); 
}
.slideshow li:nth-child(2) span { 
    background-image: url("images/home-rotator/abrojos-2.jpg");
    animation-delay: 6s; 
}
.slideshow li:nth-child(3) span { 
    background-image: url("images/home-rotator/wood-city-2.jpg");
    animation-delay: 12s; 
}
.slideshow li:nth-child(4) span { 
    background-image: url("images/home-rotator/one-thousand-feet.jpg");   
    animation-delay: 18s; 
}
.slideshow li:nth-child(5) span { 
    background-image: url("images/home-rotator/ciudades-perdidas.jpg");
    animation-delay: 24s; 
}
.slideshow li:nth-child(6) span { 
  background-image: url("images/home-rotator/preterito-perfecto.jpg");
  animation-delay: 30s; 
}
.slideshow li:nth-child(7) span { 
  background-image: url("images/home-rotator/lo-numinoso.jpg");
  animation-delay: 36s; 
}



@keyframes imageAnimation { 
    0% { opacity: 0; animation-timing-function: ease-in; }
    8% { opacity: 1; animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}


@keyframes titleAnimation { 
    0% { opacity: 0 }
    8% { opacity: 1 }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}


.no-cssanimations .cb-slideshow li span {
  opacity: 1;
}




/*Slideshow*/






/* home */

/* header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 2rem 9%;
  display: flex;
  align-items: center;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.3);
}

.header.active {
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: var(--box-shadow);
}

.header .logo {
  font-size: 2.5rem;
  color: var(--white);
  letter-spacing: 0.5rem;
  margin-right: auto;
}

.header .navbar a {
  font-size: 2rem;
  color: var(--white);
  margin-left: 2rem;
  font-weight: 300;
}
.header .navbar a.active {
  border-bottom: 2px solid var(--white);
}
.header .menu {
  font-size: 2.5rem;
  color: var(--white);
  cursor: pointer;
  display: none;
}

.header .navbar a:hover {
  color: var(--primary-color);
}
/* header */

/* about */
.box-container .box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2rem;
}

.about .box-container .box p {
  font-size: 1.7rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  letter-spacing: 0.1rem;
  color: var(--gray);
  text-transform: none;
}
/* about */





/* contact */
.contact .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
}

.contact .box-container .box .form-group ion-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.contact .box-container .box .form-group span {
  font-size: 2rem;
  margin-left: 1rem;
}

.contact .box-container .box .form-group {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact .box-container .box {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.contact .box-container .box input {
  border: 0.1rem solid #000;
  padding: 1rem;
  margin-bottom: 1rem;
}

.contact .box-container .box textarea {
  border: 0.1rem solid #000;
  padding: 1rem;
}

.contact .box-container .box button {
  margin-top: 1rem;
  padding: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  font-weight: bold;
}

.contact .box-container .box button:hover {
  background-color: var(--primary-color);
  color: var(--white);
}
/* contact */

/* footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1a1a1a;
  margin-top: 5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  position:relative;
  bottom: 0;
}

.footer .socials ion-icon {
  font-size: 2.5rem;
  color: var(--white);
  background-color: transparent;
  border-radius: 50%;
  padding: 1rem;
  margin-right: 0.7rem;
  margin-left: 0.7rem;
  cursor: pointer;
  margin-bottom: 1rem;
}

.footer .socials ion-icon:hover {
  background-color: var(--primary-color);
  color: var(--light-gray);
}

.footer .copyright p {
  font-size: 1.5rem;
  color: var(--white);
}
/* footer */


/* New Styles */

.box-75 {
max-width: 650px;
margin: 0 ;
}
.margin-1 {
  margin: 0 0 0 3rem;
}
.detail-title {
  text-align: left;
  padding-bottom:1rem;
}
h2.legend {
  color: --gray;
  font-size: 2.5rem;
  letter-spacing: 0.2rem;
  font-weight: 300;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  text-align: left;
}
h3.legend-2 {
  color: --gray;
  font-size: 1.8rem;
  letter-spacing: 0.2rem;
  font-weight: 400;
  padding-bottom: 3rem;
  text-align: left;
}
/* New Styles */



/* Gallery */
.gallery {
  display: flex;
  width: 100%;
}

.left-column {
  width: 30%;
  padding: 0;
  box-sizing: border-box;
}


.menu {
  list-style: none;
  padding: 0;
}

a.button {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: left;
  background-color: transparent;
  border-bottom: 1px solid var(--light-gray);
  outline: none;
  cursor: pointer;
  font-size:1.8rem;
  color: var(--gray);
  font-weight: 500;
}
.sub-t-button {
  font-size: 1.4rem;
}
a.button:hover {
  background-color: var(--light-gray);
}

a.button.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.right-column {
  width: 70%;
  padding: 2rem 0 0 2rem;
  box-sizing: border-box;
}
.section-internal {
  padding:0; 
}
.break-long {
  -ms-word-break: break-all;
     word-break: break-all;
     word-break: break-word;
-webkit-hyphens: auto;
   -moz-hyphens: auto;
        hyphens: auto;
}

.spec {
  color: --gray;
  font-size: 1.6rem;
  text-align: left;
  letter-spacing: 0.2rem;
  font-weight: 300;
  padding-bottom: 2rem;
  word-wrap:break-word;
}
.spec span {
  display: block;
}
.spanish-title {
  font-style: italic;
  font-size: 2.5rem;
    padding: 1rem 0 0;
    display: block;
}
.p-top {
  margin-top: 8rem;
}
.p-top-2{
  margin-top:2rem;
}
.p-10 {
  padding:1rem;
}
a.link {
  text-transform: none;
  color: var(--primary-color);
  font-size:2.5rem;
}
.w-65 {
width: 65%;

}
.full-w {
  width: 100%;
  padding-left:0;
  padding-right:0;
}
.ptop-0 {
  padding-top:0;
}
.pbottom-0 {
  padding-bottom:0;
}
.m-t-0 {
  margin-top:0;
}
.timeline img.exh-img {
    width: 300px !important;
    transition: all 0.2s ease-in-out;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    padding-bottom:2rem;
}
.left-column .f-size-2 {
  font-size: 2rem;
  padding: 1rem 0;
}
.p-r-2 {
  padding-right: 2rem;
}
/* Gallery */

/* Gallery detail*/

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  background-color: #fff;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.3);
  width: 100%;
  margin: 0 auto;
  padding: 10px;
}
.gallery-item {
  flex-basis: 49%;
  margin: 3px;
  opacity: .85;
  cursor: pointer;
}
.gallery-item:hover {
  opacity: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.gallery-content {
  font-size: .8em;
}

.lightbox {
  position: fixed;
  display: none;
  background-color: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;              
  overflow: auto;
  top: 0;
  left: 0;
  z-index: 101;
}
.lightbox-content {
  position: relative;
  width: 70%;
  height: 70%;
  margin: 5% auto;
}
.lightbox-content img {
  border-radius: 7px;
  box-shadow: 0 0 3px 0 rgba(225, 225, 225, .25);
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #161515ad;
  padding: 3rem;
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 7px;
  top: 45%;
  cursor: pointer;
  font-size: 3rem;
}
.lightbox-prev {
  left: 0;
}
.lightbox-next {
  right: 0;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: .8;
}

@media (max-width: 949px) {
  .gallery-container {
      width: 100%;
  }
  .gallery-item {
      flex-basis: 100%;
      margin-bottom: 3px;
  }
  .lightbox-content {
      width: 80%;
      height: 60%;
      margin: 15% auto;
  }
}
@media (max-width: 480px) {
  .gallery-item {
      flex-basis: 100%;
      margin-bottom: 1px;
  }
  .lightbox-content {
      width: 90%;
      margin: 20% auto;
  }
}
/* Gallery detail*/







/*works gallery*/
.works img {
	width: 100%;
	display: block;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 1000ms;
}
ul.works {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
	max-width: 100%;
	width: 100%;
}

figure {
	margin: 0;
	position: relative;
	overflow: hidden;
}

figure::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 200%;
	height: 200%;
	background: rgba(0, 0, 0, 0.5);
	transform-origin: center;
	opacity: 0;
	transform: scale(2);
	transition: opacity 300ms;
}

figcaption {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	place-items: center;
	text-align: center;
	padding: 1rem;
	color: white;
	font-size: 1.2rem;
	z-index: 1;
	opacity: 0;
	transition: opacity 600ms, transform 600ms;
}

a:is(:hover, :focus) figure::after {
	opacity: 1;
}

a:is(:hover, :focus) figcaption {
	opacity: 1;
	transition: opacity 600ms;
}

@media (prefers-reduced-motion: no-preference) {
	figcaption {
		transform: translate3d(0, 2rem, 0);
	}
	
	figure::after {
		border-radius: 50%;
		opacity: 1;
		transform: scale(0);
		transition: transform 900ms;
	}
	
	a:is(:hover, :focus) figure::after {
		transform: scale(2.5);
	}

	a:is(:hover, :focus) figcaption {
		opacity: 1;
		transform: translate3d(0, 0, 0);
		transition: opacity 600ms 400ms, transform 600ms 400ms;
	}

	a:is(:hover, :focus) img {
		transform: scale(1.2);
	}
}
/*works gallery*/




/* media queries */
@media (max-width: 1200px) {
  .header {
    padding: 2rem;
  }

  section {
    padding: 3rem 2rem;
  }
 
}

@media (max-width: 991px) {
  html {
    font-size: 60%;
  }
}

@media (max-width: 1024px) {
  .header .navbar {
    position: fixed;
    top: 7rem;
    left: 0;
    right: 0;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--box-shadow);
    transform: translateX(-120rem);
  }

  .header .navbar.show {
    transform: translateX(0);
  }

  .header .navbar a {
    color: #000;
    margin: 0;
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .header .menu {
    display: block;
  }

  .header .menu.rotate {
    transform: rotate(90deg);
  }

  .home h1, .artist-2 h1, .artist-3 h1 {
    font-size: 4rem;
    line-height: 5rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 55%;
  }

  .home h1, .artist-2 h1, .artist-3 h1 {
    font-size: 3rem;
    line-height: 4rem;
  }

  .heading {
    font-size: 3rem;
  }
}
/* media queries */
#shadow-host-companion {
  display: none !important;
}


/*Timeline*/
time {
  line-height: 1.6;
}

.timeline {
  padding: 3rem 2rem;  
  background-color: white;
}

.tl-content .tl-header, 
.tl-content .tl-body {
  padding-left: 25.6px;
  border-left: 3px solid gainsboro;
}

.tl-body {
  padding-bottom:2rem;
}

.tl-content:last-child .tl-body {
  border-left: 3px solid transparent;
}

.tl-header {
  position: relative;
  display: grid;
  
  padding-top: 1rem;
  padding-bottom: 0;
}

.tl-title {
  font-weight: 600;
  font-size: 1em;
  
  border-bottom: 1px solid gainsboro;
}

.tl-time {
  font-size: 0.7em;
}

.tl-marker {
  display:block;
  position: absolute;

  width: 16px;
  height: 16px;
  border-radius: 50% / 50%;
  
  background: gainsboro;
  
  left: -1.78rem;
  top: 28%;
  
  transform: translate(50%,-50%);
}

.tl-content-active .tl-marker {
  padding: 1.6px;
  
  left: -2rem;
  
  width: 18px;
  height: 18px;
  
  border: 2px solid var(--primary-color);
  
  background-color: var(--primary-color);
  background-clip: content-box;
  
  box-shadow: 0 0 15px -2px var(--primary-color);
}

.tl-content-active .tl-title {
  font-weight: 500;
  margin-bottom: 0 !important;
}
/*Timeline*/


/* enlarge other images */

figure {
  margin: 0em 1em;
  display: inline-block;
}
figcaption {
  font: bold .9em/2em 'Helvetica Neue', 'Helvetica', sans-serif;
  margin: 0;
  padding: 0;
}

/* IMAGE */
.zoomD {
  width: 300px;
  height: auto;
/* ease | ease-in | ease-out | linear */
  transition: all ease-in-out 0.4s;
  cursor: zoom-in;
}
/* LIGHTBOX BACKGROUND */
#lb-back {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition: all ease-in-out 0.4s;
  /* ease | ease-in | ease-out | linear
transition: transform ease-in-out 0.5s; */
}
#lb-back.show {
  visibility: visible;
  opacity: 1;
}
/* LIGHTBOX IMAGE */
#lb-img {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
}
#lb-img img {
  /* FULL WIDTH IMAGE
  width: 100%;
  height: auto;
  cursor: zoom-out; 
  */

  /* MAX WIDTH 1200px IMAGE */
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 0 auto;
  cursor: zoom-out;
}
.box-container .box figure img {
  max-width: 300px; 
  height: auto;
}

/* enlarge other images */


/*New Menu 
@media(min-width:992px) {
  .menu-icon {
      display: none;
  }
  #side {
      width: 100%;
  }
  #pop:target + #side{
      width:20%;
  }
  
  .navbar-2 {
      width:20%;
  }
  #side:target{
      width:20%;
  }

}
@media(max-width:992px) {
  .menu-icon {
      display:block;
  }
  #side{
    position:absolute;
    top:15rem;
    right: 0;
    height:auto;
    background-color: #fff;
    overflow:hidden;
    z-index:100;
  }
  #pop:target + #side{
      width:0;
  }
  #side:target{
      width:100%;
      padding: 0 2rem;
  }
  .left-column {
    width: 0;
  }
  .right-column {
    width: 100%;
    padding: 1rem 0 0 0;
  }
}

nav {
  list-style: none;
}


.navbar-2{
  width: 90%;
  position:absolute;
  top:15rem;
  height:24px;
}

.menu-icon {
  font-size: 28px;
  height: 28px;
  width: 100%;
  color: var(--primary-color);
  font-size: 2rem;
}


/*New Menu */