:root {
    --color1: #d80a9b;
    --color2: #1323ff;
    --color3: #ffc013;
    --color4: #e4c42f;
  }

/* ---- STYLE WEB ---- */

#slider .titleContainer {
    background: rgb(0 0 0 / 40%);
    position: absolute;
    /* left: 10%; */
    /* padding-left: 10%; */
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    /* padding-bottom: 4%; */
}

#slider .titleContainer .title {
    font-size: 24px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 20px;
}

#slider .titleContainer .title2 {
    font-size: 40px;
    margin-bottom: 0;
    font-style: italic;
    font-weight: lighter;
    color: #fff;
    text-align: center;
}

#slider .btn {
    background-color: var(--color1);
    color: #fff;
    text-transform: uppercase;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 30px;
}

#slider .btn:hover {
    color: #fff;
}

#slider img {
    object-fit: cover;
    object-position: top;
    height: 500px;
    /* height: 85vh; */
    width: 100%;
}

.iconSlider{
    position: absolute;
    left: 2%;
    bottom: 2%;
    display: flex;
    justify-content: start;
    align-items: end;
    height: 100%;
}

.frase{
    margin-top: 2rem;
    margin-bottom: 1rem;
}   


.boton1{
    background-color: var(--color4);
    color: #fff;
    font-weight: bold;
    padding: 10px 20px;
    transition: all .3s ;
    box-shadow: 6px 6px 6px 0px rgba(0,0,0,0.5);
}

.boton1:hover{
    transform: scale(1.10);
    color: #fff;
    box-shadow: 6px 6px 6px 0px rgba(0,0,0,0.7);
}

#valores {
    background-image: linear-gradient(to top,
    /* rgb(228 197 47 / 40%) 55%, */
    rgb(224 87 46 / 22%) 55%,
    #ffff 10%,
    #ffff 50%),
url(../img/web/darmas-bg.jpg);
    background-size: 110%;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    /* margin-top: 5rem; */
    margin-bottom: 8rem;
}

#valores .row-pad {
    height: 400px;
    margin: 0 7.5%;
}

/* #valores .card {
    transition: all .3s ease-in-out;
}

#valores .card:hover {
    transform: translateY(-6px);
} */

#valores .img1 {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    vertical-align: middle;
}

#valores .img2 {
    width: 160px;
}

#valores .number {
    text-align: center;
    width: 60px;
    height: 60px;
    background: var(--color2);
    border-radius: 50%;
}

#valores .number span {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    color: white;
    margin-top: 4px;
}




.eventos {
    /* padding-top: 80px; */
    /* padding-bottom: 80px; */
    background-color: #f5f5f9;
}

.eventos .card {
    border: 0;
    box-shadow: 0px 10px 30px 0px rgb(0 0 0 / 8%);
    cursor: pointer;
}

/* .eventos .card:hover img {
    transform: scale(1.10);
}
 */
.eventos .card img {
    transition: all .3s ease-in-out;
    /* object-fit: cover;
    object-position: top; */
    width: 100%;
    height: 360px;
    cursor: pointer;
}

.eventos .card .news {
    position: absolute;
    top: -16px;
    left: 34%;
    border-radius: 5px;
    padding: 4px 12px;
    background-color: var(--color4);
    color: white;
    /* font-size: 14px; */
    font-size: 18px;
    font-weight: bold;
    transform: translateY(-5%);
}

.eventos .card .card-body .card-title {
    color: var(--color2);
    font-weight: bold;
    cursor: pointer;
}

.eventos .card .card-body .card-title:hover {
    color: var(--color1);
}

.eventos .card .card-body .card-text {
    margin-top: 1rem;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
    color: #555;
    font-size: 17px;
    line-height: 1.6;
}

.eventos .card .card-footer {
    background: var(--color2);
    color: white;
}

.eventos .btn {
    background: var(--color1);
    color: white;
    padding: 10px 20px;
    /* transition: all .3s ease-in; */
    /* animation: shake 2s infinite; */
}

.eventos .btn:hover {
    animation: shake 2s infinite;
    background: var(--color2);
    /* transform: scale(1.08); */
    /* box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15); */
}
.eventos .owl-theme .owl-dots .owl-dot span{
    width: 30px;
}

.eventos .owl-theme .owl-dots .owl-dot.active span{
    /* background-color: red; */
    width: 50px;
}
.eventos .owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span{
    background-color: var(--color4);
}

.equipo {
    margin-top: 40px;
    margin-bottom: 80px;
}

.equipo .card {
    border: 0;
    /* padding: 10px; */
    /* box-shadow: 0px 10px 30px 0px rgb(0 0 0 / 8%); */
}

/* .equipo .card .bgMes::after,
.equipo .card .bgMes::before{
    content: '--';
    color: #fff;
    font-size: 30px;
    margin: 0 10px;
} */
.equipo .card .bgMes{
    background: var(--color4);
    height: 40px;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
}

.equipo .card .bgMes .mes{
    text-align: center;
    color: #fff;
    margin-bottom: 0;
    font-size: 18px;
}
.equipo .card:hover img {
    transform: scale(1.10);
}

.equipo .card img {
    transition: all .3s ease-in-out;
    object-fit: cover;
    width: 100%;
    height: 200px;
}

.equipo .card .news {
    position: absolute;
    top: 26px;
    left: -16px;
    border-radius: 5px;
    padding: 4px 12px;
    background-color: var(--color4);
    color: white;
    /* font-size: 14px; */
    font-size: 18px;
    font-weight: bold;
    transform: translateY(-5%);
}
.equipo .card .card-body{
    padding: 10px 0 ;
}
.equipo .card .card-body .descripcion {
    color: #42474c;
    font-size: 16px;
    /* font-weight: bold; */
    cursor: pointer;
}

/* .equipo .card .card-body .descripcion::after {
    content: ' | ';
} */

.equipo .card .card-body .card-title {
    color: #42474c;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    font-style: italic;
}

.equipo .card .card-body .card-title:hover {
    color: #42474c;
}

.equipo .card .card-body .card-text {
    margin-top: 1rem;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
    color:#42474c;
    font-size: 18px;
    line-height: 1.6;
}

.equipo .card .card-footer {
    background: var(--color2);
    color: white;
}

.equipo .btn {
    background: var(--color1);
    color: white;
    padding: 10px 20px;
    /* transition: all .3s ease-in; */
    /* animation: shake 2s infinite; */
}

.equipo .btn:hover {
    animation: shake 2s infinite;
    background: var(--color2);
    /* transform: scale(1.08); */
    /* box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15); */
}




@media (max-width: 500px) {
    #valores{
        margin-bottom: 0;
        padding-top: 1rem;
        background-size: 320%;
       }
       
       #valores .row-pad {
        height: fit-content;
        }
   
}

div[id] {
    scroll-margin-top: 150px;
}
