@import "gallery.css";
:root {
  --primary-accent: midnightblue;
  --navbar-focus: midnightblue;
  --principal-color: #031748;
  --red-color: #b60000;
  --gray-text: #595959;
}

.bar {
  padding: 30px;
}
.banner-page {
  height: 300px;
  width: 100%;
  background-size: cover;
  align-items: center;
  align-content: center;
  justify-content: center;
  justify-items: center;
  display: flex;
  flex-direction: column;
  font-size: 20px;
}

.banner-page h1 {
  text-transform: uppercase;
  color: white;
  text-align: center;
  max-width: 70%;
  font-size: 46px;
  text-shadow: -1px -1px black;
}
.calidad {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  text-align: center;
  color: white;
  background-size: cover;
  min-height: 260px;
  width: 70%;
  text-shadow: -1px -1px black;
}
.calidad h1 {
  color: white;
  font-size: 40px;
}
.centered-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.certificaciones {
  font-size: 18px;
  text-align: justify;
  color: var(--gray-text);
}
.certificaciones p {
  width: 100%;
  padding-right: 10px;
}
.certificaciones img {
  margin-top: 20px;
  max-width: 100%;
}
.contacto {
  display: flex;
  flex-direction: row;
  margin-block: 20px;
  font-size: 16px;
  color: var(--gray-text);
}
.contacto p {
  padding: 0;
  margin: 0;
  width: 100%;
}
.contacto h4 {
  text-transform: uppercase;
  color: var(--principal-color);
}
.contacto i {
  background-color: var(--red-color);
  border-radius: 50%;
  min-width: 60px;
  min-height: 60px;
  max-width: 60px;
  max-height: 60px;
  justify-content: center;
  align-items: center;
  display: flex;
  font-size: 25px;
  margin-right: 5px;
}
.footer-body {
  font-size: 15px;
  color: white;
  background-color: var(--principal-color);
  font-weight: lighter;
}
.footer-body h5 {
  color: white;
  font-weight: normal;
  font-size: 20px;
  margin-top: 16%;
  margin-bottom: 8%;
}
.footer-col {
  text-align: center;
}
.footer-col p {
  width: 100%;
}
.footer-col a {
  color: white;
}
.footer-col a {
  color: white;
  &:active {
    color: var(--red-color);
  }
}
.footer-copyright {
  text-align: center;
  margin-top: 40px;
  border-top: solid white;
  padding-block: 20px;
}
.full-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.full-content {
  width: 100%;
  min-height: 300px;
  margin-bottom: 20px;
}
.gallery-img {
  margin-bottom: 20px;
  width: 25%;
  max-width: 200px;
  height: 160px;
}
.illuminated-box {
  background: url("../img/features/background.jpg") center center no-repeat;
  background-size: cover;
  min-height: 280px;
  margin: 0;
  padding: 0;
}

.illuminated-box .bg {
  background: none;
  background-color: blue;
  opacity: 0.85;
  padding-inline: 3%;
  font-size: 16px;
  color: white;
  text-align: justify;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  border: solid cornflowerblue;
}

.illuminated-box .bg:hover {
  background-color: var(--red-color);
}

.illuminated-box .bg:hover > .line {
  display: inline-block;
}

.illuminated-box-text {
  color: white;
  text-align: center;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.line {
  background-color: white;
  width: 30%;
  height: 3px;
  display: none;
  margin-bottom: 12px;
}

.logo {
  width: 180px;
  height: 180px;
  top: 0;
  left: 3%;
  position: fixed;
  z-index: 1;
  padding: 1%;
  background-color: white;
  box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.1), 0 0 0 2px rgb(255, 255, 255),
    0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
}

.navbar {
  background-color: var(--principal-color);
  color: white;
}

.navbar ul.nav > li > a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-weight: normal;
}
.navbar ul.nav > li > a:hover {
  color: white;
  border-top: none;
  border-bottom: solid 5px var(--red-color);
}
.navbar ul.nav > li.active > a,
.navbar ul.nav > li.open > a {
  border-top: none;
  border-bottom: solid 5px var(--red-color);
}
.nosotros-right {
  border-left: solid;
  padding-left: 5%;
  padding-block: 2%;
  margin-top: 0;
  font-size: 18px;
  text-align: justify;
}

.nosotros-right p,
h1 {
  width: 100%;
}

.nosotros-button {
  background-color: var(--red-color);
  color: white;
  padding-block: 1%;
  padding-inline: 4%;
  margin-block: 3%;
  border: none;
  min-width: 100px;
  max-width: 50%;
  box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.1), 0 0 0 2px var(--red-color),
    0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
  text-align: center;
}
.nosotros-body {
  width: 80%;
  font-size: 17px;
  text-align: justify;
  text-justify: distribute-all-lines;
  color: black;
  border-bottom: 1px solid gray;
}
.nosotros-body h4 {
  text-align: center;
  color: var(--principal-color);
  text-decoration: underline;
  padding-top: 30px;
  padding-bottom: 10px;
}
.nosotros-body .signature {
  text-align: center;
  display: flex;
  flex-direction: column;
  margin-top: 50px;
}
.nosotros-item {
  padding-inline: 10%;
  padding-top: 2%;
  font-size: 17px;
}
.nosotros-body p,
.nosotros-item p {
  width: 100%;
}
.nosotros-item img {
  margin-bottom: 0;
}
.nosotros-item h3 {
  text-transform: uppercase;
  color: var(--principal-color);
  margin-top: 0;
}
.noticias-body {
  font-size: 18px;
  text-align: justify;
  min-width: 100%;
  color: black;
}
.noticias-body h1 {
  text-align: left;
}
.noticias-body h4 {
  color: var(--gray-text);
  font-weight: lighter;
}
.noticias-body p {
  width: 100%;
}
.noticias-body img {
  width: 100%;
  height: auto;
}
.noticias-lateral {
  display: flex;
  flex-direction: row;
  font-size: 16px;
  color: var(--gray-text);
  font-weight: lighter;
  margin-block: 20px;
}
.noticias-lateral h4 {
  color: var(--principal-color);
}
.social {
  background-color: white;
  color: gray;
  height: 80px;
  display: flex;
  justify-content: flex-end;
  align-items: start;
  margin-right: 0;
  padding-top: 1%;
  width: 100%;
}

.social a {
  color: var(--red-color);
  margin-inline: 8px;
  display: flex;
  align-items: baseline;
  padding-inline: 1px;
  font-size: 12px;
}
.social a:hover {
  color: var(--red-color);
  transform: scale(1.1);
}

.social .label {
  color: var(--gray-text);
  text-transform: none;
  font-size: 14px;
  display: block;
}

.small-image {
  width: 100px;
  height: 100px;
}
.servicios-list {
  margin-bottom: 30px;
}
.servicios-list p {
  width: 90%;
}
.servicios-list h4 {
  text-transform: uppercase;
}
.servicios-list .button {
  right: 20px;
  position: absolute;
}
.servicios-list .row {
  display: flex;
  border-top: 1px solid gray;
  align-items: center;
  padding-block: 10px;
}
.servicios-list img,
.noticias-lateral img {
  max-width: 100px;
  min-width: 100px;
  max-height: 60px;
  min-height: 60px;
  margin-right: 10px;
}
.section-calidad {
  width: 100%;
  padding: 0;
  margin: 0;
  height: 300px;
}
.servicio-page {
  color: var(--gray-text);
  font-size: 18px;
  font-weight: lighter;
}
.servicio-page h3 {
  color: var(--principal-color);
}
.servicio-page p {
  width: 100%;
}
.servicios-item {
  min-height: 370px;
  max-height: 370px;
  background: linear-gradient(
    rgba(41, 117, 248, 0) 50%,
    rgba(3, 23, 72, 1) 80%,
    var(--principal-color)
  );
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: left;
  padding: 8%;
}
.servicios-item h4 {
  color: white;
}
.servicios-image {
  min-height: 370px;
  max-height: 370px;
  width: 100%;
  margin-block: 20px;
}

h1 {
  text-transform: uppercase;
}
h4 {
  margin-top: 0;
}
.whatsapp {
  position: fixed;
  z-index: 9999 !important;
  border-radius: 50% 50% 5px 50%;
  box-shadow: 0px 0px 15px rgb(0 0 2 / 30%);
  width: 65px;
  height: 65px;
  bottom: 15px;
  right: 15px;
  background-color: #00e576;
  padding: 8px 12px;
  animation: 1s infinite alternate shimmy;
}
.whatsapp i {
  position: absolute;
  font-size: 50px;
  color: #fff;
}
@media (max-width: 890px) {
  .navbar ul.nav > li > a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: normal;
    padding-inline: 10px;
  }
  .logo {
    width: 120px;
    height: 120px;
  }
  .social .label {
    display: none;
  }
}
@media (max-width: 768px) {
  .banner-page h1 {
    text-transform: uppercase;
    color: white;
    text-align: center;
    max-width: 98%;
    font-size: 34px;
    text-shadow: -1px -1px black;
  }
  .calidad {
    width: 100%;
    padding-inline: 1%;
  }
  .certificaciones .col-sm-6 {
    padding-inline: 0;
    margin-inline: 0;
  }
  .full-content {
    min-height: 200px;
  }
  .gallery-img {
    margin-bottom: 20px;
    width: 48%;
    height: 120px;
    max-width: 160px;
  }
  .illuminated-box {
    margin-inline: 0;
  }
  .illuminated-box .bg {
    width: 100%;
    margin: 0;
  }

  .logo {
    width: 120px;
    height: 120px;
  }
  .nosotros-right {
    border-top: solid;
    border-left: none;
    margin-inline: 0;
    padding-inline: 0;
  }
  .nosotros-body {
    width: 100%;
  }
  .nosotros-button {
    max-width: 60%;
  }
  .servicios {
    padding-inline: 0;
  }
  .servicios-list img,
  .servicios-list p {
    display: none;
  }
  .servicios-list h4 {
    width: 80%;
    font-weight: normal;
  }
  .social {
    height: 50px;
  }
  .whatsapp {
    width: 45px;
    height: 45px;
    padding: 5px 8px;
  }
  .whatsapp i {
    font-size: 35px;
  }
}
