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

:root {
  --background: #f3f5f3;
  --secondary: #303030;
  --fuente: #222222;
}

* {
  margin-top: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}

body {
  background-color: var(--background);
  font-family: "Montserrat", sans-serif;
}

.navbar {
  align-items: center;
  display: flex;
  width: 100%;
  justify-content: center;
  height: 60px;
}

.navlist {
  background-color: var(--fuente);
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* gap: 90px; */
  padding: 6px 9px;
  border-radius: 16px;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  -ms-border-radius: 16px;
  -o-border-radius: 16px;
}

.nav {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 0;
}

.nav a {
  font-size: 16px;
  text-decoration: none;
  color: var(--background);
  font-weight: 500;
}

.carrito {
  background-color: var(--background);
  padding: 9px;
  display: flex;
  align-items: center;
  border-radius: 11px;
  -webkit-border-radius: 11px;
  -moz-border-radius: 11px;
  -ms-border-radius: 11px;
  -o-border-radius: 11px;
  cursor: pointer;
  transition: all 0.15s;
  -webkit-transition: all 0.15s;
  -moz-transition: all 0.15s;
  -ms-transition: all 0.15s;
  -o-transition: all 0.15s;
  width: 40px;
  height: 40px;
}

.carrito:hover {
  box-shadow: -10px 0px 10px -5px black;
  /*padding-left: 30px;
  */
  width: 50px;
  display: flex;
  justify-content: right;
}

.carritoBubble {
  position: relative;
  /* top: 13px;
  right: 353px; */
  top: -26px;
  left: 14px;
  font-size: 10px;
  height: 15px;
  width: 15px;
  color: var(--background);
  background-color: #ec17a5;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-bottom: 1px;
  border-radius: 40%;
  -webkit-border-radius: 40%;
  -moz-border-radius: 40%;
  -ms-border-radius: 40%;
  -o-border-radius: 40%;
}

.navbar i {
  font-size: 19px;
  color: var(--fuente);
  position: relative;
  top: 7px;
}

.menu-label {
  display: none;
}

.menu-label i {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--fuente);
}

.navbar img {
  margin-left: 9px;
  width: 90px;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-info {
  display: flex;
  align-items: center;
  max-width: 1500px;
  gap: 90px;
}

.hero-info h1 {
  color: #303030;
  font-size: 60px;
  font-weight: 500;
}

.hero-info h1 span {
  color: var(--background);
  font-weight: 600;
  background-color: var(--fuente);
  /* animation-name: show;
  animation-duration: 2s;
  animation-delay: 1s;
  animation-iteration-count: infinite; */
}

/* .hero-info h1 span:p {
  color: var(--background);
  font-weight: 600;
  background-color: var(--fuente);
} */

/* @keyframes show {
  from {
    color: var(--fuente);
    font-weight: 600;
    background-color: var(--background);
  }
  to {
    color: var(--background);
    font-weight: 600;
    background-color: var(--fuente);
  }
} */

.heroimg {
  width: 600px;
}

.content {
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
  font-size: 35px;
  line-height: 40px;
  color: var(--fuente);
}

.contentcontainer {
  font-weight: 400;
  overflow: hidden;
  height: 40px;
}

.contentcontainer:before {
  content: "[";
  left: 0;
}

.contentcontainer:after {
  content: "]";
  position: absolute;
  right: 0;
}

.contentcontainer:after,
.contentcontainer:before {
  position: absolute;
  top: 0;

  color: var(--fuente);
  font-size: 42px;
  line-height: 40px;

  -webkit-animation-name: opacity;
  -webkit-animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  animation-name: opacity;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.contentcontainertext {
  display: inline;
  float: left;
  margin: 0;
}

.contentcontainerlist {
  margin-top: 0;
  text-align: left;
  list-style: none;

  -webkit-animation-name: change;
  -webkit-animation-duration: 10s;
  -webkit-animation-iteration-count: infinite;
  animation-name: change;
  animation-duration: 10s;
  animation-iteration-count: infinite;
}

.contentcontainerlistitem {
  line-height: 40px;
  margin: 0;
}

@-webkit-keyframes opacity {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

@-webkit-keyframes change {
  0%,
  12.66%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  16.66%,
  29.32% {
    transform: translate3d(0, -25%, 0);
  }
  33.32%,
  45.98% {
    transform: translate3d(0, -50%, 0);
  }
  49.98%,
  62.64% {
    transform: translate3d(0, -75%, 0);
  }
  66.64%,
  79.3% {
    transform: translate3d(0, -50%, 0);
  }
  83.3%,
  95.96% {
    transform: translate3d(0, -25%, 0);
  }
}

@-o-keyframes opacity {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

@-o-keyframes change {
  0%,
  12.66%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  16.66%,
  29.32% {
    transform: translate3d(0, -25%, 0);
  }
  33.32%,
  45.98% {
    transform: translate3d(0, -50%, 0);
  }
  49.98%,
  62.64% {
    transform: translate3d(0, -75%, 0);
  }
  66.64%,
  79.3% {
    transform: translate3d(0, -50%, 0);
  }
  83.3%,
  95.96% {
    transform: translate3d(0, -25%, 0);
  }
}

@-moz-keyframes opacity {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

@-moz-keyframes change {
  0%,
  12.66%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  16.66%,
  29.32% {
    transform: translate3d(0, -25%, 0);
  }
  33.32%,
  45.98% {
    transform: translate3d(0, -50%, 0);
  }
  49.98%,
  62.64% {
    transform: translate3d(0, -75%, 0);
  }
  66.64%,
  79.3% {
    transform: translate3d(0, -50%, 0);
  }
  83.3%,
  95.96% {
    transform: translate3d(0, -25%, 0);
  }
}

@keyframes opacity {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

@keyframes change {
  0%,
  12.66%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  16.66%,
  29.32% {
    transform: translate3d(0, -25%, 0);
  }
  33.32%,
  45.98% {
    transform: translate3d(0, -50%, 0);
  }
  49.98%,
  62.64% {
    transform: translate3d(0, -75%, 0);
  }
  66.64%,
  79.3% {
    transform: translate3d(0, -50%, 0);
  }
  83.3%,
  95.96% {
    transform: translate3d(0, -25%, 0);
  }
}

#cards {
  margin-top: 170px;
  display: flex;
  gap: 100px;
  max-width: 1500px;
  flex-wrap: wrap;
  justify-content: center;
}

.cardstitulo {
  font-size: 40px;
  font-weight: 400;
}

.card {
  background-color: #1797ec;
  color: var(--background);
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  overflow: hidden;
  box-shadow: 0px 0px 20px -5px black;
  min-width: 330px;
}

.cardscontainer {
  display: flex;
  gap: 150px;
  max-width: 1500px;
  flex-wrap: wrap;
  justify-content: center;
}

.cardscontainer img {
  width: 330px;
}

.cardsInfo {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  padding-bottom: 18px;
  align-items: center;
}

.cardsInfo button {
  background-color: var(--background);
  border: none;
  width: 60px;
  height: 60px;
  font-size: 30px;
  color: var(--fuente);
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
}

.cardsInfo p {
  margin: 0;
}

.cardsInfo h2 {
  margin: 0;
}

.cardsText {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lines {
  display: flex;
  width: 1300px;
  text-align: center;
  align-items: center;
  gap: 30px;
}

.lines h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 5px;
  color: var(--fuente);
  text-transform: uppercase;
}

.line {
  width: 100%;
  height: 25px;
  background: var(--fuente);
}
