/* -------------------- VARIABLES -------------------- */

:root {
  --space--xxxl: 5rem;
  --space--xxl: 3rem;
  --space--xl: 2.5rem;
  --space--l: 2rem;
  --space--m: 1rem;
  --space--s: 0.75rem;
  --space--xs: 0.5rem;

  --color--green: #3E4B48;
  --color--white: #FFFFFF;
  --color--main: #363636;
  --color--text: #939393;

  --color--border: #DCDCDC;

  --font-size--xxl: 4.625rem;
}


/* -------------------- IMPORTS -------------------- */

@font-face {
    font-family: 'glacial_indifferenceregular';
    src: url('../fonts/glacialindifference-regular-webfont.woff2') format('woff2'),
         url('../fonts/glacialindifference-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* -------------------- RESET -------------------- */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a {
  text-decoration: none;
}
* {
 box-sizing: border-box;
}

/* -------------------- STYLES -------------------- */
:root {
  font-size: 0.875rem;
}

@media screen and (min-width: 40em) {
  :root {
    font-size: 1rem;
  }
}

/* ----------- PAGE ----------- */

body.under-construction {
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

.under-construction__block {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #2A3632;
  z-index: 1000;
  overflow-y: scroll;
}

.under-construction__block__inside {
  display: flex;
  width: 100%;
  height: auto;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.under-construction__logo {
  display: block;
  width: 100%;
  max-width: 35rem;
  height: auto;
  margin-bottom: 2rem;
}

.under-construction__logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.under-construction__title {
  text-align: center;
  line-height: 1.4em;
  margin-top: 2rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #C08700;
}

.under-construction__contact {
  margin-top: 2rem;
}

.under-construction__contact p {
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.4em;
}

.under-construction__contact a {
  color: white;
}

.under-construction__socials {
  margin-top: 2rem;
}

.under-construction__socials a {
  width: 2rem;
  height: auto;
  margin: 0.25rem;
}

body {
  font-family: "glacial_indifferenceregular", sans-serif;
  font-weight: 300;
  color: var(--color--text);
  font-size: 1rem;
}

b {
  font-weight: 400;
}

/* ----------- HEADER ----------- */

header {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: calc(100vh - 3rem);
  width: 100vw;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #2A3632;
  padding: 4rem 2rem;
  transition: background 1.5s ease;
}

@media screen and (min-width: 52.5em) {
  header {
    min-height: calc(100vh - 6rem);
  }
}

.pampa-logo {
  width: 100%;
  max-width: 35rem;
}

.pampa-logo svg {
  width: 100%;
  height: auto;
}

.header__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  margin-top: 5rem;
}

.header__actions a {
  padding: 1rem 2.4rem;
  text-transform: uppercase;
  color: #865E00;
  background: #fff;
  min-width: 12.5rem;
  text-align: center;
  margin: 0 0.5rem 1rem;
  font-size: 1.375rem;
  font-weight: 600;
  transition: all .3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .header__actions a:focus,
  .header__actions a:hover {
    background: #865E00;
    color: #fff;
    transform: scale(1.03);
  }
}

.header__waves {
  position: absolute;
  bottom: 0;
  left: 0;
  overflow: hidden;
  width: 100vw;
}

.header__waves svg {
  display: block;
  margin-bottom: -2px;
}

@media screen and (min-width: 90em) {
  .header__waves svg {
    width: 100%;
    height: auto;
  }
}

/* ----------- TOPBAR ----------- */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1000;
  transition: background 0.5s ease-out;
}

.topbar.scrolled {
  background: #865e004d;
  backdrop-filter: blur(5px);
}

.topbar__content {
  position: relative;
  padding: 1rem;
  display: flex;
  align-items: top;
  justify-content: flex-end;
}

.topbar__content a {
  position: relative;
  z-index: 1010;
  margin-right: 0.5rem;
}

.topbar__content a:first-child {
  margin-right: auto;
}

.topbar__content a:last-child {
  margin-right: 0;
}

.topbar__alert {
  text-align: center;
  font-weight: 400;
  background-color: #865E00;
  color: #fff;
  padding: 0.875rem 2rem;
}

/* ----------- NAV ----------- */

nav {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 400;
  width: 25rem;
  max-width: 100vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  background-color: #2A3632;
  padding:0;
  margin-top: 3.4rem;
  border-radius: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-out;
}

nav.visible {
  opacity: 1;
  pointer-events: all;
}

nav a {
  display: block;
  width: 100%;
  color: #FFF;
  margin: 0;
  padding: 1.2rem;
  font-size: 1.5rem;
  line-height: 1.2em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color .2s ease;
  border-bottom: 1px solid #53605c;
  text-align: center;
}

@media (hover: hover) and (pointer: fine) {
  nav a:focus,
  nav a:hover {
    color: #C08700;
  }
}

/* ----------- SECTION ----------- */

.section {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem;
  color: #000;
  line-height: 1.3em;
}

.section--two-columns {
  flex-direction: row;
}

.section h1,
.section h2 {
  font-family: "Yeseva One", sans-serif;
  font-weight: 400;
  font-size: 2.375rem;
  color: #865E00;
  line-height: 1.1em;
}
.section .section__subtitle {
  color: #000;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.2rem;
}
.section p {
  margin-top: 1.5rem;
  text-align: justify;
}

.section__content {
  text-align: center;
  width: 100%;
  max-width: 37.5rem;
}

.section__content p {
  line-height: 1.4em;
}

.section--concept,
.section--contact {
  color: white;
  background-color: #2A3632;
}
.section--concept h1,
.section--concept h2,
.section--contact h1,
.section--contact h2 {
  color: white;
}
.section--concept .section__subtitle,
.section--contact .section__subtitle {
  color: #C08700;
}

.section--cocktails {
  background-color: #E4DCCF;
}
.section--vins {
  background-color: #DBC8B3;
}
.section--tapas {
  background-color: #E5D5C4;
}

.section__images {
  display: block;
  position: relative;
  aspect-ratio: 8/7;
  width: 100%;
  max-width: 40rem;
  order: 2;
  margin-top: 2rem;
}

.section__image {
  position: absolute;
  display: block;
  width: 60%;
  aspect-ratio: 1/1;
  background-position: center center;
  background-size: cover;
}

.section__image--front {
  z-index: 5;
  box-shadow: 0 0.1875rem 1rem 0 rgba(0,0,0,.11);
}

.section__image--back{
  z-index: 3;
  box-shadow: 0 0.1875rem 0.5rem 0 rgba(0,0,0,.11);
}

.section__images--left .section__image--front {
  top: 0rem;
  left: 0rem;
}
.section__images--left .section__image--back {
  bottom: 0rem;
  right: 0rem;
}

.section__images--right .section__image--front {
  top: 0rem;
  right: 0rem;
}
.section__images--right .section__image--back {
  bottom: 0rem;
  left: 0rem;
}

.section--histoire {
  background: #E4DCCF;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.section__full-picture {
  display: block;
  width: 100vw;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center center;
}

.section--histoire .section__content {
  padding: 6rem 2rem;
}

@media screen and (min-width: 58.75em) {
  .section--two-columns .section__content {
    text-align: left;
    max-width: 25rem;
  }

  .section__images {
    width: calc(50% - 4rem);
    padding: 2rem;
    margin-top: 0;
    order: initial;
  }

  .section__images--left {
    margin-right: 4rem;
  }
  .section__images--right {
    margin-left: 4rem;
    order: 2;
  }

  .section__full-picture {
    width: 50vw;
    aspect-ratio: 1/1;
  }

  .section--histoire {
    justify-content: flex-start;
  }

  .section--histoire .section__content {
    text-align: left;
    max-width: 30rem;
    padding: 3rem 2rem 3rem 4rem;
  }
}


/* ----------- SLIDER ----------- */

.slider {
  position: relative;
  display: block;
  aspect-ratio: 1/1;
  background-color: #E4DCCF;
}

@media screen and (min-width: 52.5em) {
  .slider {
    aspect-ratio: 9/4;
  }
}

.slide {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
  background-size: cover;
  background-position: center center;
}


.slider__actions {
  position: absolute;
  z-index: 20;
  bottom: -2rem;
  right: 2rem;
  display: flex;
  width: 7.5rem;
  align-items: stretch;
  justify-content: space-between;
}

.slider__prev,
.slider__next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: #865E00;
  transition: all .2s ease;
}

.slider__prev svg,
.slider__next svg {
  fill: #fff;
  width: 30%;
  height: auto;
}
.slider__prev svg {
  transform: rotate(180deg);
}
.slider__prev svg g,
.slider__next svg g {
  transition: all .2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .slider__prev:focus,
  .slider__prev:hover,
  .slider__next:focus,
  .slider__next:hover {
    background: #FFF;
  }

  .slider__prev:focus svg g,
  .slider__prev:hover svg g,
  .slider__next:focus svg g,
  .slider__next:hover svg g {
    stroke: #865E00;
  }
}


.slider__waves {
  z-index: 20;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  overflow: hidden;
}

.slider__waves svg {
  display: block;
  margin-top: -2px;
}

@media screen and (min-width: 90em) {
  .slider__waves svg {
    width: 100%;
    height: auto;
  }
}

/* ----------- BUTTON ----------- */

.button {
  display: inline-block;
  padding: 1rem 2.4rem;
  text-transform: uppercase;
  background-color: #865E00;
  color: #fff;
  min-width: 12.5rem;
  text-align: center;
  margin: 0 0.5rem 1rem;
  font-weight: 600;
  font-size: 1.375rem;
  margin-top: 2rem;
  transition: all .3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .button:focus {
    transform: scale(1.03);
    background-color: #2A3632
  }
}

.section--contact a.button--light,
a.button--light {
  color: #fff;
  background-color: #C08700;
}

@media (hover: hover) and (pointer: fine) {
  .section--contact a.button--light:hover,
  .section--contact a.button--light:focus,
  a.button--light:hover,
  a.button--light:focus {
    transform: scale(1.03);
    background-color: #fff;
    color: #C08700;
  }
}


/* ----------- CONTACT ----------- */


.section--contact {
  padding-bottom: 4rem;
}

.section--contact .element {
  margin-top: 1.5rem;
  line-height: 1.4em;
  text-align: left;
}

.section--contact .element:last-child {
  margin-top: 2rem;
}


.section--contact a {
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .section--contact a:hover,
  .section--contact a:focus {
    color: #C08700;
  }
}

.openings {
  margin-top: 1.5rem
}

.section--contact .subtitle {
  text-align: left;
  color: #C08700;
}

.openings .subtitle {
  display: block;
  margin-bottom: 0.5rem;
}

/* ----------- FOOTER ----------- */

footer {
  text-align: center;
  padding: 2rem 2rem 3rem;
  background: #2A3632;
  color: #B8B8B8;
  font-size: 0.875rem;
}

.footer__socials {
  margin-bottom: 2rem;
}

.footer__socials a {
  margin: 0.25rem;
}

/* ----------- SOCIALS ----------- */

.socials {
}

.socials a svg path,
.socials a svg path {
  transition: all .3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .socials a:focus svg path,
  .socials a:hover svg path{
    fill: #C08700;
  }
}

/* ----------- ANIMATE ----------- */

.animate {
  opacity: 0;
  transition: all 1.6s ease;
}

.animate--top {
  transform: translate(0, 3rem);
}

.animate--left {
  transform: translate(2rem, 2rem);
}

.animate--right {
  transform: translate(-2rem, 2rem);
}

.animate--pure-right {
  transform: translate(-2rem, 0rem);
}

.animate.visible {
  opacity: 1;
  transform: scale(1) translate(0,0);
}

/* ----------- TEXT ----------- */

.text {
  line-height: 1.3em;
  text-align: justify;
}

.text p {
  margin-bottom: 0.75rem
}

.text p {
  margin-top: 0;
}

.text p:first-child {
  margin-top: 1.25rem;
}

.text b {
  font-weight: bold;
}

.text u {
  text-decoration: underline;
}

/* ----------- MAP ----------- */

.contact__map {
  display: block;
  width: 100%;
  padding-bottom: 68%;
  background-image: url("../images/pampa_carte.png");
  background-position: center center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-color: #2A3632;
}

@media screen and (max-width: 37.5rem) {
  .contact__map {
    background-size: 120% auto;
  }
}
