
/* 
Theme Name: galleryTheme
Text  Domain: galleryTheme
Version: 1.0
Description: personalized theme for a travel's website
Tags: left-sidebar, responsive, minimal
Author: Betsa Meneses
Author URI: https://betsamd.com/
*/

/* @import url("https://fonts.googleapis.com/css2?family=Questrial&display=swap"); */
@import url("https://fonts.cdnfonts.com/css/neue-haas-grotesk-display-pro");
@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital@1&display=swap");

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 16px;
  font-family: "Neue Haas Grotesk Display Pro", sans-serif;
  font-weight: 400;
}

li {
  list-style: none;
}
a {
  text-decoration: none;
  color: #1b1b1b;
}
/* Navbar */
header {
  position: fixed;
  height: 100vh;
  z-index: 2;
}
.menu-nav {
  opacity: 0;
  display: none;
  position: fixed;
  height: 100vh;
  width: 100vw;
  background-color: #F2E5E5;
}
.menu-nav-ctn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
}
#close-button {
  position: absolute;
  top: 50px;
  right: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  cursor: pointer;
}
#close-button span {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
}
#close-button .icon-close {
  display: flex;
  width: 26px;
  height: 26px;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
}
.icon-close div {
  width: 26px;
  height: 3px;
  background-color: #CE7777;
  position: absolute;
}
.icon-close div:first-child {
  transform: rotate(45deg);
}
.icon-close div:last-child {
  transform: rotate(-45deg);
}
nav {
  padding: 1.5rem;
  width: 100%;
  margin: 0 120px;
}
ul {
  margin: 0;
  padding: 0;
}
.main-menu li {
  font-size: 100px;
  line-height: 100px;
  font-weight: 450;
  margin: 0;
  padding: 0;
}
.main-menu-item {
  position: relative;
}
.main-menu a, .contact li, .contact p, #close-button span  {
  color: #2B3A55;
}
.contact {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  align-content: flex-start;
  margin-top: 110px;
}
.contact p {
  font-size: 2rem;
  font-weight: 500;
  margin: 0;
}
.contact li {
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 5px;
}

.home-menu {
  height: 100%;
  position: relative;
  border-right: solid 1px #fff;
}
#scroll-1 {
  position: fixed;
  top: 0;
  left: 5.9rem;
  width: 1.5px;
  height: 0;
  background-color: #2B3A55;
}
.home-menu-ctn {
  margin: 0;
  padding: 1.7rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.custom-logo {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background-color: #fff;
}
#btn-open-menu {
  display: flex;
  height: 100%;
  justify-items: center;
  align-items: center;
  padding: 5px;
}
#btn-open-menu button {
  position: relative;
  height: 26px;
  width: 26px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}
.first-line,
.second-line {
  position: absolute;
  background-color: #fff;
}
.first-line {
  top: calc(50% - 1.5px);
  left: 0%;
  width: 100%;
  height: 3px;
}
.second-line {
  top: 0%;
  left: calc(50% - 1.5px);
  width: 3px;
  height: 100%;
}
/***** End navbar *****/


/***** Hero *****/
.hero-container {
  height: 100vh;
  width: 100%;
  position: relative;
}
.hero-ctn-image{
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}
.hero-ctn-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.text-container {
  height: 100%;
  width: 100%;
  padding-left: 5.62rem;
  display: flex;
  justify-content: center;
}
.text-hero {
  height: 100%;
  width: 100%;
  max-width: 80rem;
  padding: 7rem 2rem 0.9rem;
  position: relative;
}
.bloc-1 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
}
.bloc-1 span {
  text-transform: uppercase;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.heading {
  padding-bottom: 7rem;
}
.heading h1{
  font-family: "Neue Haas Grotesk Display Pro", sans-serif;
  margin: 0;
  font-size: 6rem;
  font-weight: 500;
  color: #F2E5E5;
}
.heading h2 {
  font-family: "EB Garamond", serif;
  font-size: 20px;
  margin: 0;
  color: #F2E5E5;
  font-weight: 100;
}
.bloc-2 {
  position: absolute;
  right: 0;
  width: 12rem;
  height: 1.75rem;
  bottom: 0;
}
.bloc-2 span {
  text-transform: uppercase;
  position: absolute;
  top: -1.5rem;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14rem;
}
.ctn-scroll-2 {
  overflow: hidden;
  width: 1px;
  background-color: #616161;
  height: 1.75rem;
  position: absolute;
  top: 0;
  left: 0;
}
.scroll-2 {
  position: absolute;
  background-color:#CE7777;
  width: 100%;
  height: 100%;
  animation: scroller 2s infinite;
}
@keyframes scroller {
  0% {
    top: -100%;
  }
  100% {
    top: 0;
  }
}
/***** End Hero *****/

/***** Main content *****/
.sections-container{
  width: 100%;
  padding-left: 5.62rem;
  background-color: #F9F9F9;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#first-section,
#second-section,
#third-section{  
  width: 100%;
  max-width: 80rem;
  position: relative;
}
#first-section,
#third-section {
  padding: 8rem 0;
}
#first-section .main-container {
  padding: 0 1.25rem;
}
#first-section h3 {
  font-family: "EB Garamond", serif;
  font-size: 20px;
  font-weight: 400;
  color: #636363;
}
#first-section p {
  font-size: 1.25rem;
  font-weight: 500;
  width: 40%;
  line-height: 1.25;
}
.round-btn-ctn {
  display: flex;
  width: 40%;
  justify-content: flex-end;
}
.round-btn {
  width: 145px;
  height: 145px;
  border-radius: 9999px;
  border: solid 1px #f1d3d3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.round-btn span {
  color: #1b1b1b;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
}
.round-btn:hover {
  background-color: #F2E5E5;
  transition: all 0.5s;
  font-weight: 600;
}
#second-section{
  padding: 0;
}
#second-section .grid-container {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 2.5rem;
  padding: 0 1.25rem;
}
.bloc:nth-child(1) {
  grid-column: span 5 / span 5;
}
.bloc:nth-child(2) {
  grid-column: span 4 / span 4;
}
.bloc:nth-child(3),
.bloc:nth-child(4),
.bloc:nth-child(5){
  grid-column: span 3 / span 3;
}
.img-container {
  display:inline-block;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.first-dash,
.second-dash {
  position: absolute;
  background-color: #2B3A55;
  z-index: 1;
  opacity: 0;
}
.first-dash {
  top: calc(50% - 3px);
  left: calc(50% - 30px);
  width: 60px;
  height: 6px;
}
.second-dash {
  top: calc(50% - 30px);
  left: calc(50% - 3px);
  width: 6px;
  height: 60px;
}
.bloc:nth-child(1)  .img-container,
.bloc:nth-child(3)  .img-container,
.bloc:nth-child(5)  .img-container   {
  height: 420px;
}
.bloc:nth-child(2) .img-container{
  height: 620px;
}
.bloc:nth-child(4) .img-container {
  height: 520px;
}
.img-container:hover .solid-bg {
  opacity: 70%;
  transition: opacity 0.5s ease-out;
}
.img-container:hover .first-dash,
.img-container:hover .second-dash {
  opacity: 100%;
  transition: opacity 0.5s ease-out;
}
.img-responsive {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.solid-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #F2E5E5;
  opacity: 0%;
}
#second-section .infos {
  display: flex;
  align-items: center;
  margin: 12px 0;
}
.infos-title{
  font-size: 17px;
  font-weight: 500;
  margin: 0;
  display: flex;
  align-items: center;
}
.infos-title::after{
  content: " ";
  display: block;
  width: 1.5rem;
  height: 2px;
  background-color: #CE7777;
  margin: 0 8px;
}

.infos-date {
  font-family: "EB Garamond", serif;
  color: #636363;
  font-size: 17px;
  text-transform: capitalize;
}
.see-all {
  font-size: 48px;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  margin: 80px 0 0;
}
.see-all:hover{
  color:#E8C4C4;
  transition: all 0.5s;
}
.quantity-post{
  margin-left: 12px;
}
.quantity-post::before{
  content: "(";
  color: #CE7777;
}
.quantity-post::after{
  content: ")";
  color: #CE7777;
}

#third-section .third-container {
  display: flex;
  padding: 1.25rem;
  align-items: flex-end;
}

#third-section img {
  width: 60%;
  height: 80vh;
  object-fit: cover;
}
.third-text {
  padding-left: 3.5rem;
}
.third-text p:first-child {
  font-size: 20px;
  font-weight: 500;
}
.third-text p:last-child {
  font-size: 16px;
  font-family: "EB Garamond", serif;
  margin: 0;
  color: #616161;
}
footer {
  background-color: #2B3A55;
  color: #fff;
}
.footer-container {
  padding: 2.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer h4 {
  font-size: 200px;
  font-weight: 500;
  margin: 0 0 90px;
}
footer li {
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 4px;
}
footer a {
  color: #fff;
  text-transform: uppercase;
}
footer a:hover {
  border-bottom: 1px solid #fff;
}
.web-link {
 border-bottom: 1px solid #CE7777;
 margin-left: 10px;
 color: #CE7777;
}
/* Single page style */
.article-style{
  padding-left: 5.62rem;
  width: 100%;
  display: flex;
  justify-content: center;
}
.article-style-container{
  width: 100%;
  max-width: 80rem;
  padding: 1.25rem;
}
.categories a{
  font-size: 14px;
  font-weight: 500;
  color: #8a8a8a;
  text-transform: uppercase;
}
.article-style-container h2{
  font-size: 52px;
  font-weight: 500;
  margin:0;
}
.article-style-container span{
  font-size: 16px;
  text-transform: capitalize;
}
.article-date{
  color: #8a8a8a;
  font-family: "EB Garamond", serif;
}
.article-content p{
  font-weight: 500;
  font-size: 1.25rem;
  padding-right: 2.5rem;
  line-height: 1.25;
}
.article-tags{
  display: flex;
  flex-wrap: wrap;
  margin: 50px 0;
}
.article-tags li{
  border: #CE7777 solid 1px;
  background-color: #f1d3d3;
  padding: 5px 11px;
  border-radius: 60px;
  min-width: fit-content;
  margin-right: 10px;
  margin-bottom: 10px;
}
.article-tags a{
  color: #1b1b1b;
  text-transform: capitalize;
}
.page-style{
  margin: 0;
  padding: 0;
  margin-left: 5.62rem;
  color: #1b1b1b;
}
.img-single-post{
  width: 100%;
  height: 60vh;
  object-fit: cover;
}

/* Page destinos styles */
.destinos{
  background-color: #F9F9F9;
  padding: 8rem;
  display: flex;
  flex-wrap: wrap;
}
.destinos h2{
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 50px;
  width: 100%;
}
.destinos-text{
  width: 70%;
}
.destinos-text-item{
  margin-bottom: 20px;
}
.destinos-text h3{
  font-size: 1.625rem;
  font-weight: 500;
  margin: 0;
}
.destinos-text span{
  font-size: 0.9rem;
  margin: 0;
  font-family: "EB Garamond", serif;
  font-weight: 400;
  color: #636363;
}
.destinos-images{
  width: 30%;
}
.destinos-images img{
  width: 100%;
  height: 500px;
  object-fit: cover;
  opacity: 0;
}
/* .destinos-text:hover ~ .destinos-images img{
  opacity: 1;
} */
.heading-container{
  width: 100%;
  height: 70vh;
}

/* End page destinos styles */

/* Page favoritos styles */
.favoritos, .about{
  background-color: #F9F9F9;
  padding: 8rem;
}
.favoritos h2, .about h2{
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
  width: 100%;
}
.favoritos img{
  width: 100%;
  height: 80vh;
  object-fit: cover;
}

.favoritos h3, .about h3{
  font-size: 3.75rem;
  font-weight: 500;
  width: 70%;
  margin-bottom: 70px;
}

.favoritos p, .about p{
  font-size: 1.25rem;
  font-weight: 500;
}
/* End page favoritos styles */
@media screen and (max-width: 1024px) {
  header {
    height: auto;
  }
  .text-container{
    padding: 8rem 0 0;
  }
  .text-hero{
    padding: 50px;
  }
  .sections-container{
    padding-left: 0;
  }
  .scroll-1{
    display: none;
  }
  .home-menu {
    border-right: none;
    width: 100vw;
    height: 5.62rem;    
    border-bottom: #cccccc solid 1px;
  }
  .page-style{
    margin-left: 0;
  }
  #scroll-1{
    display: none;
  }
  .home-menu-ctn {
    flex-direction:row;
    padding: 2rem 50px;
  }
  #first-section,
  #second-section,
  #third-section,
  .text-hero,
  footer {
    padding: 50px;
  }
  #first-section p, .round-btn-ctn{
    width: 50%;
  }
  .bloc:nth-child(3){
    grid-column: 1 / -1;
  }
  .bloc:nth-child(4){
    grid-column: span 5 / span 5;
  }
  .bloc:nth-child(5){
    grid-column: span 4 / span 4;
  }
  .photo01 .img-container {
    height: 280px;
  }
  .photo02 .img-container {
    height: 450px;
  }
  .photo03 .img-container,
  .photo05 .img-container {
    height: 280px;
  }
  .photo04 .img-container {
    height: 350px;
  }
  footer h4 {
    font-size: 100px;
  }
  .favoritos h3{
    width: 100%;
  }

  /* single post style */
  body .is-layout-flex{
    flex-direction: column;
  }
  .article-style{
    padding-left: 0;
  }
  .article-style-container{
    padding: 50px;
  }
  .wp-block-columns.is-layout-flex{
    gap: 0;
  }
}

@media screen and (max-width: 768px){
  #first-section,
  #second-section,
  #third-section,
  .text-hero,
  footer {
    padding: 1rem;
  }
  #first-section p, .round-btn-ctn {
    width: 100%;
  }
  #second-section .grid-container {
    gap: 1rem;
  }
  .destinos, .favoritos, .about{
    padding: 8rem 1.5rem 2rem;
  }
  .menu-nav-ctn nav{
    margin: 70px 50px;
  }
  .contact{
    margin-top: 40px;
  }
  .contact li{
    font-size: 14px;
  }
  .article-style-container{
    padding: 1rem;
  }
  .article-content p{
    font-size: 1.1rem;
    padding-right: 0;
  }

}

@media screen and (max-width: 426px){
  .home-menu-ctn{
    padding: 1rem;
  }
  .home-menu{
    height: 62px;
  }
  .heading h1{
    font-size: 4rem;
    line-height: 90%;
  }
  .heading h5{
    margin-top: 20px;
  }
  .bloc:nth-child(1),
  .bloc:nth-child(2),
  .bloc:nth-child(3),
  .bloc:nth-child(4),
  .bloc:nth-child(5){
    grid-column: 1/-1;
  }
  .bloc:nth-child(1) .img-container,
  .bloc:nth-child(2) .img-container,
  .bloc:nth-child(3) .img-container,
  .bloc:nth-child(4) .img-container, 
  .bloc:nth-child(5) .img-container {
    height: 60vh;
  }
  .see-all {
    flex-direction: column;
    font-size: 28px;
  }
  .dash-02{
    margin: 15px 0;
  }
  .third-container{
    flex-direction: column;
  }  
  #third-section img{
    width: 100%;
  }
  .third-text{
    padding: 0;
  }
  footer h4{
    text-align: center;
    margin: 0 0 40px;
  }
  .favoritos h3, .about h3{
    width: 100%;
    font-size: 2rem;
  }
  .main-menu li{
    font-size: 50px;
    line-height: 55px;
  }
  .menu-nav-ctn nav{
    padding: 0;
  }
  #close-button{
    right: 1.5rem;
  }
  .contact{
    flex-direction: column;
  }
  .contact ul{
    margin-top: 2rem;  
  }
  .menu-nav-ctn nav {
    margin: 50px 1.5rem;
  }
  .destinos h2{
    margin-bottom: 2rem;

  }
  .destinos-text-item {
    margin-bottom: 10px;
  }
  .destinos-images{
    display: none;
  }
  .text-container{
    padding: 4rem 0 0;
  }
  #first-section .main-container,
  #second-section .grid-container,
  #third-section .third-container,
  .see-all {
    padding: 0 ;
  }
  .dash-02{
    width: 5rem;
  }
  .article-style-container h2{
    font-size: 40px;
  }
  .categories a{
    font-size: 12px;
  }  
}