/* Estilos básicos para darle formato*/
@import url("https://fonts.googleapis.com/css?family=Lato:400,700");


@font-face {
  font-family: 'miFuente';
  src: url(../confWeb/Font-Family/Cream\ Cake.otf);
}


@font-face {
  font-family: 'miFuente2';
  src: url(../confWeb/Font-Family/Vogue.ttf);
}

.fuente2{
  font-family: miFuente2;
  font-size: 70px;
}

.fuente-personalizada{
  font-family: miFuente;
  font-size: 30px;
  color: #f5edef;
}














/*PARA HACER LA GALERIA DE FOTOS */
.galery {
  display: flex;
  height: 20rem;
  gap: 1rem;
}

.galery div {
  flex: 1;
  border-radius: 1rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  transition: all 0.8s cubic-bezier(0.25, 0.4, 0.45, 1.4);
}

.galery div:hover {
  flex: 5;
}


body {
  color: #000000;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}




header {
  background: linear-gradient(to right, #0f0d0f, #000000); /* Degradado de fondo */
  color: #fafafa;
  padding: 2rem 0; /* Aumentar el padding para más espacio */
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* Sombra del encabezado */
}



header h1 {
  font-size: 3rem;
  margin: 0;
}

header p {
  color: #f4f4f4;
  font-size: 1.2rem;
  margin-top: 0.5rem;
}



nav {
  background: rgba(0, 0, 0, 0.8); /* Fondo semitransparente */
  backdrop-filter: blur(10px); /* Efecto de desenfoque más sutil */
  color: #ffffff; /* Color de texto más claro para mejor contraste */
  display: flex;
  justify-content: space-between; /* Espaciado entre elementos */
  align-items: center; /* Centrar elementos verticalmente */
  padding: 1rem 2rem; /* Aumentar el espacio horizontal */
  border-radius: 12px; /* Bordes redondeados */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Sombra sutil */
  width: 90%; /* Ajuste del ancho */
  margin: 1rem auto; /* Centramos el nav */
}

nav a {
  color: #fff;
  margin: 0 1.5rem;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #f5edef;
}

.banner {
  background: url('C:/Users/jhord/Documents/PROGRAMACION/Imagenes') no-repeat center center/cover;
  color: rgb(137, 37, 37);
  text-align: center;
  padding: 3rem 1rem;
}

.banner h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.content {
  padding: 2rem;
}

.service {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.service img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.service-text {
  flex: 1;
  padding: 0 1rem;
}

.testimonial {
  background: #f4f4f4;
  padding: 1rem;
  border-left: 5px solid #333;
  margin: 1rem 0;
}

footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 1rem 0;
}

.boton {
  display: inline-block;
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
  transition: background-color 0.3s;
}

.boton:hover {
  background-color: #555;
}

.child-element {
  position: sticky;
  top: 0;
  right: 0;
}

:root {
  --write: #f5f5f5;
  --light: #e0c9cb;
  --tan: #c3a1a0;
  --pink: #d9aab7;
  --rose: #ba7e7e;
  --dark: #4e4e4e;
}

.container {
  display: flex;
  justify-content: center;
  width: 35em;
  background: var(--write);
  box-shadow: 5px 5px 15px rgba(186, 126, 126, 0.5);
  border-radius: 10px;
  padding: 1em;
}

p {
  font-size: 0.6em;
  color: var(--rose);
  letter-spacing: 1px;
}

.images-and-sizes {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.images-and-sizes img {
  width: 20em;
}

.images-and-sizes .slidershow-buttons {
  display: flex;
  justify-content: center;
  gap: 1em;
}

.images-and-sizes .slidershow-buttons span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--light);
}

.images-and-sizes .slidershow-buttons .focus {
  background: var(--rose);
}

.images-and-sizes .pick {
  text-transform: uppercase;
}

.images-and-sizes .sizes {
  display: flex;
  justify-content: flex-start;
  gap: 0.4em;
}

.images-and-sizes .sizes span {
  border: 1px solid var(--light);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  font-size: 0.7em;
  transition: all 0.4s ease-in-out;
}

.images-and-sizes .sizes span:hover {
  background: var(--rose);
  color: var(--write);
}

.images-and-sizes .sizes .focus {
  background: var(--rose);
  color: var(--write);
}

.product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product p {
  text-transform: uppercase;
}

.product h1 {
  font-size: 1.2em;
  color: var(--dark);
  margin-top: -5px;
}

.product h2 {
  color: var(--tan);
  margin-top: -5px;
}

.product .descripcion {
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 17px;
  color: var(--dark);
  font-size: 0.7em;
  line-height: 1.6em;
  text-align: justify;
}

.product button {
  background: #cda9ac;
  padding: 10px;
  display: inline-block;
  outline: 0;
  border: 0;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--write);
  transition: all 0.4s ease-in-out;
}

.product button:hover {
  background: var(--rose);
}

.product .add {
  width: 67%;
}

.product .like {
  width: 22%;
}

/* Ajustes específicos para dispositivos móviles */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
  }
  
  nav a {
    margin: 0.5rem 0;
    text-align: center;
  }

  .galery {
    flex-direction: column;
    height: auto;
  }

  .service {
    flex-direction: column;
  }

  header h1 {
    font-size: 1rem;
  }

  header p {
    font-size: 1rem;
  }

  .banner h2 {
    font-size: 2rem;
  }

  .container {
    width: 100%;
  }
  
}
