/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

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

/** ROOT **/
:root{
  --colorPrimario: #65C6E1;
  --colorSecundario: #26326C;
  --fuentePrimaria: 'Roboto', sans-serif;
} 
/** .ROOT **/

/** GLOBALES **/
html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

.contenedor {
  /* width: 95%; */
  width: 101%;
  margin: 0 auto;
}

.contenedor::after {
  clear: both;
  content: '';
  display: block;
}

.fixed {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  background: #ffffff;
}

.remodal{
  font-family: var(--fuentePrimaria);
}
/** .GLOBALES **/

/** TODO: EMPIEZA: MENU-PRINCIPAL **/
/** BARRA **/
div.barra{
  padding: 15px;
}

div.logo {
  width: 25%;
  float: left;
}

div.logo img {
  width: 100%;
  margin: -24% 0 -22% -10%;
}

nav.navegacion-principal {
  display: none;
  width: 100%;
  margin: 0 0 0 -15%;
}

nav.navegacion-principal a{
  font-family: var(--fuentePrimaria);
  color: var(--colorSecundario);
  font-weight: 900;
  text-align: center;
  margin: 20% 0 0 57%;
  text-decoration: none;
  clear: both;
}

/** MEDIA QUERY **/
/** FIXME: Small devices (landscape phones, 576px and up) **/
@media (min-width: 576px) and (max-width: 767.98px){
  div.logo{
      width: 18%;
  }
}
/** FIXME: Medium devices (tablets, 768px and up) **/
@media (min-width: 768px) and (max-width: 991.98px){
  div.logo{
      width: 15%;
  }

  nav.navegacion-principal {
      background: var(--colorSecundario);
      float: left;
      text-align: left;
      display: block;
      /* margin: 2% 0 0 35%;
      width: 50%; */
      margin: 0% 0 0 21%;
      width: 64%;
      padding: 1.5% 8%;
  }

  .navegacion-principal a{
      margin: 0 9% 0 0!important;
      color: #ffffff!important;
      font-weight: 100!important;
  }

  .navegacion-principal a:hover{
      color: var(--colorPrimario)!important;
  }
}
/** FIXME: Large devices (desktops, 992px and up) **/
@media (min-width: 992px) and (max-width: 1199.98px){
  div.logo{
      width: 15%;
  }

  nav.navegacion-principal {
      background: var(--colorSecundario);
      float: left;
      text-align: left;
      display: block;
      /* margin: 2% 0 0 40%;
      width: 40%; */
      margin: 0% 0 0 21%;
      width: 64%;
      padding: 1.5% 8%;
  }
  
  
  .navegacion-principal a{
      margin: 0 15% 0 0!important;
      color: #ffffff!important;
      font-weight: 100!important;
  }
  
  .navegacion-principal a:hover{
    color: var(--colorPrimario)!important;
  }
}
/** FIXME: Extra large devices (large desktops, 1200px and up) **/
@media (min-width: 1200px){
  div.logo{
      width: 15%;
  }

  nav.navegacion-principal {
      background: var(--colorSecundario);
      float: left;
      text-align: left;
      display: block;
      /* margin: 2% 0 0 45%;
      width: 40%; */
      margin: 0% 0 0 21%;
      width: 64%;
      padding: 1.5% 8%;
  }

  .navegacion-principal a{
      margin: 0 18% 0 0!important;
      color: #ffffff!important;
      font-weight: 100!important;
  }

  .navegacion-principal a:hover{
      color: var(--colorPrimario)!important;
  }
}
/** .MEDIA QUERY **/

/** MENU-MOVIL **/
div.menu-movil {
  width: 60px;
  display: block;
  float: right;
  text-align: right;
  margin-top: 7px;
  margin-right: 2px;
}

div.menu-movil:hover {
  cursor: pointer;
}

div.menu-movil span {
  height: 8px;
  margin-bottom: 6px;
  background-color: #000000;
  display: block;
}

@media (min-width: 768px) and (max-width: 991.98px){
  div.menu-movil {
      display: none;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px){
  div.menu-movil {
    display: none;
  }
}

@media (min-width: 1200px){
  div.menu-movil {
      display: none;
    }
}
/** .MENU-MOVIL **/
/** TODO: TERMINA: .MENU-PRINCIPAL **/

/** TODO: EMPIEZA: HERO**/
div.hero{
  background-image: url('../img/hero.jpg');
  background-size: cover;
  height: 150px;
}

/** MEDIA QUERY **/
/** FIXME: Small devices (landscape phones, 576px and up) **/
@media (min-width: 576px) and (max-width: 767.98px){}
/** FIXME: Medium devices (tablets, 768px and up) **/
@media (min-width: 768px) and (max-width: 991.98px){}
/** FIXME: Large devices (desktops, 992px and up) **/
@media (min-width: 992px) and (max-width: 1199.98px){}
/** FIXME: Extra large devices (large desktops, 1200px and up) **/
@media (min-width: 1200px){
  div.hero{
    background-image: url('../img/hero.jpg');
    background-size: cover;
    height: 350px;
  }
  
}
/** MEDIA QUERY **/
/** TODO: .TERMINA: HERO**/

/** TODO: EMPIEZA: INFO **/
div.info{
  display: flex;
  justify-content: center;
  position: relative;
}

.info div{
  background: var(--colorSecundario);
  color: #ffffff;
  font-family: var(--fuentePrimaria);
  position: absolute;
  height: 65px;
  top: -35px;
  padding: 2% 6%;
  width: 86%;
  font-size: .4em;
}

.info span{
  color: var(--colorPrimario);
}
/** MEDIA QUERY **/
/** FIXME: Small devices (landscape phones, 576px and up) **/
@media (min-width: 576px) and (max-width: 767.98px){
  .info div{
    position: absolute;
    height: 100px;
    top: -60px;
    padding: 2% 6%;
    width: 86%;
    font-size: 1em;
  }

  .info p{
    font-size: .7em;
  }
}
/** FIXME: Medium devices (tablets, 768px and up) **/
@media (min-width: 768px) and (max-width: 991.98px){
  .info div{
    position: absolute;
    height: 116px;
    top: -60px;
    padding: 2% 6%;
    width: 86%;
    font-size: 1em;
  }

  .info p{
    font-size: .8em;
  }
}
/** FIXME: Large devices (desktops, 992px and up) **/
@media (min-width: 992px) and (max-width: 1199.98px){
  .info div{
    position: absolute;
    height: 138px;
    top: -74px;
    padding: 2% 6%;
    width: 86%;
    font-size: 1em;
  }
}
/** FIXME: Extra large devices (large desktops, 1200px and up) **/
@media (min-width: 1200px){
  .info div{
    position: absolute;
    height: 138px;
    top: -74px;
    padding: 2% 6%;
    width: 86%;
    font-size: 1em;
  }
}
/** MEDIA QUERY **/
/** TODO: .TERMINA: INFO **/

/** TODO: EMPIEZA: SERVICIOS **/
div.servicios{
  display: flex;
  text-align: center;
  margin: 5% 0% 0% 0%;
}

.servicios img{
  width: 60%;
}

/** MEDIA QUERY **/
/** FIXME: Small devices (landscape phones, 576px and up) **/
@media (min-width: 576px) and (max-width: 767.98px){
  .servicios img{
    width: 60%;
  }
}
/** FIXME: Medium devices (tablets, 768px and up) **/
@media (min-width: 768px) and (max-width: 991.98px){
  .servicios img{
    width: 60%;
  }

  .servicios div img:hover{
    transition: all .6s ease;
    transform: scale(1.2);
    cursor: pointer;
  }
}
/** FIXME: Large devices (desktops, 992px and up) **/
@media (min-width: 992px) and (max-width: 1199.98px){
  .servicios img{
    width: 60%;
  }

  .servicios div img:hover{
    transition: all .6s ease;
    transform: scale(1.2);
    cursor: pointer;
  }
}
/** FIXME: Extra large devices (large desktops, 1200px and up) **/
@media (min-width: 1200px){
  .servicios img{
    width: 60%;
  }

  .servicios div img:hover{
    transition: all .6s ease;
    transform: scale(1.2);
    cursor: pointer;
  }
}
/** MEDIA QUERY **/
/** TODO: .TERMINA: SERVICIOS **/ 

/** TODO: EMPIEZA: CONTACTO **/
div.contacto{
  display: flex;
  text-align: center;
  background: var(--colorPrimario);
}

.contacto div{
  font-family: var(--fuentePrimaria);
  font-size: .6em;
  width: 100%;
}

.contacto a{
  text-decoration: none;
  color: #ffffff;
}

/** MEDIA QUERY **/
/** FIXME: Small devices (landscape phones, 576px and up) **/
@media (min-width: 576px) and (max-width: 767.98px){
  .contacto div{
    font-size: 1em;
  }
}
/** FIXME: Medium devices (tablets, 768px and up) **/
@media (min-width: 768px) and (max-width: 991.98px){
  .contacto div{
    font-size: 1em;
  }
}
/** FIXME: Large devices (desktops, 992px and up) **/
@media (min-width: 992px) and (max-width: 1199.98px){
  .contacto div{
    font-size: 1em;
  }
}
/** FIXME: Extra large devices (large desktops, 1200px and up) **/
@media (min-width: 1200px){
  .contacto div{
    font-size: 1em;
  }
}
/** MEDIA QUERY **/
/** TODO: .TERMINA: CONTACTO **/

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

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !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) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

