@charset "utf-8";



/*GENERAL*/

* {
	font-family: 'Source Code Pro', monospace;
	line-height: 1.5;
	color: white;
	padding:0;
	margin:0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	height: 100%;
	overflow: visible;
}

body {
	background-color:rgba(15,15,15,1.00);
	padding: 0px;
	height: 100%;
}

.auto-body {
	height: auto;
}

/*HEADER*/

.logo-box {
	position: relative;
	height: 30px;
}

.logo {
	height: 30px;
	transition: opacity 0.2s ease;
	position: absolute;
}

.logo1 {
	opacity: 1;
}

.logo2 {
	opacity: 0;
}

.logo-box:hover .logo1 {
	opacity: 0;
}

.logo-box:hover .logo2 {
	opacity: 1;
}

header {
	z-index:1000;
	width: 100%;
	height: auto;
	position: sticky;
	top: 0;
	margin: 0px;
	padding: 10px 30px;
	display: flex;
	flex-direction: row;
	justify-content:space-between;
	align-items: center;
	background-color: black;
	text-transform: uppercase;
}

header a {
	text-decoration: none;
	color: rgba(255,169,164,1.00);
}

header a:hover {
	color:rgba(255,200,201,1.00);
}

.submenu {
	text-decoration: none;
	color: rgba(255,169,164,1.00);
	width: 200px;
	text-align: center;
	padding: 20px;
}

.submenu:hover {
	color:rgba(255,200,201,1.00);
	text-decoration: none;
}

header nav {
	max-width: 1000px;
}

header nav ul {
	list-style:none;
}

header nav ul li {
	display:inline-block;
	position: relative;
}

header nav ul li:hover {
	text-decoration: underline;
}

header nav ul li a {
	display:block;
	text-decoration:none;
	padding: 15px;
}

header nav ul li:hover .children {
	display:block;
}

header nav ul li .children {
	display: none;
	background: #000000;
	position: absolute;
	margin-top: 1px;
	width: 100%;
	z-index:1000;
	box-shadow: 0px 0px 3px rgba(255, 200, 201, 0.144);
}

header nav ul li .children li {
	display:block;
	overflow: hidden;
}

header nav ul li .children li a {
	display: block;
	float: left;
	position: relative;
	top: 3px;
}

header nav ul li .children li a:hover {
text-decoration: underline;
}

/*INDEX*/

#box-tejido { /* Para la eventual caja de tejido en medio del index*/
	position: fixed;
	background-color: #00000052;
	width: 400px;
	height: 300px;
	z-index: 1000;

}

#container {
	width: 99%;
	height: 83%;
	margin: 20px 5px 10px 5px;
	padding: 5px;
	position: relative; /* Los elementos se mueven dentro */
	overflow: hidden; /* Evita que los elementos salgan */
	display: flex;
	justify-content: center;
	align-items: center;
}

.stickers {
	width: auto;
	height: 180px;
}

.moving-element {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    user-select: none;
}

/*SECTIONS*/

.window {
    background-color: #ffa9a427;
	border: 1px solid;
	border-color: #ffa9a4;
	border-radius: 30px;
	margin: 30px auto;
	padding: 10px 50px;
	width: 80%;
	height: auto;
	overflow: visible;
	text-align: center;
}

.back-box, .back-box-alt { 
	height: 40px;
	position: fixed;
	top: 130px;
	left: 2.5%;
}

.back, .back-alt {
	height: 40px;
	transition: opacity 0.2s ease;
	position: absolute;
}

.back1, .back1-alt{
	opacity: 1;
}

.back2, .back2-alt {
	opacity: 0;
}

.back-box:hover .back1 {
	opacity: 0;
}

.back-box-alt:hover .back1-alt {
	opacity: 0;
}

.back-box:hover .back2 {
	opacity: 1;
}

.back-box:hover .back2-alt {
	opacity: 1;
}

.window h5 {
	text-transform: uppercase;
	text-align: center;
	font-size: 25px;
	padding: 25px;
}

.window p {
	text-align: left;
	padding-top: 20px;
	padding-bottom: 40px;
}

.window a {
	color:#ffa9a4;
	text-decoration: none;
}

.window a:hover {
	color:rgba(255,200,201,1.00);
	text-decoration: underline;
}

.window img {
	display: block;
	margin: 0 15%;
	align-self: center;
}

.window video {
	position: relative;
	width: 80%;
	margin: 0 10%;
}

/* ABOUT */

.cuerpo {
	margin: 0 auto 50px;
	width: 75%;
	height: 100%;	
}

.cuerpo h3 {
	padding: 50px 0;
}

.typing {
	height: auto;
}

#typing-text {
    color: #FFFFFF;
	background-color: rgba(15,15,15,1.00);
	border: hidden;
    text-align: left;
    font-size: 1em;
    height: auto;
    width: 98%;
    outline: none;
    resize: none;
	overflow: visible;
	white-space: pre-wrap;
	padding-bottom: 50px;
}

/* BANNER IMG */

.box-mri {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2em;
}

.tesis-link {
	position: absolute;
	z-index: 1000;
	color: rgba(255,169,164,1.00);
}

.tesis-link:hover {
	color: rgba(255,200,201,1.00);
}

.mri {
	padding: 0;
 	width: 100%;
	z-index: -1;
}

.mri video {
	width: 100%;
}

/* BIBLIO */

.biblio {
	list-style-type: none;
	text-indent: -40px;
	padding-left: 40px;
	height: auto;
}

.biblio li {
	padding-bottom: 30px;
}

/* TABLES */

.medium {
	margin: 50px auto;
	border-spacing: 15px;
}

.medium td {
	border: 1px solid;
	width: 350px;
	height: 150px;
	padding: 15px;
	text-align: center;
}

.medium td a {
	text-decoration: none;
}

.medium td:hover {
	background-color: #FFFFFF;
	color: rgba(15,15,15,1.00);
}

.medium td:hover a {
	color: rgba(15,15,15,1.00);
}

.medium td:hover b {
	color: rgba(15,15,15,1.00);
}

.small {
	display: none;
}

/* FOOTER */

.footer {
	background-color: rgba(0,0,0,1.00);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 100%;
	height: 40px;
	font-size: 0.8em;
	bottom: 0px;
}

@media (max-width: 820px) {
	#container {
		width: 99%;
		height: 91%;
		margin: 5px;
		padding: 5px;
	}

	.stickers {
		width: auto;
		height: 150px;
	}

	.cuerpo {
		width: 70%;
	}

	.back-box { 
		height: 30px;
		position: fixed;
		top: 140px;
		left: 15%;
	}
	
	.back, .back-alt {
		height: 30px;
		transition: opacity 0.2s ease;
		position: absolute;
	}

	.back-box-alt { 
		height: 30px;
		position: fixed;
		top: 130px;
		left: 5%;
	}

	.small-table {
		width: 100%
		height: 100%;
		text-align: center;
		margin: 30px;
	}

	.small {
		display: unset;
		border-spacing: 15px;
	}
	
	.small td {
		border: 1px solid;
		width: 350px;
		height: 120px;
		padding: 15px;
		margin: auto;
		text-align: center;
	}
	
	.small td a {
		text-decoration: none;
	}
	
	.small td:hover {
		background-color: #FFFFFF;
		color: rgba(15,15,15,1.00);
	}
	
	.small td:hover a {
		color: rgba(15,15,15,1.00);
	}
	
	.small td:hover b {
		color: rgba(15,15,15,1.00);
	}
	
	.medium {
		display: none;
	}

	.footer {
		height: 80px;
	}

}

@media (min-width: 1200px) {
	.cuerpo {
		width: 60%;
	}

	.back-box, .back-box-alt { 
		height: 50px;
		position: fixed;
		top: 140px;
		left: 5%;
	}
	
	.back, .back-box {
		height: 50px;
		transition: opacity 0.2s ease;
		position: absolute;
	}

	.window {
		width: 70%;
	}

	.window video {
		width: 50%;
	}

	
}