<!DOCTYPE html>
<html lang="es">
<head><title>HTML/CSS Alumno</title><meta charset="utf-8">
<link href="estilo_alumno.css" rel="stylesheet" type="text/css">

</head>
<style type="text/css">
 @charset "utf-8";
/* CSS Document */
 body, html {
	height: 100%;
	width: 100%;
	margin: 0px;
	padding: 0px;
}
section {
	display:grid;
	margin-bottom:0.1em;	
}
article {
	font-family: 'Lato', sans-serif;
}
article h1 {
	margin: 1rem 1rem 0rem 1rem;
	text-transform: uppercase;
}
/* MAIN */
#main {
	display:grid;
	grid-gap: 1rem;
	padding:1rem;
}
.bloque {
	font-family: 'Merriweather', serif;
	box-shadow: 3px 5px 28px 0px rgba(0,0,0,0.75);
}
.bloque img {
	width:100%;
	height:auto;
}
.bloque video {
	width:100%;
	height:auto;
}
.bloque .textos {
	margin-left: 0.5rem;
	margin-right: 0.5rem;
	padding-bottom: 0.5rem;
	border-width: 1px;
	border-style: solid;
	border-color: #FFF;	
}
.textos h2 {
	font-family: 'Open Sans', sans-serif;
	font-size: 1.2rem;
	font-weight: 300;
	margin-top: 0;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #19191B;
}
.textos p {
	font-size:0.8rem;
}
.textos a {
	font-size:0.8rem;
	color:red;
	text-decoration:none;
}
.textos a:hover {
	text-decoration: underline;
}
/* NAV */
nav {
	margin-bottom:0.1em;
	font-family: 'Lato', sans-serif;
	
}
nav ul {
	list-style-type:none;
	margin:0;
	padding:0;
	display:flex;
}
nav li { flex-grow: 1; }
nav a {
	display: block;
	padding: 1em;
	text-align: center;
	text-decoration: none;
	color: #000000;
	border: solid 1px #424242;
	transition: all 0.5s;
	text-transform: uppercase;
}
nav a:hover {
	background-color:#4fc3f7; }

/* ASIDE */

aside {
	display:grid;
	grid-gap: 0.5rem;
	padding:0.5rem;
	background-color:LightGray ;
}
.card {
}
.card img {
	width:100%;
	height:auto;
	transition:all 1s;
}
.card img:hover {
	filter:invert(100%);
}
footer {
	font-family: 'Lato', sans-serif;
	font-size: 0.8em;
	color: #FFFFFF;
	background-color: #666;
	padding: 0.3rem;
	padding-left: 2.2em;
}

.video-container {
	position:relative;
	padding-bottom:56.25%;
	padding-top:30px;
	height:0;
	overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
@media (orientation: landscape) {
section {
	grid-template-columns: 3fr 1fr;
    grid-template-rows: auto;
}
#main {
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto;
}
aside {
	grid-template-columns: 1fr;
	grid-template-rows: auto auto auto;
}
nav ul {
	flex-direction: row;
}
a {
	margin-right:0.2em;
}
}
@media (orientation: portrait) {
section {
	grid-template-columns: 1fr;
    grid-template-rows: auto auto;
}
#main {
	grid-template-columns: 1fr;
	grid-template-rows: auto auto auto;
}
aside {
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: auto;
}
nav ul {
	flex-direction: column;
}
nav a {
	margin-bottom:0.2em;
}
}
  </style>
<body>
<nav>
  <ul>
	<li><a href="index.html">INICIO</a></li>
	<li><a href="alumno.html">ALUMNO</a></li>
	<li><a href="https://www.w3schools.com/html/html_youtube.asp">w3schools</a></li>
	<li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox">Flex</a></li>
  </ul>
</nav>
<section>
  <article>
      <h1>HTML5 - CSS</h1>     
      <div id="main">
         <div class="bloque">  
            <video width="100%" height="100%" preload controls 
              autoplay  
              src="video/MOOC.mp4" type="video/mp4" 
              src="video/MOOC.webm" type="video/webm" 
              src="video/MOOC.mov" type="video/mov" 
              src="video/MOOC.ogv" type="video/ogv">
            </video>
          <div class="textos">
              <h2>Reproducción de video de la carpeta.</h2>
              <p>Según el navegador cargara el más pertinente.</p>
          </div>
        </div>

          <div class="bloque">
              <iframe src="https://vishub.org" frameborder="0"  width="100%" height="240" ></iframe>
              <div class="textos">
                  <h2>Vishub.</h2>
                  <p>Recursos educativos abiertos.</p> 
                  <a href="https://vishub.org">&gt;  Vishub.</a> 
              </div>
          </div>

          <div class="bloque">
              <div class="video-container">
                  <object  
                  frameborder="0"   width="320" height="240"
                  data="https://www.youtube.com/embed/jCf4UZ6HS6A" 
                  >
                  </object>
                </div>
                <div class="textos">
                    <h2>Video Youtube.</h2>
                    <p>Muestra de visualización de un video youtube</p> 
                    <a href="https://www.youtube.com/watch?v=jCf4UZ6HS6A">&gt;  Video</a> 
                  </div>
          </div>

      </div>


    <!-- <iframe src="https://www.youtube.com/watch?v=jCf4UZ6HS6A" frameborder="0"   width="320" height="240" ></iframe>   -->
    

</article>    


  <aside> 
      <div class="card">
          <a href="https://css-tricks.com/">
          <img src="img/css_tricks.png" ></a> 
       </div>
      <div class="card">
          <a href="https://github.com/"><img src="img/github.png" ></a> 
      </div>
      <div class="card">
        <a href="https://www.figma.com/"><img src="img/figma.png" ></a> 
      </div> 
    </aside>
</section>

<footer>&copy; Francisco Muñoz Pérez</footer>
</body>
</html>
