/* Importamos los estilos globales principales */
@import url("main_styles.css");
@import url("menu_edupuc.css");

* {
	box-sizing: inherit;
}

html {
	height: 100%;
	box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--color-texto);
	margin: 0;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.logo_edupuc{
    background-image: var(--logo-edupuc);
    width: var(--logo-edupuc-ancho);
    height: var(--logo-edupuc-alto);
    background-repeat: no-repeat;
    background-size: contain;
    margin: 10px auto;
}

/* -------------------------------- */

.banner-downloads-edupuc{
    background-color: #36b4e5;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    margin-bottom: 20px;
}

.downloads-page-edupuc{
    font-weight: bold;
    font-size: 2rem;
    display: block;
    text-align: center;
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* -------------------------------- */

section.wrapper-file-downloads-edupuc{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin: 0 auto;
	font-size: 1.2rem;
}

section.wrapper-file-downloads-edupuc article{
	width: 95%;
}

section.wrapper-file-downloads-edupuc article:not(:last-child){
	border-bottom: 2px solid #CCC;
}

/* -------------------------------- */

.wrapper-files-edupuc{
    display: flex;
    flex-direction: column;
    margin: 5px auto;
    border: 1px solid #E6E6E6;
    border-radius: 0.75rem;
    padding: 1rem;
}

/* -------------------------------- */

.wrapper-download-files-edupuc{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0 auto;
    gap: 20px;
}

.download-item-edupuc{
	align-items: center;
	display: flex;
    flex-direction: row;
	border: 2px solid #CCC;
	border-radius: 6px;
	box-shadow: 0 1px #CCC, 0 2px #CCC;
	padding: 10px;
	text-decoration: none;
}

.download-icon-edupuc{
	display: block;
	background-image: var(--icon-download-file);
	width: calc(var(--width-icon-download-file) * 1.5);
	height: var(--height-icon-download-file);
	background-repeat: no-repeat;
	background-size: contain;
}

.download-file-edupuc{
	text-align: left;
	display: block;
	color: black;
	font-weight: bold;
    margin-left: 10px;
}

.download-item-edupuc:hover{
	background-color: #BC0000;
	border: 1px solid #740A03;
	box-shadow: 0 1px #740A03, 0 2px #740A03;
}

.download-item-edupuc:hover .download-file-edupuc{
	color: white;
}

.download-item-edupuc:active{
	background-color: #f4ca01;
	border: 1px solid black;
	box-shadow: inset 1px 1px 2px black, 
                inset 2px 2px 2px black, 
                inset 3px 3px 2px black;
}

.download-item-edupuc:active .download-file-edupuc{
	color: black;
}

/* ====== Pie de Página ====== */

.footer-custom {
	width: 100%;
	background-color: #939598;
	text-align: center;
	box-sizing: border-box;
	position: relative;
}

.arrange-icons-footer{
    padding-top: 20px;
}

.footer-logo {
	height: 100px;
	object-fit: contain;
	transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo:hover {
	transform: scale(1.08);
	filter: brightness(1.15);
}

.footer-divider {
	width: 80%;
	margin: 20px auto;
	height: 1px;
	background-color: #ddd;
	border: none;
}

.footer-copy {
	font-size: 0.95rem;
	color: #555;
}

/* ~~~ Gestión Botones Descarga Archivos ~~~ */

@media (max-width: 1024px){

    .download-item-edupuc {
        flex-direction: column;
    }

    .download-file-edupuc{
        text-align: center;
    }

}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */