
@import url('https://fonts.googleapis.com/css2?family=Arvo:wght@400;700&display=swap');

@font-face {
  font-family: 'Westmeath';
  src:url('../type/Westmeath.woff') format('woff'),
      url('../type/Westmeath.ttf') format('truetype'),
      url('../type/Westmeath.otf') format('opentypefont');
  font-weight: normal;
  font-style: normal;
}

:root {
  --primaryFont: "Westmeath", sans-serif;
  --secondaryFont: "Arvo", sans-serif;
  --bgColor: rgba(101, 97, 93, 0.6);
  --bgColor2: rgba(238, 185, 24, 1);
  --bgColor3: rgba(190, 182, 175, .6);
  --bgColor4: rgba(0, 0, 0, 1);
  --bgColor5: rgba(169, 156, 149, 1);
  --bgLight: rgba(255, 255, 255, 1);
  --bgLight2: rgba(255, 255, 255, 0.9);
  --bgAcento: #f3cc83;
  --mainTransition: all 0.3s linear;
  --fastTransition: all 0.1s linear;
  --bgGradientDark: radial-gradient(
    circle,
    rgba(11, 11, 11, 1) 0%,
    rgba(44, 51, 58, 1) 52%,
    rgba(32, 38, 43, 1) 78%,
    rgba(18, 20, 21, 1) 97%
  );
  --bgGradientLight: radial-gradient(
    circle,
    rgba(244, 238, 238, 1) 0%,
    rgba(233, 225, 220, 1) 52%,
    rgba(252, 252, 252, 1) 78%,
    rgba(244, 243, 243, 1) 97%
  );
  --bgLightFalloff: rgb(244, 238, 238);
  --viewport: 100vh;
  --viewportIOS: calc(var(--vh, 1vh) * 100);
}

html {
  color: #222;
  font-size: 0.95em;
  line-height: 1.3;
  height: var(--viewport);
}

body {
  min-height: 100vh;
  margin: 48px auto 0;
  height: var(--viewport);
  overflow-x: hidden;
  overflow-y: overlay;
}

body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
body::-webkit-scrollbar-thumb {
  background: var(--bgColor);
  border-radius: 10px;
}
body::-webkit-scrollbar-track {
  background: transparent;
}

body::before {
  animation: fade-slide-down 2s 0.5s cubic-bezier(0, 0.5, 0, 1) forwards;
  background: var(--bgLight);
  content: "";
  opacity: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
}

header {
  height: 45px;
  width: 100vw;
  align-items: center;
  background: var(--bgLight);
  margin-bottom: 10px;
  position: fixed;
  top: 0px;
  box-shadow: 0px 5px 22px -7px rgba(22, 22, 22, 0.68);
  z-index: 3;
}

.wrapper {
  max-width: 1200px;
  width: 98vw;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

header .wrapper {
  width: 40%;
  padding: 0 3rem;
  flex-direction: row;
  justify-content: space-between;
}

.flexRow {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.flexCol {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/*---------------*/
/***** Text *****/
/*---------------*/

h1,
h2,
h3,
h4,
h5,
h6,
a,
a span {
  font-family: var(--primaryFont);
  font-weight: 300;
  text-transform: uppercase;
}

#contacto a {
  font-family: var(--secondaryFont);
  font-weight: 700;
}

.remate a {
  font-family: var(--secondaryFont);
  text-transform: none;
  color: var(--bgColor5);
}

.remate a:hover {
  color: var(--bgAcento);
}

.toTheCenter > h1 {
  margin: 26px auto 30px;
  padding: 0 16px;
}

#p01 .info .col {
  padding-bottom: 0;
}

p,
li,
span {
  font-family: var(--secondaryFont);
}

.long-divider {
  width: 183px;
  height: 1px;
  margin: 21px auto 0;
  background-color: #1c1c1c;
}

/*---------------*/
/***** menu *****/
/*---------------*/

.menu-btn {
  cursor: pointer;
  color: var(--bgColor4);
}

.menu-btn span {
  font-family: var(--primaryFont);
  text-transform: uppercase;
  font-weight: 300;
}

header i.fas {
  color: var(--bgColor2);
}

.menu-btn i {
  margin-right: 0.8rem;
}

#Menu,
#Idioma,
#datos,
#Galeria {
  height: 100vh;
  width: 100vw;
  justify-content: center;
  align-items: center;
  background: var(--bgColor);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 12;
  transition: var(--mainTransition);
  transform: translateY(-130%);
}

#Menu.showDiv,
#Idioma.showDiv,
#datos.showDiv,
#Galeria.showDiv {
  transform: translateY(0);
}

.navbar-nav,
.datosSln {
  max-width: 450px;
  height: auto;
  align-items: center;
  height: 85vh;
  width: 40vw;
  justify-content: center;
  background: var(--bgLightFalloff);
  background: --var(--bgGradientLight);
  padding: 0;
  box-shadow: 0px 5px 22px -7px rgba(22, 22, 22, 0.68);
  border-radius: 2rem;
}

.nav-item {
  display: inline;
  margin: 3px auto;
  padding: 8px;
  border-bottom: 1px solid var(--bgColor2);
  width: 30vw;
  max-width: 350px;
  text-align: center;
  transition: var(--mainTransition);
  text-transform: uppercase;
}

.nav-item.menu {
  width: auto !important;
  background: #dcceba;
  padding: 8px 15px;
  margin-right: 20px;
  margin-left: 20px;
  color: #000000;
  line-height: 3;
}

.nav-item:hover, .nav-item.active {
  background: var(--bgColor2);
  box-shadow: 0px 5px 15px -7px rgba(22, 22, 22, 0.38);
}

.nav-item .dropdown-menu{
  display: block;
  width: auto;
}

a,
a:visited a span,
a span:visited {
  color: var(--bgColor4);
  text-decoration: none;
}

a:hover,
a span:hover {
  text-decoration: none;
}

.menu-btn {
  overflow: hidden;
  transition: var(--mainTransition);
}

.idiomas {
  max-width: 450px;
  height: auto;
  align-items: center;
  height: auto;
  width: 40vw;
  justify-content: center;
  background: var(--bgLightFalloff);
  background: --var(--bgGradientLight);
  padding: 0;
  box-shadow: 0px 5px 22px -7px rgba(22, 22, 22, 0.68);
  border-radius: 2rem;
}

.idiomas a {
  display: inline;
  margin: 3px auto;
  padding: 20px;
  border-bottom: 1px solid var(--bgColor2);
  width: 30vw;
  max-width: 350px;
  text-align: center;
  transition: var(--mainTransition);
}

.idiomas a:hover {
  background: var(--bgColor2);
  box-shadow: 0px 5px 15px -7px rgba(22, 22, 22, 0.38);
}

/*---------------*/
/***** Content *****/
/*---------------*/

hr {
  color: var(--bgAcento);
  border: 1px solid var(--bgAcento);
}

#main-content {
  margin-top: -50px;
}

/* .bg-marmol::before {
  content: "";
  position: absolute;
  display: block;
  top: 860px;
  height: 100%;
  width: 100vw;
  background: url(../img/bg-marmol.jpg);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
  z-index: -1;
} */

.content {
  width: 100vw;
  height: auto;
  overflow-x: hidden;
}

section {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
}

.logo-header {
  height: 190px;
  max-width: 100vw;
  padding-top: 50px;
}

.logo-header::before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0;
  left: 0;
  height: 190px;
  z-index: -1;
  background: var(--bgLight);
}

.page {
  background: var(--bgLight);
  padding-bottom: 1rem;
}

.container {
  max-width: 100%;
}

.container {
  /* min-height: calc(var(--viewport) - 70px); */
  width: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#p01 .header-content {
  background: none;
  padding: 0;
  margin: 0 auto 0rem !important;
  box-shadow: none;
  max-width: 80vw;
  min-height: 100px;
}

.header-content {
  margin-left: 0 !important;
  background: var(--bgLight2);
  padding: 3rem 3rem 0rem;
  margin-bottom: 60px !important;
  -webkit-box-shadow: 0 8px 6px -6px var(--bgColor2);
  -moz-box-shadow: 0 8px 6px -6px var(--bgColor2);
  box-shadow: 0 8px 12px -8px var(--bgColor2);
  min-height: 260px;
}

.header-content-wrapper {
  border-top: 1px solid var(--bgAcento);
  border-left: 1px solid var(--bgAcento);
  border-right: 1px solid var(--bgAcento);
  padding: 1.2rem 3rem 3.4rem;
}

.header-content img {
  width: 100%;
}

.header-title,
.header-subtitle {
  color: #fff;
}

.header-subtitle {
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.header-button {
  transform: translateZ(0.1px);
  position: relative;
  z-index: 1;
}

.animate-pop-in {
  animation: pop-in 0.6s cubic-bezier(0, 0.9, 0.3, 1.2) forwards;
  opacity: 0;
}

.animate-pop-in-alt {
  animation: pop-in-alt 0.6s cubic-bezier(0, 0.9, 0.3, 1.2) forwards;
  opacity: 0;
}

.rocky-dashed {
  animation-delay: 0.6s;
}

.header-content {
  animation-delay: 0.6s;
}

.header-title {
  animation-delay: 0.8s;
}

.header-subtitle {
  animation-delay: 1s;
}

.header-button {
  animation-delay: 1.1s;
}

.info {
  animation-delay: 0.8s;
  justify-content: center;
}

#p02 .info {
  animation-delay: 1s;
}

/* Animations */

@keyframes fade-slide-down {
  0% {
    opacity: 0;
    transform: translateY(-4rem);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes pop-in {
  0% {
    opacity: 0;
    transform: translateY(-4rem) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes pop-in-alt {
  0% {
    opacity: 0;
    transform: translateY(-4rem) scale(0.8);
  }
  100% {
    opacity: 0.5;
    transform: none;
  }
}

@keyframes rotate-up {
  100% {
    transform: rotateZ(-4deg);
  }
}

/*---------------*/
/***** Button *****/
/*---------------*/

button {
  background: none;
  border: none;
}

.hidebtn {
  display: none;
}

/*---------------*/
/***** Toggle view *****/
/*---------------*/

.view-mobile {
  display: none !important;
}

.view-desktop {
  display: block !important;
}

/*---------------*/
/***** Align *****/
/*---------------*/

.toTheLeft {
  text-align: left;
}

.toTheCenter {
  text-align: center;
}

.toTheRight {
  text-align: right;
}

/*---------------*/
/***** Col *****/
/*---------------*/

.flexRow.col,
.flexCol.col {
  margin: 0 auto;
}
.col {
  margin: 0 auto;
  flex: none;
}

.col-450 {
  width: 450px;
}

.col-100 {
  width: 100%;
  margin: 0 !important;
}

.col-80 {
  width: 80%;
}

.col-60 {
  width: 60%;
}

.col-50 {
  width: 50%;
}

.col-40 {
  width: 40%;
}

.col-30 {
  width: 30%;
}

.col-20 {
  width: 20%;
}

.bottom-25 {
  margin-bottom: 25px;
}

.bottom-45 {
  margin-bottom: 45px;
}

.padding-v0 {
  padding-top: 0;
  padding-bottom: 0;
}

.padding-t25 {
  padding-top: 25px !important;
}

.padding-l0 {
  padding-left: 0px;
}

.photo.margin-L10 {
  margin-left: 1rem !important;
  width: calc(50% - 1rem);
}

.photo.margin-b30 {
  margin-bottom: 3rem;
}

.bg-01 {
  background: var(--bgColor2);
  color: var(--bgLight2);
  margin-left: 0rem !important;
  padding: 5rem 3rem 4rem;
}

.bg-02 {
  background: #eeeeee;
  color: var(--bgColor);
  margin-left: 0rem !important;
  padding: 4rem 3rem 5rem;
}

.bg-03 {
  background: var(--bgAcento);
  color: var(--bgColor2);
  margin-left: 0rem !important;
  padding: 4rem 3rem 5rem;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.6); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 0px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  border-radius: 25px;
}

.modal-content .col {
  margin: 60px 15px;
}

.modal-content .toTheCenter {
  padding: 25px;
}

/* The Close Button */
.closeModal {
  color: #aaa;
  float: right;
  font-size: 50px;
  font-weight: bold;
  margin-right: 10px;
  margin-top: 15px;
}

.closeModal:hover,
.closeModal:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/*---------------*/
/***** footer *****/
/*---------------*/

.footslide {
  height: 0px;
  width: 100vw;
  max-width: 1200px;
  align-items: center;
  position: fixed;
  top: calc(50vh - 30px);
  margin: 0;
  transition: var(--mainTransition);
}

.footslide .wrapper {
  width: 100%;
  justify-content: center;
  padding: 0;
  justify-content: space-between;
  height: 0px;
}

.nav-btn {
  font-size: 3rem;
  cursor: pointer;
  padding: 1.5rem 1rem;
  background: var(--bgColor);
  color: var(--bgLight);
  -webkit-box-shadow: 0 8px 6px -6px var(--bgColor3);
  -moz-box-shadow: 0 8px 6px -6px var(--bgColor3);
  box-shadow: 0 8px 12px -8px var(--bgColor3);
  transition: var(--mainTransition);
  height: 100px;
}

.nav-btn:hover {
  transform: scale3d(1.1, 1.1, 1);
}

.nav-btn:first-child {
  margin-right: 15px;
}

.nav-btn:last-child {
  margin-left: 15px;
}

/*---------------*/
/***** Grid *****/
/*---------------*/

.grid-content {
  height: auto;
  padding: 0;
}


#p01 .post-grid {
  height: 250px;
  background: #ffffff;
}

#p01 .grid-wrapper {
  margin: 0 auto 10px;
  padding: 0px 2rem;
}

.grid-wrapper.remate {
  width: 100%;
  padding: 0px !important;
  margin-top: 20px !important;
}

.pleca-remate {
  animation: fade-slide-down 2s 0.5s cubic-bezier(0, 0.5, 0, 1) forwards;
  background:
    url(../img/remate.png) repeat-x bottom center;
  background-size: contain;
  display: block;
  opacity: 1;
  position:relative;
  bottom: 0px;
  right: 0;
  left: 0;
  height: 120px !important;
  z-index: -1;
}

@media only screen and (max-width: 480px) {
  .pleca-remate {
    height: 60px !important;
  }
}

.remate .post-grid {
  height: 220px !important;
  background: none !important;
  margin-bottom: 130px;
}

.grid-wrapper {
  /* position: relative; */
  width: 100vw;
  height: fit-content;
  /* padding-top: 25%; */
  margin: 0 auto;
  
}

.post-grid {
  /* position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0; */
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  -ms-grid-rows: auto;
  grid-template-rows: auto;
  grid-column-gap: 0.3rem;
  grid-row-gap: 0.3rem;
  width: 100%;
  /* height: auto; */
  grid-auto-flow: row;
}

.post-grid__item {
  /* position: relative; */
  overflow: hidden;
  height: fit-content;
  /* min-height: 250px; */
}

.post-grid__item.show-on-scroll {
  opacity: 0;
  transform: translateY(6rem) scale(0.7);
  transition: transform 4s 0.25s cubic-bezier(0, 1, 0.3, 1),
    opacity 0.3s 0.25s ease-out;
}

.post-grid__item.is-visible {
  opacity: 1;
  transform: translateY(0rem) scale(1);
}


#p02 .post-grid__item:nth-child(3),
#p03 .post-grid__item:nth-child(3),
#p04 .post-grid__item:nth-child(3),
#p04 .post-grid__item:nth-child(6) {
  grid-column: 3 / span 2;
}



.hab .post-grid,
.salon .post-grid {
  grid-column-gap: 1.5rem;
  grid-row-gap: 0.2rem;
  -ms-grid-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  height: fit-content;
  grid-auto-flow: row;
}

.hab .post-grid img,
.salon .post-grid img {
  width: 100%;
}

.hab .post-grid .bubble,
.salon .post-grid .bubble {
  margin-top: 15px !important;
  color: var(--bgColor2);
  font-family: var(--primaryFont);
  height: auto;
  padding: 0 0 0 15px;
}

.grid-wrapper.hab {
  min-height: 620px;
  height: calc(315px * 3);
  width: 100%;
}

.hab .post-grid .post-grid__item,
.salon .post-grid .post-grid__item {
  height: fit-content;
}

.hab .post-grid__item h3,
.salon .post-grid__item h3 {
  font-weight: 500;
  text-transform: none;
}

.info p {
  font-family: var(--primaryFont);
  text-transform: none;
  margin-top: 2px;
  font-size: 0.9rem;
  margin-bottom: 50px;
}

.hab p,
.salon p {
  font-family: var(--primaryFont);
  text-transform: none;
  margin-top: 2px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

#p01 h1 {
  margin-bottom: 5px;
}

.post-grid__item a:hover {
  font-weight: 300;
}

form .col {
  padding: 0px;
  margin-left: 0px !important;
  margin-right: 15px;
}

input {
  padding: 5px 8px;
  min-width: 100%;
  margin-bottom: 15px;
}

.cabeza {
  margin: 40px auto 10px;
}

.cabeza .col {
 
}

.cabeza .col .col {
  padding: 0px;
  margin: 0px;
}

.navbar{
  padding-left: 22px;
}

#myBtn {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Fixed/sticky position */
  bottom: 20px;
  /* Place the button at the bottom of the page */
  right: 30px;
  /* Place the button 30px from the right */
  z-index: 99;
  /* Make sure it does not overlap */
  border: none;
  /* Remove borders */
  outline: none;
  /* Remove outline */
  background-color: var(--bgColor2);
  /* Set a background color */
  color: white;
  /* Text color */
  cursor: pointer;
  /* Add a mouse pointer on hover */
  padding: 15px;
  /* Some padding */
  border-radius: 10px;
  /* Rounded corners */
  font-size: 18px;
  /* Increase font size */
}

#bcBtn {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Fixed/sticky position */
  bottom: 20px;
  /* Place the button at the bottom of the page */
  right: 90px;
  /* Place the button 30px from the right */
  z-index: 99;
  /* Make sure it does not overlap */
  border: none;
  /* Remove borders */
  outline: none;
  /* Remove outline */
  background-color: var(--bgAcento);
  /* Set a background color */
  color: white;
  /* Text color */
  cursor: pointer;
  /* Add a mouse pointer on hover */
  padding: 15px;
  /* Some padding */
  border-radius: 10px;
  /* Rounded corners */
  font-size: 18px;
  /* Increase font size */
}

#myBtn:hover, #bcBtn:hover {
  background-color: #555;
  /* Add a dark-grey background on hover */
}
