@import url(header.css);

.tratamientos {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 10px;
  text-align: center;
  gap: 10px;
  margin: auto auto;
  overflow: hidden;
}
.tratamientos .contenedor-cuerpo {
  margin: 20px auto;
  width: 100%;
}
.tratamientos .contenedor-cuerpo .subtitulo {
  font-size: 24px !important;
  color: var(--color-texto);
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: bold;
}
.tratamientos .contenedor-cuerpo .articulo{
  color: var(--color-texto);
}
.caja {
  max-width: 360px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0 auto;
  height: 360px;
  opacity: 0;
  margin-bottom: 20px;
  overflow: hidden;
  transition: 5s ease all;
  border-radius: 20px;
  position: relative;
  background: #38383877;

}
.caja img {
  width: 100%;
 height: 100%;
  border-radius: 15px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}


.caja .caja-hover{
position: absolute;
top: 100%;
left: 0;
right: 0;
bottom: 0;
height: 100%;
width: 100%;
max-width: 360px;
right: 0;
background: rgba(145, 127, 82, 0.6);
backdrop-filter: blur(5px);
border-radius: 20px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
transition: .5s ease all;
padding: 0 10px;
}
.caja-hover .subtitulo{
  color: #f1f1f1;
}
.caja-hover .articulo{
  margin: 20px auto;
  text-align: center;
}
.caja:hover .caja-hover{
  top: 0;
}
.caja a:hover {
  background: var(--color-secundario);
  border-radius: 10px;
}
.seccion {
  display: flex;
  row-gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 10px;
  margin: 40px auto;
  background: var(--color-texto);
  overflow: hidden;
}
.seccion .articulos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 20px;
  max-width: 320px;
  margin: 20px auto;
  opacity: 0;
}
.articulos img {
  width: 100%;
}
.seccion .articulos .articulo {
  color: var(--color-primario);
  text-transform: uppercase;
}
/*YOUTUBE*/
.contenedor-video {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background: url(../IMG/Inicio/youtube.png)fixed;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  height: auto;
  width: 100%;
  gap: 20px;
  padding: 20px 10px;
}
.contenedor-video .video-columna1{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  max-width: 300px;
  height: auto;
  gap: 20px;
  margin: auto 0;
  width: 100%;
  align-items: center;
}
.contenedor-video .video-columna1 .parrafo{
  text-align: center;
  font-size: 16px;
  color: var(--color-texto);
    font-weight: bold;

}
.contenedor-video .video-columna1 i{
  color: var(--color-texto);
  margin: 0 auto 0 auto;
  font-size: 24px !important;
  animation: desplazamiento-hacia-abajo 2s infinite;
}
@keyframes desplazamiento-hacia-abajo{
  to{
    transform: translateY(0%);
  }
  from{
    transform: translateY(-100%);
    opacity: 0;

  }
}

.contenedor-video .video-columna2{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 300px;
  height: auto;
  margin: 0 0;
  gap: 10px;
}
.contenedor-video .video-columna2 iframe{
  height: 300px;
}
.contenedor-video .boton {
  color: var(--color-texto);
  border: 1px solid var(--color-texto);
  text-align: center;
  margin: 0 auto;
}
/*/////////////////*/

.mamoplastia .boton {
  color: var(--color-texto);
  border: 2px solid var(--color-texto);
  text-align: center;
  justify-content: center;
  width: 204px;
}

.subtitulo {
  text-align: center;
  font-size: var(--subtitulo);
  color: var(--color-texto);
  width: 100%;
  font-weight: 600;
}
.mamoplastia {
  width: 100%;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: url(../IMG/Inicio/mamoplastiabannerr.jpeg) fixed;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.mamoplastia .clip-path .h3 {
  max-width: 400px;
  /* font-size: 36px !important; PC */
  font-size: 24px !important;
  text-align: center;
}
.rinoplastia .clip-path2 .h3 {
  max-width: 400px;
  font-size: 24px !important;
  text-align: center;
}

.rinoplastia {
  background: url(../IMG/Inicio/rinoplastiaaabanner.jpg) fixed;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center center;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  content: "";
}
.clip-path,
.clip-path2 {
  width: 100%;
  height: 100%;
  background: #f1f1f177;
  clip-path: inset(0 0 0 0);
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.rinoplastia .clip-path .h3 {
  max-width: 400px;
  font-size: 36px !important;
  z-index: 5;
}
.mamoplastia .boton {
  margin-top: 20px;
}

.mamoplastia .boton {
  color: var(--color-texto);
  border: 2px solid var(--color-texto);
  text-align: center;
  justify-content: center;
  width: 70%;
  margin-top: 20px;
}
.rinoplastia .boton {
  color: var(--color-texto);
  border: 2px solid var(--color-texto);
  text-align: center;
  justify-content: center;
  width: 70%;
  margin-top: 20px;
}
.footer {
  margin-top: 0px !important;
}
@media (min-width: 850px) {
  .contenedor-cuerpo {
    width: 100%;
  }
  .tratamientos .contenedor-cuerpo .subtitulo {
    font-size: 42px !important;
  }
  .tratamientos .contenedor-cuerpo p{
      color: red;
  }
  .contenedor-video iframe {
    height: 450px;
  }
  .rinoplastia,
  .mamoplastia {
    height: 400px;
  }
  .rinoplastia .boton {
    width: 50%;
  }
  .mamoplastia .boton {
    width: 50%;
  }
  .clip-path {
    width: 45%;
    height: 100%;
    background: #f1f1f177;
    clip-path: polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%);
    margin: 0 0 0 auto;

    gap: 20px;
  }
  .clip-path2 {
    width: 45%;
    height: 100%;
    background: #f1f1f177;
    clip-path: polygon(100% 0%, 75% 50%, 100% 100%, 25% 100%, 0% 50%, 25% 0%);
    margin: 0 auto 0 0;
    gap: 20px;
  }
  .mamoplastia .clip-path .h3 {
    font-size: 36px !important;
  }
  .rinoplastia .clip-path2 .h3 {
    font-size: 36px !important;
  }
  .rinoplastia,
  .mamoplastia {
    height: 450px;
  }
  .caja{
    margin: 0;
  }
  .contenedor-video{
    height: 450px;
  }
  .contenedor-video .video-columna1{
    margin-top: 40px;
    align-items: flex-start;
  }
  .contenedor-video .video-columna1 i{
    margin: 0 auto;
    font-size: 41px !important;
  }

  .contenedor-video .video-columna1 .parrafo{
    text-align: left;
    font-size: 18px;
    line-height: 25px;
    font-weight: bold;
  }
  .contenedor-video .video-columna1 .boton{
    margin:  0 auto 0 0;
    font-size: 14px;
  }
  .contenedor-video .video-columna2{
    height: 400px;
    width: 100%;
    max-width: 1000px;
    gap: 20px;
  }
  .contenedor-video .video-columna2 iframe{
    height: 400px;
    width: 100%;
    max-width:480px;
  }
}
