/* ================== VARIABLES ================== */
:root {
  --first-color: #00abff;
  --button-color: hsl(0, 0%, 17%);
  --button-color-alt: hsl(0, 0%, 21%);
  --title-color: hsl(0, 0%, 15%);
  --text-color: hsl(0, 0%, 35%);
  --body-color: hsl(0, 0%, 99%);
  --container-color: #fff;
  --border-color: hsl(0, 0%, 94%);
  --white-text: #fff;
  --black-text: #000;
}

/* ================== UTILIDADES ================== */
.section {
  padding: 6.5rem 0 1rem;
}

.section__title {
  position: relative;
  font-size: 1.5rem;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

.section__title::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 67px;
  height: 2px;
  background-color: #00abff;
}



.grid {
  display: grid;
}

.bd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 2rem;
  padding: 1.5rem 0;
}

/* ================== SLIDER MARCAS ================== */
.slider {
  width: 80%;
  margin: auto;
  overflow: hidden;
}

.slider .slide-track {
  display: flex;
  animation: scroll 40s linear infinite;
  width: calc(200px * 14);
}
.slide img{
  height: 180px;
  width: auto;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 7));
  }
}

/* ================== SLIDER ENVIOS ================== */
.slider1 {
  margin: auto;
  overflow: hidden;
  padding: 5%;
}

.slider1 .slide-track1 {
  display: flex;
}

.slide1 {
  display: flex;
  justify-content: center;
}

.slider1 .slide1 img {
  max-height: 200px;
  width: auto;
}

@media (min-width: 368px) {
  .slider1 .slide-track1 {
    display: flex;
    justify-content: center;
  }
  .slider1 .slide1 img {
  height: auto;
  max-width: 100%;
}
}

/* ================== SPONSORS ================== */
.bd-grid {
    display: grid;
    max-width: 100%;
    margin-left: 2.5rem;
    margin-right: 2.5rem;
    align-items: center;
    gap: 1rem;
}
.sponsors__logo {
  display: flex;
  justify-content: center;
}

.sponsors__logo img {
  max-width: 170%;
  width: 400px;
}

.sponsors__logo img:hover {
  filter: none;
}

/* ================== CARDS OFRECEMOS ================== */

.card h6 {
    letter-spacing: .1rem;
    text-transform: uppercase;
}
.container-card {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.card {
  background-color: var(--white-text);
  border-radius: 1rem;
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: row;
  margin: 1.5rem;
  overflow: hidden;
  width: 30rem;
  height: 19rem;
}

.left-column {
  color: white;
  padding: 2rem;
  max-width: 10rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.left-column i {
  font-size: 5rem;
}

.left-column h2 {
  color: white;
}

.right-column {
  padding: 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
}

.right-column p {
  font-size: 0.9rem;
  color: var(--black-text);
}

.background1-left-column {
  background-image: url("../assets/envios/embalaje.jpg");
}

.background2-left-column {
  background-image: url("../assets/envios/producto.jpg");
}

.background3-left-column {
  background-image: url("../assets/envios/envio.jpg");
}

.background4-left-column {
  background-image: url("../assets/envios/recolecta.jpg");
}

@media (max-width: 560px) {
  .card {
    width: auto;
    flex-direction: column;
    height: auto;
  }

  .left-column {
    padding: 2rem;
    max-width: 100%;
  }
}

/* ================== CONTACTO FORM ================== */

.container-form {
  max-width: 1024px;
  display: grid;
  grid-gap: 50px;
  margin-top: 90px;
}

.container-form h2 {
  margin-bottom: 15px;
  font-size: 35px;
}

.container-form p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.container-form a {
  font-size: 17px;
  display: inline-block;
  text-decoration: none;
  width: 100%;
  margin-bottom: 15px;
  color: black;
  font-weight: 700;
}

.container-form a i {
  color: orange;
  margin-right: 10px;
}

.container-form form .campo,
.container-form form textarea {
  width: 100%;
  padding: 15px 10px;
  font-size: 15px;
  border: 1px solid;
  margin-bottom: 20px;
  border-radius: 3px;
  outline: 8px;
}

.container-form form textarea {
  height: 150px;
}

.container-form .btn-enviar {
  padding: 15px;
  font-size: 16px;
  border: none;
  background: orange;
  color: white;
  border-radius: 3px;
  cursor: pointer;
  transition: all 300ms ease;
}

.container-form .btn-enviar:hover {
  background: black;
}

@media (min-width: 768px) {
  .container-form {
    grid-template-columns: repeat(2, 1fr);
  }
}
