body {
  font-family: Calibri, sans-serif; /* šriftai */
  text-align: center;
}

#logo {
  height: 120px; /* logotipo aukštis */
  width: 100%;
  background-image: url('logo.png'); /* logotipas */
  /* mėlyna: #00a0df; žalia: #66b144; tamiai mėlyna: #101888; pilka: #49505a; */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#menu {
  margin-top: 0.5em;
  line-height: 2.4em;
}

#menu .incorso a {
  background-color: #1a4b7c; /* tamsesnė mėlyna */
  background-size: 200% 100%;
}

h2 {
  background-color: #66b144; /* skirtuko tarp asociacijų spalva */
  color: white;
}

.incorso h2 {
  background: linear-gradient(90deg, #66b144, #7cd752, #66b144);
  background-size: 200% 100%;
  animation: gradientAnimation 3s infinite;
}

table { 
  min-width: 90%; 
  margin-left: 5%; 
  margin-right: 5%; 
  font-size: 24px;
}

a { /* juodas mygtukas ir meniu punktai */
  text-decoration: none;
  background-color: #4777a6;
  color: white;
  border: none;
  border-radius: 3px;
  padding: 0.5em;
  white-space: nowrap; word-break: keep-all; overflow-wrap: normal;
}

th {
  background-color: inherit; /* antraštės spalva */
  color: inherit; /* antraštės teksto spalva */
}

td, th {
  text-align: center;
  vertical-align: top;
  border: 1px solid;
  padding: 2px;
  border-radius: 3px;
}

td:nth-child(3), th:nth-child(3) { /* 3 kolonėlė - vardas, pavardė */
  text-align: left;
  vertical-align: top;
  width: 45%;
  min-width: 45%;
}

#to-top { /* "Į pradžią" */
  /* display: none; */
  border-radius: 50%;
  padding: 23px 10px;
  position: fixed;
  bottom: 10px;
  right:20px;
  font-size: 12px;
}

@media (max-width: 850px) {
  body { display: flex; flex-direction: column; justify-content: center; xx-align-items: center; gap: 8px; }
  table { width: auto; margin: 0px; font-size: 90%; }
} 
@media (max-width: 550px) {
  table { font-size: 70%; }
}
@media (max-width: 400px) {
  table { font-size: 60%; }
}
@keyframes gradientAnimation {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
