/* Import Brandon Grotesque - Adobe Font */
@import url("https://use.typekit.net/dbt1hxu.css");

body {
	font-family: "brandon-grotesque", sans-serif;
  font-weight: 300;
  font-style: normal;
}

html {
  scroll-snap-type: y mandatory;
  font-size: 1.3rem;
}

a, a:visited {
  color: black
}

p {
  font-family: 'brandon-grotesque';
  font-weight: 300;
  font-size: 0.825rem;
}

h1, h2 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-family: "clarendon-text-pro", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.1rem; 
  text-transform: uppercase;
}

h1 { font-size: 18px }
h2 { font-size: 0.8rem; }

h3 {
  font-family: 'brandon-grotesque';
  font-weight: 300;
  font-size: 0.825rem;
  text-transform: uppercase;
}

hr {
  border: 0;
  border-top: .05rem solid #c2c1c1;
  height: .05rem;
  margin: 1rem 33% 1rem 33%;
  display: block;
  position: relative;
}

/* MARGINS */

.mt-2 { margin-top: 6px }
.mt-3 { margin-top: 12px }
.mt-4 { margin-top: 16px }
.mt-5 { margin-top: 20px }

.mb-2 { margin-bottom: 6px }
.mb-3 { margin-bottom: 12px }
.mb-4 { margin-bottom: 16px }
.mb-5 { margin-bottom: 20px }

.ms-1 { margin-left: 4px }
.ms-2 { margin-left: 8px }
.ms-3 { margin-left: 12px }
.ms-4 { margin-left: 16px }
.ms-5 { margin-left: 20px }

.me-1 { margin-right: 4px }
.me-2 { margin-right: 8px }
.me-3 { margin-right: 12px }
.me-4 { margin-right: 16px }
.me-5 { margin-right: 20px }

/* SITE Appearance */

section.section {
	position: relative;
	padding-right: 1rem;
	padding-left: 1rem;
} 

.fullheight {
  height: 100vh;
  padding: 2vh 0;
}

.fullwidth {
  width: 100vw;
}

.snap-start {
  scroll-snap-align: start;
}

.snap-end {
  scroll-snap-align: end;
}

.flex-center {
  display: grid;
  align-items: center
}

/* BUTTONS */

.btn-white {
  background-color: white;
  border-color: black;
  color: black;
}

a.btn-black {
  background-color: black;
  color: white;
}

a.btn-black:hover {
  background-color: rgb(63, 62, 62);
}

.btn-reserve {
  letter-spacing: 10%;
  text-transform: uppercase;
  font-weight: 600;
}

/* LOGO */

.logo {
  margin-bottom: 1.3rem;
}

.logo img {
  width: 27vh;
  max-width: 300px;
}

.logo_medium img {
  width: 27vh;
  max-width: 300px;
}

.linklist {
  list-style: none;
  margin-top: 4px;
}

.linklist li {
  margin-top: 0.3rem;
}

.linklist li a {
  border-bottom-color: black;
  border-bottom-style: dotted;
  border-bottom-width: 1px;
}

.linklist li a:hover {
  border-bottom-style: none;
  border-bottom-width: 0;
  text-decoration: none;
}

.weingueter h3 {
  margin-bottom: 1.4rem;
}

.weingueter p {
  font-size: 0.825rem;
}

.weingueter hr {
  margin: 0 33% .5rem 33%;
  text-align: center;
}

p.availability {
  position: absolute;
	bottom: 20px;
  font-size: 0.6rem;
	font-style: italic;
}


/* GALLERIES - Mobile */

#instagram-feed, #gallery {
  width: 100%;
  --grid-gap: 10px;
  display: grid;
  grid-template-columns: calc(50% - (var(--grid-gap)/2)) calc(50% - (var(--grid-gap)/2));
  grid-gap: var(--grid-gap)
}
#instagram-feed a img, #gallery a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left bottom;
}

#instagram-feed {
  grid-template-rows: 23vh 23vh 23vh;
}

#gallery {
  grid-template-rows: 26vh 26vh 26vh;
}

/* Expand List */

@media(max-height:550px) OR (max-width:414px) {

  .teaser_fadeout_xs::after {
    content: '\21A7';
    position: absolute;
    bottom: 0;
    left: 44%;
    font-size: 1.4rem;
    color: rgba(0,0,0,1);
    font-weight: bold;
    margin-top: -10px;
  }
  
  .teaser_fadeout_xs::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(transparent 0%, white 95%);
  }

  .teaser_fadeout_xs {
    position: relative;
    max-height: 120px;
    overflow: hidden;
  }
}

/* MEDIA QUERIES */

@media (min-width: 768px) {
  #instagram-feed, #gallery{
    --grid-gap: 24px;
    grid-template-columns: calc(33% - (var(--grid-gap)/2)) calc(33% - (var(--grid-gap)/2)) calc(33% - (var(--grid-gap)/2));
    grid-template-rows: 33vh 33vh
  }
  p { font-size: 0.9rem }
	h1 { font-size: 1.4rem }
	h2 { font-size: 1.2rem }
  .cr_form-component, .cr_ipe_item { width: 50% }
}

@media (max-height: 800px) {
  .linklist span { display: inline; margin-right: 12px}
  .logo { margin-top: 3vh }
}

@media (min-height: 801px) {
  .logo { margin-top: 5vh }
}

.fullpagePopover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  z-index: 1000;
}

button {
  cursor: pointer;
}