body {
  background-color: rgb(247, 233, 224);
  color: rgb(51, 42, 42);
  margin: 0px;
  height: 100svh;
  padding-bottom: 10px;
  overflow: hidden;
  box-sizing: border-box;
}

* {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

main {
  display: block;
  width: 100svw;
  height: 100svh;
  overflow-y: auto;
  overflow-x: hidden;
  overflow-anchor: auto;
  scroll-behavior: smooth;
}
main #top-image {
  display: block;
  position: relative;
  background: linear-gradient(transparent, black);
  height: calc(100svh - 50px);
  width: 100svw;
}
main #top-image #main-image {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
main #top-bar {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: max(40px, 10%);
  z-index: 100;
  position: sticky;
  top: 0px;
  background-color: rgb(247, 233, 224);
  width: 100svw;
  height: 55px;
  padding: 0px;
  border-bottom: 2px solid #f2dbcc;
}
main #top-bar a {
  padding: 7px 14px;
  font-size: 16px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 1000;
  text-align: center;
  text-decoration: none;
  color: rgb(247, 233, 224);
  background-color: rgb(51, 42, 42);
  border: 1px solid goldenrod;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
main #top-bar a.active {
  color: rgb(51, 42, 42);
  background-color: rgb(247, 233, 224);
  border-color: goldenrod;
}
main #top-bar a:hover {
  color: rgb(51, 42, 42);
  background-color: #f2dbcc;
  border-color: firebrick;
}
main .shade {
  content: "";
  display: block;
  position: absolute;
  pointer-events: none;
  z-index: 2;
}
main #scrollbar-shade {
  top: 0px;
  right: 13px;
  width: 5px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgb(247, 233, 224) 100%);
}
main #top-bar-shade {
  bottom: 55px;
  left: 0px;
  width: 100svw;
  height: 5px;
  background: linear-gradient(transparent, rgb(247, 233, 224) 100%);
}
main section {
  height: 400px;
  width: 100svw;
  width: calc(100svw - 15px);
}
main section .heading {
  height: 70px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}
main section .heading > * {
  padding: 0px;
  margin: 0px;
}
main section .content-block {
  height: 330px;
  padding: 10px 20px;
  box-sizing: border-box;
}
main section#portfolio {
  padding-left: 0px;
}
main section#portfolio #portfolio-list {
  display: flex;
  flex-flow: row nowrap;
  -moz-column-gap: 8px;
       column-gap: 8px;
  overflow-x: scroll;
  overflow-y: hidden;
  perspective: 1000px;
}
main section#portfolio #portfolio-list .card {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 40px 1fr;
  gap: 5px;
  width: 200px;
  min-width: 200px;
  height: 100%;
  max-height: 100%;
  padding: 10px 6px;
  border: 2px solid rgb(51, 42, 42);
  border-radius: 8px;
  box-shadow: 0.4em 0.5em 0.5em -0.4em black;
  color: rgb(32, 31, 28);
  text-decoration: none;
  box-sizing: border-box;
  transform-origin: bottom center;
  transform-style: preserve-3d;
  transition: transform 200ms;
  animation-timing-function: cubic-bezier(0.1, -0.6, 0.2, 0);
}
main section#portfolio #portfolio-list .card:hover, main section#portfolio #portfolio-list .card:focus {
  transform: scale(1.01);
}
main section#portfolio #portfolio-list .card h2, main section#portfolio #portfolio-list .card p {
  margin: 0px;
}
main section#portfolio #portfolio-list .card p {
  line-height: 1.5;
}
main section#about-me {
  background-color: rgb(246, 230, 211);
}
main section#about-me #about-me-block {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  width: max(50%, 500px);
  -moz-column-gap: 5%;
       column-gap: 5%;
  box-sizing: border-box;
}
main section#about-me #about-me-block #about-me-text {
  width: 60%;
}
main section#about-me #about-me-block #about-me-text p {
  font-size: 18px;
  line-height: 1.6;
}
main section#about-me #about-me-block #about-me-img {
  height: 100%;
  max-height: inherit;
  width: 35%;
}
main section#about-me #about-me-block #about-me-img img {
  max-height: 100%;
  max-width: 100%;
}
main section#contact {
  height: -moz-fit-content;
  height: fit-content;
}
main section#contact #contact-block {
  height: -moz-fit-content;
  height: fit-content;
}
main section#contact #contact-form {
  margin: 10px 10px;
  padding: 10px 15px;
  border: 3px solid rgb(120, 120, 171);
  border-radius: 8px;
  max-width: calc(100svw - 15px - 25px);
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  box-sizing: border-box;
}
main section#contact #contact-form .flex {
  display: block;
  flex-flow: row wrap;
}
main section#contact #contact-form .flex > div {
  margin: 20px;
}
main section#contact #contact-form h3 {
  margin: 0px 0px 3px -4px;
}
main section#contact #contact-form input,
main section#contact #contact-form textarea {
  border-radius: 4px;
  border: 2px solid rgb(51, 42, 42);
  color: rgb(32, 31, 28);
  margin: 4px 3px;
  padding: 4px 2px;
  font-size: medium;
}
main section#contact #contact-form label {
  margin: 8px 3px;
}
main section#contact #contact-form #cats {
  flex: 1;
}
main section#contact #contact-form #personal-info {
  flex: 2;
}
main section#contact #contact-form #personal-info #message-div {
  display: flex;
  flex-flow: column wrap;
  align-items: center;
}
main section#contact #contact-form #personal-info #message-div textarea {
  width: 61.8%;
  height: 200px;
  resize: none;
}
main section#contact #contact-form #food {
  flex: 1;
}
main section#contact #contact-form #order {
  flex: 2;
  padding: 4px 8px;
  border-radius: 4px;
}
main section#contact #contact-form .required::after {
  content: " *";
  color: rgb(224, 3, 3);
}
main section#contact #contact-form .centered-one-line {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}
main section#contact #contact-form .centered-one-line label {
  display: inline;
  flex: 0 0 auto;
  margin-right: 10px;
}
main section#contact #contact-form .centered-one-line > div {
  display: block;
  height: 100%;
  flex: 1 1 auto;
}
main section#contact #contact-form .force-next-to-be {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
}
main section#contact #contact-form #submit {
  text-align: center;
}
main section#contact #contact-form #submit button {
  color: rgb(32, 31, 28);
  border-radius: 8px;
  margin: 20px 0px;
  width: 80px;
  height: 35px;
}
@media only screen and (min-width: 768px) {
  main section#contact form {
    justify-self: center;
  }
}
main section#contact input:-webkit-autofill,
main section#contact input:-webkit-autofill:hover,
main section#contact input:-webkit-autofill:focus,
main section#contact input:-webkit-autofill:active {
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgb(51, 42, 42);
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
  box-shadow: inset 0 0 20px 20px #eddfd6;
}
main .center-screen {
  display: flex;
  justify-content: center;
}
@media only screen and (min-width: 769px) {
  main #about-me-block {
    display: grid;
    grid-template-columns: repeat(2, 100px);
  }
}
@media only screen and (max-width: 768px) {
  main #about-me-block {
    display: grid;
    grid-template-rows: repeat(2, 100px);
  }
}

::-webkit-scrollbar {
  width: 15px;
  height: 15px;
  z-index: 3;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(74, 62, 62, 0.4);
  border-radius: 10px;
  border: 4px solid rgb(247, 233, 224);
}

::-webkit-scrollbar-track {
  background-color: rgb(247, 233, 224);
}