@import url(root.css);
@import url(fonts.css);
@import url(common.css);

* {
	box-sizing     : border-box;
	scroll-behavior: smooth;
	scroll-margin  : 150px;
	margin         : 0;
	padding        : 0;
}

html,
body {
	min-height : 100%;
	font-family: var(--main-font), system-ui, Arial, sans-serif;
	font-weight: 400;
	font-size  : var(--main-font-size);
	color      : var(--font-color);
}

h1,
h2,
h3 {
	font-family: var(--main-font), system-ui, Arial, sans-serif;
	font-weight: 700;
	margin     : 0;
  margin-bottom: 40px;
}

h1 {
	font-size: var(--h1-font-size);
  position: relative;
}

h1 span {
  display: block;
  font-size: 15px;
}

h1 span, footer {
  color: #808080;
  letter-spacing: 2px;
}

h1 span {
  font-weight: 700;
  margin-bottom: -5px;
}

h2 {
	font-size: var(--h2-font-size);
}

h3 {
	font-size: var(--h3-font-size);
  font-weight: 600;
}

ul {
  /* list-style-type: none; */
  margin-block-start: 0;
  padding-inline-start: 18px;
}

ul li:not(:last-child) {
	margin-bottom: 0;
}


header {
	color           : var(--header-font-color);
	font-size       : var(--header-font-size);
  background : var(--header-bg-color);
  box-shadow: var(--box-shadow)
}

header .logo {
  transition: all 0.3s ease;
}

footer {
	font-size: var(--footer-font-size);
  background-color: #eee; 
}

footer .contenido {
  padding: 30px 15px;
}

footer .copy {
  background-color: var(--tertiary-color);
}

footer .copy .contenido {
  padding: 5px 15px;
}

table {
	border-spacing: 0;
	width         : 100%;
}

th,
td{
	padding        : 5px 0;
	border-collapse: collapse;
}

hr {
	border    : none;
	border-top: #ccc solid 1px;
	margin    : 20px auto;
	width     : min(1000px, 95%);
	margin-top: 100px;
}

section:first-of-type:not(#home section:first-of-type) {
  margin-top: 50px;
}

section:not(:first-of-type) {
	margin: var(--margin-sections);
}

/* section:first-of-type { */
/* 	margin-top: 175px; */
/* } */


strong {
	font-weight: bold;
}

.c-white strong, .c-white.strong {
  color: white;
}

img {
	max-width: 100%;
}

button,
button[type="button"],
.btn {
	border       : none;
	padding      : 8px 25px;
	border-radius: 3px;
	text-align   : center;
	cursor       : pointer;
	display      : inline-block;
	color        : white;
  background-color: #E85D5D;
}

#instagram button[type="button"] {
  display: none;
}

.btn.secondary {
  color: #2E7041;
  background-color: white;
}

.semibold {
  font-weight: 600;
}

.bordered {
  border-radius: 10px;
}

.bg-red {
  background-color: #E85D5D;
}

.bg-green {
  background-color: #2E7041;
}

.bg-gray {
  background-color: #c6cece
}

.bg-blue {
  background-color: #1C3144;
}

.c-blue {
  color: #1C3144
}

.bg-bluegreen {
  background-color: #2BBBAD;
}

button {
	background-color: #343434;
	width           : 100%;
}

.error {
  font-size: 12px;
  color: red;
  font-weight: bold;
}

.logo {
  width: 125px;
  max-width: 100%;
}

.btn-dark, button[type="button"] {
  background-color: var(--primary-btn-color);
  border: none
}

.btn {
  margin-top: 50px;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

.btn-dark:hover, button[type="button"]:hover {
  outline: 3px solid #262626;
  outline-offset: -3px;
}


.btn:hover, .btn-dark:hover, button[type="button"]:hover {
  background-color: white;
  color: #262626
}

button[type="button"] {
  min-width: 70px
}

div[aria-labelledby="swal2-title"] {
  border-radius: 0;
}

a {
	text-decoration: none
}

a>svg,
span>svg {
	vertical-align: middle;
	height        : 100%;
	width         : 100%;
}

input:-webkit-autofill {
	background-color  : white !important;
	-webkit-box-shadow: 0 0 0 1000px white inset !important;
	box-shadow        : 0 0 0 1000px white inset !important;
	color             : black !important;
}

input,
textarea {
	display: block;
	padding: 7px 10px;
	width  : 100%;
  border-radius: 0;
  border: 1px solid #333
}

input.invalid,
textarea.invalid {
	border          : 2px solid red;
	background-color: #ffe6e6;
}

input:focus {
	/* background-color   : white; */
	outline         : none;
	border-radius   : 0;
	/* border       : 2px solid black; */
}

input:focus.invalid {
	outline: none;
	border : 2px solid red
}

label {
	display: block;
}

label:not(:first-of-type) {
	margin: 25px 0;
}

.w3-card {
  padding-bottom: 80px;
}

.w3-card {
  box-shadow: none;
  border: 1px solid #c6cece;
}

.w3-card .img-wrapper {
  margin-top: -70px;
}

.gradiente-rojo {
background: #c32222;
background: linear-gradient(0deg,rgba(195, 34, 34, 1) 0%, rgba(253, 187, 45, 1) 100%);
}

.gradiente-azul {
  background: #3d61ff;
  background: linear-gradient(0deg,rgba(61, 97, 255, 1) 0%, rgba(15, 15, 77, 1) 100%);
}

.w3-card h3 {
  margin: 15px 0 20px;
  font-size: 20px;
}

.w3-card .btn {
  white-space: nowrap;
}

@media screen and ((min-width: 600px) and (max-width: 1030px)) {
  #free-website .w3-card .btn {
    font-size: 10px;
    padding: 8px 16px;
  }
  #free-website .btns {
    gap: 5px;
  }
}

.w3-card .btn.center-bottom, .w3-card .btns.center-bottom {
  bottom: 20px;
}

.contenido {
	max-width: var(--contenido);
	margin   : auto;
	padding  : 15px;
	/* position : relative; */
}

.loader {
	border-radius   : 50%;
	border          : 3px solid black;
	border-top-color: transparent;
	animation       : spin 1.2s linear infinite;
	height          : 50px;
	width           : 50px;
	position        : absolute;
	top             : 0;
	bottom          : 0;
	right           : 0;
	left            : 0;
	margin          : auto;
}


#pages {
	margin-top: 50px;
}

#pages .active {
	color: #990000;
}

#collapsing-menu {
  background-color: #2E7041;
  max-width: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}

#collapsing-menu.open {
  max-width: 100%;
  opacity: 1;
}

#collapsing-menu .logo {
  width: 150px;
}

#collapsing-menu .w3-center {
  margin-top: 250px;
}

#collapsing-menu a {
  padding: 10px;
  display: block;
}

#collapsing-menu a:first-of-type {
  padding-top: 0;
}

#collapsing-menu a:last-of-type {
  padding-bottom: 0;
}

.sombra {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
}

details > summary:first-of-type {
  list-style: none;
}

details > summary {
  display: flex;
  gap: 10px;
  cursor: pointer;
}

details > summary::before {
  content: '+';
  height: max-content;
  transition: all 0.3s ease-in-out;
}

details[open] > summary::before {
  transform: rotate(45deg);
}

summary {
  color: white;
  padding: 15px 20px;
}

details {
  user-select: none;
  overflow: hidden;
  margin-bottom: 3px;
  outline-offset: -3px;
}

.w3-dropdown-content {
  background-color: var(--tertiary-color);
  text-transform: uppercase;
  font-size: 13px;
  top: 55px;
  left: -16px;
  min-width: 124px;
}

.wa-flotante {
  position: fixed;
  z-index: 99;
  bottom: 30px;
  right: 25px;
  text-align: center;
  font-weight: bold;
}

.wa-flotante img {
  filter: drop-shadow(-2px 2px 8px rgba(0,0,0,0.3));
  width: 70px;
}

#home #banner h1 {
  font-size: 50px;
}

#home #banner .btns, #free-store .btns, #free-website .btns {
  justify-content: start;
  gap: 15px
}

#home #banner, #about-us #leads{
  background-color: #F7F9F8;
}

#home #about-us .info {
  padding: 100px 15px;
}

#home #about-us .info p {
  font-size: 20px;
  max-width: 680px;
  margin: auto;
}

#home #our-services .bordered {
  padding: 50px 16px!important;
  /* z-index: -2; */
  overflow: hidden;
}

#home #our-services h2 {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

#home #our-services .absolute {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  /* z-index: -1; */
}

#home #our-services .btn {
  margin-top: 30px;
  position: relative;
  z-index: 2;
}

#home #our-services .grid div:nth-of-type(1) {
  background-color: #45702E;
}

#home #our-services .grid div:nth-of-type(2), #our-services #services .grid .item:nth-of-type(1) {
  background-color: #2E7041;
}
#home #our-services .grid div:nth-of-type(3), #about-us #mission, #our-services #services .grid .item:nth-of-type(2) {
  background-color: #2E706E;
}
#home #our-services .grid div:nth-of-type(4), #about-us #accredited, #our-services #services .grid .item:nth-of-type(3) {
  background-color: #53705C;
}

#home #promotional-products .contenido {
  padding: 50px 15px;
}

#home #promotional-products h2 {
  margin-bottom: 10px;
}

#home #promotional-products p {
  max-width: 505px;
  text-shadow: 1px 1px 1px #ccc;
}

#home #promotional-products p:first-of-type {
  margin-bottom: 20px;
}

#home #promotional-products .btn {
  margin-top: 25px;
}

#home #logistics ul {
  margin-bottom: 20px; 
  list-style: none;
  padding-inline-start: 0;
}

#home #logistics ul li {
  position: relative;
  padding-left: 20px;
}

#home #logistics ul li::before {
  content: '•';
  position: absolute;
  color: #2E7041;
  font-size: 3em;
  left: 0;
  top: 50%;
  transform: translateY(-55%);
}

#home #logistics .btn {
  margin-top: 30px;
}

#home #logistics .van {
  width: 327px
}

#home #logistics .van:nth-child(1) {
  right: 0;
  bottom: 0;
  z-index: 2;
}

#home #brands-trust-us h1 {
  margin-bottom: 15px;
}

#brands-trust-us p {
  max-width: 500px;
  margin: auto;
}

#brands-trust-us .swiper {
  height: 100px; 
  margin: 50px auto; 
  width: 90%
}

#brands-trust-us .img-wrapper>img {
  object-fit: contain;
}

#home #instagram .contenido {
  min-height: 720px;
}

#home #instagram .fondo {
  background-color: #1C1B1B
}

#home #banner .swiper-slide img {
  left: unset;
  transform: translateY(-50%);
  object-fit: contain;
  width: 50%;
  right: 15px;
}

#free-store ul {
  list-style-type: decimal;
}

#free-store .bg-blue {
  padding: 50px 0
}

#about-us #leads .contenido {
  padding: 100px 15px;
}

#about-us #leads h3 {
  font-size: 18px;
  margin: 30px 0;
}

#about-us #mission, #about-us #accredited {
  padding: 30px 16px 50px;
} 

#about-us #mission h2, #about-us #accredited h2 {
  margin-bottom: 20px;
}

#our-services ul {
  padding-inline-start: 0;
  list-style-type: none;
}

#our-services #services .grid {
  gap: 100px;
}

#our-services #services .img-wrapper {
  text-align: center;
}

#our-services #services .img-wrapper img {
  bottom: -30px;
  position: relative;
  margin: auto;
  width: 80%;
}

#our-services li:not(:last-of-type) {
  margin-bottom: 20px;
}

#about-us #how-we-started .swiper-button-next,
#about-us #how-we-started .swiper-button-prev {
  top: unset;
  left: unset;
  right: 16px;
  bottom: 0;
}

#about-us #how-we-started .swiper-button-prev {
  right: 70px;
}

#how-we-started .swiper-started .swiper-slide {
  min-height: 350px;
  width: calc(50% - 30px - 80px);
}

.swiper-pagination {
  bottom: 20px!important;
}

.swiper-pagination-bullet {
  height: 13px;
  width: 13px;
  margin: 0 8px!important;
}

.swiper-pagination-bullet-active {
  background-color: #E85D5D;
  outline: 2px solid #E85D5D;
  outline-offset: 6px;
}

.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after
{
  content: '';
  background-image: url(../assets/flecha.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 20px;
  height: 20px;
  filter: invert(1);
}
.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
  content: '';
  background-image: url(../assets/flecha.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: rotate(180deg);
  width: 20px;
  height: 20px;
  filter: invert(1);
}

.flecha {
  margin-left: 7px;
  margin-top: -2px;
  width: 12px
}


@media only screen and (min-width:601px) {
  header.scrolled .logo {
		width : 90px;
	}

  header nav {
    gap: 20px!important;
    justify-content: left!important
  }
  #cards .w3-card:nth-child(2) {
    animation-delay: 1s;
  }

  #cards .w3-card:nth-child(3) {
    animation-delay: 1.6s;
  }
}

@media screen and ((min-width: 600px) and (max-width: 881px)) {
  header {
    font-size: 17px;
  }
  nav .logo {
    margin-right: 0;
    width: 100px;
  }
  nav .absolute.center {
    left: unset;
    transform: translateY(-50%);
    right: 15px
  }
}

@media only screen and (max-width:600px) {
  header nav.flex {
    justify-content: space-between;
  }
	h1 {
		font-size: var(--h1-small-font-size);
	}

	h2 {
		font-size: var(--h2-small-font-size);
	}

	h3 {
		font-size: var(--h3-small-font-size);
	}
  header.scrolled .logo {
		width : 80px;
	}

  .logo {
    width: 100px;
  }

  .btn, .btn-dark {
    font-size: 15px;
  }

  footer .flex {
    flex-direction: column;
  }

  .wa-flotante {
    bottom: 20px;
    right: 10px
  }

  .wa-flotante img {
    width: 60px;
  }
  .icons {
    flex-direction: row!important;
    margin-top: 20px;
  }

  #home #banner h1 {
    font-size: 35px;
    text-shadow: 1px 1px 4px white;
  }

  #home #banner .swiper-slide img {
    width: 70%;
  }

  #home #banner .swiper-slide img.absolute.center {
    top: 21%
  }

  #our-services #services .grid .grid {
    gap: 0;
  }
  #brands-trust-us .swiper {
    margin: 15px auto;
  }
  #brands-trust-us .swiper-button-next {
    right: -10px
  }
  #brands-trust-us .swiper-button-prev {
    left: -10px
  }

  #home #logistics .van {
    width: 60%
  }
  #how-we-started .swiper-started .swiper-slide {
    width: calc(100% - 15px - 50px);
  }
  #home #our-services .grid {
    gap: 50px;
  }
  #home #instagram .contenido {
    min-height: 620px;
  }
}


@keyframes spin {
	to {
		transform: rotate(360deg)
	}
}
