:root {
  --verde-principal: #4CAF50;
  --verde-claro: #A5D6A7;
  --blanco: #ffffff;
}
header {
  position: fixed
}

body {
  width: 100%;
  font-size: 1em;
  line-height: 1.5em;
  color: #49494b;
  font-family: Palatino;
  margin: 0 auto;
  text-align: center
}

a {
  text-decoration: none
}

.resume, section p {
  text-align: justify
}

section {
  width: 85%;
  margin: 90px auto;
  min-height: 500px
}

h1 {
  font-size: 1.7em;
  color: #085725;
  margin-bottom: 40px;
  line-height: 1.5em;
}

h2 {
  font-size: 1.4em;
  color: #085725;
  margin-top: 50px;
  line-height: 1.5em;
  text-align: left
}

h3 {
  font-size: 1.3em;
  color: #085725;
  margin-top: 70px;
  line-height: 1.5em;
  text-align: left
}

section a {
  color: #085725
}

.resume {
  margin-top: 50px;
  line-height: 3em
}

header {
  width: 100%;
  top: 0;
  z-index: 999
}

.topnav {
  overflow: hidden;
  position: relative;
  background-color: #085725;
}

.topnav a {
  float: left;
  display: block;
  color: #FFF;
  padding: .6em
}

.topnav a.icon {
  font-size: 1.2em;
}

.logo {
  position: absolute;
  right: 0;
  top: 0;
}

.logo img {
  width: 210px;
  height: 28px;
  margin: 0 auto;
}

.dropdown .dropbtn {
  width: 100%
}

.dropdown .dropbtn, .topnav a:not(:first-child) {
  display: none
}

.topnav.responsive a {
  float: none;
  display: block;
  text-align: left;
  color: white;
}

.topnav.responsive .dropdown {
  float: none;
}

.topnav.responsive .dropdown-content {
  overflow-y: auto;
  position: relative;
  width: 100%;
  height: 300px;
  left: 0;
  z-index: 1;
}

.topnav.responsive .dropdown .dropbtn {
  display: block;
  text-align: left;
}

.dropdown {
  float: left;
  overflow: hidden
}

.dropdown .dropbtn {
  border: none;
  padding: .6em;
  outline: 0;
  background: inherit;
  color: #FFF;
  font: inherit
}

.dropbtn:hover, .topnav a:hover:not(:first-child) {
  background-color: #06401B;
  color: #fff
}

.column a {
  float: none;
  color: #fff;
  display: block;
  text-align: center;
  background-color: #06401B;
}

.column a:hover {
  background-color: #1d2840
}

.row:after {
  content: "";
  display: table;
  clear: both
}

.dropdown-content {
  display: none;
  position: absolute;
  width: 100%;
  left: 0;
  z-index: 1
}

.show {
  display: block
}

#generate {
  background-color: #4caf50;
  font-size: 16px;
  padding: 14px 40px;
  color: #fff;
  margin: 10px
}

.picker {
  font-size: 1.1em;
  color: #49494b;
  font-family: Palatino;
  margin-bottom: 70px
}

.picker input {
  height: 30px;
  width: 250px;
  border-radius: 4%;
  border: 0;
  font-size: .9em;
  display: block;
  float: inherit;
  margin: 30px auto
}

#amount, #range {
  height: 50px;
  width: 50px;
}

.contact input, .contact textarea {
  width: 100%;
  height: 40px;
  display: block;
  margin: 15px auto;
  font-size: 1.1em;
}

.contact input[type=submit] {
  background: #063918;
  color: #fff
}

.contact #subject {
  height: 200px
}

.list_org {
  text-align: left
}

ul {
  display: block;
  text-align: left;
  padding: 0
}

ul li {
  line-height: 3em;
  list-style-type: none
}

ul li a {
  display: block;
  color: #4caf50
}

footer {
  position: relative;
  text-align: center;
  margin-top: 150px;
  bottom: 0;
  color: #085725
}

footer a {
  margin: 20px auto;
  padding: 0 20px;
  color: #000;
  line-height: 3em
}

#overbox3, .contact, footer, ol {
  width: 100%
}

.social {
  width: 100%;
}

.social a {
  display: inline-block;
}

#overbox3 {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999999;
  display: block;
  background-color: #085725;
  color: #fff
}

#overbox3 p {
  font-size: 1em;
  text-align: center;
  margin: 5px
}

#overbox3 p a {
  margin-right: 5px;
  color: #ff914d
}

form select {
  height: 55px;
  margin: 20px 0;
  padding: 0 5px;
  font-size: 1em;
  text-align: center;
  background: white;
  border-color: #085725
}

input[type=submit] {
  height: 40px;            /* taller than input */
  min-width: 250px;        /* avoids being too small */
  border-radius: 10px;
  border: none;
  font-size: 1em;
  padding: 0 15px;
  margin: 20px auto;       /* centers if block */
  display: block;
  background-color: var(--verde-principal);
  color: white;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: var(--verde-claro);  /* hover effect */
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
}

.balls {
  width: 100%;
  margin-bottom: 50px
}

.ball, .bonus {
  display: inline-block;
  min-width: 25px;
  border-radius: 50%;
  padding: 0.8em;
  margin: 10px 10px;
  background: #fff;
  border: 1px solid #085725;
  color: #000;
  font-size: 1.5em
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 45px;
  margin-top: 20px;
}

.links-grid a {
  display: flex;
  align-items: center;      /* vertical centering */
  justify-content: center;  /* horizontal centering */
  gap: 8px;                 /* optional spacing between icon + text */
  background-color: var(--verde-principal);
  color: var(--blanco);
  padding: 15px;
  border-radius: 10px;
  font-weight: bold;
  transition: transform 0.2s, background-color 0.2s;
  text-align: center;       /* fallback for inline descendants */
  box-sizing: border-box;
}

.links-grid a:hover {
  background-color: #388E3C;
  transform: scale(1.05);
}

.bonus {
  border: 1px solid red
}

@media only screen and (max-width:768px) and (min-width:120px) {
  .menu li {
    width: 100%
  }

  footer a {
    display: block;
  }
}

@media print {
  footer {
    display: none !important
  }
}
