/*Talleres*/

/*About section*/
img.taller {
  width: 100%;
}

p {
  padding: 2rem 0rem;
}

i {
  color: #fff;
}

.text-green,
h2 {
  color: var(--bs-secondary) !important;
}

button .btn {
  box-shadow: 0px 0px 0px rgb(55, 110, 46) !important;
}

.button .btn:active {
  box-shadow: 8px 8px 0px rgb(55, 110, 46) !important;
}

.button .btn:focus-within {
  box-shadow: 8px 8px 0px rgb(55, 110, 46) !important;
}

.button .btn:hover {
  box-shadow: 8px 8px 0px rgb(55, 110, 46) !important;
}

.btn-light:active, .btn-light:focus-within,.btn-light:hover {
  background-color: var(--bs-secondary) !important;
  color: rgb(0, 0, 0) !important;
  border: 2px solid rgb(55, 110, 46) !important;
}

.btn-light:active, .btn-light:focus-within,.btn-light {
  background-color: var(--bs-secondary) !important;
  color: rgb(0, 0, 0) !important;
  border: 2px solid rgb(55, 110, 46) !important;
}
/*Banner*/
.banner {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
      url("../img/about/about.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 6rem;
}

@media screen and (max-width: 768px) {
  .banner {
      padding: 3rem;
  }
}

.about{
  position: relative;
  width: 100%;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: justify;
}
 
.content-about{
  max-width: 70%;
}

 .content-about h2{
  position: relative;
  margin: 0;
  padding: 0;
  display: inline-block;
  font-size:3em;
  transition: 0.2s;
  transform-origin: left;
  transform: scaleX(0);
  color: var(--bs-secondary) !important;
}

.content-about h2:before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bs-secondary);
  transform-origin: right;
  transition: 0.2s;
}

.content-about h2[data-scroll="in"]{
  transform: scaleX(1);
}

 .content-about h2[data-scroll="in"]:before{
  transform: scaleX(0);
  transition-delay: 0.2s;
}

.content-about p{
  font-size:1.2em;
  transition: 0.2s;
  opacity: 0;
}

.content-about p[data-scroll="in"]{
  opacity: 1;
  transition-delay: 0.2s;
}

/*GALLERY */

.wrapper {
  width: 100%;
  padding: 0 2rem;
  text-align: center;
}
.polaroid {
  background: #fff;
  padding: 1rem;
  box-shadow: 0 0.2rem 1.2rem rgba(0,0,0,0.2);
  
}
.polaroid > img{
  max-width: 400px;
  height: auto;
}
.item {
  width: 30%;
  display: inline-block;
  margin-top: 2rem;
  filter: grayscale(100%);
}
.item .polaroid:before {
  content: '';
  position: absolute;
  z-index: -1;
  transition: all 0.35s;
}
.item:nth-of-type(3n+1) {
  transform: scale(0.8, 0.8) rotate(5deg);
  transition: all 0.35s;
}
.item:nth-of-type(3n+1) .polaroid:before {
  transform: rotate(6deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  right: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.4);
}
.item:nth-of-type(3n+2) {
  transform: scale(0.8, 0.8) rotate(-5deg);
  transition: all 0.35s;
}
.item:nth-of-type(3n+2) .polaroid:before {
  transform: rotate(-6deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  left: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.4);
}
.item:nth-of-type(4n+4) {
  transform: scale(0.8, 0.8) rotate(3deg);
  transition: all 0.35s;
}
.item:nth-of-type(4n+4) .polaroid:before {
  transform: rotate(4deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  right: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.3);
}
.item:nth-of-type(4n+3) {
  transform: scale(0.8, 0.8) rotate(-3deg);
  transition: all 0.35s;
}
.item:nth-of-type(4n+3) .polaroid:before {
  transform: rotate(-4deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  left: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.3);
}
.item:hover {
  filter: none;
  transform: scale(1, 1) rotate(0deg) !important;
  transition: all 0.35s;
}
.item:hover .polaroid:before {
  content: '';
  position: absolute;
  z-index: -1;
  transform: rotate(0deg);
  height: 90%;
  width: 90%;
  bottom: 0%;
  right: 5%;
  box-shadow: 0 1rem 3rem rgba(0,0,0,0.2);
  transition: all 0.35s;
}


.about-paint{
  width : 			100%;
	height : 			100%;
}


.brush-stroke {
  stroke-dasharray: 10000;
  stroke-dashoffset: 10000;
  animation: dash 6.2s ease-out infinite;
  animation-delay: 1s;
}

@keyframes dash {
  from {
    stroke-dashoffset: 10000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.about-paint {
  position: relative;
  display: flex;
  justify-content: center; /* Centrar horizontalmente */
  align-items: center; /* Centrar verticalmente */
}

.about-paint .paint{
  max-width: 100%; /* Para que las imágenes sean responsive */
  height: auto; /* Para mantener la proporción de aspecto */
}
.about-paint .img-splash{
  position: absolute; /* Posición absoluta para superponerla */
  top: 10%; /* Ajusta la posición vertical */
  left: 35%; /* Ajusta la posición horizontal */
  z-index: 1; /* Para asegurarse de que la imagen superpuesta esté por encima */

}
.img-splash img{
  width: 600px;
}


@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
  .about{
    height: auto;
  }
  
  section .content-about h2 {
    text-align: center;
    justify-content: center;
    align-items: center;

  }
  
  .wrapper{
    display: flex;
    flex-direction: column;
  }
  
  .stroke svg{
    display: none;
  }
  
  .polaroid > img {
    max-width: 300px;
  }
  
  .polaroid{
    background: none;
    box-shadow: none;
  }
  
  .about-paint .paint {
    height: 50vh;
  }
  
  .img-splash img {
    width: 300px;
  } 

  .about-paint .img-splash{
    position: absolute; /* Posición absoluta para superponerla */
    top: 10%; /* Ajusta la posición vertical */
    left: 15%; /* Ajusta la posición horizontal */
    z-index: 1; /* Para asegurarse de que la imagen superpuesta esté por encima */
  
  }
  
  
  .content-about p[data-scroll="in"]{
    line-height: 2;
  }
}

#more {display: none;}



.footer{
  padding: 20px 0;
  background-color: var(--bs-secondary); 
  color: #fff;
}

.info a{
  color: #fff;
}

 .social {
  color: var(--bs-secondary);
  font-size: 1.5rem;
  margin: 0 10px;
}

.open {
  background-color: var(--bs-secondary) !important; 
}

.open:before {
  background-color:  var(--bs-secondary) !important; 
}

.open:after {
  background-color:  var(--bs-secondary) !important; 
}

.menu ul li a {
  color:  #597c00 !important; 
}

.menu ul li a:hover {
  color: rgb(2, 29, 3);
}

.menu ul li:hover {
  background-color: var(--bs-seconday-rgb)  !important; 
}

#menuToggle:checked ~ .menuOpen .open:before {
  background-color:  var(--bs-secondary) !important; 
}

#menuToggle:checked ~ .menuOpen .open:after {
  background-color:  var(--bs-secondary) !important; 
}

.target-blank{
  padding: 5vh;
}