:root {
  --bg: #282828;
  --bg0: #282828;
  --bg0_h: #1d2021;
  --bg0_s: #32302f;
  --bg1: #3c3836;
  --bg2: #504945;
  --bg3: #665c54;
  --bg4: #7c6f64;
  --fg: #ebdbb2;
  --fg0: #fbf1c7;
  --fg1: #ebdbb2;
  --fg2: #d5c4a1;
  --fg3: #bdae93;
  --fg4: #a89984;
  --gray1: #a89984;
  --gray2: #928374;
  --red1: #cc241d;
  --red2: #fb4934;
  --green1: #98971a;
  --green2: #b8bb26;
  --yellow1: #d79921;
  --yellow2: #fabd2f;
  --blue1: #458588;
  --blue2: #83a598;
  --purple1: #b16286;
  --purple2: #d3869b;
  --aqua1: #689d6a;
  --aqua2: #8ec07c;
  --orange1: #d65d0e;
  --orange2: #fe8019;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  line-height: 150%;
  font-size: 0.90em;
  font-weight: 300;
  color: var(--fg0);
  overflow-x: hidden;
  font-family: "Roboto Slab",Georgia,serif
  }
  
  
/*Miscellanous custom styling for various elements.*/
h1, h2, h3 {
  color: var(--fg0);
  /* blanco*/
  font-family: Georgia, Times, serif;
  }
  
a {
  color: var(--orange2);
  text-decoration: none;
  /* bg1 Esto es el color que tiene un link por default */
  }

a:hover, a:focus {
  color: var(--blue2);
  transition: ease-in 0.2s, ease-out 0.2s;
    /* este es el color al que cambia un link cuando lo hovereas */
}
  
blockquote {
  border-left: var(--gray1) 3px solid; /* gray el highlight de la izquierda */
  background: var(--bg2); /*el bloque de color bg2*/
  padding: 0.1px 0.75rem;
  margin: 0 1.5rem;
  }

hr { /*separador*/
  width: 75%;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  }

mark {/*subrayar highlight*/
  background-color: var(--purple2);
  padding: 1px;
  border-radius: 2px;
}

/*Sticky navigation links at the top of the page.*/
.quick-nav {
  position:fixed;
  z-index: 999;
  width: 100%;
  background: var(--bg0_h);
  text-align: right;
  color: #fbf1c7;
  font-size: 0.875em;
  }
  
.navbar {
  padding: 1px 25px;
  }
  
.navbar a {
  display: inline-block;
  text-decoration: none;
  color: #fbf1c7;
  padding: 5px 4px;
  margin: 0 2px;
  }
  
.navbar a:hover, .footer a:hover, .navbar a:focus, .footer a:focus {
  color: var(--blue2);
  transition: ease-in 0.1s, ease-out 0.1s;
  }
  
  
/*Header image.*/
.header {
  height: 100px;
 }

/*Title bar with icon and title/tagline.*/
.title {
  background: var(--bg0_h) /*bg0_highlight*/;
  min-height: 60px;
  margin-bottom: -25px;
  text-align: right;
  }
  
.title-text, .title-pic, .titletext-subpage {
  padding:0;
  margin: 0;
  display: inline-block;
  vertical-align: top;
  }
  
  
/*Contains the text tagline.*/
.title-text {
  padding-right: 1em;
  width: calc(85vw - 110px);
  line-height: 167%;
  margin-top: -3px;
  padding-bottom: 15px;
  }

.titletext-subpage {
  padding-right: 0em;
  width: calc(110vw - 100px);
  line-height: 167%;
  margin-top: 0px;
  padding-bottom: 20px;
  text-align:center
}

.title-text h1 {
  padding:0;
  font-size: 32px;
  }


  
/*Contains the profile pic. This can be left out and should still look okay.*/
.title-pic {
  height: 100px;
  margin-right: 100px;
  margin-top: -25px;
  border: 5px solid var(--bg0_h);
  border-radius: 2px;
  }
  
.title-pic img {
  height: 100%;
  overflow: hidden;
  }
  
/*Contains the main content and sidebar.*/
.page-wrapper {
  padding: 0 100px;
  margin: 0 auto;
  background: #3c3836;
  }


/*Contains the sidebar boxes.*/
.sidebar {
  width: 320px;
  margin: 50px 0;
  position: absolute;
  }
  
.sidebar h1 {
  font-size: 1.2rem;
  background: #1d2021;
  color: #fbf1c7;
  padding: 12px 10px 10px 10px;
  margin: auto;
  }
  
.sidebar a {
  display: block;
  border-left: var(--gray2) 3px solid; /* gray el highlight de la izquierda */
  background: var(--bg2); /*el bloque de color bg2*/
  padding: 5px;
  margin: 10px 0;
  color: var(--fg0);
  text-decoration: none;
  }
  
.sidebar a:hover, .sidebar a:focus {
  background: var(--aqua2);
  transition: ease-in .2s, ease-out .2s;
  }
  
.sidebar, .main {
  display: inline-block;
  }

/*Contains main content boxes.*/
.main {
  margin: 50px 100px 50px 350px;
  width: auto;
  width: calc(100vw - 550px);
  }
  
/*Basic container type for subsections of main and sidebar divs
margen entre caja*/
.box {
  margin-bottom: 15px;
  }
  
/*Inner content div for boxes. Padding goes here so sidebar headers etc can keep their no-margin look.*/
.inner {
  background:  var(--bg1);
  padding: 10px 25px;
  line-height: 130% ;
  border: 3px solid var(--bg0_h);

  }

.inner img {
  max-width: 100%; /*Prevent image overflow.*/
  height: auto;
  border-radius: 5px; /*Give images in content rounded corners.*/
  }
  
.box, .title-pic img {
  border-radius: 1px; /*master border radius de todas las cajas.*/
  overflow: hidden; /*Force inner divs to conform to rounded corners.*/
  }

.iframe a{
    border-top-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-right-width: 0px;
    width: 100%;
    height: 100%;
}


/*Footer section.*/
.footer {
  background: var(--bg0_h);
  color: var(--fg0);
  padding: 5px 20px;
  font-size: 0.75em;
  padding-bottom: 10px;
  text-align: justify;
  width: 100%;
  }
  
.footer a {
  color: #fbf1c7;
  }

/*Individual column of the footer. You can have 3 of these at the current given width.*/
.footer-column {
  width: 25%;
  margin: 10px 25px;
  display: inline-table;
  vertical-align: top
  }


/*Adapt to narrower screens.*/
@media(max-width: 900px) {
  .page-wrapper {
    padding: 0 50px;
    }
  
  .sidebar {
    width: 25vw;
    }
    
  .main {
    margin: 50px 0 50px calc(25vw + 30px);
    width: calc(75vw - 150px);
    }
    
  .title-pic {
    margin-right: 7vw;
    border-radius: 1px;
    }
    
  .title-text {
    padding-left: 1vw;
    padding-right: 2vw;
    }
  
  }
  
/*Mobile layout.*/
@media(orientation: portrait) {  
  .page-wrapper {
    padding-top: 0.1px;
    padding-bottom: 0.1px;
    }
  
  .sidebar, .main {
    display: block;
    margin: 0 auto;
    position: static;
    width: 100%;    
    }
    
  .sidebar {
    margin-top: 50px;
    margin-bottom: px;
    }
    
  .main {
    margin-top: 30px;
    margin-bottom: 30px;
    }
    
    
  }
  
/***
For really narrow screens which cause the title text to wrap. 
You may need to adjust the width at which this kicks in to fit 
your own title.
***/
@media(max-width: 500px) {
  .header {
    height: 60vw;
    }
  
  .title {
    padding-right: 0;
    }
  
  .title-text {
    margin-top: -5px;
    }
    
  .title-text h1 {
    font-size: 6vw;
    line-height: 75%;
    }
    
  .title {
    height: calc(auto - 25px);
    }
    
  .page-wrapper {
    padding: 0.1px 7vw;
    }
    
  /*For extra narrow screens where the columns would get too skinny.*/
  .footer-column {
    display: block;
    width: 100%;
    margin: 0 auto;
    }
  }