@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

:root {
  --padding-container: 100px 0;
  --color-title: #001a49;
  scroll-behavior: smooth;
}

html{
  cursor: url('../xd2.png'), auto;
}

a:hover{
  cursor: url('../xd3.png'), auto;
}

body {
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

.contenedor {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: var(--padding-container);
}

.menu {
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 800px;
  position: relative;
  display: grid;
  grid-template-rows: 100px 1fr;
  color: #fff;
}

.nav {
  --padding-container: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  display: block;
  width: 50px;
}

.nav-links {
  margin-left: auto;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 2em;
  transition: transform 0.3s ease-in-out;
}

.nav-items {
  list-style: none;
}

.nav-link {
  padding: 5px;
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
  background-image: 
  linear-gradient(
    transparent 0%,
    transparent 90%,
    orangered 90%,
    orangered 100%
  );
  
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position-x: right;
  
  transition: background-size 300ms;
}

.prin{
  background-color:  orangered;
}

.nav-link:hover{
  background-size: 100% 100%;
  background-position-x: left;
}
.nav-menu {
  margin-left: auto;
  cursor: pointer;
  display: none;
}

.nav-menu-img {
  display: block;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0, 0, 0, .5);
}

.nav-close-img {
  display: var(--show, none);
}

/* Menu */

.menu-contenedor {
  max-width: 800px;
  --padding-container: 0;
  display: grid;
  grid-auto-rows: max-content;
  align-content: center;
  gap: 1em;
  padding-bottom: 100px;
  text-align: center;
  /* color: #fff;
  text-decoration: none;*/
}

.menu-parrafo {
  text-align: center;
  color: #fff;
  font-size: 20px;
  margin-bottom: 20px;
  padding: 10px 0;
  border-radius: 20px;
  text-decoration: none;
  backdrop-filter: blur(40px);
  background-image: 
  linear-gradient(
    transparent 0%,
    transparent 90%,
    rgb(247, 150, 115) 90%,
    rgb(247, 150, 115) 100%
  );
  
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position-x: right;
  
  transition: background-size 300ms;
}

.menu-parrafo:hover{
  background-size: 100% 100%;
  background-position-x: left;
}

/* Nosotros */

.sobre {
  text-align: center;
}

.titulo{
  color: black;
}

.subtitulo {
  color: black;
  font-size: 2rem;
  margin-bottom: 25px;
}

.sobre-parrafo {
  line-height: 1.7;
}

.sobre-div {
  padding-top: 80px;
  display: grid;
  width: 90%;
  margin: 0 auto;
  gap: 1em;
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(260px, auto));
}

.sobre-icono {
  display: grid;
  gap: 1em;
  justify-items: center;
  width: 260px;
  overflow: hidden;
  margin: 0 auto;
}

.sobre-icono-img {
  width: 50px;
}

/* Servicios */

.servicio-titulo {
  text-align: center;
  color: black;
  font-size: 2rem;
  margin-bottom: 25px;
}

.servicio {
  /* background-color: #e5e5f7; */
  background-color: white;
}

.servicio-contenedor {
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  gap: 1em;
  align-items: center;
}

.servicio-cuerpo {
  display: grid;
  grid-template-columns: 1fr max-content;
  justify-content: space-between;
  align-items: center;
  gap: 2em;
  grid-column: 2/3;
  grid-row: 1/2;
  opacity: 0;
  pointer-events: none;
}

.servicio-cuerpo-show {
  pointer-events: unset;
  opacity: 1;
  transition: opacity 1.5s ease-in-out;
}

.servicio-img-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
}

.servicio-texto {
  color: black;
  max-width: 700px;
}

.servicio-flecha {
  width: 100%;
  cursor: pointer;
}

.num{
  color: orangered;
}

/* Veterinarios */

.card{
  display: inline-block;
  width: 300px;
  padding-bottom: 30px;
  margin: 80px 70px;
  border-radius: 10px;
  box-shadow: 6px 6px 11px 0px rgba(20,18,20,0.75);
}

.img{
  width: 100%;
  height: 200px; 
  border-radius: 10px 10px 0 0;
  object-fit: cover;
  display: block;  
}

.contenedor{
  width: 90%;
  margin: 0 auto;
  overflow: hidden;
}

.title-f{
  font-size: 20px;
  color: black;
  text-align: center;
  margin: 20px 0;
}

.copy{
  text-align: center;
}

.cta{
  display: block;
  width: 150px;
  padding: 20px;
  color: black;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  margin: 0 auto;
  margin-top: 20px;
  background-image: 
  linear-gradient(
    transparent 0%,
    transparent 90%,
    orangered 90%,
    orangered 100%
  );
  
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position-x: right;
  
  transition: background-size 300ms;
}

.cta:hover{
  background-size: 100% 100%;
  background-position-x: left;
}

/* TEXTOS */

.contenedor {
  padding: 60px 0;
  width: 90%;
  max-width: 1000px;
  margin: auto;
  overflow: hidden;
}

.nombre {
  color: black;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 60px;
}

main .sobre-texto {
  padding: 30px 0 60px 0;
}
.contenedor-sobre-texto {
  display: flex;
  justify-content: space-evenly;
}

.imagen-texto {
  width: 48%;
}

.sobre-texto .contenido-textos {
  width: 48%;
}

.descripcion-texto h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
}

.descripcion-texto p {
  padding: 0px 0px 30px 15px;
  text-align: justify;
  font-size: 1rem;
  line-height: 1.7;
}

.descripcion-texto p span {
  background: black;
  color: white;
  border-radius: 50%;
  display: inline-block; 
  text-align: center;
  width: 18px;
  height: 18px;
  padding: 2px;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.5);
  margin-right: 5px;
}

/* Productos */

.produc{
  line-height: 30px;
  padding: 5px;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  color: black;
  font-size: 18px;
  background-image: 
  linear-gradient(
    transparent 0%,
    transparent 90%,
    orangered 90%,
    orangered 100%
  );
  
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position-x: right;
  
  transition: background-size 300ms;
}

.produc:hover{
  background-size: 100% 100%;
  background-position-x: left;
}

/* footer */ 

footer{
  background: orangered;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, orangered, rgba(248, 122, 49, 0.993));
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, orangered, rgba(248, 122, 49, 0.993));
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  padding-bottom: 0.1px;
}

.footer-content{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 60px;
  padding-bottom: 40px;
}


.contact-us{
  width: 40%;
  color: #fff;
}

.brand{
  font-weight: 500;
  font-size: 40px;
}

.brand+p{
  font-weight: 500;
}

.social-media{
  width: 50%;
  display: flex;
  justify-content: flex-end;
}

.social-media-icon{
  display: inline-block;
  margin-left: 20px;
  width: 60px;
  height: 60px;
  border: 1px solid #fff;
  border-radius: 50%;
  text-align: center;
  color: #fff;
}

.social-media-icon i{
  font-size: 30px;
  line-height: 60px;
}

.line{
  width: 90%;
  max-width: 1200px;
  margin: auto;
  height: 2px;
  background: #fff;
  margin-bottom: 60px;
}

.social-media-icon:hover{
  background: #fff;
  color: black;
}

/* Responsivo */

@media (max-width: 800px) {
  .nav-menu {
    display: block;
  }

/*
.menu-titulo {
  white-space: nowrap;
  border-right: 3px solid transparent;
  width: 29ch;
  overflow: hidden; 
  font-size: 1rem;
  animation: texto 3s steps(29), cursor .5s infinite; 
}

@keyframes texto {0% {width: 0;}}
@keyframes cursor {50% {border-color: transparent}} 

*/

.menu-parrafo {
  margin-bottom: 20px;
}

  .nav-links-menu {
    position: fixed;
    background-color: white;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: 0.7s opacity;
  }

  .nav-links--show {
    --show: block;
    opacity: 1;
    pointer-events: unset;
  }

  .nav-close-img {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 30px;
    cursor: pointer;
  }

  .menu-titulo {
    font-size: 2.5rem;
  }

  .sobre-div {
    gap: 2em;
  }

  .sobre-icono:last-of-type {
    grid-column: 1/-1;
  }

  .servicio-contenedor {
    grid-template-columns: 30px 1fr 30px;
  }

  .servicio-cuerpo {
    grid-template-columns: 1fr;
    grid-template-rows: max-content max-content;
    gap: 3em;
    justify-items: center;
  }

  .servicio-img-img {
    width: 200px;
    height: 200px;
  }

  .contenedor-sobre-texto {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .sobre-texto .descripcion-texto {
    width: 90%;
  }

  .imagen-texto {
    width: 90%;
  }

  .footer-content{
    justify-content: center;
}

.social-media{
    width: 80%;
    justify-content: space-evenly; 
}

.social-media-icon{
    margin-left: 0;
}

.contact-us{
    text-align: center;
    width: 80%;
    margin-bottom: 40px;
}

}

@media (max-width: 600px) {
  .nav-link {
    color: black;
  }

  .nav-menu-img{
    position: fixed;
    top: 20px;
    right: 20px;
  }

  .menu-titulo {
    font-size: 2rem;
  }

  .menu-parrafo {
    font-size: 1rem;
  }

  .subtitulo {
    font-size: 1.8rem;
  }

  .servicio {
    --padding-container: 60px 0;
  }

  .servicio-contenedor {
    grid-template-columns: 28px 1fr 28px;
    gap: 0.9em;
  }

  .servicio-flecha {
    width: 100%;
  }

  .servicio-course {
    margin-top: 15px;
  }

  .imagen-texto {
    margin-bottom: 60px;
    width: 99%;
  }

  .sobre-texto .descripcion-texto {
    width: 95%;
  }

  .social-media{
    width: 100%;
    justify-content: space-evenly;
}

.social-media-icon{
    margin-left: 0;
}

.contact-us{
    text-align: center;
    width: 95%;
    margin-bottom: 40px;
}

.menu-parrafo {
  margin-bottom: 20px;
}

.card{
  align-items: center;
  width: 300px;
  margin: 50px auto;
}

}