@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  max-width: 100vw;
  min-height: 100vh;
  background: linear-gradient(230deg, #000000dd, #333333cc, #000000dd), url("../assets/background.webp");
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
}

.animated {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 1s ease, transform 1.2s ease;
}

.show-animation {
  opacity: 1;
  transform: translateX(0);
}

video, .dark-mask {
  display: block;
  width: 100%;
  height: 101%;
  position: absolute;
  top: 0;
  right: 0;
  object-fit: cover;
  z-index: -4;
}

.dark-mask {
  background: linear-gradient(109deg, rgba(10, 12, 16, 0.8) 15%, rgba(10, 12, 16, 0.3) 50%, rgba(10, 12, 16, 0.6) 85%);
  z-index: -3;
}

header {
  width: 100%;
  padding: 0.5rem 7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 4;
  top: 0;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 1.04rem;
  text-decoration: none;
}

h1 {
  color: #eeeeee;
  font-size: 2.2rem;
}

span {
  color: #f6df4a;
}

.logo img {
  width: 5rem;
}

ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin-right: 4.5rem;
}

header li {
  background: none;
}

.nav-button {
  padding: 10px 5px;
  border-style: none;
  background: none;
  color: #eeeeee;
  border-bottom: 1px solid #21212100;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.1s;
}

#cart-button {
  position: absolute;
  padding: 10px 10px;
  background: #f6df4a;
  color: #000000;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  gap: 0.1rem;
  align-items: center;
}

#cart-button:hover {
  background: #f6ef5b;
}

#cart-qtd {
  display: flex;
  visibility: hidden;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 0;
  left: 0;
  margin: -5px 11px 0;
  width: 18px;
  height: 18px;
  background: #fe2000;
  color: #fff;
  font-size: 11px;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0px 0px 30px #00000099;
}

.nav-button:hover {
  color: #eeeeee;
  border-bottom: 1px solid #eeeeee;
}

.nav-button:active {
  opacity: 0.7;
}

.hero-container {
  padding: 0 2rem 0 7rem;
  width: 100%;
  height: 85vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

h2 {
  color: #eeeeee;
  font-size: 2.3rem;
  line-height: 3.2rem;
  text-shadow: 1px 1px 7px #000000dd;
}

.left-container h2 {
  width: 28rem;
  color: #ffffff;
}

.left-container p {
  color: #ffffff;
  width: 28rem;
  font-size: 1.1rem;
  line-height: 1.7rem;
  text-shadow: 1px 1px 7px #000000dd;
}

.main-button {
  width: 11rem;
  padding: 0.7rem;
  margin-top: 0.7rem;
  border: 1px solid #f6df4a00;
  border-radius: 5px;
  background: #f6df4a;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 2px 3px 10px #0000009d;
  transition: 0.2s;
}

.main-button:hover {
  background: none;
  border: 1px solid #f6df4a;
  color: #f6df4a;
}

.main-button:active {
  opacity: 0.6;
}

.right-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  width: 0;
  height: 85.1vh;
  background: #f6df4a;
  clip-path: polygon(100% 0%, 100% 50%, 100% 100%, 100% 100%, 0% 50%, 100% 0%);
  z-index: 2;
  animation: largeTransition 1s ease-in-out forwards;
}

@keyframes largeTransition {
  from {
    clip-path: polygon(100% 0%, 100% 50%, 100% 100%, 100% 100%, 0% 50%, 100% 0%);
  }
  to {
    width: 29rem;
    clip-path: polygon(100% 0%, 100% 50%, 100% 100%, 100% 100%, 0% 50%, 100% 0%);
  }
}

.main-burger {
  width: 38rem;
  z-index: 3;
}

.highlights-container, .customers-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background: #f6df4a;
}

.highlights-container img, .customers-container img {
  width: 12rem;
  padding-top: 2rem;
}

.highlights-container h3, .customers-container h3 {
  width: 70%;
  font-size: 4vw;
  text-align: center;
  padding-bottom: 2rem;
}

.highlight {
  display: flex;
  width: 100%;
  height: 50rem;
  background: #eeeeee;
}

.polygon {
  width: 29%;
  height: 100%;
  background: #111111;
  clip-path: polygon(0% 0%, 100% 50%, 0% 100%, 0% 100%, 0% 50%, 0% 0%);
}

.polygon strong {
  font-size: 22rem;
  width: 60%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #eeeeee;
}

.highlight-box {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 71%;
}

.highlight-box img {
  padding: 0;
  width: 15rem;
  border-radius: 50%;
}

.highlight-box h4 {
  font-size: 4rem;
  width: auto;
  color: #111111;
}

.highlight-box p {
  font-size: 1rem;
  width: 30rem;
  color: #111111;
}

.highlight-box button {
  margin-top: 1rem;
  padding: 1rem 2rem;
  background: none;
  border-radius: 5px;
  border: 1px solid #111111;
  cursor: pointer;
  transition: 0.3s;
  color: #111111;
  font-size: 0.9rem;
}

.highlight-box button:hover {
  background: #111111;
  border: 1px solid #111111;
  color: #eeeeee;
}

.highlight-box button:active {
  opacity: 0.7;
}

.right button, .right h4, .right p, .right {
  background: #111111;
  color: #eeeeee;
}

.right button {
  border: 1px solid #eeeeee;
}

.right button:hover {
  background: #eeeeee;
  color: #111111;
}

.right .polygon {
  background: #eeeeee;
  clip-path: polygon(100% 0%, 100% 50%, 100% 100%, 100% 100%, 0% 50%, 100% 0%);
}

.right strong {
  justify-content: flex-end;
  width: 90%;
  color: #111111;
}

.customer-box {
  width: 100%;
  height: 35rem;
  background: #eeeeee;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.customer-box img {
  padding: 0;
  width: 10rem;
}

.customer-box p {
  margin: 0.4rem 0;
  width: 40%;
  text-align: center;
}

.customers-buttons {
  width: 100%;
  padding: 0.5rem 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.customers-buttons img {
  width: 4rem;
  cursor: pointer;
  transition: all ease-in-out 0.1s;
}

.customers-buttons img:hover {
  scale: 1.1;
}

.customers-buttons img:active {
  opacity: 0.6; 
}

.coupons-container {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.coupons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.coupon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 0 2rem;
  height: 15rem;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0px 0px 17px #000000;
}

.coupon img {
  width: 10rem;
}

.coupon h4 {
  font-weight: 400;
}

.coupon button {
  color: #e20000;
  background: none;
  border: 1px solid #e20000;
  font-weight: 700;
  padding: 0.3rem 2rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: 0.2s;
}

.coupon button:hover {
  background: #e20000;
  color: #ffffff;
}

.coupon button:active {
  opacity: 0.7;
}

.three {
  margin-bottom: 2rem;
  background: radial-gradient(#ff1414, #5a0101);
  gap: 2rem;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.three h3 {
  color: #fff;
  font-size: 1.5rem;
}

.three h4 {
  width: 80%;
  color: #eeeeee;
}

.three-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 50%;
}

.three button {
  color: #f6df4a;
  border: 1px solid #f6df4a;
}

.three button:hover {
  color: #e20000;
  background: #f6df4a;
}

.modal {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000080;
  z-index: 100;
  backdrop-filter: blur(0);
  animation: transitionToBlur 0.1s ease-in-out forwards;
}

@keyframes transitionToBlur {
  from {
    opacity: 0;
    backdrop-filter: blur(0);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(5px);
  }
}

.modal-content {
  background: #eeeeee;
  padding: 0 10px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 0px 50px #000000;
}

#alert-message {
  margin: 50px 50px 30px;
}

.close-alert {
  background: none;
  color: #999999;
  float: right;
  font-size: 28px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.close-alert:hover {
  color: #000000;
}

.alert-button {
  margin-bottom: 30px;
  padding: 7px 20px;
  background: #f6df4a;
  border: none;
  border-radius: 10px;
  box-shadow: 1px 1px 5px #0000003f;
  cursor: pointer;
}

.alert-button:hover {
  opacity: 0.8;
}

.alert-button:active {
  opacity: 0.5;
}

footer {
  width: 100%;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  background-color: #111111;
  cursor: default;
}

footer h3, footer h4 {
  padding: 0;
  color: #eeeeee;
  font-size: 0.8rem;
  font-weight: 400;
}

footer i {
  font-size: 1rem;
  padding: 0 0 0.5rem 0.3rem;
  transition: 0.5s;
}

footer i:hover {
  transform: translateY(-5px);
}

footer a {
  color: #f6df4a;
  font-weight: 500;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer a:active {
  opacity: 0.7;
}