@import url("https://fonts.googleapis.com/css2?family=Lobster&display=swap");

:root {
  /* Colors */
  --background-color: hsl(0, 0%, 6%);
  --header-color: LawnGreen;
  --subheader-color: yellow;
  --secondary-text-color: rgb(251, 175, 94);
  --link-color: indianred;
  --link-hover-color: DodgerBlue;
  --list-color: WhiteSmoke;
  --text-color: azure;
  --gray: WhiteSmoke;
  --button: green;
  --green: green;

  /* Font Sizes */
  --font-size-large: 2.75rem;
  --font-size-medium: 1.75rem;
  --font-size-small: 1rem;
  --font-size-base: 1.25rem;

  /* Line Heights */
  --line-height-base: 2rem;

  /* Margins */
  --margin-small: 0.5em;
  --margin-medium: 1em;
  --margin-large: 4em;

  /* Paddings */
  --padding-base: 1em;
}

/* GLOBAL STYLES */
* {
  /* margin: 0 auto; */
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--background-color);
  padding: var(--padding-base);
  /* font-family: Georgia, "Times New Roman", Times, serif; */
  font-family: Arial, Helvetica, sans-serif;
}

p {
  color: var(--text-color);
  font-size: var(--font-size-base);
  margin-bottom: var(--margin-medium);
  line-height: var(--line-height-base);
  margin-left: 0;
  max-width: 60ch;
}

hr {
  margin: var(--margin-medium) 0;
}

/* "LOGO Text" */
h1 a {
  font-size: var(--font-size-large);
  color: var(--header-color);
  text-decoration: none;
}

@media (max-width: 480px) {
  h1 a {
    font-size: calc(var(--font-size-large) * 0.8); /* Further adjust for small screens */
  }
}

/* HEADINGS */
h1 {
  font-size: var(--font-size-large);
  color: var(--header-color);
}

h2 {
  font-size: var(--font-size-medium);
  color: var(--subheader-color);
  margin: var(--margin-medium) 0;
}

h2 a:hover .section-hashtag {
  text-decoration: underline;
}
h3 {
  margin: var(--margin-medium) 0;
  color: var(--secondary-text-color);
}

h4 {
  color: var(--text-color);
}

h6 {
  color: var(--secondary-text-color);
  font-size: var(--font-size-small);
  font-weight: 100;
}

/* LINKS */
a {
  /* color: var(--link-color); */
  color: var(--link-color);
}

a:hover {
  color: var(--link-hover-color);
}

section a {
  color: var(--subheader-color);
  text-decoration: none;
}

/* LISTS */
ol,
ul {
  color: var(--list-color);
  padding: 0 var(--padding-base);
}

ol li,
ul li {
  margin-bottom: var(--margin-small);
  max-width: 60ch;
  margin: var(--margin-small) 0;
}

section > ul li {
  font-size: var(--font-size-base);
  margin-bottom: var(--margin-medium);
}

section ol,
ul {
  font-size: var(--font-size-base);
  margin: var(--margin-medium);
  line-height: var(--line-height-base);
}

/* SECTIONS */
section {
  margin: var(--margin-large) 0;
}

/* HEADER */
header img {
  display: inline-block;
  vertical-align: middle;
}

header h1 {
  display: inline-block;
  vertical-align: middle;
  margin-left: var(--margin-small);
}

/* IMAGES */
img {
  width: 100px;
  height: 100%;
}

figure > img,
video {
  width: 300px;
  height: auto;
}

figure {
  display: inline-block;
}

figcaption {
  color: var(--text-color);
  width: 300px;
  margin: var(--margin-medium) 0;
}

/* MISC */
code {
  color: var(--gray);
  margin: var(--margin-medium);
  display: block;
}

.section-hashtag {
  color: var(--gray);
  margin-right: var(--margin-small);
}
section > hr {
  max-width: 75ch;
}
form {
  color: var(--text-color);
}

textarea {
  min-width: 300px;
  min-height: 100px;
  max-width: 70ch;
  max-height: 500px;
  padding: var(--margin-small);
}

label {
  display: block;
  margin-bottom: var(--margin-medium);
  margin-top: var(--margin-medium);
}
input {
  min-width: 300px;
  padding: var(--margin-small);
}

input[type="submit"] {
  margin-top: var(--margin-small);
  background-color: var(--button);
  cursor: pointer;
  color: var(--text-color);
  border: none;
  font-size: var(--font-size-small);
}

/* BREADCRUMBS */
.breadcrumb a {
  color: var(--green);
  text-decoration: none;
  font-size: var(--font-size-small);
}

.breadcrumb a:hover {
  color: var(--link-hover-color);
  text-decoration: underline;
}

.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  /* padding: 0 1em; */
  /* margin: 0; */
  /* border: 2px dashed var(--green); */
  margin: 0;
  padding: 0;
  border-radius: 4px;
}

.breadcrumb li + li:before {
  content: ">";
  padding: 0 10px;
  color: var(--green);
}

.active {
  color: var(--secondary-text-color) !important;
}

.rainbow {
  background: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet, red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 300%;
  animation: rainbow-animation 6s linear infinite;
}

@keyframes rainbow-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.date {
  color: var(--text-color);
  margin-bottom: var(--margin-small);
  display: block;
}

figcaption a {
  color: var(--secondary-text-color);
}

blockquote {
  padding: 1em;
  margin: 2rem 0;
  font-size: 1em;
  line-height: 1.5;
  background: #000;
  color: var(--header-color);
  font-family: "Courier New", Courier, monospace;
  border-left: 5px solid var(--header-color);
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  position: relative;
}

blockquote:before {
  content: "> ";
  color: var(--header-color);
}

blockquote:after {
  content: " _";
  color: var(--header-color);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  from,
  to {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@keyframes shimmer {
  0% {
    background-position: -300%;
  }
  100% {
    background-position: 300%;
  }
}

@keyframes jitter {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(1px, -1px);
  }
  50% {
    transform: translate(-1px, 1px);
  }
  75% {
    transform: translate(1px, 1px);
  }
}

.cold-effect {
  display: inline-block;
  background: linear-gradient(to right, #00f, #0ff, #00f);
  background-size: 200% auto;
  -webkit-background-clip: text;
  color: transparent;
  animation: shimmer 2s infinite, jitter 0.5s infinite;
}

.tasty-style {
  font-family: "Lobster", cursive;
  color: #ff6347; /* Tomato red */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  position: relative;
  display: inline-block;
  animation: wobble 2s infinite;
}

.tasty-style::after {
  content: "😋";
  position: absolute;
  top: -20px;
  right: -30px;
  font-size: 1.5em;
  animation: lick 3s infinite;
}

@keyframes wobble {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
  75% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes lick {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(15deg);
  }
  50% {
    transform: rotate(-15deg);
  }
  75% {
    transform: rotate(15deg);
  }
}

.back-to-top {
  color: var(--text-color);
  margin: 2em 0;
  display: block;
  width: max-content;
}

.back-to-top:hover {
  background-color: var(--secondary-text-color);
  color: var(--background-color);
  opacity: 1;
}

select {
  padding: var(--padding-base);
  cursor: pointer;
}

.reservation-banner {
  background-color: var(--background-color);
  border: 3px dashed var(--header-color);
  padding: var(--padding-base);
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--subheader-color);
  width: max-content;
  display: flex;
  flex-direction: column;
  align-items: left;
  align-self: left;
}

@keyframes wave {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}

.reservation-banner::before,
.reservation-banner::after {
  content: "🌟";
  position: absolute;
  font-size: 2rem;
  animation: twinkle 2s infinite;
}

.reservation-banner::before {
  top: var(--margin-small);
  left: var(--margin-small);
}

.reservation-banner::after {
  bottom: var(--margin-small);
  right: var(--margin-small);
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.intro {
  width: 100%;
  max-width: 600px;
  height: auto;
}

.archive {
  display: inline-block;
  margin: 0;
  padding: 0 5px;
}

#cursor-coordinates {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-family: monospace;
}

.responsive-img {
  width: 400px; /* Ensures the image doesn't overflow its container */
  height: auto; /* Maintains aspect ratio */
}
