/*------------------- estilos generales y variables--------------------- */
:root {
  --primario: #131415;
  --secundario: #ffa600;
  --terciario: #e1e1e1;
  --back: #ffffff;
  --backsec: #000000;
  --font1: "Ubuntu", sans-serif;
  --font2: "Sometype Mono", monospace;
  --font3: "Comfortaa", sans-serif;
  --font4: "Kanit", sans-serif;
  --font5: "Kay Pho Du", serif;
  --font6: "Play", sans-serif;
  --font7: "Roboto", sans-serif;
  --font8: "Titillium Web", sans-serif;
}
* {
  padding: 0;
  margin: 0;
  font-family: var(--font1);
  box-sizing: border-box;
  scroll-behavior: smooth;
  /* width: 100%; */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
input:focus-visible {
  outline: none;
}
body {
  /* background-color: var(--primario); */
  width: 100%;
  background: rgba(29, 31, 32, 0.904)
    radial-gradient(rgba(255, 255, 255, 0.412) 10%, transparent 1%);

  background-size: 11px 11px;
}
/*------------------- estilos header--------------------- */
header {
  padding: 1rem;
  position: fixed;
  width: 100%;
  backdrop-filter: blur(1px);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 1%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}
/*------------------- estilos header--head--------------------- */
.header--head {
  width: 100%;
  border: none;
  display: flex;
  padding: 0rem 1rem 1rem 1rem;
  border-bottom: 3px solid white;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
}
.head--logo {
  width: 8rem;
}
/* img.head--logo.head--logo--lg {
  /* display: block; 
} */

.head--search {
  width: 35rem;
  display: flex;
}
.header--head input:focus-visible {
  outline: none;
}
.header--head input {
  width: 90%;
  background: none;
  color: white;
  border: none;
  font-family: var(--font6);
  padding: 0.5rem;
  border-bottom: 2px solid white;
}
.header--head button:hover {
  cursor: pointer;
  border-radius: 5px 0px 5px 0px;
  box-shadow: -5px -6px 20px 6px black, 0px 10px 14px -11px white,
    inset -5px -6px 6px -5px white, 20px 20px 20px -16px white,
    4px 0px 9px -4px white;
  width: 10%;
  border: none;
  border-bottom: 2px solid white;
  border-right: 2px solid white;
}
.header--head button {
  width: 10%;
  background: #ffffff00;
  color: white;
  border: none;
  transition: all 0.5s;
  border-radius: 0px 0px 10px 0px;
  border-bottom: 2px solid white;
  border-right: 2px solid white;
}
.header--head input:focus ~ .display--results {
  display: flex;
}

.display--results:hover {
  display: flex;
}
.display--results {
  display: none;
  flex-direction: column;
  position: absolute;
  right: -14px;
  top: 64px;
  left: 0;
  margin: auto;
  border: 2px solid white;
  border-bottom: 0;
  width: 504px;
  overflow: auto;
  background: #000000;
  height: fit-content;
  max-height: 90vh;
}
.searcher--card {
  border-bottom: 2px solid white;
  padding: 0.5rem;
  display: flex;
  box-shadow: inset 0px 0px 9px white;
  align-items: center;
}
.display--results img {
  width: 4rem;
  height: 4rem;
}
.display--results p {
  padding: 0;
  font-size: 1rem;
  text-transform: lowercase;
  padding: 0.4rem;
  text-align: start;
  color: white;
}
.head--search .toarts {
  left: 2vw;
  bottom: -73vh;
}
.head--cart {
  width: 5%;
  display: flex;
  color: white;
}
.head--cart span {
  cursor: pointer;
}
span.head__cart--bubble {
  position: relative;
  top: -1.3rem;
  left: -2rem;
  font-size: 10px;
  color: #131415;
  background: white;
  padding: 1px 5px;
  border-radius: 50px;
}
/*------------------- estilos header--cart--------------------- */

.cart--shop {
  position: absolute;
  height: 100vh;
  display: flex;
  transition: all 0.5s;
  flex-direction: column;
  transform: translateX(100%);
  opacity: 0;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(
    270deg,
    rgba(0, 0, 0, 1) 89%,
    rgba(0, 0, 0, 0.9178046218487395) 90%,
    rgba(0, 0, 0, 0.36878501400560226) 94%,
    rgba(0, 0, 0, 0) 100%
  );
  width: 35rem;
  padding: 1rem 1rem 1rem 5rem;
  right: 0;
  gap: 0.5rem;
  top: 0;
}
.show--cart {
  transform: translateX(0%);
  opacity: 1;
}
.products--cart {
  width: 100%;
  display: flex;
  gap: 1.5rem;
  flex-direction: column;
  overflow-y: auto;
  padding: 2rem 0.5rem;
}
.cart--producto {
  border: 1px solid;
  display: flex;
  padding: 0.5rem;
  height: 6rem;
  gap: 0.5rem;
  box-shadow: 0px 0px 9px white, inset 0px 0px 5px white;
  align-items: center;
  justify-content: space-between;
}
.title--cart span {
  font-size: 2rem;
}
.title--cart {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem;
}
.producto__box--img {
  width: 30%;
}
.producto__box--img img {
  width: 100%;
  position: relative;
  top: -0.6rem;
}
.producto__box--info {
  width: 30%;
}
h3.title-item-cart {
  font-size: 1.3rem;
}
p.price-item {
  font-size: 1.2rem;
  overflow: hidden;
  padding: 0;
  text-overflow: ellipsis;
}
.producto__box--quantity {
  width: 20%;
}
.quantity-handler {
  display: flex;
  align-items: center;
  border-radius: 5px;
  border: 1px solid white;
  box-shadow: 0 0 3px white, inset 0 0 2px white;
}
.quantity-handler span:hover {
  cursor: pointer;
}

input.quantity-handler--display {
  width: 35%;
  border: none;
  padding: 0.3rem 0;
  text-align: center;
}
button.cart--empty {
  width: fit-content;
  font-family: var(--font6);
  text-transform: capitalize;
  border: 1px solid white;
  border-radius: 8px;
  padding: 0.5rem 1rem;
}
button.cart--empty:hover {
  width: fit-content;
  box-shadow: 0 0 0.5rem white;
  border: 1px solid white;
}
.cart--total {
  border-top: 1px solid white;
  padding: 0.5rem 1rem 2rem;
  width: 100%;
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
  align-items: flex-start;
}
span.total--price {
  font-size: 1.6rem;
}
button.total__btn--buy {
  width: 60%;
  border: none;
  border: 1px solid white;
  border-radius: 5px;
  font-size: 1.5rem;
  padding: 0.2rem 0.8rem;
  margin: auto;
  text-transform: capitalize;
  font-family: var(--font6);
}
button.total__btn--buy:hover {
  width: 50%;
  border-radius: 5px;
  border: 1px solid white;
  box-shadow: 0 0 17px white, inset 0 0 4px white;
}
.toarts {
  position: absolute;
  left: -55vw;
  bottom: 2rem;
  border: 1px solid white;
  padding: 0.7rem;
  border-radius: 4px;
  background: #000000;
  box-shadow: 0px 0px 30px -9px white, inset 0px -7px 20px -12px white;
  animation: fadeUp 2s 1 linear;
}
.toarts p {
  padding: 0.2rem 0.5rem;
  font-size: 1.4rem;
  font-family: var(--font6);
  color: white;
  filter: drop-shadow(0px 0px 20px #d0ffec);
  text-transform: capitalize;
}

/*------------------- estilos header--body--------------------- */
.header--body {
  padding: 1rem 1rem 0rem 1rem;
  max-width: 1200px;
  width: 100%;
}
.navbar--list {
  display: flex;
  justify-content: start;
  width: 40%;
  gap: 1.5rem;
}
.navbar__list--item {
  width: auto;
  list-style: none;
}
.navbar__list--item a {
  color: white;
  text-decoration: none;
  text-transform: capitalize;
  font-family: var(--font7);
  font-size: 1rem;
}
.sm--component {
  display: none;
  position: absolute;
  z-index: -2;
  opacity: 0;
}
/*------------------- estilos main--------------------- */

main {
  padding-top: 10rem;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 10rem;
}
/*------------------- estilos main--hero--------------------- */
.main--hero {
  display: flex;
  width: 100%;
  max-width: 1200px;
  justify-content: center;
}
/*------------------- estilos main--hero__box--content--------------------- */

.hero__box--content {
  display: flex;
  flex-direction: column;
  /* gap: 0rem; */
  padding: 3rem 1rem 1rem 1rem;
  align-items: center;
  justify-content: space-between;
}
h1 {
  color: white;
  font-weight: 500;
  font-size: 3rem;
  text-transform: uppercase;
  font-family: var(--font1);
  text-align: center;
  filter: drop-shadow(2px 4px 45px white);
}
p {
  font-size: 1.5rem;
  color: #ffa600;
  font-family: var(--font1);
  text-align: center;
  padding: 3rem;
}
button:hover {
  border: 2px solid white;
  cursor: pointer;
  width: 22%;
  /* box-shadow: 0px 0px 5rem white, inset 0 0 9px white; */
  box-shadow: 0px 30px 2rem black, 0px 44px 69px 0px white, 0px 0px 7rem white,
    0px 0px 5rem white, 0px 0px 20px white, inset 0 0 5px white;
  letter-spacing: 0px;
}
main button {
  background: none;
  border: none;
  border: 2px solid #13141500;
  border-bottom: 2px solid white;
  color: white;
  /* box-shadow: 0 0 1rem #e1e1e1; */
  transition: all 0.5s;
  padding: 0.8rem 1rem;
  font-size: 16px;
  font-family: var(--font6);
  width: 20%;
  font-weight: 500;
  letter-spacing: 4px;
}
button.main--productos-show.btn--hero {
  width: 30%;
}
/*------------------- estilos main--hero__box--img--------------------- */
.hero__box--img {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1rem;
  padding-left: 6rem;
}
.hero__box--img img {
  width: 27rem;
  /* filter: drop-shadow(2px 4px 3rem grey); */
  filter: drop-shadow(0 10px 1.5rem #000000) grayscale(0.5);
  animation: flotar 4s 3s infinite alternate ease-in-out;
  z-index: -1;
}
h2 {
  color: white;
  font-size: 2rem;
  font-weight: 400;
  font-family: var(--font1);
  text-transform: capitalize;
  text-align: start;
}
.hero__box--img h2 {
  padding-left: 5.5rem;
}
/*------------------- estilos main--products--------------------- */
.main--productos {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8rem;
}
.main--productos h2 {
  font-size: 3.5rem;
  font-family: var(--font1);
}
.main__productos--box {
  width: 100%;
  display: flex;
  gap: 2rem;
  justify-content: center;
}
button.main--productos-show {
  width: 12%;
}
/*------------------- estilos main--sponsors--------------------- */
section.main--sponsors {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  gap: 6rem;
  padding: 0 3rem 3rem 3rem;
}
.main--sponsors h2 {
  font-size: 3.5rem;
}
.main__sponsors--scroll:hover {
  animation-play-state: paused;
}
.main__sponsors--scroll {
  width: calc(26rem * 24);
  display: flex;
  align-items: center;
  gap: 8rem;
  animation: scrollSponsor 18s 0s infinite linear;
}
/* .sponsor {
  min-width: 18rem;
  min-height: 9rem;
  backdrop-filter: blur(2px);
  display: flex;
  transition: all 0.5s cubic-bezier(0.54, 0.4, 0.26, 0.99);
  border-radius: 25px;
  background: #6767673d;
  border: 3px solid #ffffff;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
}
.sponsor:hover {
  transform: rotate3d(0.5, 1, 0, 30deg);
  transform: perspective(470px) rotateX(68deg) translateY(78px);
  min-width: 17rem;
  border: 1px solid white;
  min-height: 5rem;
  box-shadow: 0 17px 35px -10px white, inset 0px -2px 30px 25px white;
  animation: shadowBrand 2.7s 0.7s infinite ease-in-out;
}

.sponsor:hover > img,
img.sponsor-brand:hover {
  transform: translate3d(0px, 0px, 15px) perspective(86px) rotateX(-12deg)
    translateY(-100px) scaleY(2.1);
  padding-bottom: 2rem;
  width: 15rem;
  animation: floatBrand 2.7s 0.7s infinite ease-in-out;
}
img {
  width: 16rem;
  transition: all 0.7s;
  transform-style: preserve-3d;
} */
.sponsor-brand {
  width: 15rem;
  transition: all 0.7s;
}
.cubo {
  position: relative;
  width: 18rem;
  height: 9rem;
  perspective: 800px;
  transform-style: preserve-3d;
  transition: all 0.6s;
}

.cara {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: all 0.5s;
  height: 100%;
  transform-style: preserve-3d;
  background-color: #ffffff17;
  border: 2px solid white;
  box-shadow: 0 0 8px 0px white, inset 0 0 9px white;
}

.front {
  transform: translateZ(99px);
}

.back {
  height: 100%;
  transform: rotateX(180deg) translateZ(-76px);
}

.left {
  height: 14%;

  transform: rotateX(-90deg) translateZ(8.5rem) translateY(-88px);
}
.top {
  height: 14%;
  width: 9rem;

  transform: rotateX(90deg) rotateY(90deg) translateZ(13.5rem)
    translateY(5.5rem) translateX(3.8rem);
}
.bottom {
  height: 14%;
  width: 9rem;

  transform: rotateX(90deg) rotateY(90deg) translateZ(-4.62rem)
    translateY(5.5rem) translateX(3.9rem);
}
.right {
  height: 14%;
  transform: rotateX(-90deg) translateZ(-0.7rem) translateY(-88px);
}
.cubo:hover > .right {
  box-shadow: 0px -5px 20px 3px white, 0 0 8px 0px white, inset 0 0 9px white;
}
.cubo:hover > .bottom {
  box-shadow: -20px 11px 20px 0px white, 1px 14px 7px -8px white,
    0 0 8px 0px white, inset 0 0 9px white;
}
.cubo:hover > .top {
  box-shadow: -21px 20px 20px -5px white, 0 0 8px 0px white, inset 0 0 4px white;
  background: #000000b0;
  backdrop-filter: blur(2px);
}
.cubo:hover > .front {
  box-shadow: inset 0 0 7rem white;
}
.cubo:hover > .left {
  box-shadow: 0px -1px 7px 0px white, 0 0 8px 0px white, inset 0 0 4px white;
  background: #000000b0;
  backdrop-filter: blur(2px);
}

.cubo:hover {
  transform: rotateX(85deg) rotateZ(15deg) translateZ(-160px);
  /*animation: shadowBrand 2s 1s infinite linear;*/
}

.cubo:hover > .front > .sponsor-brand,
.sponsor-brand:hover {
  transform: rotateX(-90deg) rotateY(16deg) translateY(-50px) translateX(-0px)
    translateZ(-0px);
  width: 15rem;
  animation: floatBrand 3.4s 1s infinite ease-in-out;
  transition: all 0.5s;
  /*animation: shadow 2s 1s infinite linear;*/
}

/*------------------- estilos main--users--------------------- */
.main--users {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5rem;
  overflow: hidden;
  scale: 0.95;
}
.main--users h2 {
  font-size: 3.5rem;
}
.main__users--box {
  width: calc(23.5rem * 10);
  display: flex;
  justify-content: center;
  padding: 1rem 0 5rem 0rem;
  animation: scrollUsers 30s infinite linear;
  gap: 1.5rem;
}

/*------------------- estilos main--contacto--------------------- */
.success {
  border-color: #90ff7d;
}
.error {
  border-color: #ff7d7d;
}

textarea {
  max-width: 80%;
  min-width: 80%;
  width: 100%;
  max-height: 7rem;
  min-height: 7rem;
  border-radius: 0 15px 0 0;
  background: none;
  border: none;
  border: 1px solid white;
  font-size: 1rem;
  font-family: var(--font2);
  padding: 1vw;
  color: white;
  resize: none;
}
input::placeholder,
textarea::placeholder {
  color: white;
}
.main__contacto--form input {
  /* input { */
  background: none;
  border: none;
  border-radius: 0px 15px 0px 0px;
  font-size: 1rem;
  border: 1px solid white;
  font-family: var(--font2);
  padding: 1vw;
  color: white;
  width: 80%;
}
.main__contacto--form button:hover {
  cursor: pointer;
  border-radius: 5px 5px 0px 0px;
  box-shadow: 0px 12px 17px -3px white, inset 0 -3px 5px white;
}
.main__contacto--form button {
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
  border-bottom: 2px solid white;
  font-family: var(--font2);
  padding: 0.5rem 1rem;
}
.main__contacto h2 {
  font-size: 3.5rem;
  font-family: var(--font2);
  color: white;
}
.main__contacto--form {
  border: 2px solid white;
  padding: 1.5rem 1rem;
  width: 65%;
  transition: all 0.8s;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(2px);
  gap: 0.7rem;
}
.form--field {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.msg--error {
  border: 1px solid #ff7d7d;
  width: 80%;
  border-radius: 1px 3px 30px 0px;
  padding: 0.3rem 0 0.1rem 0;
  backdrop-filter: blur(1px);
  background: #ff65653b;
}
.msg--error p {
  font-size: 1rem;
  padding: 0;
  color: white;
}
section.main--contacto {
  width: 100%;
  max-width: 1000px;
  padding: 0rem 5rem 5rem 5rem;
  margin-top: 0rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/*------------------- footer--------------------- */
footer {
  width: 100%;
  background-color: #131415;
  box-shadow: 0 0 15px white, inset 0px 5px 12px -9px white;
}
.footer--content {
  display: flex;
  justify-content: space-around;
  padding: 1rem;
}
footer img {
  width: 13rem;
}
img.footer--logo--lg {
  display: block;
}
img.footer--logo--sm {
  display: none;
}
.box--redes a {
  padding: 2rem;
  font-size: 2rem;
  color: white;
}
.copyright p {
  padding: 0.5rem;
  font-size: 18px;
  color: white;
}
/*------------------- animaciones--------------------- */
@keyframes flotar {
  0% {
    transform: translateY(0%);
    filter: drop-shadow(0 10px 1.5rem #ffffff59) grayscale(0.3);
  }
  50% {
    transform: translateY(-1%);
    filter: drop-shadow(0 50px 4rem rgba(255, 255, 255, 0.5)) grayscale(0);
  }
  100% {
    transform: translateY(0%);
    filter: drop-shadow(0 10px 1.5rem #ffffff80) grayscale(0.3);
  }
}
@keyframes scrollSponsor {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-26rem * 8));
  }
}
@keyframes scrollUsers {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-23.5rem * 3));
  }
}
@keyframes fadeUp {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(0);
    opacity: 1;
  }
  75% {
    transform: translateY(-0.7rem);
  }
  100% {
    transform: translateY(-1rem);
    opacity: 0;
  }
}
@keyframes floatBrand {
  0% {
    transform: rotateX(-90deg) rotateY(16deg) translateY(-50px) translateX(-0px)
      translateZ(-0px);
  }

  50% {
    transform: rotateX(-90deg) rotateY(16deg) translateY(-60px) translateX(-0px)
      translateZ(-0px);
  }

  100% {
    transform: rotateX(-90deg) rotateY(16deg) translateY(-50px) translateX(-0px)
      translateZ(-0px);
  }
}
@keyframes shadowBrand {
  0% {
    box-shadow: 0 17px 35px -10px white, inset 0px -2px 30px 25px white;
  }

  50% {
    box-shadow: 0 17px 35px -10px white, inset 0px -2px 30px 37px white;
  }

  100% {
    box-shadow: 0 17px 35px -10px white, inset 0px -2px 30px 25px white;
  }
}
@keyframes shadowBrand {
  0% {
    transform: rotateX(85deg);
  }
  100% {
    transform: rotateX(85deg) rotateZ(360deg);
  }
}
@keyframes shadow {
  0% {
    transform: rotateX(-90deg) rotateY(0deg) translateY(-50px) translateX(-0px)
      translateZ(-0px);
  }
  100% {
    transform: rotateX(-90deg) rotateY(360deg) translateY(-50px) translateX(0px)
      translateZ(0px);
  }
}
