@font-face { 
  font-family: Oswald; 
    src: local("Oswald"), url('../fonts/Oswald-VariableFont_wght.ttf'); 
}

@font-face { 
  font-family: Roboto; 
    src: local("Roboto"), url('../fonts/Roboto-Regular.ttf'); 
}

/* Reset de estilos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: -webkit-fill-available;
  --header-footer-color: #006b7a;
}
  
body {
  display: flex;
  flex-direction: column;
  margin: 0;
  height: 100vh;
  height: -webkit-fill-available;
}

.container {
  width: 90%;
  margin: 0 auto;
  max-width: 1200px;
}

header {
  background-color: var(--header-footer-color);
  color: #fff;
  padding: 26px 0;
  text-align: center;
  font-family: Oswald; 
}

header a {
  color: #FFF;
  text-decoration: none;
}

header h1 {
  font-size: 2em;
}

header h2 {
  font-size: 1.2em;
}

.separator {
  width: 52%;
  margin: 18px auto;
  color: #FFF;
}

nav {
  background-color: #00606c;
  color: #fff;
  font-family: Roboto;
  padding: 8px;
}

nav ul {
  list-style-type: none;
  text-align: center;
}

nav ul li {
  display: inline-block;
  margin: 0 10px;
}

nav ul li a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  padding: 2px 18px;
  @media only screen and (max-width: 1161px) {
    padding: 12px 6px;
  }
}

nav ul li a:hover {
  text-decoration: underline;
}

main {
  font-family: Roboto;
  color: #333;
  flex: 1;
}

main h2 {
  padding-top: 40px;
  padding-bottom: 6px;
}

main ul {
  padding: 0px 26px 30px 26px;
}

main li {
  padding: 10px 0px;
}

main ul li a {
  color: #002c35;
  text-decoration: none;
}

.home-title {
  font-size: 1.21em;
  font-weight: bolder;
  padding: 44px 0px;
  line-height: 1.4;
}

.goals {
  font-size: 1.18em;
  font-style: italic;
  font-weight: bolder;
}

.poster {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 22px;
}

.poster a {
  padding: 10px 16px;
  font-size: 120%;
  color:#FFF;
  text-decoration: none;
  background-color: #00606c;
}


.advice {
  font-size: 16px;
  font-style: italic;
  padding-left: 10px ;
  position: relative;
  top: -3px;
}

.payment-table {
  width: auto;
  border-collapse: collapse;
  margin-top: 44px;
  max-width: 360px;
  min-width: 360px;
  border: 1px solid #196c76;
}

.payment-table caption {
  background-color: #196c76;
  color: #FFF;
  padding: 10px;
  font-weight: bolder;
}

.payment-table td {
  border: none;
  padding: 10px 8px;
}

.payment-table td:first-child {
  text-align: initial;
  min-width: 184px;
}

.payment-table tr:nth-child(odd) {
  background-color: #cce6ea;
}

.payment-table tr:nth-child(even) {
  background-color: #99ced6;
}

.payment-table td:nth-child(2) {
  width: 94px;
}

.payment-table .payment-link {
  background-color: #f2f6f7;
  text-align: center;
  width: 80px;
}

.payment-table .payment-link a {
  text-decoration: none;
  color: #FFF;
  background-color: #4c8d97;
  padding: 7px 13px;
  border-radius: 9px;
}

.notice {
  /*font-size: 13px;*/
  font-size: 16px;
  color: red;
  font-weight: bolder;
  font-style: italic;
  padding: 4px 5px 36px 4px;
  width: 360px;
  text-align: right;
}

form {
  max-width: 360px;
  margin-bottom: -70px;
}

.form-group {
  padding: 10px 8px;
}

#current-status {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
}

input, button {
  margin-bottom: 10px;
  width: 100%;
  padding: 10px;
}

.check {
  display: flex;
  align-items: center;
  margin: 15px 50px;
  border: 1px solid #bbb;
  border-radius: 3px;
}

.check input {
  width: 20px;
  margin: 0px 12px;
  padding: 0px 10px;
  height: 18px;
  margin-top: -1px;
}

textarea {
  width: 100%;
  padding: 8px;
}

.password {
  opacity: 0;
}

.password input {
  pointer-events: none;
}

.g-recaptcha {
  display: flex;
  justify-content: center;
  position: relative;
  top: -100px;
}

.required {
  border: 3px solid #f00;
  border-radius: 5px;
  margin: 0px 12px;
}

.submit-button {
  position: relative;
  top: -90px;
  padding: 12px 0px;
  margin-top: 18px;
}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  z-index: 999;
  padding-top: 60px;
}

.popup-content {
  background-color: #fefefe;
  margin: auto 45px;
  padding: 20px;
  border-radius: 8px;
  max-width: 270px;
  min-width: 270px;
  text-align: center;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  line-height: 20px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.chair {
  font-weight: bolder;
}

footer {
  background-color: var(--header-footer-color);
  padding: 14px 0;
  text-align: center;
}

footer .container {
  display: flex;
  /*justify-content: space-between;*/
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  a {
    @media only screen and (max-width: 468px) {
      width: 100%;
    }    
  }
}

footer img {
  margin: 0 10px;
  padding: 14px;
}

/* Registration */

.registration-cocktail {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}


/* Home - Results */

hr {
  margin: 50px 40px 40px 40px;
}

.results {
  display: flex;
  justify-content: space-evenly;
  padding-bottom: 30px;
  @media only screen and (max-width: 468px) {
    flex-direction: column;
    row-gap: 12px;
  } 
}

.results a {
  display: inline-block;
  width: 129px;
}


/* table - program */
.program {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0px 30px 0px;
}

.program th, .program td {
  border: 1px solid #4c8d97;
  padding: 8px;
  text-align: left;
  min-width: 111px;
}

.program .first-line {
  background-color: #196c76;
  color: #FFF;
}

.program td:first-child {
  text-align: center;
}

.program td:not(:first-child) {
  min-width: 217px;
}

.program tr:nth-child(odd) {
  background: #99ced6;
}

.program tr:nth-child(even) {
  background: #cce6ea;
}

.program .center {
  text-align: center;
}

/* Participantes */

.participants {
  border-collapse: collapse;
  border: 1px solid #196c76;
  width: 100%;
  margin: 12px 0px;
  text-align: left;
}

.participants th {
  background-color: #196c76;
  color: #FFF;
  padding: 10px;
  font-weight: bolder;
}

.participants tr:nth-child(odd) {
  background-color: #cce6ea;
}

.participants tr:nth-child(even) {
  background-color: #99ced6;
}

.participants td:nth-child(1), .participants td:nth-child(2) {
  width: 110px;
}

.participants td:nth-child(3) {
  width: 236px;
}

.participants td:nth-child(5) {
  width: 181px;
}

.participants td {
  border: none;
  padding: 10px;
}

.generate-pdf-button {
  display: flex;
  justify-content: center;
}

.generate-pdf-button a {
  text-decoration: none;
  color: #FFF;
  background-color: #4c8d97;
  padding: 7px 13px;
  margin: 16px 10px;
  border-radius: 9px;
}
