/*
 * HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/
 */

/* main.css 2.1.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,
 * and Chris Coyier.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   
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;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
  background-color: #ffffff;
  color: #333333;
  font-family: 'Roboto', sans-serif;
  margin: 0;
}



/* Header */
.site-header {
  background-color: #dfe1db;
  border-bottom: 1px solid #c8c8c8; /* A subtle line to separate header from content */
  padding: 1rem 2rem;
  box-sizing: border-box;
}

.header-content {
  display: flex;
  align-items: center;
  max-width: 800px; /* Aligning header content with main content */
  margin: 0 auto;
}

.site-footer {
  background-color: #dfe1db;
  border-top: 2px solid #abd6b7; /* A subtle line to separate header from content */
  padding: 1rem 1rem;
  box-sizing: border-box;
  font-size: smaller;

   bottom: 0; 
   width:100%;
}

.footer-content {
  align-items: center;
  max-width: 800px; /* Aligning header content with main content */
  margin: 0 auto;
}

.footer-content p{
  margin: 0 auto;
  text-align: center;
  padding: 2px;
}


.header-content img{
height: 48px;
margin-right: 20px;
}

.home-link {
  display: inline-flex;
  align-items: center;
  margin-right: 1.2rem;
}

.home-link svg {
  color: #2e7d32; /* Dark Green */
}

.site-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: #2e7d32; /* Dark Green */
  margin: 0;
}

/* Navigation */
.main-nav {
    background-color: #f2f2f2;
    padding: 0.5rem 2rem;
    text-align: center;
    border-bottom: 1px solid #bbbbbb;
}

.main-nav a {
    margin: 0 1rem;
    color: #1a0dab;
    text-decoration: none;
    font-weight: 500;
}

.main-nav a:hover {
    text-decoration: underline;
}

/*=================================================*/
/* NAV MENU STYLES for the y+u+
/*=================================================*/

    .y-nav {
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #dee2e6;
        background-color: #fff;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .y-nav ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        list-style: none;
        gap: 10px 20px;
        padding: 0;
        margin: 0;
    }

    .y-nav ul li a {
        display: block;
        font-family: 'Exo 2', sans-serif;
        font-weight: 500;
        font-size: 15px;
        text-decoration: none;
        color: #34495e;
        background-color: #f1f3f5;
        padding: 4px 12px;
        border: 1px solid #dee2e6;
        border-radius: 10px;
        transition: all 0.25s ease-in-out;
    }

    .y-nav ul li a:hover {
        background-color: #495057;
        color: #fff;
        border-color: #495057;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .y-nav ul li a.active {
        background-color: #2c3e50;
        color: #fff;
        border-color: #2c3e50;
        font-weight: 600;
    }



/* Main Content */
.content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 2rem;
  padding-bottom: 10px;
}

article {
  line-height: 1.6;
}


article img{
  max-width: 100%;
  height: auto;    /* Maintains aspect ratio */
  display: block;  /* Removes extra space below the image */

  margin-left: auto;
  margin-right: auto;

}

.legenda {
  font-weight: bolder;
  font-size: smaller;
}

/* Typography */
h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem; /* <-- Reduced size */
  color: #2e7d32; /* Dark Green */
  margin-bottom: 1rem;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem; /* <-- Reduced size */
  color: #2e7d32; /* Dark Green */
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #eeeeee;
  padding-bottom: 0.5rem;
}


h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem; /* <-- Reduced size */
  color: #26682a; /* Dark Green */
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #eeeeee;
  padding-bottom: 0.5rem;
}

.meta {
    color: #cc7700;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Links (Google Style) */
a {
  color: #1a0dab;
  text-decoration: none;
}

a:visited {
  color: #609;
}

a:hover {
  text-decoration: underline;
}

a:active {
  color: #d2232a;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden,
[hidden] {
  display: none !important;
}

.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   ========================================================================== */

@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.
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    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 {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}