
body {
    font-family: 'Rajdhani','Trebuchet MS','sans-serif';
    font-size: 1em;
    color: black;
    background-color: whitesmoke;
    margin:0;
    display:block;
}

h1 {
    font-weight: bolder;
}

#componente-contenedor {
    position: relative; 
}

#componente-fondo {
    position: absolute;
    top:80px;
    bottom:0;
    right:0;
    left:0; 
    background-image: url("../img/yin-yang.jpg");
    background-position: center;
    background-repeat: repeat;
    height: 390px;
    opacity: 0.1;
}


#componente {
    position: relative;
}

.navbar-brand {
    font-family: 'merienda';
}

#footer-link {
    background-color: rgba(0, 0, 0, 0.2);
}

#footer-link a{
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

#footer-link a:hover {
    color: white;
    
}

#filtro-busqueda {
    display:flex;
    justify-content: space-between;
    align-items: center;
}

#filtro-categoria select {
    font-weight: bolder;
}

#infoActividades{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#infoActividades .page-link {

    color: black;
    opacity: 0.7;
}

#infoActividades .active {
    
    background-color: lightblue;  
}

#tarjetasActividades{
    display:flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#tarjetasActividades .card{
    margin-right: 5px;
    width: 49%;
    height: 220px;
    opacity: 0.7;
}

#tarjetasReservas{
    display:flex;
    justify-content: space-around;
    align-items:center;
    flex-wrap: wrap;
}

#tarjetasReservas .card{
    margin-right: 5px;
    width: 48%;
    opacity: 0.9;
}

@media only screen and (max-width: 800px) {
    #tarjetasActividades .card, #tarjetasReservas .card {
    width: 100%;
    }
}


#tarjetasActividades .card-text {
    height: 90px;
}


#tarjetasActividades .divFoto {
    height: 220px;
}

/*
#tarjetasActividades .divCardBody {
    max-height: 170px;
}
*/

@media only screen and (max-width: 800px) {
    #tarjetasActividades .card-text {
        height:fit-content;
    }

    #tarjetasActividades .card {
        height: auto;
    }
}



#tarjetasActividades img {
    width: 200px;
    max-height: 180px;
}

#infoCardActividad .card-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    color: black;
    opacity: 0.8;
}

#login-card,#registro-card,#misdatos-card,#contacto-card {
    width: 100%;
    background-color: rgba(255,255,255,0.7);
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}

#login-card img {
    width: 50%;
    height: auto;
}

#registro-card img,#misdatos-card img,#contacto-card img {
    width: 70%;
    height: auto;
}

#login-card a{
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

#login-card a:hover {
    color: black;
    
}

#registro-card label,#misdatos-card label,#contacto-card label,#login-card label {
    opacity: 0.5;
    width: 45px;
}

#registro-card input,#misdatos-card input,#contacto-card input,#login-card input {
    margin-right: 10px;
}

#contacto-card textarea {
    margin-right: 10px;
}

#boton-baja-usuario {
    background-color: red;
}

#boton-login:hover, #boton-registro:hover, #boton-contacto:hover, #boton-modificar-usuario:hover, #boton-baja-usuario:hover,#boton-cambiar-password:hover {
    opacity:0.5;
}

.form-error {
    border-color: orange;
    border-width: 2px;
}
.form-error::placeholder {
    font-style: italic;
    font-weight: bolder;
    font-size: 0.8em;
    color: orange;
    opacity: 0.6;
}

.boton-alerta {
    color:white;
    background-color: black !important;
}

.boton-alerta:hover {
    background-color: black !important;
    opacity: 0.5;
}

.datosReserva {
    opacity: 0.7;
}

.procesadoImg {
    width: 350px;
    height: auto;
    opacity: 0.5;
}

    




