/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
  font-family: "Lato", sans-serif;
  color: rgba(0, 0, 0, 0.75);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.md-toolbar {
  background-color: #3d5afe;
  box-shadow: 0px 4px 5px -2px rgba(0, 0, 0, 0.2),
    0px 7px 10px 1px rgba(0, 0, 0, 0.14), 0px 2px 16px 1px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 64px;
  width: 100%;
  position: fixed;
  right: 0px;
  left: 0px;
  z-index: 1030;
}

#logo {
  background: url("../img/desprogramar-logo.png");
  background-image: url("../img/desprogramar-logo.svg"), none;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 272px 42px;
  min-height: 64px;
}

#content {
  width: 90%;
  padding: 64px 0 92px 0;
  max-width: 750px;
  margin: auto;
  position: relative;
}

footer {
  background-color: #fafafa;
  position: fixed;
  bottom: 0px;
  left: 0px;
  z-index: 1030;
  width: 100%;
  padding: 16px 0px;
  text-align: center;
  font-size: 0.9em;
  border-top: 1px solid #ddd;
}

h1 {
  position: absolute;
  top: -1000px;
}

h2,
h3 {
  font-size: 1.2em;
  color: #3d5afe;
  font-weight: normal;
}
h3 {
  font-size: 1.1em;
  font-weight: bold;
}

a {
  color: #dd2c00;
  text-decoration: none;
}

a:hover {
  color: #ff6d00;
}

h3 a {
  color: #3d5afe;
}

blockquote {
  font-style: italic;
  color: rgba(0, 0, 0, 0.6);
}

.proyecto {
  transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 6px, rgba(0, 0, 0, 0.12) 0px 1px 4px;
  border: 1px solid #ddd;
  border-radius: 2px;
  width: 80%;
  margin: auto;
  margin-bottom: 15px;
}

.proyecto:hover {
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 45px,
    rgba(0, 0, 0, 0.22) 0px 10px 18px;
}

.proyecto header {
  background-color: #f5f5f5;
  border-bottom: 1px solid #ddd;
  padding: 5px 15px;
  text-align: center;
}

.proyecto section {
  padding: 15px;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 180px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -88px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* arrow */
.tooltip .tooltiptext::after {
  content: " ";
  position: absolute;
  top: 100%; /* At the bottom of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 0) and (max-width: 600px) and (orientation: portrait) {
  .md-toolbar {
    min-height: 56px;
  }
  #logo {
    background-size: 233px 36px;
    min-height: 56px;
  }
}

@media only screen and (min-width: 0) and (max-width: 600px) and (orientation: landscape) {
  .md-toolbar {
    min-height: 48px;
  }
  #logo {
    background-size: 207px 32px;
    min-height: 48px;
  }
}

@media only screen and (min-width: 0) and (max-width: 600px) {
  blockquote {
    margin: 1em 0;
  }
  .proyecto {
    width: 100%;
  }
}

@media only screen and (min-width: 35em) {
}

@media print,
  (-o-min-device-pixel-ratio: 5/4),
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 120dpi) {
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
  display: none !important;
  visibility: hidden;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
