/* CSS RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 1.3rem;
  font-family: "Courier New", Courier, monospace;
  scroll-behavior: smooth;
}

img {
  display: block;
}
a {
  color: var(--TEXTCOLOR);
}

/* TOOLS */
/* .hide {
  position: absolute;
  left: 9999px;
} */

/* CSS VARIABLES */
:root {
  --BGCOLOR: #000000;
  --TEXTCOLOR: #f5f5f5;
  --FADECOLOR: #808080;
  --MAINCONTENTCOLOR: #333;
  --SHADOW: 0 0 10px var(--TEXTCOLOR);
  --MARGIN: 1rem 0 1rem 0;
}

/* GENERAL STYLING */
body {
  background-image: linear-gradient(
    to bottom,
    var(--BGCOLOR),
    var(--FADECOLOR)
  );
}

.container {
  background-color: var(--MAINCONTENTCOLOR);
  max-width: 800px;
  border-left: 1px solid var(--TEXTCOLOR);
  border-right: 1px solid var(--TEXTCOLOR);
  min-height: 100vh;
  margin: 0 auto;
  box-shadow: var(--SHADOW);
}

.header {
  display: flex;
  flex-flow: column nowrap;
  position: sticky;
  width: inherit;
  top: 0;
  z-index: 999;
}

.header__title {
  font-size: 1.8em;
  text-align: center;
  background-color: var(--BGCOLOR);
  color: var(--TEXTCOLOR);
  padding: 0.5rem;
}

.header__nav ul {
  padding: 0.1rem;
  background-color: #141414;
  list-style: none;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-evenly;
  align-items: center;
  border-bottom: 1px solid var(--TEXTCOLOR);
  box-shadow: 0 7px 5px -6px var(--TEXTCOLOR);
}

.header__nav a {
  color: var(--TEXTCOLOR);
}

.header__nav a:hover {
  color: orange;
}

.image {
  position: relative;
}

.on__image {
  font-size: 1.2rem;
  position: absolute;
  top: -100px;
  background-color: rgba(16, 154, 16, 0.611);
  padding: 0.5rem;
  margin-left: 1rem;
  transform-origin: top center;
  transition: all 1s;
  text-shadow: 1px 3px 5px var(--TEXTCOLOR);
  animation: bien 1s ease-in-out forwards;
}

@keyframes bien {
  0% {
    top: -20px;
    transform: skew(0deg, -5deg) scaleY(0);
  }

  66% {
    top: 30px;
    transform: skew(10deg, -5deg) scaleY(1.2);
  }

  100% {
    top: 20px;
    transform: skew(-10deg, -5deg) scaleY(1);
  }
}

img {
  width: 100%;
  height: auto;
}

.main {
  margin: 0.5rem;
  color: var(--TEXTCOLOR);
  padding: 0 1rem;
}

.menu {
  scroll-margin-top: 5rem;
}

.main__header {
  font-style: italic;
  margin-bottom: 0.5rem;
}

.main__table {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.main__table td,
.main__table th {
  padding: 0.7rem;
  border: 2px solid var(--TEXTCOLOR);
  text-align: center;
  font-size: 1.2em;
  font-weight: 900;
}

.tlbdr {
  border-top-left-radius: 10px;
}

.trbdr {
  border-top-right-radius: 10px;
}

.btmbdr {
  border-radius: 0 0 10px 10px;
}

.location {
  border-bottom: 1px solid var(--TEXTCOLOR);
}

.contact {
  min-height: 80vh;
}

label {
  display: block;
  margin: 0.5rem 0;
  font-weight: 800;
}

input {
  width: 100%;
  height: auto;
  padding: 0.7rem;
  border: 2px solid var(--FADECOLOR);
  border-radius: 0.8rem;
}

textarea {
  width: 100%;
  height: min(300px, 35vh);
  border: 2px solid var(--FADECOLOR);
  border-radius: 0.8rem;
  padding: 0.7rem;
}

::placeholder {
  font-size: large;
}

button {
  padding: 0.5rem;
  border: 2px solid var(--FADECOLOR);
  border-radius: 0.8rem;
  font-weight: 900;
  font-size: large;
  text-align: left;
}

.grow {
  min-height: 50vh;
}

.btt a {
  display: block;
  text-align: center;
  margin-bottom: 1rem;
}

.about .main__header, .about p, .about aside, .about h3, .menu .main__header, .menu p, .hours .main__header, .hours p, .contact .main__header, .contact p, .location .main__header, .location p {
    margin: var(--MARGIN);
}

.footer {
  position: sticky;
  bottom: 0;
  z-index: 1;
  text-align: center;
  background-color: var(--BGCOLOR);
  color: var(--TEXTCOLOR);
  padding: 0.5rem;
}
