:root {
  --azul: #253d7b;
  --azul2: #253d7b;
  --cor2: #94cad4;
  --cor3: #d4d6d6;
  --branco: white;
  --branco2: rgb(247, 247, 247);
  --amarelo: #ffc118;
  --cinza: #494949;
  --verde: #35a120;
}

::-webkit-scrollbar {
  width: 4px;
  border: 1px solid #d5d5d5;
  height: 0;
}

::-webkit-scrollbar-track {
  border-radius: 0;
  background: #eeeeee;
}

::-webkit-scrollbar-thumb {
  border-radius: 0;
  background: #b0b0b0;
}

@font-face {
  font-family: worksans;
  src: url("../fonts/WorkSans-Light.ttf");
}


html {
  height: 100%;
  scroll-behavior: smooth;
  font-size: 100%;
  font-family: worksans;
}

body {
  background-color: var(--cor3);
  margin: 0;
  padding: 0;
}

.container {
  max-width: 800px;
  margin: 13vh auto;
  padding: 20px;

  /* border: 1px none #ccc; */
}

h1 {
  color: var(--azul2);
  font-size: 300%;
}

/********************** Filtros ************************/

.filters {
  margin-top: 20px;
  padding: 10px;
}

.filter-header {
  color: var(--azul2);
  font-weight: bold;
  cursor: pointer;
  font-size: 175%
}

.filter-content {
  /* Your existing styles for the filter content */
  display: none;
  /* Initially hide the content */
  grid-gap: 10px;
}

.textos_filtros {
  font-size: 175%;
}

#f1 {
  grid-column: 1 / span 5;
  grid-row: 1;
}

#filtronomeliga {
  grid-column: 1 / span 5;
  grid-row: 2;
}

#f2 {
  grid-column: 1/ span 5;
  grid-row: 3;
}

#filtro_area {
  grid-column: 1/ span 5;
  grid-row: 4;
  justify-items: start;
  z-index: 9;
}

#f3 {
  grid-column: 6 / span 5;
  grid-row: 1;
}

#filtro_ano {
  grid-column: 6/ span 5;
  grid-row: 2;
  justify-items: start;
  z-index: 8;
}

#f4 {
  grid-column: 6/ span 5;
  grid-row: 3;
}

#filtro_tipo {
  grid-column:6/ span 5;
  grid-row: 4;
  justify-items: start;
  z-index: 7;
}

.apply-button,
.clear-button {
  /* Your styles for the buttons */
  padding: 10px;
  margin-top: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  max-width: max-content;
  justify-self: flex-end;
}

.apply-button {
  background-color: var(--azul2);
  border: 0.2px solid var(--azul2);
  color: white;
  grid-column: 9;
  grid-row: 6;
  justify-content: end;
}

.clear-button {
  background-color: white;
  color: var(--azul2);
  border: 0.2px solid var(--azul2);
  grid-column: 10;
  grid-row: 6;
}

.clear-button:hover,
.apply-button:hover {
  opacity: 1;

}

@media only screen and (max-width: 800px) {
  #f1 {
    grid-column: 1 / span 7;
    grid-row: 1;
  }

  #filtronomeliga {
    grid-column: 1 / span 7;
    grid-row: 2;
  }

  #f2 {
    grid-column: 1 / span 7;
    grid-row: 3;
  }

  #filtro_area {
    grid-column: 1 / span 7;
    grid-row: 4;
    justify-items: start;
    z-index: 9;
  }

  #f3 {
    grid-column: 1 / span 7;
    grid-row: 5;
  }

  #filtro_ano {
    grid-column: 1 / span 7;
    grid-row: 6;
    justify-items: start;
    z-index: 8;
  }

  #f4 {
    grid-column: 1 / span 7;
    grid-row: 7;
  }

  #filtro_tipo {
    grid-column: 1 / span 7;
    grid-row: 8;
    justify-items: start;
    z-index: 7;
  }

  .apply-button,
  .clear-button {
    /* Your styles for the buttons */
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    max-width: max-content;
    justify-self: flex-end;
  }

  .apply-button {
    background-color: var(--azul2);
    border: 0.2px solid var(--azul2);
    color: white;
    grid-column: 6;
    grid-row: 10;
    justify-content: end;
  }

  .clear-button {
    background-color: white;
    color: var(--azul2);
    border: 0.2px solid var(--azul2);
    grid-column: 7;
    grid-row: 10;
  }

  .clear-button:hover,
  .apply-button:hover {
    opacity: 1;

  }


}

.list {
  margin-top: 10px;
  font-size: 150%;
  /* You can add more styles here to adjust the list layout */
}

.list-item {
  /* Your existing styles for the list items */
  width: 100%;
  padding: 1%;
  background: linear-gradient(to bottom, white, var(--branco2));
  border: none;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 10px;
}

.nomesligas {
  /* Your existing styles for the first column (nomesligas) */
  flex: 2.5;
  /* Let the element grow to occupy available space */
  color: var(--azul2);
}

.areasligas {
  /* Your existing styles for the second column (areasligas) */
  flex: 1;
  /* Let the element grow to occupy available space */
  color: var(--azul2);
}

.statuscurso {
  /* Your existing styles for the third column (statuscurso) */
  color: var(--cinza);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 180px;
}

.dot {
  /* Your existing styles for the dots */
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin: 5px;
}

/* Styles for different color dots */
.dotazul {
  background-color: var(--verde);
}

.dotamarelo {
  background-color: var(--amarelo);
}

.dotcinza {
  background-color: var(--cinza);
}

@media only screen and (max-width: 575px) {
  .list-item {
    /* Your existing styles for the list items */
    width: 100%;
    padding: 1%;
    background: linear-gradient(to bottom, white, var(--branco2));
    border: none;
    margin-bottom: 10px;
    cursor: pointer;
    display: grid;
    align-items: center;
    border-radius: 10px;
    grid-gap: 5px;
  }

  .nomesligas {
    /* Your existing styles for the first column (nomesligas) */
    /* Let the element grow to occupy available space */
    color: var(--azul2);
    grid-column: 1;
    grid-row: 1;
    font-size: 14px;
  }

  .areasligas {
    /* Your existing styles for the second column (areasligas) */
    flex: 1;
    /* Let the element grow to occupy available space */
    color: var(--azul2);
    grid-column: 1;
    grid-row: 2;
    font-style: italic;
    font-size: 13px;

  }

  .statuscurso {
    /* Your existing styles for the third column (statuscurso) */
    color: var(--cinza);
    display: flex;
    align-items: center;
    justify-content:flex-end;   
    font-size: 14px;
text-align: center;
    width: 25vw;
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: flex-end;
  }

  .dot {
    /* Your existing styles for the dots */
    /* width: 50%;
      height: 50%; */
    --tamdot: 9%;
    padding-bottom: var(--tamdot);
    padding-left: var(--tamdot);
    padding-right: var(--tamdot);
    padding-top: var(--tamdot);
    border-radius: 50%;
    margin: 5px;

  }
}



/* **************** Parte que faz os popups *********************** */
/* Button used to open the chat form - fixed at the bottom of the page */
.open-button {
  background-color: #555;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  position: fixed;
  bottom: 23px;
  right: 28px;
  width: 280px;
}

/* The popup chat - hidden by default */
.dadosliga {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  border: none;
  width: auto;
  z-index: 9;
  padding: 10px;
  background-color: white;
  border-radius: 10px;
  grid-template-columns: min-content auto auto auto;
  /* First column adjusts based on content, other columns are 100px wide */
  /* Spacing between grid items */
  /* Hidden by default */
  font-size: 130%;
  font-family: worksans;
  max-width: 100%;
  min-width: none;
  grid-gap: 5px;
}




/* Show the .dadosliga element when needed */


/* When the textarea gets focus, do something */

#nomeliga {
  grid-column: 1 / span 6;
  grid-row: 1 / span 1;
  font-size: 130%;
  font-weight: bold;
  /* grid-row:  1 / span 2; */
}

#arealiga {
  grid-column: 1 / span 6;
  grid-row: 2;

}

#statusliga {
  grid-column: 7 / span 2;
  justify-self: end;
  grid-row: 1 / span 3;
}

#fotoliga {
  grid-column: 1 / span 3;
  grid-row: 4 / span 6;
  justify-content: center;
  align-items: center;
  place-items: center;
}

#sobreliga_fixo {
  grid-column: 4 / span 5;
  grid-row: 4;
  font-weight: bold;
  text-align: justify;
}

#sobreliga {
  grid-column: 4 / span 5;
  grid-row: 5;
  text-align: justify;
}

#atividadesliga_fixo {
  grid-column: 4 / span 5;
  grid-row: 7;
  font-weight: bold;
  text-align: justify;
}

#atividadesliga {
  grid-column: 4 / span 5;
  grid-row: 8;
  width: auto;
  text-align: justify;
}

#presidente_fixo {
  grid-column: 1 / span 1;
  grid-row: 10;
  font-weight: bold;
}

#presidente {
  grid-column: 2 / span 2;
  grid-row: 10;
}

#contato {
  grid-column: 1 / span 1;
  grid-row: 11/span 2;
  font-weight: bold;
  align-items: center;
  align-content: center;
  align-self: center;

}

#emailliga {
  grid-column: 2 / span 1;
  grid-row: 11 / span 2;
  align-self: center;
}

#instaliga {
  grid-column: 3 / span 1;
  grid-row: 11 / span 2;
  align-self: center;
}

#dadoscurso {
  grid-column: 4 / span 4;
  grid-row: 10;
  font-weight: bold;
  text-align: center;

}

#dataliga {
  grid-column: 4 / span 4;
  grid-row: 11;
  text-align: center;
}

#anosaceitos_fixo {
  grid-column: 8 / span 1;
  grid-row: 10 / span 1;
  font-weight: bold;
  text-align: center;
}

#ano1 {
  grid-column: 8 / span 1;
  grid-row: 11 / span 4;
}

.tdtabela {
  display: grid;
  /* Use CSS Grid for the table cell */
  grid-template-columns: min-content min-content;
  /* Two columns with content-based width */
  grid-gap: 5px;
  /* Spacing between the number and the circle */
  align-items: center;
  /* Vertically center content */

}

table {
  display: grid;
  grid-gap: 1px;
}

/* Set a style for the submit/login button */
#inscrever1 {
  grid-column: 4 / span 4;
  grid-row: 12 / span 3;
  background-color: var(--azul2);
  color: white;
  padding: 5px 5px;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  width: 80px;
  margin-bottom: 10px;
  opacity: none;
  height: 35px;
  margin: 0 auto;
  text-decoration: none;
  /* Remove the underscore */
  display: flex;
  justify-content: center;
  /* Center the text horizontally with flexbox */
  align-items: center;
  /* Center the text vertically with flexbox */
}

#inscrever2 {
  grid-column: 4 / span 4;
  grid-row: 12 / span 3;
  background-color: var(--cor3);
  color: white;
  padding: 5px 5px;
  border: none;
  cursor:no-drop;
  border-radius: 10px;
  width: auto;
  margin-bottom: 10px;
  opacity: none;
  height: 35px;
  margin: 0 auto;
  text-decoration: none;
  /* Remove the underscore */
  display: none;
  justify-content: center;
  /* Center the text horizontally with flexbox */
  align-items: center;
  /* Center the text vertically with flexbox */
}
/* Add a red background color to the cancel button */
#fechar {
  background-color: transparent;
  color: rgb(0, 0, 0);
  border: none;
  cursor: pointer;
  margin-bottom: 10px;
  opacity: 100%;
  position: absolute;
  top: -15px;
  right: 0px;


}

/* Add some hover effects to buttons */
.dadosliga .btn:hover,
.open-button:hover {
  opacity: 1;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Adjust the alpha value for the desired blur strength */
  backdrop-filter: blur(8px);
  /* Adjust the blur radius as needed */
  z-index: 9999;
  /* Make sure the overlay is on top of other elements */
  display: none;
  /* Hide the overlay by default */
}

.blur-effect {
  filter: blur(8px);
  margin-top: 0;
  /* Same blur radius as backdrop-filter */
}

.no-scroll {
  overflow: hidden;
}

.dotpequeno {
  /* Your existing styles for the dots */
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 5px;
}

/* Styles for different color dots */
.dotazulp {
  background-color: var(--azul2);
}

.dotcinzap {
  background-color: var(--cor3);
}

@media only screen and (max-width: 575px) {

  .dadosliga {
    display: none;

    height: 80vh;
    width: 90%;

    overflow-y: scroll;
    width: 80%;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    font-size: 160%;
    grid-gap: 5px;

  }

  #nomeliga {
    display: flex;
    grid-column: 1/ span 4;
    grid-row: 1/span 1;
    padding-top: 20px;
    font-size: 100%;
  }

    .dadosliga #fechar {
    
    top: -15px;
    margin: 20px;
    margin-right: 10px;

   
  }

  #statusliga {

    grid-column: 4/ span 8;
    grid-row: 1/span 1;
    padding-top: 20px;
  }

  #arealiga {

    grid-column: 1/ span 8;
    grid-row: 2/span 1;

  }

  .dadosliga #fotoliga {

    grid-column: 1 / span 8;
    grid-row: 3/ span 1;
    display: block;
    justify-content: center;
    /* centers items horizontally */
    align-items: center;
    /* centers items vertically */
    place-items: center;
    text-align: center;
    margin: 0 auto;
  }

  #sobreliga_fixo {

    grid-column: 1/ span 8;
    grid-row: 4;
    text-align: left;
    justify-content: left;
  }

  #sobreliga {

    grid-column: 1/ span 8;
    grid-row: 5;
    text-align: justify;
  }

  #atividadesliga_fixo {

    grid-column: 1/ span 8;
    grid-row: 7;
  }

  #atividadesliga {

    grid-column: 1/ span 8;
    grid-row: 8;
    text-align: justify;
  }

  #presidente_fixo {

    grid-column: 1/ span 4;
    grid-row: 9;
    padding: 5px;
    text-align: left;
    margin-left: -5px;

  }

  #presidente {
    grid-column: 3 / span 8;
    grid-row: 9;
    padding: 5px;
  }

  #contato {
    grid-column: 1 / span 2;
    grid-row: 11/span 2;
    font-weight: bold;
    align-items: center;
    align-self: center;
  }

  #emailliga {
    grid-column: 3 / span 1;
    grid-row: 11 / span 2;
  }

  #instaliga {
    grid-column: 4 / span 2;
    grid-row: 11 / span 2;

  }

  #dadoscurso {
    grid-column: 4 / span 5;
    grid-row: 14;
    font-weight: bold;
    margin: 5px;
    text-align: center;
    align-self: center;
  }

  #dataliga {
    grid-column: 4 / span 5;
    grid-row: 15;

  }

  #inscrever1 {
    grid-row: 16 !important;
    grid-column: 4 / span 5;
    justify-content: center;
  /* Center the text horizontally with flexbox */
  align-items: center;
    
  }

  #inscrever2 {
    grid-row: 16 !important;
    grid-column: 4 / span 5;
    justify-content: center;
  /* Center the text horizontally with flexbox */
  align-items: center;
    
  }

  #anosaceitos_fixo {
    grid-column: 1 / span 4;
    grid-row: 14 / span 1;
    
    font-weight: bold;
    margin: 5px;
  }

  #ano1 {
    grid-column: 1 / span 4;
    grid-row: 15 / span 4;
    align-items: center;
    margin: 0 auto;
  }

  .tdtabela {
    display: grid;
    /* Use CSS Grid for the table cell */
    grid-template-columns: min-content min-content;
    /* Two columns with content-based width */
    grid-gap: 5px;
    /* Spacing between the number and the circle */
    align-items: center;
    /* Vertically center content */

  }

  table {
    display: grid;
    grid-gap: 1px;
  }

}

