/*

Crear una página web personal simulada,
que incluya al menos:

1 - Uso de colores para texto y fondo,
    incluyendo al menos colores degradados
    en alguna de sus cajas.
2 - Inclusión de tipografías externas de
    Google Fonts, Adobe Edge Web Fonts o un
    servicio similar on line.
3 - Distintos encabezados.
4 - Uso de caracteres especiales.
5 - Incluir, imágenes de tipo bitmap y vectorial.
6 - Incluir algún vídeo.
7 - Incluir bordes redondeados en alguna de sus cajas.
8 - La página debe comenzar con el siguiente encabezamiento:
    “Página personal de <nombre y apellido del alumno>”

*/

/* ================= *\
   estilos generales
\* ================= */

body {
  background: teal;
  color: white;
  margin: 0;
  font-family: Verdana, Helvetica, sans-serif;
  text-shadow: 1px 1px 1px black;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

header, h1, h2, table, footer, .svg { text-align: center; }

h2 { font-size: 2em; }

h3 { font-size: 1.5em; }

/* ================== *\
   cabecera principal
\* ================== */

header {
  color: white;
  background: white;
  box-shadow: 0 0 30px 15px lightgreen;
}

header img { margin: 0.25em 0; }

h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 3em;
  margin: 0;
  padding: 0.1em;
  background: -moz-linear-gradient(top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
  background: -webkit-linear-gradient(top, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%);
  background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 );
  text-shadow: 3px 3px teal;
  padding: 0.25em 0 0.50em;
}

/* ================= *\
   sección principal
\* ================= */

section {
  max-width: 900px;
  margin: auto;
  padding: 1em;
}

/* ========= *\
   biografía
\* ========= */

blockquote {
  font-size: 0.9em;
  margin: 0.8em 0 0.8em 1.8em;  
  padding: 1em;
  border-left: 0.5em solid orange;
  background: silver;
  border-radius: 5px;
  text-shadow: 1px 1px 1px white;
  color: teal;
} 

/* ===================== *\
   caracteres especiales
\* ===================== */

table {
  width: 100%;
  background: silver;
  color: teal;
  text-shadow: 1px 1px 1px white;
  letter-spacing: initial;
}

table, th, td {
  border: 1px solid teal;
  border-radius: 5px;
}

th { background: lightgreen; }

/* ================ *\
   imagen vectorial
\* ================ */

.svg {
  max-width: 512px;
  margin: auto;
}

/* ============== *\
   vídeo webm/mp4
\* ============== */

figure { margin: 0; }

figcaption { margin-bottom: 1em; }

.video {
  width: 100%;
  margin: 1em 0;
  border-radius: 10px;
}

/* ================ *\
   footer principal
\* ================ */

footer {
  background: lightgreen;
  text-shadow: 1px 1px 1px black;
  box-shadow: 0 0 30px 15px lightgreen;
  margin-top: 1em;
}

/* ======== *\
   creditos
\* ======== */

small {
  background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
  background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
  padding: 1em;
  display: block;
  letter-spacing: 0.25em;
  font-weight: bold;
}

footer a { color: orange; }
