@import url("https://fonts.googleapis.com/css?family=Montserrat:400,800");

body {
  margin: 0px;
  padding: 0px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

* {
  box-sizing: border-box;
}

/* Custom scrollbar  */
/* width */
::-webkit-scrollbar {
  width: 0.6rem;
  height: 0.6rem;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #ff4757;
  width: 1rem;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #fc8eac;
}

/* Navbar */
header {
  margin-left: 10.5%;
  margin-right: 10.5%;
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: solid 2px #fc8eac;
  position: relative;
}

.yum-yum-navlogo {
  margin-top: 5px;
  margin-bottom: 5px;
  height: 57px;
}

a {
  text-decoration: none;
  color: #ff4757;
}

.a-text {
  margin-top: 25px;
  margin-left: 30px;
  font-weight: 500;
  font-size: large;
}

.a-cart {
  margin-top: 15px;
  position: absolute;
  right: 5%;
}

.cart-size {
  height: 40px;
  width: 50px;
}

.a-button {
  margin-top: 15px;
}

.nav-head {
  display: flex;
}

ul {
  list-style-type: none;
  display: flex;
  flex-direction: row;
  margin-top: 0%;
  margin-bottom: 0%;
}

/* Button-animation */
.button {
  position: relative;
  overflow: hidden;
  height: 2.5rem;
  padding: 0 1rem;
  border-radius: 1.5rem;
  background: #fc8eac;
  background-size: 400%;
  color: #fff;
  cursor: pointer;
}

.button:hover::before {
  transform: scaleX(1);
}

.button-content {
  font-weight: 600;
  font-size: small;
  position: relative;
  z-index: 1;
}

.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: 0 50%;
  width: 100%;
  height: inherit;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(255, 71, 87, 1) 100%,
    rgba(255, 71, 87, 1) 100%
  );
  transition: all 0.475s;
}

@media (max-width: 767px) {
  header {
    position: relative;
  }

  .nav-head {
    display: flex;
    margin: auto;
  }

  .cart-size {

  }

  .a-button {
    margin-right: 20px;
  }
}

/* Main Section */
h2 {
  text-align: center;
  color: #ff4757;
}

.main-container {
  margin: auto;
  width: 50%;
  padding: 10px;
  margin-bottom: 5%;
}

h1 {
  font-weight: bold;
  margin: 0;
}

.form-p {
  font-size: 14px;
  font-weight: 100;
  line-height: 20px;
  letter-spacing: 0.5px;
  margin: 20px 0 30px;
}

span {
  font-size: 12px;
}

.forgot-anchor {
  color: #333;
  font-size: 14px;
  margin: 15px 0;
}

.button-main {
  border-radius: 20px;
  border: 1px solid #ff4b2b;
  background-color: #ff4b2b;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  padding: 12px 45px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 80ms ease-in;
}

.button-main:active {
  transform: scale(0.95);
}

.button-main:focus {
  outline: none;
}

button.ghost {
  background-color: transparent;
  border-color: #ffffff;
}

form {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 50px;
  height: 100%;
  text-align: center;
}

input {
  background-color: #eee;
  border: none;
  padding: 12px 15px;
  margin: 8px 0;
  width: 100%;
}

.food {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  margin-bottom: 20px; 
}

.food-preference-heading {
  margin-left: 50px;
}

option {
  border: 5px solid red;
}

.container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
  width: 800px;
  max-width: 100%;
  min-height: 550px;
}

.form-container {
  position: absolute;
  top: 0;
  height: 100%;
  transition: all 0.6s ease-in-out;
}

.sign-in-container {
  left: 0;
  width: 50%;
  z-index: 2;
}

.container.right-panel-active .sign-in-container {
  transform: translateX(100%);
}

.sign-up-container {
  left: 0;
  width: 50%;
  opacity: 0;
  z-index: 1;
}

.container.right-panel-active .sign-up-container {
  transform: translateX(100%);
  opacity: 1;
  z-index: 5;
  animation: show 0.6s;
}

@keyframes show {
  0%,
  49.99% {
    opacity: 0;
    z-index: 1;
  }

  50%,
  100% {
    opacity: 1;
    z-index: 5;
  }
}

.overlay-container {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: transform 0.6s ease-in-out;
  z-index: 100;
}

.container.right-panel-active .overlay-container {
  transform: translateX(-100%);
}

.overlay {
  background: #ff416c;
  background: -webkit-linear-gradient(to right, #ff4b2b, #ff416c);
  background: linear-gradient(to right, #ff4b2b, #ff416c);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  color: #ffffff;
  position: relative;
  left: -100%;
  height: 100%;
  width: 200%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
}

.container.right-panel-active .overlay {
  transform: translateX(50%);
}

.overlay-panel {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  top: 0;
  height: 100%;
  width: 50%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
}

.overlay-left {
  transform: translateX(-20%);
}

.container.right-panel-active .overlay-left {
  transform: translateX(0);
}

.overlay-right {
  right: 0;
  transform: translateX(0);
}

.container.right-panel-active .overlay-right {
  transform: translateX(20%);
}

.social-container {
  margin: 20px 0;
}

.social-container a {
  border: 1px solid #dddddd;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  height: 40px;
  width: 40px;
}

hr {
  margin-top: 53px;
  height: 1px; 
  width: 80%;
}

/* Footer */
.footer-main {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between;
  margin-right: 10%;
  margin-left: 10%;
}

.p-social,
.p-important,
.p-contact,
.p-navlink {
  font-weight: 500;
}

.li-social,
.li-important,
.li-contact,
.li-nav {
  font-weight: 400;
}

.copyright {
  text-align: center;
  font-weight: 500;
  font-size: 20px;
}

.badge-red {
  margin-left: 5px;
  color: white;
  background-color: #ff4757;
  border-radius: 30%;
  padding: 3px;
}

/* Hamburger */
@media (max-width: 767px) {
  .yum-yum-navlogo {
    height: 80px;
    width: 160px;
  }

  .nav-head {
    display: flex;
    text-align: center;
  }

  .a-button {
    display: none;
  }

  #search-btn {
    height: 50px;
  }

  /* Footer */
  .footer-main {
    margin: 5px;
  }
}

/* .container {
  display: inline-block;
  cursor: pointer;
}

.bar1, .bar2, .bar3 {
  width: 35px;
  height: 5px;
  background-color: #333;
  margin: 6px 0;
  transition: 0.4s;
}

.change .bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
  transform: translate(0, -11px) rotate(45deg);
} */
