/* ------------------------------------
  Base Styles (Section comment block)
------------------------------------- */

/*
  Description or informational
  comment block.
 */

/* Sub-section comment block
------------------------------------- */

body,
html {
  height: 100%;
  overflow-x: hidden;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  background-color: #260a45;
}

#main {
  width: 100%;
  height: 100%;
}

.bgimg {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background-image: url("../img/bg4.png");
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
}

.logo {
  position: relative;
  width: 25em;
}

.texto {
  position: relative;
  color: #f5b519;
  font-weight: 600;
  font-size: 1.3rem;
  font-family: "Titillium Web", "Arial Narrow", Arial, sans-serif;
}

/* ==========================================================================
   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
 */

.visuallyhidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap; /* 1 */
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
}

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

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  white-space: inherit;
  clip: auto;
  -webkit-clip-path: none;
  clip-path: none;
}

/*
 * 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 {
  display: table; /* 2 */
  content: " "; /* 1 */
}

.clearfix::after {
  clear: both;
}

/* ---------- MEDIA QUERIES ---------- */

@media screen and (max-width: 768px), (max-width: 480px) {
  .logo {
    width: 20em;
  }

  .texto {
    font-size: 1rem;
  }
}

/* @media screen and (max-width: 1024px) { } */

/* @media screen and (max-width: 768px) { } */

@media screen and (max-width: 480px) {
  .logo {
    width: 16em;
  }

  .texto {
    font-size: 0.8rem;
  }
}
