/* Theming */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");

:root{
    --white: #f9f9f9;
    --black: #36383F;
    --blue: #59b3e5;
    --grey: #85888C;
    --yellow: #CFE07A;
}

/* Reset */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: var(--white);
    background-image: url('backgrd1.jpg');
    background-size:100% auto;
    font-family: "Poppins", sans-serif;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}


/* FORM

form{
  width: 100%;
  margin: auto;
  color:whitesmoke;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  background-color: rgba(11, 15, 13, 0.582);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.125);
  padding: 20px 25px;
} */

/* Header */
.header{
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(11, 15, 13, 0.582);
    box-shadow: 1px 1px 5px 0px var(--grey);
    position: sticky;
    top: 0;
    width: 100%;
}


/* Nav menu */
.nav{
    width: 100%;
    height: 100%;
    position: relative;
    background-color: var(--black);
    overflow: hidden;
    
}

.menu a{
    display: block;
    padding: 30px;
    color: var(--yellow);

}

.menu a:hover{
    background-color: var(--grey);
}

.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}

/* TABLE */

table {
  border-collapse: collapse;
  padding: 0;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  border-radius:10px;
  overflow-x: auto;
}

table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

table tr {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: .35em;
}

.table-print tr {
  background-color: white;
  border: 1px solid black;
  padding: .35em;
}

table th,
table td {
  padding: .625em;
  text-align: center;
  overflow: hidden;
}

table th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
  background-color: var(--yellow);
}

@media screen and (max-width: 600px) {
  /*
  table {
    border: 0;
  }

  table caption {
    font-size: 1.3em;
  }
  
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  */
  table td {
    font-size: .8em;
    /*border-bottom: 1px solid #ddd;
    display: block;
    text-align: right;*/
  }
  /*
  table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  table td:last-child {
    border-bottom: 0;
  }*/
}

/* DROPDOWN */

.drop {
  /*background-color: #cfe07a;*/
  background-color: var(--white);
  font-size: 1.0em;
  color: black;
  padding: 8px 8px;
}

/* LOGIN */

.login-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
}

label {
  display: block;
  margin-bottom: 10px;
}

.pwd {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
}

.txt {
  width: 20%;
  padding: 10px;
  margin-bottom: 20px;
}

textarea {
  width: 100%;
  resize: none;
}

input[type=text] {
  word-wrap: break-word;
  word-break: break-all;
}

.buttonenroll {
  width: 100%;
  padding: 10px;
  font-size: smaller;
  font-weight: normal;
  /*background-color: #007BFF;*/
  background-color: #2384c5;
  color: white;
  border: none;
}

.buttonpwd {
  width: 100%;
  padding: 10px;
  font-size: larger;
  font-weight: bold;
  /*background-color: #007BFF;*/
  background-color: #2384c5;
  color: white;
  border: none;
}

.buttonnews {
  width: 100%;
  padding: 1px;
  font-size: larger;
  font-weight: bold;
  background-color: var(--white);
  /*background-color: #2384c5;*/
  color: #2384c5;
  border: none;
}

.buttonpwd:hover {
  background-color: #064579;
}

.buttonpwd:active {
  background-color: #57a4e2;
}

.buttonend {
  width: 100%;
  padding: 10px;
  font-size: larger;
  font-weight: bold;
  background-color: #b30c0c;
  color: white;
  border: none;
}

.buttonend:hover {
  background-color: #7d0707;
}

.buttonend:active {
  background-color: #ea4d4d;
}

@media screen and (max-width: 600px) {
  .login-container {
      padding: 10px;
  }
}

/* FORM */

form{
  width: 100%;
  margin: auto;
  /*color:whitesmoke;*/
  /*backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  background-color: rgba(11, 15, 13, 0.582);
  background-color: rgba(255, 255, 255, 0.459);*/
  background-color: rgba(255, 255, 255, 0.747);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.125);
  padding: 20px 25px;
}

.form2{
  width: 100%;
  margin: auto;
}

.forgotpsd a{
  /*color: rgb(74, 146, 235);*/
  color: rgb(5, 50, 105);
}

.forgotpsd a:link{
  text-decoration: none;
}

.error_msg {
  text-align: center;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.15);
  color: white;
  font-weight: bold;
  background-color: #b30c0c;
  font-size: 17px;
}

.warning_msg {
  text-align: center;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.15);
  color: black;
  font-weight: bold;
  background-color: yellow;
  font-size: 17px;
}

.sucess_msg {
  text-align: center;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.15);
  color: white;
  font-weight: bold;
  background-color: green;
  font-size: 17px;
}

/* Add a black background color to the top navigation */
.topnav {
  background-color: none;
  overflow: hidden;
  display: inline;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: right;
  display: block;
  color: var(--yellow);
  text-align: center;
  padding: 16px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Add an active class to highlight the current page */
.active {
  background-color: none;
  color: var(--yellow);
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: right;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: var(--yellow);
  padding: 16px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--grey);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: var(--yellow);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: none;
  color: var(--grey);
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 900px) {
  .topnav a, .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 900px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: right;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: right;
  }
} 

.hidden {
  display: none;
}

/* Style the tabs */
.tab {
  display: none;
}

/* Style the tab content container */
.tab-content {
  padding: 10px;
  display: none;
}

/* Style the active tab and show its content */
.active {
  display: block;
}

/* Style the tab buttons */
.tab-button {
  cursor: pointer;
  padding: 10px;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  display: inline-block;
}

#roulette {
  width: 250px;
  height: 250px;
  background-image: url('ball_ok.png'); /* Replace 'roulette_image.png' with your image file */
  background-size: cover;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}

#roulette .roulette-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  font-weight: bold;
  color: #2384c5;
  white-space: nowrap;
  text-align: center;
}

.item-list{
  scroll-snap-type: x mandatory;
}

.item{
  scroll-snap-align: center;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.item-list::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.item-list {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.video-container {
  position: relative;
  width: 80%;
  padding-bottom: 56.25%;
  overflow: hidden;
  margin: auto;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 77.8%;
  margin: 0;
}

/* Container da barra de progresso */
.progress-container {
  width: 100%; /* Largura total do contêiner */
  background-color: #f3f3f3; /* Cor de fundo do contêiner */
  border: 1px solid #ccc; /* Borda do contêiner */
  border-radius: 5px; /* Bordas arredondadas */
  overflow: hidden; /* Evita que a barra ultrapasse o contêiner */
}

/* Barra de progresso */
.progress-bar {
  height: 20px; /* Altura da barra de progresso */
  background-color: #2384c5; /* Cor da barra de progresso */
  text-align: center; /* Alinha o texto no centro */
  line-height: 20px; /* Alinha verticalmente o texto */
  color: #CFE07A; /* Cor do texto */
  font-weight: bold; /* Texto em negrito */
  border-radius: 5px 0 0 5px; /* Bordas arredondadas à esquerda */
}