:root { 
  --titulos: 'Fredoka', impact;
  --parrafos: 'Montserrat', sans-serif;
  --blanco: #ffffff;
}

body {
  background-color: #EDEDED;
  margin: 0;
  padding: 0;
  font-family: var(--parrafos);
}

.logo a {
  letter-spacing: 1px;
  font-size: 27px;
  color: var(--blanco);
  font-family: 'AmaricSC', sans-serif;
}

.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

h3 {
  text-align: justify;
  font-size: 3.6em;
  margin: 0.01em 0 15px;
  font-family: var(--parrafos);
  color: #ac5ca0;
}

.subtitulo {
  font-size: 20px;
  color: #b47dac;
  display: block;
  margin-bottom: 15px;
  font-family: var(--parrafos);
}

.about-text h3,
.text h3 {
  position: relative;
  display: inline-block;
}

.about-text h3::after,
.text h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 60%;
  height: 3px;
  background-color: #e27cb3;
  border-radius: 5px;
}

.about-text,
.text {
  max-width: 700px; 
  animation: fadeIn 1s ease-in;
}

.about-text p,
.text p {
  font-size: 17px;
  line-height: 1.6;
  color: #444;
  text-align: justify;
  font-family: var(--parrafos);
}

.about-image,
.image {
  flex: 0.9;
  position: relative;
  display: flex;
}

.about-image img,
.image img {
  transition: transform 0.3s ease;
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s ease-in;
}

.about-image img:hover,
.image img:hover {
  transform: scale(1.05);
}

.background-rosado {
  background-color: #f3e2ea;
}

.container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 50px 40px;
  max-width: 1200px;
  margin: auto;
}

.text {
  margin-left: 40px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE DESIGN */

@media (max-width: 1617px) {
  .about {
    padding: 30px 200px;
  }

  .about-image img {
    max-width: 300px;
  }
}

@media (max-width: 1444px) {
  .about {
    padding: 30px 40px;
  }

  .about-image img {
    max-width: 300px;
  }
}

@media (max-width: 1024px) {
  .about {
    padding: 40px 40px;
  }

  .about-image img {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .about,
  .container {
    flex-direction: column;
    align-items: center;
    padding: 30px 10px;
  }

  .about-image,
  .about-text,
  .image,
  .text {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .about-image img,
  .image img {
    max-width: 90vw;
    width: 100%;
    margin-bottom: 20px;
  }

  .text {
    margin-left: 0;
    margin-top: 20px;
  }

  h3 {
    font-size: 2.5em;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .about,
  .container {
    padding: 15px 2vw;
  }

  .about-text h1 {
    font-size: 18px;
  }

  .about-text p,
  .text p {
    font-size: 15px;
  }

  .about-image img,
  .image img {
    max-width: 98vw;
  }
}

.valores {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  font-family: var(--parrafos);
}

.valores li {
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
}

.valores i {
  color: #e27cb3;
  margin-right: 10px;
}
