@font-face {
  font-family: "Asap Condensed";
  font-style: normal;
  font-weight: 600;
  src: url(/assets/fonts/asap-condensed-latin-600-normal.woff2) format("woff2"), url(/assets/fonts/asap-condensed-latin-600-normal.woff) format("woff");
}
/*
 * Merged MVP.css and custom styles for Avo Coffee
 * MVP.css v1.17.2 - https://github.com/andybrewer/mvp
 * Custom adaptations for Avo Coffee website
 */
/* Variables */
html {
  scroll-behavior: smooth;
  font-size: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background: #fdf8d8;
  color: #283a06;
  font-family: system-ui, sans-serif;
  line-height: 1.5;
  margin: 0;
  overflow-x: hidden;
  padding: 0 1rem;
  font-size: 1.1rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Asap Condensed", sans-serif;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-wrap: balance;
}

h1,
h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeIn 0.8s ease-in forwards;
}
h1::after,
h2::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #c63c20 0%, rgb(230.2347826087, 123.4347826087, 101.7652173913) 30%, #c63c20 70%, rgb(154.0956521739, 46.6956521739, 24.9043478261) 100%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transform: scaleX(0);
  transform-origin: left;
  animation: expandFromLeft 0.8s ease-out 0.4s forwards;
}

h1 {
  font-size: 2.2rem;
  max-width: 100%;
}
h1::after {
  height: 4px;
  border-radius: 4px;
}

h2 {
  font-size: 1.8rem;
}
h2::after {
  height: 2px;
  border-radius: 2px;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes expandFromLeft {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}
@keyframes expandFromTop {
  0% {
    transform: scaleY(0);
  }
  100% {
    transform: scaleY(1);
  }
}
/* Respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
  h1,
  h2 {
    opacity: 1;
    animation: none;
  }
  h1::after,
  h2::after {
    transform: none;
    animation: none;
  }
  blockquote {
    opacity: 1;
    animation: none;
  }
  blockquote::before {
    transform: none;
    animation: none;
  }
  nav ul li {
    opacity: 1;
    animation: none;
    transform: none;
  }
  nav ul li a {
    transform: none;
    animation: none;
  }
}
h3 {
  font-size: 1.5rem;
}

p {
  margin: 0.75rem 0;
  padding: 0;
  width: 100%;
}

a {
  color: #c63c20;
  font-weight: bold;
  text-decoration: underline;
}
a:hover, a:active {
  filter: brightness(0.85);
}

code,
samp {
  background-color: rgba(198, 60, 32, 0.1);
  border-radius: 4px;
  color: #283a06;
  display: inline-block;
  margin: 0 0.1rem;
  padding: 0 0.5rem;
}

/* Layout */
footer,
header,
main {
  margin: 0 auto;
  max-width: 1200px;
  padding: 2rem 1rem;
}

header {
  text-align: center;
  padding: 2rem 0 1rem;
  border-bottom: 1px solid #f5f0d0;
}
header a.logo img {
  width: 300px;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
}
header a.logo:hover, header a.logo:active {
  filter: none;
}
header p {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}
header h1 {
  font-size: 2.2rem;
  margin: 0.5rem 0;
}
header address {
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

#just-eat {
  font-variant: small-caps;
  text-align: center;
  font-size: smaller;
}

main {
  padding-top: 0;
}
main p,
main ul,
main h3,
main h4 {
  opacity: 0;
  animation: fadeIn 0.8s ease-in forwards;
}
.home main img {
  display: block;
  max-width: 60%;
  margin: 1rem auto 2rem;
  box-shadow: 0 0 0 #c63c20;
  transition: all 0.3s linear;
  border: 2px solid white;
  box-shadow: 4px 4px 0 #283a06;
}
.contact main img {
  display: inline-block;
  max-width: 1.5rem;
  aspect-ratio: 1;
  padding: 0;
  margin: 0 0.5rem 0 0;
}
.contact main ul {
  list-style-type: none;
}
.contact main ul li {
  display: flex;
  align-items: center;
}
main p {
  text-wrap: pretty;
}

hr {
  background-color: #f5f0d0;
  border: none;
  height: 2px;
  margin: 3rem 0;
  width: 100%;
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
}

section {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 2rem;
  width: 100%;
}
section#hero {
  text-align: center;
  padding: 2rem 0;
  justify-content: center;
  flex-direction: column;
}
section#hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-wrap: balance;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
section#hero p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  text-wrap: balance;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
section#about-summary {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
section#about-summary div {
  flex: 1;
  min-width: 280px;
}
section#about-summary p {
  text-wrap: balance;
}
section#about-summary .home-intro h2,
section#about-summary .home-menu h2 {
  margin-top: 0;
}
section#about-summary .home-intro ul,
section#about-summary .home-menu ul {
  margin-left: 1.5rem;
}
section#latest-news div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
  margin: 1rem 0;
}
section#latest-news div p {
  text-wrap: balance;
}
section#latest-news div article {
  flex: 1;
  min-width: 280px;
}
section#latest-news div article h3 {
  margin-top: 0;
}
section#visit-us {
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
section#visit-us h2 {
  margin: 0 auto 1rem;
}
section#visit-us address {
  margin: 1rem auto;
}
section pre {
  overflow: auto;
}
section aside {
  border: 1px solid #f5f0d0;
  border-radius: 4px;
  box-shadow: 2px 2px 8px #e6ddb3;
  margin: 1rem;
  padding: 1.25rem;
  width: 285px;
}
section aside:hover {
  box-shadow: 2px 2px 8px #f5f0d0;
}

.contact iframe {
  aspect-ratio: 16/9;
  display: block;
  width: 100%;
  margin: 1rem 0 2rem;
}
@media (min-width: 900px) {
  .contact main {
    display: flex;
    gap: 1rem;
  }
  .contact main .right {
    width: 335px;
  }
}

article {
  width: 100%;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f5f0d0;
}
article:last-child {
  border-bottom: none;
}
article img {
  max-width: 100%;
}
article aside {
  background: rgba(198, 60, 32, 0.1);
  border-left: 4px solid #c63c20;
  padding: 0.01rem 0.8rem;
}

footer {
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #f5f0d0;
  margin-top: 2rem;
}
footer div {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

[hidden] {
  display: none;
}

/* Navigation */
nav {
  align-items: center;
  display: flex;
  font-weight: bold;
  justify-content: center;
  margin: 0.5rem 0 2rem;
  padding: 0.75rem 0;
  background-color: #fdf8d8;
}
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
nav ul li {
  display: inline-block;
  margin: 0;
  position: relative;
  text-align: center;
  opacity: 0;
  animation: slideUp 0.5s ease-out forwards;
}
nav ul li:nth-child(1) {
  animation-delay: 0.1s;
}
nav ul li:nth-child(2) {
  animation-delay: 0.2s;
}
nav ul li:nth-child(3) {
  animation-delay: 0.3s;
}
nav ul li:nth-child(4) {
  animation-delay: 0.4s;
}
nav ul li:nth-child(5) {
  animation-delay: 0.5s;
}
nav ul li:nth-child(6) {
  animation-delay: 0.6s;
}
nav ul li a {
  display: block;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  color: #283a06;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  transform: translateY(20px);
  animation: navSlideIn 0.4s ease-out forwards;
  animation-delay: inherit;
}
nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0.5rem;
  right: 0.5rem;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background-color: #283a06;
  opacity: 0.3;
}
nav ul li a:hover {
  background-color: rgba(198, 60, 32, 0.05);
}
nav ul li a:hover::after {
  opacity: 1;
  background-color: #c63c20;
}
nav ul li a:active {
  background-color: rgba(198, 60, 32, 0.1);
}
nav ul li a:active::after {
  opacity: 1;
  background-color: #c63c20;
}
nav ul li a[aria-current=page] {
  color: #c63c20;
  font-weight: 700;
  background-color: rgba(198, 60, 32, 0.08);
}
nav ul li a[aria-current=page]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0.5rem;
  right: 0.5rem;
  height: 3px;
  background-color: #c63c20;
  border-radius: 2px 2px 0 0;
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes navSlideIn {
  0% {
    transform: translateY(20px);
  }
  100% {
    transform: translateY(0);
  }
}
/* Lists */
ol li,
ul li {
  padding: 0.2rem 0;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
}

figure {
  margin: 0;
  padding: 0;
}
figure img {
  max-width: 100%;
}
figure figcaption {
  color: #5a7013;
}

/* Forms */
button,
input[type=submit] {
  background-color: #c63c20;
  border: 2px solid #c63c20;
  border-radius: 4px;
  color: #fdf8d8;
  cursor: pointer;
  display: inline-block;
  font-size: medium;
  font-weight: bold;
  line-height: 1.5;
  margin: 0.5rem 0;
  padding: 1rem 2rem;
}
button:hover,
input[type=submit]:hover {
  filter: brightness(1.2);
}
button:active,
input[type=submit]:active {
  filter: brightness(0.85);
}
button:disabled,
input[type=submit]:disabled {
  background: #f5f0d0;
  border-color: #f5f0d0;
  color: #5a7013;
  cursor: not-allowed;
}
button:disabled:hover,
input[type=submit]:disabled:hover {
  filter: none;
}

form {
  background: white;
  border: 1px solid #f5f0d0;
  border-radius: 4px;
  box-shadow: 2px 2px 8px #e6ddb3;
  display: block;
  max-width: 800px;
  min-width: 285px;
  padding: 1.5rem;
  text-align: left;
  margin: 1rem auto;
}
form header {
  font-family: "Asap Condensed", display;
  font-size: 1.2rem;
  margin: 0;
  border: 0;
  padding: 1rem 0;
}

input,
label,
select,
textarea {
  display: block;
  font-size: inherit;
  max-width: 800px;
}

input[type=checkbox],
input[type=radio] {
  display: inline-block;
}
input[type=checkbox] + label,
input[type=radio] + label {
  display: inline-block;
  font-weight: normal;
  position: relative;
  top: 1px;
}

input,
select,
textarea {
  border: 1px solid #f5f0d0;
  border-radius: 4px;
  margin-bottom: 1rem;
  padding: 0.4rem 0.8rem;
}

input[type=text],
input[type=password],
input[type=email],
textarea {
  width: calc(100% - 1.6rem);
}

input[readonly],
textarea[readonly] {
  background-color: #f5f0d0;
}

label {
  font-weight: bold;
  margin-bottom: 0.2rem;
}

/* Address */
address {
  font-style: normal;
  margin-bottom: 1rem;
}

/* Blockquote */
blockquote {
  position: relative;
  display: block;
  font-size: 1.3rem;
  line-height: 1.5;
  font-style: italic;
  margin: 1.5rem 0;
  padding: 0.5rem 1rem 0.5rem 2rem;
  opacity: 0;
  animation: fadeIn 0.8s ease-in forwards;
}
blockquote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(180deg, #c63c20 0%, rgb(230.2347826087, 123.4347826087, 101.7652173913) 30%, #c63c20 70%, rgb(154.0956521739, 46.6956521739, 24.9043478261) 100%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transform: scaleY(0);
  transform-origin: top;
  animation: expandFromTop 0.8s ease-out 0.4s forwards;
  border-radius: 2px;
}
blockquote a {
  color: #5a7013;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0.5rem 0 0.5rem 1rem;
}

/* Tables */
table {
  border: 1px solid #f5f0d0;
  border-radius: 4px;
  border-spacing: 0;
  display: inline-block;
  max-width: 100%;
  overflow-x: auto;
  padding: 0;
  white-space: nowrap;
}
table td,
table th,
table tr {
  padding: 0.4rem 0.8rem;
  text-align: center;
}
table thead {
  background-color: #c63c20;
  border-collapse: collapse;
  border-radius: 4px;
  color: #fdf8d8;
  margin: 0;
  padding: 0;
}
table thead th:first-child {
  border-top-left-radius: 4px;
}
table thead th:last-child {
  border-top-right-radius: 4px;
}
table tr:nth-child(even) {
  background-color: rgba(198, 60, 32, 0.1);
}

/* Scrollbars */
* {
  scrollbar-width: thin;
  scrollbar-color: #a3b061 transparent;
}
*::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
*::-webkit-scrollbar-track {
  background: transparent;
}
*::-webkit-scrollbar-thumb {
  background-color: #a3b061;
  border-radius: 10px;
}

/* Other elements */
small {
  color: #5a7013;
}

mark {
  padding: 0.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    font-size: 1rem;
    padding: 0 0.75rem;
  }
  h1 {
    font-size: 1.8rem;
  }
  h1::after {
    height: 3px;
  }
  h2 {
    font-size: 1.5rem;
  }
  h2::after {
    height: 2px;
  }
  h3 {
    font-size: 1.3rem;
  }
  header {
    padding: 1.5rem 0 1rem;
  }
  header h1 {
    font-size: 1.7rem;
  }
  header p {
    font-size: 1rem;
  }
  header img {
    max-width: 150px;
  }
  main {
    padding: 1rem 0;
  }
  section#hero h1 {
    font-size: 1.9rem;
  }
  section#hero p {
    font-size: 1.1rem;
  }
  section#about-summary, section#latest-news div {
    flex-direction: column;
    gap: 1.5rem;
  }
  section#about-summary .home-intro,
  section#about-summary .home-menu, section#latest-news div .home-intro,
  section#latest-news div .home-menu {
    width: 100%;
  }
  hr {
    margin: 2rem auto;
    max-width: 80%;
  }
  nav {
    flex-wrap: wrap;
    margin: 0.25rem 0 1.5rem;
    position: sticky;
    padding: 0;
    top: 0;
    left: 0;
    right: 0;
    background: #fdf8d8;
    z-index: 2;
  }
  nav ul {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0.5rem;
  }
  nav ul li {
    width: auto;
    animation: none;
    opacity: 1;
    transform: translateY(0);
  }
  nav ul li a {
    padding: 0.4rem;
    margin: 0;
    min-width: 6rem;
    animation: none;
    transform: translateY(0);
  }
  nav ul li a[aria-current=page]::after {
    height: 2px;
    left: 0.3rem;
    right: 0.3rem;
  }
}