:root {
  --color: rgb(105, 157, 31);
  --color1: rgb(82, 124, 24);
  --color2: rgb(246, 246, 246);
  --color3: rgb(31, 105, 157);
  --color4: rgb(51, 51, 51);
  --color5: rgba(155, 238, 37, 0.527);
  --color6: rgba(207, 241, 161, 0.416);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

p{
  text-align: justify;
}

body {
  background: var(--color2);
}

header {
  height: 70px;
  background: rgb(237, 237, 237);
  position: fixed;
  width: 100%;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  z-index: 1001;
}

.container {
  max-width: 1200px;
  min-width: 320px;
  padding: 0 10px;
  margin: 0 auto;
}

.container .logo {
  float: left;
  height: 65px;
}

.container .logo img {
  height: 100%;
  align-items: center;
  padding-top: 2px;
  transition: transform .5s;
}

.container .logo img:hover {
  transform: scale(1.05);
  transition: .3s linear;
  cursor: pointer;
}

.navigation-menu {
  float: right;
  display: flex;
  align-items: center;
  min-height: 70px;
}

.navigation-menu a {
  margin-left: 10px;
  color: rgb(77, 77, 77);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 300;
  padding: 12px 20px;
  border-radius: 4px;
  transition: .3s linear;
}

.navigation-menu a:hover {
  background: rgb(250, 250, 250, 0.7);
  color: #2f3640;
  transform: scale(1.15);
}

.navigation-menu i {
  margin-right: 8px;
  font-size: 14px;
}

.home,
.fa-align-right,
.works,
.fa-house-medical,
.contact,
.menu-toggle-btn,
.fa-solid {
  color: var(--color);
}

.fa-solid {
  font-size: 32px;
}

.menu-toggle-btn {
  float: right;
  height: 70px;
  line-height: 70px !important;
  font-size: 26px;
  display: none !important;
  cursor: pointer;
}

.inicio {
  display: grid;
  grid-template-columns: 1fr 4fr 1fr;
  grid-template-rows: 1fr 3fr;
  width: 100%;
  height: 670px;
  align-content: center;
  justify-content: center;
  place-content: center;
  background-image: linear-gradient(to bottom, rgba(164, 164, 164, 0.1), rgba(164, 164, 164, 0.1)), url("../img/fondo.jpg");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  color: var(--color2);
  min-height: 650px;
  transition: transform .5s;
}

.text-bienvenida {
  display: grid;
  width: 100%;
  height: 100%;
  grid-area: 2 / 2;
  text-align: center;
  justify-content: center;
  align-content: center;
  color: var(--color2);
}

.inicio:hover {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url("../img/fondo.jpg");
  transition: all 500ms ease-out;
}

.inicio .text-bienvenida p,
h3, h4 {
  /*font-family: 'Roboto Mono', monospace;*/
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
}

.inicio .text-bienvenida h1 {
  font-family: 'Albert Sans', sans-serif;
}

.inicio .text-bienvenida p {
  font-size: 1.5rem;
}

.inicio .text-bienvenida h1 {
  font-size: 3.5rem;
}

.inicio .text-bienvenida h3 {
  font-size: 1.8rem;
}

.inicio .text-bienvenida h4 {
  font-size: 1.2rem;
}

.historia {
  display: grid;
  grid-template-columns: repeat(2, 50%);
  grid-template-rows: 130px 450px;
  margin-bottom: 25px;
  gap: 10px;
}

.subtitle {
  grid-area: 1 / 1 / 2 / 3;
  padding-top: 80px;
  padding-bottom: 10px;
}

.text-subtitle {
  font-family: 'Albert Sans', sans-serif;
  font-size: 2.1rem;
  color: var(--color4);
  text-align: center;
  border-bottom: solid 3px var(--color);
}

.hist-one {
  grid-column: 1;
  align-self: flex-start;
  /*font-family: 'Roboto Mono', monospace;*/
  font-family: 'Open Sans', sans-serif;
  /*font-size: 1.035rem;*/
  font-size: 1.05rem;
  height: 100%;
  width: 100%;
  border-radius: 10px;
  padding-top: 12px;
  padding-left: 7px;
  padding-right: 25px;
  padding-bottom: 12px;
}

.paragraph span {
  display: block;
  opacity: 0;
  animation: reveal 0.5s forwards var(--d);
}

@keyframes reveal {
  from { transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.hist-two {
  grid-column: 2;
  width: 100%;
  height: 100%;
  overflow: hidden;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7));
  border-radius: 1.5%;
}

.historia .hist-two img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.historia .hist-two img:hover {
  transform: scale(1.05);
  transition: .3s linear;
}

.diferenciador {
  display: grid;
  grid-template-columns: repeat(2, 50%);
  grid-template-rows: 130px 450px;
  margin-bottom: 25px;
  gap: 10px;
}


.dife-one {
  grid-column: 1;
  align-self: flex-start;
  /*font-family: 'Roboto Mono', monospace;*/
  font-family: 'Open Sans', sans-serif;
  font-size: 1.05rem;
  height: 100%;
  width: 100%;
  border-radius: 10px;
  padding-top: 12px;
  padding-left: 7px;
  padding-right: 25px;
  padding-bottom: 12px;
}

.dife-two {
  padding: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, 1fr);
  overflow: hidden;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.7));
  border-radius: 1.5%;
  /*background: linear-gradient(to bottom, var(--color5), var(--color5));*/
  background: linear-gradient(to bottom, var(--color6), var(--color6));
  grid-template-areas: "a   b"
    "c   d"
    "e   f"
    "g   h";
  height: min-content;
  max-height: 470px;
  /*font-family: 'Courier New', Courier, monospace;*/
  font-family: 'Open Sans', sans-serif;
}

.dife-two img {
  max-height: 95%;
  max-width: 95%;
}

.dife-two p {
  text-align: left;
}

.dife-two .center {
  display: block;
  text-align: center;
}

.dife-two-title-izq {
  grid-area: a;
}

.dife-two-title-der {
  grid-area: b;
}

.dife-two-text1-izq {
  grid-area: c;
}

.dife-two-text1-izq p {
  padding-right: 7px;
}

.dife-two-text1-der {
  grid-area: d;
}

.dife-two-img-izq {
  grid-area: e;
}

.dife-two-img-der {
  grid-area: f;
}

.dife-two-text2-izq {
  grid-area: g;
}

.dife-two-text2-der {
  grid-area: h;
}

.diferenciador .dife-two img {
  height: 100%;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 15px;
  object-fit: fill;
  transition: transform .5s;
}

.diferenciador .dife-two img:hover {
  transform: scale(0.95);
  transition: .3s linear;
}

.puntosventa {
  display: grid;
  grid-template-columns: repeat(1fr);
  grid-template-rows: 130px 120px 40px 300px;
  margin-bottom: 25px;
  gap: 10px;
  grid-template-areas: "a   a   a"
    "b   b   b"
    "c   c   c"
    "d   d   d";
  grid-template-rows: 3fr;
  height: min-content;
}

.subtitle-2 {
  grid-area: a;
  padding-top: 80px;
  padding-bottom: 10px;
}

.text-puntosventa {
  grid-area: b;
  /*font-family: 'Roboto Mono', monospace;*/
  font-family: 'Open Sans', sans-serif;
  /*font-size: 1.035rem;*/
}

.text-puntosventa p {
  font-size: 1.05rem;
}

.botones-puntosventa {
  grid-area: c;
  font-family: 'Roboto Mono', monospace;
  font-size: 1rem;
  overflow: hidden;
  align-items: center;
  text-align: center;
}

.botones-puntosventa li {
  display: inline-block;
  text-align: center;
  margin-left: var(--espacios);
  margin-bottom: 35px;
  padding: 6px 12px;
  border: 1px solid var(--color);
  border-radius: 5px;
  list-style: none;
  color: var(--color);
}

.botones-puntosventa li:hover {
  background: var(--color);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
}

.botones-puntosventa .active {
  background: var(--color);
  color: #fff;
}

.galeria-puntos {
  grid-area: d;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
  width: 100%;
}

.text-puntos {
  padding-top: 7px;
}

.galeria-puntos a {
  color: var(--color);
  text-decoration: none;
}

.galeria-puntos a:hover {
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  background-color: transparent;
}

.cont-puntos {
  width: 33%;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
  height: 300px;
  overflow: hidden;
  margin-bottom: var(--espacios-contenido);
  border-radius: 5px;
}

.img-puntos {
  height: 90%;
  width: 100%;
}

.img-puntos img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.img-puntos {
  transition: transform .5s;
}

.img-puntos:hover {
  transform: scale(1.05);
}

.contacto {
  background: linear-gradient(to bottom, var(--color6), var(--color6));
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.7));
  padding-top: 25px;
  height: min-content;
}

.contacto p {
  /*font-family: 'Roboto Mono', monospace;*/
  font-family: 'Open Sans', sans-serif;
  font-size: 1.035rem;
}

.container-cto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 110px 110px;
  grid-template-areas: "a   a   b"
    "a   a   b";
  gap: 10px;
  min-height: min-content;
  padding-bottom: 15px;
}

.footer-izq {
  grid-area: a;
}

.footer-der {
  grid-area: b;
}

.datos-contacto  div a {
	color: rgb(255, 255, 255);
}

.datos-contacto  div a:hover {
	text-decoration: none;
	background-color: transparent;
	color: var(--color);
	font-weight: bold;
}

/* Responsive - Inicio */
@media screen and (max-width:1170px) {
  .menu-toggle-btn {
    display: block !important;
  }

  .navigation-menu {
    position: fixed;
    width: 100%;
    max-width: 400px;
    background: #ededed;
    top: 70px;
    right: 0;
    display: none;
    padding: 20px 40px;
    box-sizing: border-box;
  }

  .navigation-menu::before {
    content: "";
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #172b4d;
    position: absolute;
    top: -10px;
    right: 10px;
  }

  .navigation-menu a {
    display: block;
    margin: 10px 0;
  }

  .navigation-menu.active {
    display: block;
  }

  .inicio {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url("../img/fondo.jpg");
    transition: all 500ms ease-out;
  }

  .inicio .text-bienvenida p {
    font-size: 1rem;
  }

  .inicio .text-bienvenida h1 {
    font-size: 3rem;
  }

  .inicio .text-bienvenida h3 {
    font-size: 1.2rem;
  }

  .historia {
    grid-template-columns: 1fr;
    width: 100%;
    grid-template-rows: 3fr;
    height: min-content;
  }

  .subtitle {
    grid-row: 1;
  }

  .hist-one {
    grid-column: 1;
    grid-row: 2;
    padding-right: 7px;
  }

  .hist-one p{
    grid-column: 1;
    grid-row: 2;
  }

  .hist-two {
    grid-column: 1;
    grid-row: 3;
    justify-content: center;
    min-height: min-content;

  }

  .historia .hist-two img {
    object-fit: fill;
  }

  .diferenciador {
    grid-template-columns: 1fr;
    width: 100%;
    grid-template-rows: 3fr;
    height: min-content;
  }

  .dife-one {
    grid-column: 1;
    grid-row: 2;
    padding-right: 7px;
  }

  .dife-two {
    grid-column: 1;
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    max-height: 550px;
    margin: auto;
  }

  .dife-two-img-izq img {
    max-width: 85%;
    max-height: 85%;
  }

  .dife-two-img-der img {
    max-width: 85%;
    max-height: 85%;
  }

  .galeria-puntos {
    display: block;

  }

  .cont-puntos {
    width: 100%;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
    height: 350px;
    overflow: hidden;
    margin-bottom: var(--espacios-contenido);
    border-radius: 5px;
  }

  #kennedy {
    padding-bottom: 10px;
  }

}

@media screen and (max-width:950px) {
  .container-cto {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    width: 100%;
    max-height: 450px;
    height: min-content;
  }

  .footer-der {
    display: none;
  }
}

@media screen and (max-width:460px) {
  .botones-puntosventa {
    font-size: 1rem;
    text-transform: uppercase;
  }

  .botones-puntosventa li {
    display: block;
    margin-bottom: 15px;
  }

  .dife-two-title-izq .dife-two-img-izq .dife-two-text2-izq {
    padding-right: 5px;
  }

  .dife-two-title-der .dife-two-img-der .dife-two-text2-der {
    padding-right: 5px;
  }

  .dife-two-img-izq img {
    max-width: 100%;
    max-height: 100%;
  }

  .dife-two-img-der img {
    max-width: 100%;
    max-height: 100%;
  }

  .container-cto {
    grid-template-columns: 1fr;
    grid-template-columns: 1fr;
    width: 100%;
    max-height: 450px;
    height: min-content;
  }

  .footer-der {
    display: none;
  }
}

@media screen and (max-width:320px) {
  .dife-two-title-izq .dife-two-img-izq .dife-two-text2-izq {
    padding-right: 5px;
  }

  .dife-two-title-der .dife-two-img-der .dife-two-text2-der {
    padding-right: 5px;
  }

}
/* Responsive - Fin */