.Galeria {
    position: relative;
    width: 600px;
    height: 400px;
    z-index: 1;
    margin-left: 67%;

}

h1 {
    
    margin-bottom: 10px;

}


.card {
    position: absolute;
    width: 250px;
    height: 350px;
    border-radius: 10px;
    box-shadow: 0 10px 20px color(00 00 00 0.5);
    transition: transform 0.5s ease-in-out, z-index 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.card img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   border-radius: 10px;
}

.card-1 {
   transform: translateX(-120px) rotate(-30deg);
   z-index: 2;
}

.card-2 {
    transform: translateX(-80px) rotate(-20deg);
    z-index: 3;
}

.card-3 {
   transform: translateX(-40px) rotate(-10deg);
   z-index: 4;
}

.card-4 {
 transform: translateX(0) rotate(0);
 z-index: 5;   
}

.card-5 {
   transform: translateX(40px) rotate(10deg);
   z-index: 4; 
}

.card-6 {
   transform: translateX(80px) rotate(20deg);
   z-index: 3;
}

.card-7 {
   transform: translateX(120px) rotate(30deg);
   z-index: 2;
}

.card:hover {
    transform: translateY(-20px) scale(1.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    z-index: 10;
}

.recta {
   width: 100%;
   display: flex;
   justify-content: left;
   position: absolute;
   top: 130px;
}

.cuadro {
   background: rgba(0, 0, 0, 0.75);
   width: 80%;
   max-width: 700px;
   padding: 40px;
   border-radius: 15px;
   color: white;
   box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

button {
    background-image: linear-gradient(45deg, #6a11cb, #2575fc);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #1028a8;
}

/*TABLET*/
@media (min-width: 768px) and (max-width: 1023px) {

.Galeria {
    width: 100%;
    height: auto;
    margin-left: 0;
    justify-content: center;
    margin-top: 40px;

}

h1 {
    text-align: center;
    padding-left: 30%;
}

.titulo {
    width: 350px;
    height: auto;
}

.card {
    width: 180px;
    height: 260px;
    left: 40%;
}

.card-1 {
    transform: translateX(-90px) rotate(-25deg);
}

.card-2 {
    transform: translateX(-60px) rotate(-15deg);
}

.card-3 {
    transform: translateX(-30px) rotate(-8deg);
}

.card-4 {
    transform: translateX(0) rotate(0);
}

.card-5 {
    transform: translateX(30px) rotate(8deg);
}

.card-6 {
    transform: translateX(60px) rotate(15deg);
}

.card-7 {
    transform: translateX(90px) rotate(25deg);
}

.recta {
    position: relative;
    top: 450px;
    justify-content: center;
    padding: 20px;
}

.cuadro {
    width: 90%;
    padding: 30px;
    font-size: 15px;
}

.cuadro h2,
.cuadro h3 {
    text-align: center;
}

button {
    width: 100%;
    font-size: 18px;
}

}


/*TELEFONO*/
@media (max-width: 767px) {

.Galeria {
    width: 100%;
    height: auto;
    margin-left: 0;
    justify-content: center;
    margin-top: 20px;
}

h1 {
    text-align: center;
    padding-left: 20%;
}

.titulo {
    width: 250px;
    height: auto;
}

.card {
    width: 120px;
    height: 180px;
    left: 35%;
}

.card-1 {
    transform: translateX(-60px) rotate(-20deg);
}

.card-2 {
    transform: translateX(-40px) rotate(-14deg);
}

.card-3 {
    transform: translateX(-20px) rotate(-7deg);
}

.card-4 {
    transform: translateX(0) rotate(0);
}

.card-5 {
    transform: translateX(20px) rotate(7deg);
}

.card-6 {
    transform: translateX(40px) rotate(14deg);
}

.card-7 {
    transform: translateX(60px) rotate(20deg);
}

.card:hover {
    transform: scale(1.05);
}

.recta {
    position: relative;
    top: 280px;
    justify-content: center;
    padding: 10px;
}

.cuadro {
    width: 95%;
    padding: 20px;
    font-size: 14px;
}

.cuadro h2,
.cuadro h3 {
    text-align: center;
    font-size: 24px;
}

.cuadro p,
.cuadro blockquote {
    font-size: 14px;
    line-height: 1.6;
}

button {
    width: 100%;
    font-size: 16px;
    padding: 12px;
}

}