html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.body-full {
    display: flex;
    flex-direction: column;
}

/*BARRA DE NAVEGACIÓN*/
#nav-head {
	position: relative;
	z-index: 10;
	max-height: 70px !important;
}

#nav-head a{
	border-radius: 0px;
	padding-left: 20px;
	padding-right: 20px;
}

@media (max-width: 992px) {
	#menu-nav {
		background: linear-gradient(#324459,#263343) !important;
		border-radius: 5px;
		z-index: 5;
	}
	.banner-img {
        height: auto;
        max-height: 70vh;
        object-fit: contain;
    }
}

.img-logo {
	width: 60px;
    height: 50px;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.img-logo:hover {
	filter: brightness(140%);
}

.navbar-custom {
	background-color: #263343 !important;
	background: linear-gradient(#324459,#263343) !important;
}

/*BANNER Y CARRUSEL*/

#divlogo {
    position: relative;
    height: 60vh; 
    min-height: 320px;
    max-height: 480px;
    overflow: hidden;
}

#divlogo .carousel-inner,
#divlogo .carousel-item,
#divlogo .carousel-bg {
    height: 100%;
}

/* Fondo del banner */
.carousel-bg {
    width: 100%;
    max-width: 100%;
    height: 65vh; /*auto*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; /*cover*/
}

.banner-img {
    height: 65vh;
    object-fit: cover;
}

/* Fade suave */
#divlogo .carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

#divlogo .carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Quita desplazamientos laterales */
#divlogo.carousel-fade .carousel-item-left.active,
#divlogo.carousel-fade .carousel-item-next.carousel-item-left,
#divlogo.carousel-fade .carousel-item-right.active,
#divlogo.carousel-fade .carousel-item-prev.carousel-item-right {
    transform: none !important;
}

.carousel-text img {
	position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 2 !important;
    pointer-events: none;
    width: 100%;
	max-width: 160px;
	height: auto;
    filter: drop-shadow(0px 0px 15px rgba(0,0,0,0.8));
}

#divlogo.carousel-fade .carousel-item-left.active,
#divlogo.carousel-fade .carousel-item-next.carousel-item-left,
#divlogo.carousel-fade .carousel-item-right.active,
#divlogo.carousel-fade .carousel-item-prev.carousel-item-right {
    transform: none !important;
}

#divlogo .carousel-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/*CUERPO Y CONTENIDO*/

#divbody{
	background: linear-gradient(#BADCFF 0%,#F0F8FF 30%);
	background-color: #F0F8FF;
	color: #000000;
	text-align: justify;
	flex: 2;
	padding: 60px 60px 80px 60px;
}

#divbody a {
    margin-bottom: 20px;
    display: inline-block;
}

/*PIE*/

#divfoot{
	background-color: #263343;
	background: linear-gradient(#324459,#263343);
	color: #FFFFFF;
	text-align: left;
	padding: 80px 60px;
}

/*BOTÓNES*/

.btn-descargar {
	display: block;
    background-color: #2690FA;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-descargar:hover {
	text-decoration: none;
    background-color: #227BD4;
    color: #FFFFFF;
}

/*HIPERVÍNCULOS*/
.a-anim{
	margin-bottom: 20px;
    margin-top: 20px;
	color: #FFFFFF;
	transition: color 0.3s;
}
.a-anim:hover {
	text-decoration: none;
	color: #2690FA;
}

/*BOTÓNES PARA LA BARRA DE NAVEGACIÓN*/

.navbar-dark .navbar-nav .nav-link {
    color: #ffffff !important;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #2690FA !important;
}

/*IMÁGENES*/

.img-cover {
	width: auto;
	max-width: 265.25px;
	max-height: 375;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    transition: filter 0.3s ease;
}

.img-cover:hover {
	filter: brightness(140%);
}

.item-libro{
    margin-bottom: 40px;
}

h2 {
    display: block;
    font-weight: bold;
}