@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,600;0,700;1,300;1,400&display=swap");
.bg-secondary {
  background-color: #20386e !important;
}

html {
  height: 100%;
}

body {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  font-family: Poppins, sans-serif;
  font-weight: 400;
}

main {
  flex: 1 0 auto;
  position: relative;
}

footer {
  flex-shrink: 0;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.section-title::after {
  content: "";
  display: inline-block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 120px;
  height: 10px;
  background-color: #c03014;
}

.bg-back {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0.2;
}

.transparency-50 {
  opacity: 0.5;
}

header ul.navbar-nav li {
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
}

#productos,
#servicios,
#nosotros,
#clientes,
#contacto {
  padding: 70px 0;
}

#welcome {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
}
#welcome .video-header {
  position: absolute;
  text-align: center;
  width: 100vw;
  height: 100vh;
}
#welcome .video-header video {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  background: #20386e;
  object-fit: cover;
}
#welcome .w-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 800px;
}
#welcome .w-inner h1 {
  z-index: 1;
  font-size: 5rem;
  font-weight: 700;
  color: white;
}

#productos {
  background-color: #f7f7f7;
}

#productos .item,
#servicios .item {
  height: 350px;
  overflow: hidden;
}
#productos .item .image,
#servicios .item .image {
  height: 100%;
}
#productos .item .image .img,
#servicios .item .image .img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#productos .item .image .img img,
#servicios .item .image .img img {
  max-width: 600px;
  height: auto;
}
#productos .item .title,
#servicios .item .title {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#productos .item .title h2,
#servicios .item .title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  line-height: 36px;
}
#productos .item .link,
#servicios .item .link {
  top: 80%;
  left: 50%;
  transform: translate(-50%, -80%);
}
#productos .item .link a,
#servicios .item .link a {
  font-size: 1rem;
  font-weight: 200;
  color: #f7f7f7;
}

#nosotros {
  background: url("../img/welding.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  padding: 0;
  padding-bottom: 140px;
}
#nosotros h1 {
  color: #f7f7f7;
}
#nosotros h1::after {
  position: relative;
  left: -305px;
  top: 40px;
  transform: translate(0%, 0);
}
#nosotros p {
  font-size: 1rem;
  font-weight: 200;
  color: white;
}
#nosotros .bg-back {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: 150%;
  height: 100%;
  background: black;
  opacity: 0.8;
}

#hits {
  background-color: #c03014;
  padding: 20px;
}
#hits h2 {
  font-size: 3.5rem;
  font-weight: 600;
  color: white;
}
#hits span {
  font-size: 1.3rem;
  font-weight: 200;
  color: white;
}
#hits .item {
  padding: 0 50px;
}
@media (min-width: 992px) {
  #hits .item::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 50%;
    right: -1px;
    transform: translate(0, -50%);
    width: 2px;
    height: 80px;
    background-color: #f7f7f7;
  }
  #hits .item:last-child::after {
    display: none;
  }
}

#clientes {
  background-color: #f7f7f7;
}
#clientes img {
  width: 100%;
  max-width: 146px;
}
#clientes img:hover {
  cursor: pointer;
}

#contacto form {
  margin: 0 auto;
}
#contacto form label {
  font-weight: 600;
}
#contacto form input, #contacto form textarea {
  background-color: #f7f7f7;
}
#contacto form input::placeholder, #contacto form textarea::placeholder {
  color: silver;
}

#product h3 {
  font-size: 3rem;
  font-weight: 600;
}
#product h3::after {
  content: "";
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 40px;
  height: 3px;
  position: absolute;
  background-color: black;
}
#product h3.af-white::after {
  background-color: white !important;
}
#product .title {
  position: relative;
  width: 100%;
  height: 250px;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
#product .title .w-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 800px;
}
#product .title .w-inner h1 {
  font-size: 5rem;
  font-weight: 600;
  color: #f7f7f7;
}
#product .description .detail {
  padding-top: 50px;
  padding-bottom: 40px;
}
#product .description .detail p {
  font-weight: 300;
}
#product .description .detail ul li {
  font-weight: 300;
  color: white;
}
#product .carousel {
  padding: 50px 0;
}
#product .quotation {
  background-color: #f7f7f7;
  padding: 50px 0;
}
#product .quotation .w-inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
#product .quotation .w-inner p {
  font-size: 1.2rem;
  font-weight: 300;
  font-style: italic;
}
#product .tables {
  padding-top: 50px;
}
#product .tables h1 {
  font-size: 3rem;
  font-weight: 600;
}
#product .tables .dataTables_wrapper table thead tr th {
  text-align: center;
}
#product .tables .dataTables_wrapper table tbody tr:nth-child(odd) {
  background-color: #99b2ca;
}
#product .tables .dataTables_wrapper table tbody tr:nth-child(even) {
  background-color: #c0d2e5;
}
#product .tables .dataTables_wrapper table tbody tr:hover {
  background-color: #f7f7f7;
}
#product .tables .dataTables_wrapper table tbody tr td {
  font-size: 0.9rem;
  padding: 0;
  padding: 6px 5px;
}

.icon-cards {
  position: relative;
  width: 60vw;
  height: 40vw;
  max-width: 460px;
  max-height: 280px;
  margin: 0 auto;
  color: white;
  perspective: 1000px;
  transform-origin: center;
}
.icon-cards__content {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-origin: center;
  transform-style: preserve-3d;
  transform: translateZ(-30vw) rotateY(0);
  animation: carousel 10s infinite cubic-bezier(0.77, 0, 0.175, 1) forwards;
}
.icon-cards__content.step-animation {
  animation: carousel 8s infinite steps(1) forwards;
}
.icon-cards__item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 60vw;
  height: 40vw;
  max-width: 460px;
  max-height: 280px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  transform-origin: center;
}
.icon-cards__item:nth-child(1) {
  background: #FDD94F;
  transform: rotateY(0) translateZ(35vw);
}
.icon-cards__item:nth-child(2) {
  background: #F87949;
  transform: rotateY(120deg) translateZ(35vw);
}
.icon-cards__item:nth-child(3) {
  background: #FBAB48;
  transform: rotateY(240deg) translateZ(35vw);
}

@keyframes carousel {
  0%, 17.5% {
    transform: translateZ(-35vw) rotateY(0);
  }
  27.5%, 45% {
    transform: translateZ(-35vw) rotateY(-120deg);
  }
  55%, 72.5% {
    transform: translateZ(-35vw) rotateY(-240deg);
  }
  82.5%, 100% {
    transform: translateZ(-35vw) rotateY(-360deg);
  }
}
@keyframes jelly {
  from {
    transform: scale(1, 1);
  }
  30% {
    transform: scale(1.25, 0.75);
  }
  40% {
    transform: scale(0.75, 1.25);
  }
  50% {
    transform: scale(1.15, 0.85);
  }
  65% {
    transform: scale(0.95, 1.05);
  }
  75% {
    transform: scale(1.05, 0.95);
  }
  to {
    transform: scale(1, 1);
  }
}
footer {
  background-color: #20386e;
  padding: 20px 0;
}
footer p {
  font-size: 0.9rem;
  color: white;
}