@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

.pattern {
    background-color: #ffffff;
    opacity: 1;
    background-image: linear-gradient(135deg, #fafafa 25%, transparent 25%), linear-gradient(225deg, #fafafa 25%,
            transparent 25%), linear-gradient(45deg, #fafafa 25%, transparent 25%), linear-gradient(315deg, #fafafa 25%, #ffffff 25%);
    background-position: 11px 0, 11px 0, 0 0, 0 0;
    background-size: 22px 22px;
    background-repeat: repeat;
}

#menu-menu-principal>li>a {
    text-decoration: none;
}

#footer .menu li a {
    text-decoration: none;
}

#footer h2 {
    text-decoration: none;
}

.search {
    margin-bottom: auto;
    margin-top: auto;
    height: 70px;
    background-color: #fff;
    border-radius: 40px;
    padding: 10px;
    border: 1px solid #555;
}

.search_input {
    color: white;
    border: 0;
    outline: 0;
    background: none;
    width: 0;
    margin-top: 5px;
    caret-color: transparent;
    line-height: 40px;
    transition: width 0.4s linear;
}

.search .search_input {
    padding: 0 10px;
    width: 550px;
    caret-color: red;
    transition: width 0.4s linear;
}

.search:hover>.search_icon {
    background: red;
    color: #fff;
}

.search_icon {
    height: 50px;
    width: 50px;
    float: right;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    background-color: black;
}

a:link {
    text-decoration: none;
}

.btn-filtro {
    background: #EBECEE;
    color: #8C8C8C;
    margin-left: 5px !important;
}

.btn-filtro:hover {
    background: #e1e1e2;
    color: #8C8C8C;
    text-decoration: none;
}

.card {
    flex: 1;
    margin: 0 10px;
    background: transparent;
    border: var(--border);
    border-radius: 16px;
    overflow: hidden;
    min-height: 350px;
    cursor: pointer;
}

.card .img {
    height: 250px;
    margin: 0px;
    width: 100%;
    border-radius: 10px;
    transition: all 0.2s ease;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.card .img:hover {
    filter: brightness(75%);
}

.card .img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all 0.2s ease-in-out;
}

.card .img img:hover {
    transform: scale(1.1);
    /* Scale up by 10% on hover */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.slider .card .content {
    padding: 10px 20px;
}

.card .content .title {
    padding-top: 10px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: var(--text);
    text-decoration: none !important;
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: #263238;
}

.card .content .sub-title {
    font-size: 16px;
    font-weight: 400;
    color: var(--sub-text);
    line-height: 20px;
    text-align: left;
}

.card .content p {
    text-align: justify;
    margin: 10px 0;
    color: var(--sub-text);
    line-height: 1.5;
    /* Adjust the line height as needed */
    max-height: 6em;
    /* 4 lines multiplied by the line height (adjust as needed) */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.card .content button {
    position: absolute;
    bottom: 10px;
    right: 24px;
    font-size: 20px;
    background: #94D60A !important;
    cursor: pointer;
    border-color: #94D60A !important;
}

.card:hover button {
    opacity: 1;
}

.button-container-interactivos {
    position: fixed;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 30% !important;
    background-color: #a12525;
    border-radius: 30px;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    margin-bottom: 50px;
}
.circle-button-interactivos {
    width: 150px;
    height: 40px;
    background-color: #a12525;
    color: #ffffff;
    border-radius: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px !important;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 5px;
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;

}
@media (max-width: 576px) {
    .card .img {
        height: 150px;
        margin: 0px;
        width: 100%;
        border-radius: 10px;
        transition: all 0.2s ease;
        overflow: hidden;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    }

    .card {
        flex: 1;
        margin: 0 10px;
        background: #fff;
        border: var(--border);
        border-radius: 16px;
        overflow: hidden;
        min-height: 250px;
        cursor: pointer;
    }

    .button-container-inicial {
        position: fixed;
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 80% !important;
        background-color: #94d60a;
        border-radius: 30px;
        padding: 10px;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        margin-bottom: 50px;
    }

    .circle-button-inicial {
        width: 150px;
        height: 40px;
        background-color: #94d60a;
        color: #ffffff;
        border-radius: 10%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 15px !important;
        cursor: pointer;
        transition: background-color 0.3s;
        margin: 5px;
        font-family: "Roboto Condensed", sans-serif;
        font-optical-sizing: auto;
        font-weight: bold;
    
    }
    
    .circle-button-inicial:hover {
        color: #ffffff;
    
    }

    .button-container-preescolar {
        position: fixed;
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 80% !important;
        background-color: #25927E;
        border-radius: 30px;
        padding: 10px;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        margin-bottom: 50px;
    }

    .button-container-primaria {
        position: fixed;
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 80% !important;
        background-color: #F251B2;
        border-radius: 30px;
        padding: 10px;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        margin-bottom: 50px;
    }
    .button-container-secundaria {
        position: fixed;
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 80% !important;
        background-color: #9F0DDD;
        border-radius: 30px;
        padding: 10px;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        margin-bottom: 50px;
    }

    .button-container-especial {
        position: fixed;
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 80% !important;
        background-color: #EA6C0F;
        border-radius: 30px;
        padding: 10px;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        margin-bottom: 50px;
        bottom: 0;
        padding-bottom: 20px;
    }
    .button-container-interactivos {
        position: fixed;
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 80% !important;
        background-color: #a12525;
        border-radius: 30px;
        padding: 10px;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        margin-bottom: 50px;
    }


    .banner-preescolar{
        height: 100px;
        object-fit: contain;
    }
    .banner-preescolar img{
        height: 100px;
    }
    .button-container-inicial {
        position: fixed;
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 28%;
        background-color: #94d60a;
        border-radius: 30px;
        padding: 10px;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        margin-bottom: 50px;
    }
    .button-container-preescolar {
        position: fixed;
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 28%;
        background-color: #25927E;
        border-radius: 30px;
        padding: 10px;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        margin-bottom: 50px;
        height: 50px;
    }
    
    .circle-button-preescolar {
        width: 150px;
        height: 40px;
        background-color: #25927E;
        color: #ffffff;
        border-radius: 10%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 15px !important;
        cursor: pointer;
        transition: background-color 0.3s;
        margin: 5px;
        font-family: "Roboto Condensed", sans-serif;
        font-optical-sizing: auto;
        font-weight: bold;
    
    }
    .circle-button-interactivos {
        width: 150px;
        height: 40px;
        background-color: #a12525;
        color: #ffffff;
        border-radius: 10%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 15px !important;
        cursor: pointer;
        transition: background-color 0.3s;
        margin: 5px;
        font-family: "Roboto Condensed", sans-serif;
        font-optical-sizing: auto;
        font-weight: bold;
    
    }
    
    .circle-button-preescolar:hover {
        color: #94D60A;
    
    }
    .banner-primaria{
        height: 100px;
        object-fit: contain;
    }
    .banner-primaria img{
        height: 100px;
    }

    .button-container-primaria {
        position: fixed;
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 28%;
        background-color: #F251B2;
        border-radius: 30px;
        padding: 10px;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        margin-bottom: 50px;
        height: 50px;
    }
    
    .circle-button-primaria {
        width: 150px;
        height: 40px;
        background-color: #F251B2;
        color: #ffffff;
        border-radius: 10%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 15px !important;
        cursor: pointer;
        transition: background-color 0.3s;
        margin: 5px;
        font-family: "Roboto Condensed", sans-serif;
        font-optical-sizing: auto;
        font-weight: bold;
    
    }
    
    .circle-button-primaria:hover {
        color: #F251B2;
    
    }
    .banner-secundaria{
        height: 100px;
        object-fit: contain;
    }
    .banner-secundaria img{
        height: 100px;
    }

    .button-container-secundaria {
        position: fixed;
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 28%;
        background-color: #9F0DDD;
        border-radius: 30px;
        padding: 10px;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        margin-bottom: 50px;
        height: 50px;
    }
    
    .circle-button-secundaria {
        width: 150px;
        height: 40px;
        background-color: #9F0DDD;
        color: #ffffff;
        border-radius: 10%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 15px !important;
        cursor: pointer;
        transition: background-color 0.3s;
        margin: 5px;
        font-family: "Roboto Condensed", sans-serif;
        font-optical-sizing: auto;
        font-weight: bold;
    
    }
    
    .circle-button-secundaria:hover {
        color: #FF00FF;
    
    }
    .banner-especial{
        height: 100px;
        object-fit: contain;
    }
    .banner-especial img{
        height: 100px;
    }

    .button-container-especial {
        position: fixed;
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 28%;
        background-color: #EA6C0F;
        border-radius: 30px;
        padding: 10px;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        margin-bottom: 50px;
        height: 50px;
        bottom: 0;
        padding-bottom: 20px;
    }
    
    .circle-button-especial {
        width: 150px;
        height: 40px;
        background-color: #EA6C0F;
        color: #ffffff;
        border-radius: 10%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 15px !important;
        cursor: pointer;
        transition: background-color 0.3s;
        margin: 5px;
        font-family: "Roboto Condensed", sans-serif;
        font-optical-sizing: auto;
        font-weight: bold;
    
    }
    
    .circle-button-especial:hover {
        color: #F5AE33;
    
    }

}

.bottom-center-div {
    position: absolute;
    bottom: 20px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button-container-primaria {
    position: fixed;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 28%;
    background-color: #F251B2;
    border-radius: 30px;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    margin-bottom: 50px;
}

.circle-button-primaria {
    width: 150px;
    height: 40px;
    background-color: #F251B2;
    color: #ffffff;
    border-radius: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 5px;
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;

}

.circle-button-primaria:hover {
    color: #b700ff;

}
.button-container-secundaria {
    position: fixed;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 28%;
    background-color: #9F0DDD;
    border-radius: 30px;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    margin-bottom: 50px;
}

.circle-button-secundaria {
    width: 150px;
    height: 40px;
    background-color: #9F0DDD;
    color: #ffffff;
    border-radius: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 5px;
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;

}

.circle-button-secundaria:hover {
    color: #FF00FF;

}
.button-container-especial {
    position: fixed;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 28%;
    background-color: #EA6C0F;
    border-radius: 30px;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    margin-bottom: 50px;
}

.circle-button-especial {
    width: 150px;
    height: 40px;
    background-color: #EA6C0F;
    color: #ffffff;
    border-radius: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 5px;
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;

}

.circle-button-especial:hover {
    color: #F5AE33;

}
.button-container-inicial {
    position: fixed;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width:28% ;
    background-color: #94d60a;
    border-radius: 30px;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    margin-bottom: 50px;
}
.button-container-preescolar {
    position: fixed;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 28%;
    background-color: #25927E;
    border-radius: 30px;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    margin-bottom: 50px;
}

.circle-button-preescolar {
    width: 150px;
    height: 40px;
    background-color: #25927E;
    color: #ffffff;
    border-radius: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 5px;
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;

}

.circle-button-preescolar:hover {
    color: #94D60A;

}
.circle-button-inical {
    width: 150px;
    height: 40px;
    background-color: #94D60A;
    color: #ffffff;
    border-radius: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 5px;
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;

}

.circle-button-inical:hover {
    color: #f1ff71;

}
.circle-button-primaria:hover {
    color: #b700ff;

}
@media (max-width: 991px) {
    #footer {
        padding-top: 0px;
        font-size: 17px;
    }
}