* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  height: 95vh;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background-color: #202124;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

a {
  text-decoration: none;
  color: yellowgreen;
}

.exit-btn {
  background-color: transparent;
  border: none;
  color: tomato;
}

.exit-confirmation {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 0.7rem;
  text-align: center;
  margin-top: 1vh;
}

.exit-confirmation div {
  display: flex;
}

.exit-confirmation a {
  color: white;
}

.confirmation-btn {
  color: white;
  width: 11vh;
  padding: 1vh 0;
  margin: 2vh 5vh;
  border: none;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: bold;
}

.stay-opt-btn {
  background-color: green;
}

.stay-opt-btn:hover {
  background-color: yellowgreen;
}

.exit-opt-btn {
  background-color: red;
}

.exit-opt-btn:hover {
  background-color: tomato;
}

a:hover {
  color: greenyellow;
}


header {
  padding: 2vh 5vw 0 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

header span a {
  font-weight: bold;
}

.small-logo {
  max-height: 10vh;
}

.large-logo {
  max-height: 18vh;
}

main {
  flex-grow: 1;
  padding: 2vh 5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h2, h3 {
  align-self: flex-start;
  color: white;
  margin-bottom:0;
  font-size: 1.2rem;

}

h3 {
  font-size: 0.9rem;
  color: yellowgreen;
}

article {
  width: 85vw;
}

input {
  border-radius: 3px;
}

.spacer {
  width: 100%;
  margin: 2vh 0;
  border: 0;
  height: 0.3vh;
  background-image: linear-gradient(to right, transparent, #9acd32, transparent);
}

.action-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.top-action-menu {
  width: 100%;
  height: 100%;
  justify-content: center;
}

.bottom-action-menu {
  width: 100%;
}

.bottom-action-menu nav {
  font-size: 0.6rem;
}

.profile summary::marker {
  color:#9acd32;
}

.profile {
  display: flex;
  font-size: 0.85rem;
  text-align: right;
  cursor: pointer;
  font-weight: bold;
}

.profile nav {
  font-weight: normal;
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
}

.profile a {
  margin-top: 1.5vh;
}

.mobile {
  width: 100%;
  text-align: right;
}

@media screen and (max-width: 480px) {

  body {
    height: 85vh;
  }

  .top-action-menu {
    display: none;
  }

  .bottom-action-menu {
    display: flex;
  }

  .profile .mobile {
    display: flex;
  }
}

@media screen and (min-width: 480px) {
  .top-action-menu {
    display: flex;
  }

  .bottom-action-menu {
    display: none;
  }

  .mobile {
    display: none;
  }
}

.menu {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
}

.vertical {
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
}

.vertical a {
  margin-top: 4vh;
}

.horizontal {
  width: 100%;
  justify-content: space-around;
}

.main-form {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 2.5vh;
  font-size: 0.85rem;
  width: 90%;
}

.main-form p {
  text-align: center;
}

.main-form > div {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 3vh;
}

.main-form details {
  border-bottom: 1px solid rgba(173, 255, 47, 0.2);
  padding-bottom: 1vh;
}

.main-form details label {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  margin-top: 1.5vh;
}

.main-form summary {
  cursor: pointer;
  font-weight: bold;
}

.main-form summary div {
  font-weight: normal;
}

.main-form summary::marker {
  color: yellowgreen;
}

.main-form details input {
  margin: 0 0.75vh 0 0;
}

.main-form label {
  font-size: 0.75rem;
}

.main-form input, .main-form select {
  margin-top: 1vh;
  padding: 1.5vh 1vh;
  border: none;
  font-size: 0.75rem;
  color: darkgreen;
  font-weight: 600;
}

.main-form input[type="submit"] {
  margin-top: 5vh;
  background-color: yellowgreen;
  color: darkgreen;
  font-weight: bold;
  width: 100%;
}

.main-form input[type=submit]:hover {
  background-color: greenyellow;
}

.main-form fieldset {
  border-radius: 3px;
}

.main-form fieldset div {
  width: 100%;
}

.forget-password {
  font-size: 0.75rem;
  align-self: flex-end;
  margin-top: 2vh;
}

.guesses-checkbox {
  margin: 3vh 0 1vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.7rem;
  text-align: center;
}

.guesses-checkbox input {
  margin: 0 0 0 0.75vh;
}

.private-checkbox {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.private-checkbox input {
  margin: 0 0 0 0.75vh;
}

.match-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 2vh 0 0 0;
}

.match-time {
  text-align: center;
  font-size: 0.5rem;
}

.guess-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.7rem;
  margin-top: 2vh;
}

.small-team-logo {
  width: 5vh;
  margin: 0 1vh;
}

.team {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 30vh;
  line-height: 2vh;
  text-align: center;
}

.team div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 7vh;
}

.team label {
  margin-top: 0.5vh;
  font-size: 0.5rem;
  line-height: 1.5vh;
  text-align: center;
}

.team input {
  text-align: center;
  margin: 0 0;
  height: 7vh;
  width: 7vh;
  color: darkgreen;
  font-weight: bold;
  font-size: 0.75rem;
}

.gols-palpite-encerrado {
  color: yellowgreen;
  margin: 0 1.5vh;
  font-size: 1.1em;
  font-weight: bold;
}

.period-form-container {
  margin-top: 4vh;
  width: 100%;
}

.period-form-container p {
  font-size: 0.75rem;
}

.period-form {
  margin-top: 2vh;
  display: flex;
  column-gap: 5vh;
  align-items: center;
}

.period-form label {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 0.5vh;
}

.period-form select {
  background: #202124;
  border: none;
  border-bottom: 1px solid greenyellow;
  color: greenyellow;
  font-size: 0.65rem;
  font-weight: bold;
}

.period-form select option {
  text-align: center;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.main-msg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-grow: 1;
  line-height: 2.5vh;
  font-size: 0.75rem;
  width: 95%;
}

.subtitle-msg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.6rem;
  width: 90%;
}

.home-msg {
  margin-top: 2vh;
  line-height: 3vh;
  text-align: justify;
}

.home-msg h2 {
  margin: 0;
}

.help-msg p {
  margin: 0;
  font-size: 0.55rem;
  text-align: left;
  color: white;
}

.help-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

.helptext ul {
  font-size: 0.65rem;
  list-style-position: inside;
  padding: 0;
  color: #9acd32;
}

.helptext li {
  margin: 0;
}

.helptext li::marker {
  color: white;
}

.recommendations-list {
  list-style-position: inside;
  padding: 0 1.5vh 1.5vh 1.5vh;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  line-height: 3vh;
  text-align: justify;
  font-size: 0.7rem;
  margin-top: 0;
}

.recommendations-list p {
  text-align: justify;
}

.recommendations-list li {
  margin-top: 2vh;
}

.recommendations-list li::marker, .recommendations-list strong {
  font-weight: bold;
  color: yellowgreen
}

.errorlist {
  color: red;
  list-style: none;
  padding: 0;
  text-align: justify;
  font-size: 0.75rem;
  width: 80vw;
  line-height: 1rem;
}

.messages {
  padding: 1.5vh;
  list-style: none;
  text-align: center;
  font-size: 0.75rem;
  color: white;
  width: 100%;
}

.temp-msg {
  padding: 1.5vh;
  border-radius: 1vh;
  line-height: 2.75vh;
}

.success {
  background-color: rgba(125, 255, 75, 0.25);
}

.warning {
  background-color: rgba(255, 75, 0.25, 0.25);
}

.error {
  background-color: rgba(255, 50, 75, 0.25);
}

.signin-pool-url {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 2vh;
  text-align: center;
  width: 90%;
}

.signin-pool-url p {
  font-size: 0.75rem;
}

#pool-url {
  margin-top: 0;
  color: yellowgreen;
  padding: 2vh 3vh;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.15);
}

.copy-btn {
  margin-top: 1vh;
  border: none;
  background-color: transparent;
  color: yellowgreen;
}

.manage-pool-form input[type="text"] {
  font-weight: bold;
  font-size: 0.75rem;
  color: darkgreen;
}

.main-table {
  margin-top: 1vh;
  border-collapse: collapse;
  width: 100%;
  font-size: 0.75rem;
}

.ranking-table {
  font-size: 0.70rem;
}

.main-table th, td {
  padding: 1.5vh 0.35vh;
  text-align: center;
}

.open-pools-table {
  margin-top: 5vh;
}

.open-pools-table tr:nth-of-type(even) {
  background-color: rgba(255, 255, 255, 0.1);
}

.clickable-row:nth-child(2n + 1) {
  background-color: rgba(255, 255, 255, 0.1);
}

.expand-icon {
  font-size: 0.5rem;
  color: #9acd32;
}

.expand-icon:hover {
  cursor: pointer
}

.detail-table-container {
  padding: 0;
}

.detail-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.7em;
  color: white;
}

.detail-table th {
  font-weight: bold;
  padding: 15px 10px;
}

.detail-table td {
  padding: 0.5vh 0 1vh;
}

.detail-table tr {
  border-bottom: 1px solid rgba(173, 255, 47, 0.2);
}

.detail-table p {
  margin: 0;
  line-height: 2vh;
}

footer {
  margin-top: 2vh;
  padding: 1vh 2vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

footer address {
  font-size: 0.55rem;
  margin: 3vh 0;
}

.guess-score {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
    padding: 0.5em;
    text-align: center;
    min-width: 2em;
}
