:root{
    font-size: 16px;
    font-family: 'Nunito Sans', sans-serif;
}
*{
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

section{
    width: 100%!important;
    padding: 2% 4%;
}

/*** Nav ***/
/* nav{
    background-color: #CBC9A8;
    height: 100px;
    z-index: 99999;
} */
.navbar{
    padding: 0 0 0 3rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 2.5rem;
    letter-spacing: 0.02rem;
}

.navbar-brand img{
    width: 5em;
}

.navbar-expand-lg .navbar-nav .nav-link{
    padding: 0 1rem;
}

/** header **/
.header{
    height: 100vh;
    display: flex;
    align-items: center;
}

.content{
    /* position: relative; */
    padding-left: 1rem;
    padding-right: 1rem;
    margin: auto;
    text-align: center;
    justify-content: center;

}

.header-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.videoinicio{
    position: absolute;
    width: 100vw;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: -1;
}

.header-overlay{
    height: 100vh;
    width: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
    background: #050505;
    z-index: 1;
    opacity: .50;
}

.header-content{
    z-index: 2;
    color: #fff;
    margin-bottom: -20%;
}

.header-content h1{
    font-size: 2.5rem;
    margin-bottom: 0;
}

.header-content hr{
    /* width: 45%;
    position: relative; */
    left: 55%;
    top: -1rem;
    border: solid #C37028;
    z-index: 99999;
    padding: 0; 
}
.header-content p{
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.5rem;
    font-style: italic;
    letter-spacing: 1px;
    font-weight: 200;
    display: block;
    padding-bottom: 2rem;
}



.btn{
    background:transparent;
    border: solid 3px;
    /* border-color: #C37028; */
    border-radius: 2rem;
    width: 300px;
    height: 50px;
    color: #fff;
    font-size: 1.25rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.btn:hover{
    /* background-color: #F4BD8A;
    color: #9F5A1F; */
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}
.header-banner{
    z-index: 998;
    color: #fff; 
    margin-bottom: 0;
}
.banner{
    position: relative;
    display: flex;
    /* background: rgb(195, 112, 40, .65); */
    border: 0;
    border-radius: 0rem 2rem 2rem 0rem;
    width: 510px;
    height: 60px;
    color: #000;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    text-decoration: none;
    margin-top: -10%;
    z-index: 1;
    animation-delay: 1s;
    animation-duration: 3s;
  }

.banner:hover{
    /* background: rgba(130, 155, 62, 0.5); */
    transform: scale(0.95);
}


/** Button Equitación Sensitiva **/

.wrap {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1.2rem;
    color: #829b3e;
    margin-right: 0.5rem; 
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    padding: 0 3rem;
    margin-top: -10%;
    z-index: 1;
  }
  
#eqs-btn .button {
    font-family: 'Nunito', sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-weight: 700;
    color: #313133;
    background-size: cover;
    background: linear-gradient(90deg, rgba(130, 155, 62,.74) 0%, rgba(130, 155, 62,1) 100%);
    border: none;
    border-radius: 50%;
    box-shadow: 12px 12px 24px rgba(130, 155, 62,.64);
    transition: all 0.3s ease-in-out 0s;
    cursor: pointer;
    outline: none;
    position: relative;
    padding: 1rem;
    z-index: 1;
    }
  
#eqs-btn button::before {
  content: '';
    border-radius: 0%;
    border: 6px solid #829b3e;
    box-shadow: 0 0 60px rgba(130, 155, 62,.64);
    position: absolute;
    top: 50%;
    left: 90%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all .3s ease-in-out 0s;
  }
  
#eqs-btn .button:hover, .button:focus {
    color: transparent;
    transform: translateY(-6px);
  }
  
#eqs-btn .button:hover button:focus::before {
    opacity: 1;
  }
  
#eqs-btn button::after {
    content: '';
    width: 30px; height: 30px;
    border-radius: 100%;
    border: 6px solid #829B3E;
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ring 1.5s infinite;
  }
  
#eqs-btn button:hover::after, button:focus::after {
    animation: none;
    display: none;
  }
  
  @keyframes ring {
    0% {
      width: 30px;
      height: 30px;
      opacity: 1;
    }
    50% {
        width: 150px;
        height: 150px;
        opacity: .45;
      }
    100% {
      width: 190px;
      height: 190px;
      opacity: 0;
    }
  }


/** Titulo **/
.titulo{
    text-align: center;
    
}
.titulo h2{
    margin-bottom: 0;
    font-size: 2rem;
    color: #C37028;
    font-weight: 700;
}
.titulo p{
    Font-family: Nunito Sans;
    Font-style: Regular;
    Font-size: 20px;
    Line-height: 25px;
    text-align: center;
    margin-top: 1.5rem;
}

/** Eventos **/

.eshoy{
    z-index: 999;
    width: 100px;
    margin-top: -10%;
    /*animation: turn1 5s linear infinite;*/
    filter: drop-shadow(0px 6px 6px rgba(130, 155, 62, 0.7));
}

/*@keyframes turn1 {
    to{
        transform: rotate(1turn);
    }
}*/

.card{
    border: none;
    background-color:transparent;
}
#imgEvento{
    /* background-image: url(/assets/img/Eventos/Evento.png); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: auto;
    height: 400px;
}

.imgeventos{
    /* background-image: url(/assets/img/Eventos/Evento.png); */
    margin-top:5rem;
    margin-bottom:1rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    max-width: 40%;
    height: auto;
}

 .card-footer{
    justify-content: center;
    text-align: center;
}
.card-btn{
    background:transparent;
    border: solid 2px #C37028;
    border-radius: 2rem;
    width: 40%;
    height: auto;
    color: #C37028;
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 700;
    text-align: center;
    justify-content: center;
    text-decoration: none;
    padding: 1%;
    box-shadow: rgba(0, 0, 0, 0.25);

}
 .card-btn:hover{
    background-color: #F4BD8A;
    border:  solid 2px  #F4BD8A;
    color: #fff;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

/**  Blog **/
#blog .card{
    min-height: 250px;
    border-width: 0px 0px 1px 1px;
    border-style: solid;
    border-color: #CBC9A8;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    border-radius: 0px 16px 0px 16px;
    margin: 1rem;
}
#blog .card:hover{
    background: #F4E1D0;
}
#blog .card-img-top{
    height: 80px;
}
#blog .card-title{
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.2rem;
    color: #9F5A1F;
}
#blog .mes{
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 600;
    font-size: .85rem;
}
#blog .card-text{
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5rem;
    /* or 156% */
    letter-spacing: -0.015em;
}
#blog .card-footer{
    border: 0;
    background: transparent;
    text-align: end;
    margin-top: -10%;
}
#blog .card-footer .text-footer{
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.25rem;
    text-decoration: underline;
    color: #9F5A1F;
}
.acceder{
    text-decoration: none;
    color: #829B3E;
}
.acceder:hover{
    text-decoration: none;
    color: #C37028;
}

/** Actividades**/
#actividades{
    background: linear-gradient(180deg, rgba(203, 201, 168, 0.2) 0%, rgba(203, 201, 168, 0.02) 11.46%);
}

#actividades .card{
    width: auto;
    height: auto;
    background: #FFFFFF;
    box-shadow: 0px 0px 30px rgba(130, 155, 62, 0.5);
    border-radius: 16px;
    padding: .8rem;
    margin: 0.5rem;
}
#actividades .card:hover{
    background: #FFFFFF;
    box-shadow: 0px 0px 30px rgba(195, 112, 40, 0.5);
    border-radius: 16px;
}
#actividades .card img{
    border-radius: 16px 16px;
    margin-bottom: 1rem;
}
#actividades .card-title{
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.25rem;
    /* or 100% */
    letter-spacing: -0.015em;
    /* Cuero */
    color: #C37028;
}
#actividades .card-body p{
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.25rem;
    /* or 100% */
    letter-spacing: 0.02em;
    color: #000000;
    margin-bottom: 1px;
}

.card-footer{
    background: transparent;
    border: none;
}
.btn-actividades{
    background:transparent;
    border: solid 3px;
    border-color: #C37028;
    border-radius: 2rem;
    width: 50%;
    height: auto;
    color: #C37028;
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom:0px ;
    padding: 1%;
    text-align: center;
    text-decoration: none;
}
.btn-actividades:hover{
    background-color: #F4BD8A;
    border-color: #F4BD8A;
    color: #fff;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}


/** Contacto **/
#contacto{
    /* background: #E2E2E2; */
    padding: 2rem;
    width: 100%;
}
#contacto a{
    color: #C37028;
}
#contacto a:hover{
    color: #829B3E;
}
#contacto .contacto-container .col{
    background-color: #fff;
}
#contacto .img-contacto{
    max-height: 280px;
}
.form-group input {
    width: 70%;
    border-radius: 0;
}
.form-group textarea {
    height: 200px;
}
.btn-enviar {
    background:transparent;
    border: solid 3px;
    border-color: #C37028;
    border-radius: 2rem;
    width: 150px;
    height: 50px;
    color: #C37028;
    font-size: 1.25rem;
    letter-spacing: 1px;
    font-weight: 600;
    text-align: center;
}
.btn-enviar:hover{
    background:#F4BD8A;
    border:  solid 2px  #F4BD8A;
    color: #fff;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}
.sent-message{
    display: none;
}
.form-control:focus {
    border-color: #C37028;
    box-shadow: 0 0 5px #F4BD8A;
}

/** Footer **/
/* footer{
    background: rgba(203, 201, 168, 1);
    border-top: 4px solid #9F5A1F;
    min-height: 80px;
    padding-top: 1%;
    width: 100%!important;
} */
.redes{
    color: #9F5A1F;
}
.redes a{
    margin-left: 1rem;
    background-color: transparent;
    border-radius: 50%;
}
.redes a:hover{
    box-shadow: 0 0 20px #C37028;
}
/** Back to top button **/

.back-to-top {
    position: fixed;
    display: block;
    right: 15px;
    bottom: 15px;
    z-index: 99998;
    text-decoration: none;
    background-color: transparent;
    border-radius: 50%;
}
.back-to-top img {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    width: 40px;
    height: 40px;
    transition: all 0.4s;
}

.caja-banner{
	display: flex;
    justify-content: center;
    align-items: center;
}

/** medias **/

@media screen and (max-width: 991px) {

    .banner{
        margin-top: -16%;
    }
    #imgEvento{
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        width: 100%;
        height: 400px;
        margin-top: 2rem;
    }
    #contacto .img-contacto{
        display: none;
    }
    
    .wrap {
        margin-top: 10%;
        font-family: 'Nunito Sans';
        font-style: normal;
        font-weight: 800;
        font-size: 1.2rem;
        line-height: 1.2rem;
        color: #829b3e;
        margin-right: 1rem;
        align-items: center;
        justify-content: center;
    }

    #actividades{
        margin-top: 10%;
    }
    #eventos, #blog {
        margin-top: 3em;
    }
    #eventos .eventos-container{
        padding: 0;
    }
    #eventos .card-btn{
        width: 40%; 
    }

    .eshoy{
        z-index: 999;
        width: 60px;
        margin-top: 0%;
        filter: drop-shadow(0px 6px 6px rgba(130, 155, 62, 0.7));
    }
}


@media screen and (max-width: 767px) {
    
}


@media screen and (max-width: 767px) {

    nav{
        height: auto;
    }
    .navbar{
        padding: 1rem;
    }
    .navbar-brand img{
        width: 3.5em;
    }
    .header-content hr{
        width: 80%;
        position: relative;
        left: 10%;
        top: -1rem;
        border: solid #C37028;
        z-index: 99998;
        padding: 0; 
    }

    #imgnovedades{
        width: 100%;
    }
    
    #botonnovedades{
        width: 100%;
    }

    .videoinicio{
        position: absolute;
        width: auto;
        height: 100%;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        z-index: -1;
        overflow: hidden;
    }
    .form-group input {
        width: 90%;
        border-radius: 0;
    }

    /** Button Equitación Sensitiva **/

    .wrap {
        margin-top: 10%;
        font-family: 'Nunito Sans';
        font-style: normal;
        font-weight: 800;
        font-size: 1.2rem;
        line-height: 1.2rem;
        color: #829b3e;
        margin-right: 0.5rem;  
    }

    #actividades{
        margin-top: 10%;
    }

    .img-actividades{
        display: none;
    }
    #eventos, #blog {
        margin-top: 3em;
    }
    #eventos .eventos-container{
        padding: 0;
    }
    #eventos .card-btn{
        width: 70%; 
    }

    .eshoy{
        z-index: 999;
        width: 60px;
        margin-top: 0%;
        filter: drop-shadow(0px 6px 6px rgba(130, 155, 62, 0.7));
    }

    .caja-banner{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* mobile  */

    .imgeventosMobile{
        /* background-image: url(/assets/img/Eventos/Evento.png); */
        margin-top:4rem;
        margin-bottom:1rem;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        width: 100%;
        height: 100%;
    }

    @media (max-width: 767px) {
        .header-content h1 {
          font-size: 1.5rem; /* Tamaño de fuente más pequeño para dispositivos móviles */
          /* Otros estilos específicos para dispositivos móviles si es necesario */
        }

        .header-content p {
            font-size: 1rem;
        }

        .btn {
            border-radius: 2rem;
            width: 234px;
            height: 48px;
            color: #fff;
            font-size: 1rem;
        }

        .header-content {
            margin-bottom: 0%;
        }

        .banner {
           margin-top: -46%!important;
           width: 95%;
        }
    }
}