@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

:root {
  --primary: #ffb545;
  --secondary: #cc6220;
  --accent: lightsalmon;
  --light: #eee;
  --gray30: #b2b2b2;
  --gray70: #4d4d4d;
  --breaksm: 576px;
  --breakm: 768px;
  --breakl: 960px;
  --breakxl: 1200px;
}

@font-face {
  font-family: ebrimaFont;
  src: url(ebrima.ttf);
}

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

body {
  font-family: ebrimaFont, sans-serif;
}

.width-container {
  width: 90%;
  max-width: 62rem;
  margin: 0 auto;
}

.full-container {
  width: 100%;
}

.full-height {
  min-height: 70vh;
}

/* HEADER Y NAV */

header {
  background-color: rgba(255, 255, 255, 0.3);
}

header > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  border-radius: .5rem;
}

header ul {
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
}

header li {
  margin: 0 1rem;
  padding: 1rem;
}

header li > a {
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  color: var(--secondary);
}

header .link-active {
  color: var(--primary);
  border-bottom: 0.25rem solid var(--secondary);
  padding-bottom: .5rem;
}

header img {
  margin: 0.5rem 0;
}

.brand-logo {
  max-width: 15rem;
}

@media only screen and (max-width: 1000px) {
  header > div {
    flex-direction: column;
    justify-content: center;
  }
  header ul {
    margin-bottom: 2rem;
  }
}

@media only screen and (max-width: 710px) {
  header > div {
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 2rem;
  }

  header ul {
    flex-direction: column;
  }

  header li {
    padding: 0.5rem;
  }
}

@media only screen and (max-width: 450px) {
  header > div {
    flex-direction: column;
    justify-content: center;
  }
}

@media only screen and (max-width: 300px) {
  .brand-logo {
    width: 100%;
  }
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(204,98,32, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-toggler {
  border: 1px solid var(--secondary) !important;
}

/* FOOTER */

footer {
  background-color: var(--secondary);/*#e16c24*/
  color: white;
}

footer > div {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  min-height: 14rem;
}

footer > div > div {
  /*width: 10rem;*/
  text-align: center;
}

footer ul {
  padding: 0;
  list-style: none;
}

footer li {
  margin: 0 1rem;
  padding: 1rem;
}

footer li > a {
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

footer li > a:hover {
  border-bottom: 0.25rem solid var(--gray70);
  font-weight: bold;
}

.social-media {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.footer-time {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.social-media p {
  margin: 0 .5rem;
}

.social-media a {
  color: white;
  text-decoration: none;
}

.footer-logo {
  text-align: center;
  /*padding: 0 1rem;*/
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

.footer-logo img {
  max-height: 15rem;
  background-color: rgba(255, 255, 255, .45);
  border-radius: 1rem;
  margin: 1rem 0;
}

.footer-map {
  flex-grow: 2;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media only screen and (min-width: 645px) and (max-width: 970px) {
  .footer-map {
    flex: 2 0 auto;
  }
  footer > div > div {
    margin-top: 1rem;
  }
}

@media only screen and (max-width: 644px) {
  footer > div {
    flex-direction: column;
    align-items: center;
  }

  footer > div > div {
    width: 100%;
    margin: 1rem 0;
  }

  .social-media p {
    margin: .125rem 0;
  }

.footer-map {
  flex-grow: 1;
}

}

/* HOME y PRODUCTS */

/*.hero-home {
  background-image: url('../images/site/laboratorio-1200.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  content: '';
}

.hero-home > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 30rem;
  margin-bottom: 5rem;
  color: white;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
}

.hero-subtitle {
  font-size: 2rem;
}

@media only screen and (max-width: 650px) {
  .hero-home > div {
    flex-direction: column;
    justify-content: space-around;
  }
}*/

/* COMPROMISOS */

.last-home {
  margin-bottom: 5rem;
}

.last-home h2,
.contact-form h2,
.products h2,
.cart h2,
.about-us h2,
.orders h2,
.exams h2,
.exams-home > h2 {
  margin-bottom: 3rem;
  text-align: center;
  border-bottom: 1px solid var(--gray30);
  padding-bottom: 2rem;
}

.last-home > div > div {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.last-home > div > div > div {
  width: 30%;
  min-width: 300px;
  text-align: justify;
}

.last-home > div > div h3 {
  margin: 1rem 0;
}

.last-home > div > div p {
  margin-bottom: 1rem;
}

.last-home > div > div i {
  text-align: center;
  font-size: 5rem;
  color: var(--primary);
}

.last-home img, .product-card img {
  width: 90%;
  max-height: 16rem;
  text-align: center;
}

@media only screen and (max-width: 665px) {
  .last-home > div > div {
    margin-bottom: 3rem;
  }
}

.un3373 {
  max-height: 5rem;
}

/* ALTERNATIVA */

.last-home2 {
  margin-bottom: 5rem;
}

.last-home2 > div {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.last-home2 > h2 {
  margin-bottom: 3rem;
  text-align: center;
  border-bottom: 1px solid var(--gray30);
  padding-bottom: 2rem;
}

.last-home2 > div > div > img {
  max-width: 10rem;
  margin: 1rem auto;
}

.last-home2-calidad {
  background-image: url('../images/site/calidad-600.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 20rem;
  height: 20rem;
}

.last-home2-minimizar {
  background-image: url('../images/site/minimizar-600.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 20rem;
  height: 20rem;
}

.last-home2-transporte {
  background-image: url('../images/site/transporte-600.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 20rem;
  height: 20rem;
}

.last-home2-calidad-text {
  width: 25rem;
  text-align: justify;
}

.last-home2-minimizar-text {
  width: 25rem;
  text-align: justify;
}

.last-home2-transporte-text {
  width: 25rem;
  text-align: justify;
}

@media only screen and (max-width: 835px) {
  .last-home2-minimizar {
    order: 1;
  }

  .last-home2-minimizar-text {
    order: 2;
  }

}

@media only screen and (max-width: 600px) {
  .last-home2-calidad {
    width: 100%;
    height: 20rem;
  }

  .last-home2-minimizar {
    width: 100%;
    height: 20rem;
  }

  .last-home2-transporte {
    width: 100%;
    height: 20rem;
  }

}

/* HERO 1 */

.last-home3 > div {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.last-home3 > div > div {
  width: 45%;
  min-width: 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.last-home3 > div > div p {
  margin-bottom: 1rem;
}

.hero-home3 {
  background-image: url('../images/site/laboratorio-1000.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 25rem;
  height: 25rem;
  border-radius: 1rem;
}

@media only screen and (max-width: 600px) {
  .hero-home3 {
    width: 100% !important;
    border-radius: 0;
  }
}

.hero-title3 {
  font-size: 3rem;
  color: var(--secondary);
  font-weight: bold;
}

.hero-subtitle3 {
  font-size: 2rem;
  color: var(--primary);
}

/* CAROUSELS */

#carousel-big {
  display: block;
}

#carousel-sml {
  display: none;
}

@media only screen and (max-width: 600px) {
  #carousel-big {
    display: none;
  }

  #carousel-sml {
    display: block;
  }
}

/* SERCOTEC */

.sercotec {
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  padding: 1rem 0;
  font-size: 1.5rem;
  flex-wrap: wrap;
  color: var(--secondary);
}

.sercotec > div {
  width: 35%;
}

.sercotec img {
  width: 100%;
}

@media only screen and (max-width: 840px) {
  .sercotec {
    flex-direction: column;
  }

  .sercotec > div {
    width: 75%;
  }

  .sercotec img {
    width: 50%;
  }
}

@media only screen and (max-width: 680px) {
  .sercotec img {
    width: 75%;
  }
}

@media only screen and (max-width: 450px) {
  .sercotec img {
    width: 90%;
  }
}

/* EXAMS */

.exams-home > div {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.exams-home > div > div {
  width: 30%;
  min-width: 300px;
  text-align: center;
  box-shadow: 5px 5px 5px var(--gray30);
  border-radius: .3rem;
  border: 1px solid var(--light);
  margin-bottom: 2rem;
  padding: 1rem 0;
}

.exams-home > div > div h3 {
  margin: 1rem 0;
}

.exams-home > div > div p {
  text-align: justify;
  padding: 0 .75rem;
}

.exams-home > div > div i {
  text-align: center;
  font-size: 5rem;
  color: var(--secondary);
}

.exams-home img {
  max-height: 5rem;
}

.product-card {
  width: 20rem;
  margin-bottom: 3rem;
  box-shadow: 5px 5px 5px var(--gray30);
  border-radius: .3rem;
  border: 1px solid var(--light);
  padding: 1rem;
  text-align: center;
}

.product-card p {
  padding-top: .8rem;
}

.product-card button {
  border: 1px solid var(--gray30);
  border-radius: .3rem;
  padding: .5rem 1.2rem;
  margin-top: .5rem;
}

.product-card input {
  margin-top: .8rem;
  padding: .5rem;
  border: 1px solid var(--gray30);
  border-radius: .3rem;
  width: 5rem;
}

.product-card form {
  display: flex;
  column-gap: 1rem;
  justify-content: center;
  align-items: flex-end;
}

.product-card-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.product-filter {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  column-gap: 1rem;
  margin-top: .8rem;
}

.product-filter select, .product-filter button {
  border: 1px solid var(--gray30);
  border-radius: .3rem;
  padding: .5rem;
  width: 6rem;
}

.product-filter span {
  margin-bottom: 2rem;
}

.products > form {
  background-color: var(--light);
  padding: 1rem;
  border-radius: .5rem;
  border: 1px solid var(--gray30);
  margin-bottom: 3rem;
}

.product-show {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.product-show h2 {
  margin: 1rem 0;
  border-bottom: 2px solid var(--light);
  padding-bottom: 1rem;
}

.product-show p {
  margin-bottom: 1rem;
}

.product-show img {
  width: 90%;
  max-height: 28rem;
}

.product-show-image {
  text-align: center;
  padding-bottom: 5rem;
}

.product-show-text {
  text-align: justify;
  padding: 0 2rem;
}

.product-show-description {
  padding: 2rem 0;
}

.product-show-price {
  font-size: 1.5rem;
  font-weight: bold;
  padding-bottom: 2rem;
}

.product-show form {
  display: flex;
  column-gap: 1rem;
  justify-content: space-between;
  align-items: flex-end;
}

.product-show button {
  margin-top: .5rem;
  border: 1px solid var(--gray30);
  border-radius: .3rem;
  padding: .5rem 1.2rem;
}

.product-show input {
  margin-top: .8rem;
  padding: .5rem;
  border: 1px solid var(--gray30);
  border-radius: .3rem;
  width: 8rem;
}

/* ABOUT US */

.about-us > div > p {
  margin-bottom: 2rem;
  text-align: justify;
}

.about-us > div > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.team-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--light);
  border-radius: .75rem;
  box-shadow: 5px 5px 5px var(--gray30);
  margin-bottom: 3rem;
  width: 48%;
}

.team-card-text p, .team-card-text h3 {
  margin-top: 1rem;
}

.team-card-img img {
  width: 100%;
}

@media only screen and (max-width: 600px) {
  .team-card {
    width: 100%;
  }
}

/* ORDERS */

.orders > div > div {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.orders > div > div > div {
  width: 40%;
  text-align: center;
  box-shadow: 5px 5px 5px var(--gray30);
  border-radius: .3rem;
  border: 1px solid var(--light);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

@media only screen and (max-width: 450px) {
  .orders > div > div > div {
    width: 95%;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }
}

.orders > div > div img {
  width: 100%;
  margin-bottom: 1rem;
}

.orders > div > div a {
  text-decoration: none;
  color: white;
  background-color: var(--secondary);
  padding: .75rem 1rem;
  border-radius: .5rem;
}

.orders embed, .orders object {
  margin-bottom: 2rem;
  height: 1400px;
}

.orders h3 {
  margin: 1rem 0;
  color: var(--primary);
}

@media only screen and (max-width: 600px) {
  .orders embed, .orders object {
    height: 600px;
  }
}

/* EXAMS */

.exams > div > div {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.exams > div > div > div {
  width: 40%;
  text-align: center;
  box-shadow: 5px 5px 5px var(--gray30);
  border-radius: .3rem;
  border: 1px solid var(--light);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.exams > div > div img {
  width: 100%;
  margin-bottom: 1rem;
}

.exams > div > div a {
  text-decoration: none;
  color: white;
  background-color: var(--secondary);
  padding: .75rem 1rem;
  border-radius: .5rem;
}

.exams h3 {
  margin: 1rem 0;
  color: var(--primary);
}

.exams > div {
  text-align: center;
}

@media only screen and (max-width: 450px) {
  .exams > div > div > div {
    width: 95%;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  .exams > div > img {
    width: 100%;
    margin-bottom: 2rem;
  }
}

/* CONTACT FORM */

.contact-form {
  background-color: var(--primary);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form form div {
  padding-bottom: 1rem;
}

.contact-upper {
  display: flex;
  justify-content: space-between;
}

.contact-upper > div {
  width: 30%;
}

@media only screen and (max-width: 680px) {
  .contact-upper {
    flex-direction: column;
  }

  .contact-upper > div {
    width: 100%;
  }
}

.contact-form form input {
  display: block;
  margin-top: .5rem;
  border: 1px solid var(--gray30);
  border-radius: .3rem;
  padding: .5rem;
}

.contact-form button {
  border: 1px solid var(--gray30);
  border-radius: .3rem;
  padding: 1rem 3rem;
  margin-top: .5rem;
}

textarea {
  width: 100%;
  margin-top: .5rem;
  border: 1px solid var(--gray30);
  border-radius: .3rem;
  padding: .5rem;
}

@media only screen and (max-width: 500px) {
  .contact-form form input {
    width: 100%;
  }
}

/* CART */

.cart {
  min-height: 37rem;
}

.cart-item {
  display: flex;
  column-gap: 1rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--light);
  padding-bottom: .5rem;
  margin-bottom: .5rem;
}

.cart-item img {
  width: 3rem;
}

.cart-item button {
  border: 1px solid var(--gray30);
  border-radius: .3rem;
  padding: .5rem 1.2rem;
  margin-top: .5rem;
}

.cart-item input {
  margin-top: .8rem;
  padding: .5rem;
  border: 1px solid var(--gray30);
  border-radius: .3rem;
  width: 5rem;
}

.cart > p {
  margin: 1rem 0;
}

.cart-total {
  text-align: right;
  padding-bottom: 3rem;
}

#delete-cart {
  background-color: red;
  color: white;
  font-size: 1.2rem;
}

.cart-finish {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.cart-finish select, .cart-finish button, #finish {
  border: 1px solid var(--gray30);
  border-radius: .3rem;
  padding: .5rem;
  width: 15rem;
  margin-bottom: .8rem;
}

.cart-empty {
  text-align: center;
  padding-top: 10rem;
}

/* USER FORMS */

.user-form {
  display: flex;
  justify-content: center;
  align-items: center;
}

.user-form > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 5px 5px 5px var(--gray30);
  border-radius: .3rem;
  border: 1px solid var(--light);
  padding: 2rem;
}

.user-form form input {
  display: block;
  margin-top: .5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--gray30);
  border-radius: .3rem;
  padding: .5rem;
}

.user-form form button {
  border: 1px solid var(--gray30);
  border-radius: .3rem;
  padding: .5rem 1.2rem;
  display: block;
  margin: 2rem 0;
}

.user-form h2 {
  margin-bottom: 1.5rem;
}

/* IDEAS FONDO */

.fondo-1 {
  padding: 5rem 0;
  border: 2px solid black;
  background-image: url('../images/site/pets-15-transp.png');
  background-repeat: repeat;
}

.fondo-2 {
  padding: 5rem 0;
  border: 2px solid black;
  background-image: url('../images/site/pets-25-color.png');
  background-repeat: repeat;
}

.fondo-3 {
  padding: 5rem 0;
  border: 2px solid black;
  background-image: url('../images/site/pets-15-200-transp.png');
  background-repeat: repeat;
}

.fondo-4 {
  padding: 5rem 0;
  border: 2px solid black;
  background-image: url('../images/site/pets-15-200-color.png');
  background-repeat: repeat;
}

.fondo-5 {
  padding: 5rem 0;
  border: 2px solid black;
  background-image: url('../images/site/pets-15-100-transp.png');
  background-repeat: repeat;
}

.fondo-6 {
  padding: 5rem 0;
  border: 2px solid black;
  background-image: url('../images/site/pets-15-100-color.png');
  background-repeat: repeat;
}

.exams-home2 > h2 {
  margin-bottom: 3rem;
  text-align: center;
  border-bottom: 1px solid var(--gray30);
  padding-bottom: 2rem;
}

.exams-home2 > div {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.exams-home2 > div > div {
  width: 30%;
  min-width: 300px;
  text-align: center;
  box-shadow: 5px 5px 5px var(--gray30);
  border-radius: .3rem;
  border: 1px solid var(--light);
  margin-bottom: 2rem;
  padding: 1rem 0;
  background-color: white;
}

.exams-home2 > div > div h3 {
  margin: 1rem 0;
}

.exams-home2 > div > div p {
  text-align: justify;
  padding: 0 .75rem;
}

.exams-home2 > div > div i {
  text-align: center;
  font-size: 5rem;
  color: var(--secondary);
}

.exams-home2 img {
  max-height: 5rem;
}
