/*------------------------------------*\
  #ROOT
\*------------------------------------*/
:root {
  --color-primary: #1e1f1c;
  --color-secondary: #ffffff;
  --color-bg: #f5f5f5;
  --spacing-page: 5vw;
  --spacing-section: 3em;
  --spacing-landmark: 1.5em;
  --max-width: 144rem;
  --font-primary: 'Roboto Condensed', sans-serif;
  --font-secondary: 'Bebas Neue', sans-serif;
  --border: .2rem solid var(--color-primary);
  --btn-icon--size: 4.4rem;
  --box-shadow: 0 .6rem 1.2rem rgba(0,0,0,.1);
}

html {
  box-sizing: border-box;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-size: 68.5%;
  background-color: var(--color-secondary);
  color: var(--color-primary);
}

*,
*::after,
*::before {
  box-sizing: inherit;
}


body {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 1.6rem;
  line-height: 1.75;
}

.page > * {
  flex-shrink: 0;
}

.page__header {
  background-color: var(--color-primary);
  color: var(--color-secondary);
  margin-bottom: calc(var(--spacing-landmark) * 2);
}

.page__header .page__header__inner {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.menu--main {
  transform: translateY(.5rem);
}

.menu--main .menu {
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-secondary);
  font-size: 1.2em;
  transform: translateY(-.25rem);
  line-height: 1.1;
}

.menu--main .menu a {
  text-decoration: none;
  transition: .2s all ease-in-out;
}

.menu--main .menu a:hover {
  text-decoration: underline;
}

.btn--menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--btn-icon--size);
  height: var(--btn-icon--size);
  border: none;
  touch-action: manipulation;
  border-radius: 0px;
  user-select: none;
  background-color: transparent;
  padding: 0;
  color: var(--color-secondary);
}

.page__main {
  margin-bottom: auto;
}

.page__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: calc(var(--spacing-landmark) * 3.5);
}

.page__footer .img--swan {
  width: 6em;
}

.page__footer .page__footer__inner {
  width: 100%;
  border-top: var(--border);
}

.page__footer .page__footer__inner .page__footer__top {
  padding: 1rem 0;
  align-items: center;
  background-color: var(--color-primary);
  color: var(--color-secondary);
}

.page__footer .page__footer__inner .page__footer__bottom {
  text-align: center;
  padding: 1rem 0;
  font-size: 75%;
}

h1, h2, h3 {
  font-family: var(--font-secondary);
  margin: 0;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: 3em;
  margin-bottom: .2em;
}

h2 {
  font-size: 2em;
  margin-bottom: .5em;
}

h3 {
  font-size: 1.5em;
  margin-bottom: .25em;
}

a {
  color: currentColor;
  text-underline-offset: .2em;
  transition: .2s all ease-in-out;
}

a:hover,
a:focus {
  text-decoration-thickness: .125em;
}

svg {
  fill: currentColor;
}

p {
  padding: 0;
  margin: 0;
}

.text--large {
  font-size: 1.2em;
}

/*header*/
.skip-link {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem 0;
}

.skip-link:focus {
  outline-offset: -.2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

/*Main*/
section + section {
  margin-top: var(--spacing-section);
}

.section--with-visual {
  display: flex;
}

.section--beers {
  background-color: var(--color-bg);
  padding: var(--spacing-section) 0;
}

.section--with-visual .textual .textual__inner {
  background-color: var(--color-secondary);
}

.section--with-visual .page-title {
  display: flex;
  flex-wrap: wrap;
  column-gap: .25em;
}

.section--with-visual .visual {
  display: flex;
  order: -1;
}

.section--with-visual .visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


address {
  margin: 0;
}

dl {
  margin: 0;
}

dl dd {
  padding: 0;
  margin: 0;
}

.address {
  display: flex;
  justify-content: center;
  font-style: normal;
  flex-wrap: wrap;
  column-gap: 1.5rem;
  row-gap: .5rem;
}

.address__item {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3rem;
}

.address__item .address__item__dd {
  display: inline-flex;
  gap: .5rem;
}


/*Animations*/
@keyframes outline-animation {
  0% {
    outline-offset: .5em;
  }

  100% {
    outline-offset: 0.2rem;
  }
}


/*Focus styles*/
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:not([tabindex="-1"]):focus {
  outline: 0.2rem solid currentColor;
  animation-fill-mode: forwards;
  animation: outline-animation .1s linear;
  outline-offset: 0.2rem;
}

[tabindex="-1"]:focus {
  outline: 0;
}

*:focus:not(:focus-visible) {
  outline: 0;
}

/*Helpers*/
.grid-container {
  position: relative;
  width: calc(100% - (var(--spacing-page) * 2));
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.max-width {
  max-width: calc(var(--max-width) / 2);
  margin-left: auto;
  margin-right: auto;
}

.visually-hidden {
  position: absolute !important;
  height: 0px;
  width: 0px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.visually-hidden.focusable:focus {
  position: static !important;
  clip: auto;
  height: auto;
  width: auto;
  overflow: auto;
  white-space: normal;
}

.list--stripped {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list--stripped > li:before {
  content: "\200B";
  position: absolute;
}

.font--bebas {
  font-family: var(--font-secondary);
}

.full-click {
  position: relative;
}

.full-click__trigger {
  text-decoration: none;
}

.full-click__trigger:hover {
  text-decoration: underline;
}

.full-click__trigger:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.list--flexed {
  display: flex;
  flex-wrap: wrap;
  margin: -1.5rem;
}

.list--flexed > * {
  display: flex;
  padding: 1.5rem;
}

.list--col-2 > * {
  width: 100%;
}

.btn--primary {
  display: inline-block;
  padding: .85em 1em;
  font-family: var(--font-secondary);
  background-color: var(--color-primary);
  color: var(--color-secondary);
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  transition: .2s all ease-in-out;
}

.btn--primary:hover {
  background-color: #000;
}

.btn--primary:focus {
  outline-offset: -.5rem;
}

.list--with-photos img {
  width: 100%;
  max-height: 40rem;
  object-fit: cover;
}

section .section__inner {
  display: flex;
  flex-direction: column;
}

section .actions {
  margin-top: 3em;
  align-self: center;
}

/*Beers*/
.beer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.beer > .beer__textual {
  width: 75%;
}


/*****************************/
/* BREAKPOINT MAX-WIDTH 479.*/
/****************************/
@media screen and (max-width: 479px) {
  h1 {
    font-size: 2.4em;
  }

  .section--with-visual .visual img {
    max-height: 25rem;
  }

  .beer {
    flex-wrap: wrap;
  }

  .beer > .beer__textual {
    width: 100%;
  }
}

/*****************************/
/* BREAKPOINT MAX-WIDTH 767.*/
/****************************/
@media screen and (max-width: 767px) {
  body {
    font-size: 1.395rem;
  }

  h2 {
    font-size: 2em;
    margin-bottom: .5em;
  }

  h3 {
    font-size: 1.5em;
    margin-bottom: .25em;
  }

  .page__header .page__header__inner {
    padding: 1rem 0;
    gap: .5rem;
  }

  .site-logo img {
    height: 40px;
  }

  .section--with-visual .visual img {
    max-height: 38rem;
  }

  .list--col-3 > * {
    width: 100%;
  }

  .list--col-4 > * {
    width: 100%;
  }

  .menu--main {
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateY(100%);
    z-index: 1;
  }

  @keyframes slide-in {
    from {
      transform: translateX(-50%);
    }

    to {
      transform: translateX(0);
    }
  }

  .menu--main .menu {
    flex-direction: column;
    width: 100vw;
    gap: 1.5rem;
    padding: 1rem 0 2rem 0;
    margin-left: calc(var(--spacing-page) * -1);
    margin-right: calc(var(--spacing-page) * -1);
    background-color: var(--color-primary);
    animation: hide 350ms;
  }

  .menu--main .menu > li {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 var(--spacing-page);
    animation: slide-in 350ms;
  }

  .menu--main.open .menu > li {
    transform: translateX(0);
  }

  .menu--main:not(.open) {
    display: none;
  }
}

/*****************************/
/* BREAKPOINT MIN-WIDTH 768.*/
/****************************/
@media screen and (min-width: 768px) {
  .list--col-3 > * {
    width: calc(100% / 3);
  }

  .btn--menu {
    display: none;
  }
}

/*****************************/
/* BREAKPOINT MIN-WIDTH 768.*/
/* AND MAX-WIDTH 1199       */
/****************************/
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .list--col-4 > * {
    width: 50%;
  }
}

/*****************************/
/* BREAKPOINT MAX-WIDTH 1023.*/
/****************************/
@media screen and (max-width: 1023px) {
  .page__header {
    margin-bottom: 0;
  }

  .section--with-visual {
    flex-direction: column;
    gap: 3rem;
  }

  .section--with-visual > * {
    width: 100%;
  }

  .section--with-visual .visual img {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    max-height: 50rem;
    outline-offset: -1.5rem;
  }
}

/*****************************/
/* BREAKPOINT MIN-WIDTH 1024.*/
/****************************/
@media screen and (min-width: 1024px) {
  .section--with-visual .textual {
    align-self: center;
    padding: 3rem 0;
    width: calc(50% + 5rem);
    margin-left: -5rem;
  }

  .section--with-visual .textual .textual__inner {
    padding: 5rem 0 5rem 5rem;
  }

  .section--with-visual .visual {
    margin-right: -20rem;
    width: calc(50% + 20rem);
  }

  .section--with-visual .visual img {
    outline-offset: -2rem;
  }
}

/*****************************/
/* BREAKPOINT MIN-WIDTH 1200.*/
/****************************/
@media screen and (min-width: 1200px) {
  .list--col-2 > * {
    width: 50%;
  }

  .list--col-4 > * {
    width: 25%;
  }
}
