.containercard {
    display: flex;
    justify-content: center;
    gap: 100px; /* Espacio entre las tarjetas */
}

.cardrayo {
    width: 350px;
    height: 254px;
    background: #000000;
    border-radius: 15px;
    box-shadow: 1px 5px 60px 0px #3a3a3a6b;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.cardrayo .cardrayo-border-top {
    width: 60%;
    height: 3%;
    background: #ffcf2d;
    margin: auto;
    border-radius: 0px 0px 15px 15px;
}

.cardrayo span {
    font-weight: 600;
    color: white;
    text-align: center;
    display: block;
    padding-top: 10px;
    font-size: 16px;
}

.cardrayo .job {
    font-weight: 400;
    color: #ffcf2d;
    display: block;
    text-align: center;
    padding-top: 3px;
    font-size: 20px;
    font-family: "Livvic", sans-serif;
}

.cardrayo .img {
    width: 80px;
    height: 80px;
    margin: auto;
    margin-top: 25px;
}

.cardrayo button {
    padding: 8px 20px;
    display: block;
    margin: auto;
    border-radius: 8px;
    border: none;
    margin-top: 30px;
    margin-bottom: 10px;
    background: #ffcf2d;
    color: white;
    font-weight: 600;
}

.decoracion {
    text-decoration: none;
}

.cardrayo button:hover {
    background: #a5a0ff;
}

/* Media Queries para hacer las tarjetas responsivas */

@media (max-width: 1024px) {
    .containercard {
        flex-direction: column;
        align-items: center;
        gap: 20px; /* Ajusta el espacio entre las tarjetas para pantallas pequeñas */
    }

    .cardrayo {
        width: 300px; /* Ajusta el ancho para pantallas más pequeñas */
    }
}

@media (max-width: 768px) {
    .containercard {
        flex-direction: column;
        align-items: center;
        gap: 20px; /* Ajusta el espacio entre las tarjetas para pantallas pequeñas */
    }

    .cardrayo {
        width: 300px; /* Ajusta el ancho para pantallas más pequeñas */
    }
}

@media (max-width: 480px) {
    .cardrayo {
        width: 250px; /* Ajusta el ancho para pantallas más pequeñas */
    }

    .cardrayo button {
        padding: 6px 15px; /* Ajusta el padding del botón */
    }

    .cardrayo span {
        font-size: 14px; /* Ajusta el tamaño del texto */
    }

    .cardrayo .job {
        font-size: 18px; /* Ajusta el tamaño del texto */
    }

    .cardrayo .img {
        width: 70px;
        height: 70px; /* Ajusta el tamaño de la imagen */
    }
}

/* boton de proyectos */

.button {
    height: 70px;
    width: 270px;
    position: relative;
    background-color: transparent;
    cursor: pointer;
    border: 2px solid #252525;
    overflow: hidden;
    border-radius: 30px;
    color: #333;
    transition: all 0.5s ease-in-out;


    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
    
  
  .btn-txt {
    z-index: 1;
    font-weight: 1000;
    letter-spacing: 4px;
    white-space: nowrap;
    font-family: "Livvic", sans-serif;
    font-size: 18px;
  }
  
  .type1::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    transition: all 0.5s ease-in-out;
    background-color: #ffcf2d;
    border-radius: 30px;
    visibility: hidden;
    height: 10px;
    width: 10px;
    z-index: -1;
  }
  
  .button:hover {
    box-shadow: 1px 1px 200px #252525;
    color: #fff;
    border: none;
  }
  
  .type1:hover::after {
    visibility: visible;
    transform: scale(100) translateX(2px);
  }
  