/*tipo*/



/* banner principal*/

.banner-principal{
    padding: 120px 20px;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
}

.banner-principal h1{
    color: #5c4d7d;
    font-size: 3rem; 
    font-weight: 700;
}

.frase-inicial{
    color: #5c4d7d;
}




/*mis proyectos*/

.mis-proyectos{
    background-color: #eae2f8;
    padding: 100px 30px;
}

h2{
    color: #5c4d7d;
   
}
.carousel-item .card {
    border-radius: 10px;
    overflow: hidden;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: 70% 70%;
}

.carousel-control-prev{
    justify-content: left !important;
    left: -30px;
}
.carousel-control-next{
    justify-content: right !important;
    right:-30px;
}



.caja{
    padding-right: 5%;
    padding-left: 5%;
}

.mis-proyectos .card {
  max-width: 280px;
  margin: auto;
}

.mis-proyectos .card-img-top {
  height: 180px;
  object-fit: cover;
}



.project-card {
    border: 1px solid #59108d;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 20px;
    width: 300px; 
}

.project-image {
    width: 100%;
    height: auto;
}

.project-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 200px
}

.project-details {
    padding: 15px;
    text-align: center;
}

.project-details h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.project-details p {
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #555;
}

.view-project-button {
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-size: 0.9em;
}

.view-project-button:hover {
    background-color: #0056b3;
}

.card img{
    padding: 5% 5% 0% 5%;
}



.btn-entrada {
    background-color: #5A447B; 
    color: #ffffff !important;
    padding: 7px 50px;
    border: 1px solid #5A447B;
    border-radius: 20px;
    text-align: center; 
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease; 
}

.btn-entrada:hover {
  background-color: #ffffff;
  border: 1px solid #5A447B;
  cursor: pointer; 
  color: #5A447B !important;
}



@media (max-width: 420px) {
  #proyectosCarousel2{
    display: block;
  }
  #proyectosCarousel{
    display: none;
  }
}

@media (min-width: 421px) {
  #proyectosCarousel2{
    display: none;
  }
  #proyectosCarousel{
    display: block;
  }
}


/*seccion sobre mi*/
.seccion-sobremi{
    padding: 30px 25px;
}

.img-sobremi img{
    width: 320px;
    border-radius: 30px;
}

.titulo-aboutme{
    color: #59437A;
}

.subtitulo-aboutme{
    color: #E1ADC8;
}

.boton{
    padding: 15px 20px;
    background-color: #59437A;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 12px;
    border: 2px solid #59437A;
    transition: 0.4s ease;

}
.boton:hover{
    background-color: white;
    border: 2px solid #59437A;
    color: #59437A;
    font-weight: bold;
    
}

a:visited {
    color: #ffffff;
}

.boton2{
    padding: 15px 20px;
    background-color: #ffffff;
    color: #59437A !important;
    font-weight: bold;
    text-decoration: none;
    border-radius: 12px;
    border: 2px solid #59437A;
    transition: 0.4s ease;
}


/*seccion contacto*/
.section-contacto{
    background-color: #ffffff;
    padding: 100px 30px;
}

.caja-contacto{
   color: #59437A;
    padding: 8px 20px;;
        border-bottom: 1px solid #e0d9e7;
}

.icono{
    color: #ffffff;
    background: #59437A;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    padding: 10px;
    border-radius: 50%;
    border: 2px solid #59437A;
}

.wpcf7 form {
  max-width: 500px;
  background: #ffffff;
  padding: 20px;
  border-radius: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  
    padding: 10px 15px;
    margin-bottom: 1rem;
    background-color: #eae2f8;
    border: none;
    border-radius: 2rem;
    font-family: inherit;
    font-size: 1rem;
    color: #4a3b6d;
}

.wpcf7 textarea {
  border-radius: 1rem;
  height: 150px;
  resize: none;
   background-color: #eae2f8;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #aa9cc2;
}

.wpcf7 input[type="submit"] {
  background-color: #5b4382;
  color: #fff;
  padding: 16px 32px;
  border: none;
  border-radius: 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  
}

label{
  font-weight: 600;
}


.wpcf7-form p {
    margin: 0px;
}


.section-contacto {
  margin: 0px 0px;
}

@media (min-width: 768px) {
  .section-contacto {
    margin: 0px 105px;
  }
}

.img-yo{
    width: 220px;
    object-fit: cover;
    height: 300px;
        border-radius: 80px;
}


.span-fijo{
    font-size: 0.9em;
    font-style: italic;
    font-weight: 600;
}





/* Flores */
.gif {
  position: absolute;
  width: 100px;
  z-index: 1;
  
}

.gif1 {
  top: -30px;
  left: 27%;
    animation: girar-izq-der 2s ease-in-out infinite;

}

.gif2 {
      bottom: 5px;
    right: 17%;
    animation: girar-izq-der 2.5s ease-in-out infinite;

}

.gif3 {
      bottom: 191px;
    right: 20%;
    animation: float 7s ease-in-out infinite;
    

}

.gif4{
    top: 160px;
    left: 16%;
    animation: float 7s ease-in-out infinite;
}

/* Animaci贸n flotante continua */
@keyframes float {
   0%   { transform: translateY(0px) rotate(0deg); }
  50%  { transform: translateY(-10px) rotate(3deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes girar-izq-der {
  0%   { transform: rotate(-5deg); }
  50%  { transform: rotate(5deg); }
  100% { transform: rotate(-5deg); }
}


/* Efecto hover */
@keyframes flor-hover {
  0%   { transform: scale(1) rotate(0deg); }
  50%  { transform: scale(1.1) rotate(5deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* Aplica animaci贸n flotante a todas las flores */
.gif {
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* Efecto al pasar el mouse */
.gif:hover {
  animation: flor-hover 0.8s ease forwards;
}

@media (max-width: 1264px) {
  .gif  {
    width: 70px;
  }

  .gif1 {
    top: 0;
    left: 10%;
  }

  .gif2 {
    bottom: 20px;
    right: 10%;
  }

  .gif3 {
    bottom: 120px;
    right: 12%;
  }

  .gif4  {
    top: 120px;
    left: 8%;
  }
}

/* Pantallas pequeñas (móviles) */
@media (max-width: 360px) {
  .gif {
    width: 80px;
  }

  .gif1 {
    top: 0px;
    left: 10%;
  }

  .gif2 {
    bottom: 10px;
    right: -5%;
  }

  .gif3 {
    bottom: 200px;
    right: 5%;
  }

  .gif4 {
    top: 130px;
    left: -3%;
  }
}

.p-banner-principal{
    padding: 0px 80px 0px 80px;
}

.span-fijo{
    font-size: 0.9em;
    font-style: italic;
    font-weight: 600;
    color:#5c4d7d;
    
}






