.form-layout {
    border-radius: 20px;
    width:500px;
}
head-bd{
    background-image: url(./media/imagen/alamos.jpg);
}
 * {
        font-family: 'Roboto Condensed', sans-serif;
}
body {
    font-family: 'Roboto Condensed', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6, p {
    font-family: 'Roboto Condensed', sans-serif;
}

@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/robotocondensed/v27/ieVo2ZhZI2eCN5jzbjEETS9weq8-_d6T_POl0fRJeyWyosBD5XxxKA.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/robotocondensed/v27/ieVo2ZhZI2eCN5jzbjEETS9weq8-_d6T_POl0fRJeyWyosBK5XxxKA.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* greek-ext */
@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/robotocondensed/v27/ieVo2ZhZI2eCN5jzbjEETS9weq8-_d6T_POl0fRJeyWyosBC5XxxKA.woff2) format('woff2');
    unicode-range: U+1F00-1FFF;
}

/* greek */
@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/robotocondensed/v27/ieVo2ZhZI2eCN5jzbjEETS9weq8-_d6T_POl0fRJeyWyosBN5XxxKA.woff2) format('woff2');
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* vietnamese */
@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/robotocondensed/v27/ieVo2ZhZI2eCN5jzbjEETS9weq8-_d6T_POl0fRJeyWyosBB5XxxKA.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/robotocondensed/v27/ieVo2ZhZI2eCN5jzbjEETS9weq8-_d6T_POl0fRJeyWyosBA5XxxKA.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/robotocondensed/v27/ieVo2ZhZI2eCN5jzbjEETS9weq8-_d6T_POl0fRJeyWyosBO5Xw.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

bg-white{
    background-color: white;
}
.link-verde{
    text-decoration: none;
    color: green;
}
body {
    padding-top: 1rem;
    padding-bottom: 3rem; 
    box-sizing: border-box;
    height: 100%;
}

text-gray{
    color: gray;
}
/* Slider */


/* Footer */
.lista-sin-puntos {
    list-style: none;
    padding: 0;
    margin: 0;
}
/* Product */
.product-card {
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(158, 158, 158, 0.1);
    background-color: #e7f5e1;
}

.card-title {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: bold;
}

.card-text {
    font-size: 1rem;
    color: #ffffff;
}

.card-price {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: bold;
}

img-product {
    max-width: 50px;
    margin-bottom: 15px;
}
/* Carousel base class */
.carousel {
    margin-bottom: 4rem;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
} 

/* Declare heights because of positioning of img element */
.carousel-item {
    height: 100vh;
    min-height: 300px;
    background: no-repeat center center scroll;
    -webkit-backgroud-size: cover;
    background-size: cover;
}
.carousel-caption{
    bottom: 220px;
}
.carousel-caption h2 {
    font-size: 45px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 25px; 
}
.carousel-caption p {
    width: 60%;
    margin: auto; 
    font-size: 18px;
    line-height: 1.9;
}

.carousel-item>img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 32rem;
}
@media (min-width: 40em) {

    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

}


/* Cards */

.cardheader {
    width: 190px;
    height: 254px;
    background: rgb(254, 254, 255);
    transition: all 0.4s;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.705);
    font-size: 20px;
    font-weight: 900;
}

.cardheader:hover {
    border-radius: 15px;
    cursor: pointer;
    transform: scale(1.5);
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.705);
    background: rgb(254, 254, 255);
}

.first-content {
    height: 100%;
    width: 100%;
    transition: all 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    border-radius: 15px;
}
.cardheader:hover {
    /* ... otros estilos ... */
    z-index: 1;
    /* Establece este elemento como el de mayor importancia */
}
.cardheader:not(:hover) {
    z-index: 0;
    /* Establece todos los demás elementos como menos importantes */
}
.cardheader:hover .first-content {
    height: 0px;
    opacity: 0;
}

.second-content {
    height: 0%;
    width: 100%;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    transition: all 0.4s;
    font-size: 0px;
    transform: rotate(90deg) scale(-1);
    margin: 5px 5px 5px 5px;

}

.cardheader:hover .second-content {
    opacity: 1;
    height: 100%; 
    font-size: 1rem;
    transform: rotate(0deg);
}

@media (max-width: 768px) {
    .card-container {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        
    }

    .cardheader {
        width: 100%;
        margin-bottom: 30px;
        overflow: hidden;
        /* Ajusta el margen para separar los cards */
    }
    .cardheader:hover {
        border-radius: 15px;
        cursor: pointer;
        transform: scale(1);
        box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.705);
        background: rgb(254, 254, 255);
    }
    .second-content {
        height: 0%;
        max-width: 100%;
        opacity: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 15px;
        transition: all 0.4s;
        font-size: 0px;
        transform: rotate(90deg) scale(-1);
        margin: 5px 5px 5px 5px;

    }
}

.text-white{
    color: white;
}
.number{
    font-size: 40px; 
}
/*Team*/
.team-member {
    margin-bottom: 3rem;
    text-align: center;
}

.team-member img {
    width: 14rem;
    height: 14rem;
    border: 0.5rem solid rgba(32, 134, 6, 0.1);
}

.team-member h4,
.team-member .h4 {
    margin-top: 1.5rem;
    margin-bottom: 0;
}

@keyframes appear{
    from {
        opacity: 0;
        scale: 0.4;
    }
    to {    
        opacity: 1;
        scale: 1;
    }
}
.bloque{
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}