/* importing google fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

::selection {
  color: #fff;
  background: #007bff;
}
body {
  margin: 0;
  padding: 0;
  min-width: 250px;
  min-height: 650px;
}

.CARD {
  position: relative;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 5px;
  background: linear-gradient(to bottom, #ffffff, #f2f4fa);
  margin: 5px;
  /* margin: 0px 250px 0px 250px; /*cima, direita, baixo, esquerda - validamos essa ordem no ChatGPT So in the example given, the padding is being adjusted in a clockwise direction starting from the top.*/
}

/* ESSE É UM COMENTÁRIO */
.TAG {
  background-color: #ffffe0;
  padding: 5px;
  border-radius: 10px 10px 10px 10px;
  font-size: 15px;
  text-align: center;
  color: #333;
  font-family: Arial;
  display: inline-block;
  margin: 5px;
}

.ORIGINAL {
  background-color: #d3d3d3;
  padding: 5px;
  text-align: center;
  color: #000000;
  border-radius: 10px 10px 10px 10px;
  justify-content: space-between;
}

.Atual {
  font-size: 22px;
  font-family: Arial;
  font-weight: bold;
  padding: 10px;
}

.TRADUÇÃO {
  background-color: rgb(186, 240, 186);
  padding: 10px;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  color: #000000;
  font-family: Arial;
  border-radius: 10px 10px 10px 10px;
}

.Nota {
  background-color: #ffe3ab;
  text-align: Left;
  padding: 10px;
  min-height: 90px;
  display: none;
}
.SelecionarLinha {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;

  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;

  background-color: #414141;
  border-top: 1px solid rgb(223, 223, 223);
  z-index: 9999; /* Set a high z-index value */
}

#AvançarBtn i,
#voltarBtn i {
  margin: 0 auto;
  min-height: 30px;
  min-width: 80px;
}

.SelecionarLinha button i {
  font-size: 1.5em;
}

#LinhaAtualtxt {
  margin: 0 10px;
  font-size: 30px;
  color: white;
}

/*Deixar os botões de avançar e voltar mais modernos*/
.SelecionarLinha button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3px 3px 3px 3px;
  font-size: 1.2rem;
  color: #fff;
  background-color: transparent;
  border: none;
  cursor: pointer;

  min-height: 40px;
  font-size: 24px;
  font-weight: bold;
  max-height: 40px;
  text-align: Center;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.5em;
  margin: 0 10px;
  --transition-duration: 0.3s;
  transition: background-color var(--transition-duration) ease,
    box-shadow var(--transition-duration) ease;
}

.SelecionarLinha button:hover {
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  --transition-duration: 1s;
}

.SelecionarLinha button i {
  font-size: 1.5em;
  margin: 0 5px;
}
/*FIM*/

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 7vh;
  margin: 0;
}

.modern-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #d4d4d4;
  color: #333333;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 24px;
  border: none;
  border-radius: 4px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.modern-button:hover {
  background-color: #333333;
  color: #f5f5f5;
}

.fa-redo {
  margin-right: 8px;
}

#video-container {
  position: relative;

  min-width: 100px;
}

#myVideo {
  object-fit: contain; /* scales the video to fit inside the container while maintaining aspect ratio */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  max-height: 100vh; /* sets the maximum height of the video to 1/4 of the viewport height */
  max-width: 56.25vh; /* sets the maximum width to maintain 16:9 aspect ratio (16/9 = 0.5625) */
  width: 100%; /* sets the width to 100% of the container */
  height: 100%; /* sets the height to 100% of the container */
}
.Anterior {
  display: none;
  font-family: Arial;
}
.Próxima {
  display: none;
  font-family: Arial;
}

.RESPOSTA {
  display: none;
}

.container-MostrarResposta {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

button.MostrarResposta {
  background-color: #3b82f6;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 36px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  margin: 20px;
}

button.MostrarResposta i {
  margin-right: 10px;
}

button.MostrarResposta:hover {
  background-color: #2563eb;
}

.button-container-respostas {
  display: flex;
  justify-content: center;
}

/* Rest of the CSS code remains the same */
.button-dificil,
.button-bom,
.button-facil {
  display: inline-block;
  margin: 0 10px;
  padding: 10px 20px;
  font-size: 16px;
  color: white;
  background-color: #ff5c5c;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  display: none;
}

.button-bom {
  background-color: #64e986;
}

.button-facil {
  background-color: #57c0e8;
}

.button-dificil:hover {
  background-color: #b43131;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3); /* Add a light shadow */
}
.button-bom:hover {
  background-color: #3dbb68;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3); /* Add a light shadow */
}
.button-facil:hover {
  background-color: #2b80b7;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3); /* Add a light shadow */
}

.button-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*TOGGLE INÍCIO*/
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 17px;
  margin-top: 10px;
}

.toggle-switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 10px;
  width: 10px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #3b82f6;
}

input:focus + .slider {
  box-shadow: 0 0 1px #3b82f6;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Updated styles for the label text */

.toggle-switch-wrapper {
  display: flex;
  align-items: center;
  margin: 5px;
}

.toggle-switch-label {
  margin-left: 10px;
  margin-top: 10px; /* add some spacing between the label and the button */
  font-size: 14px;
  color: #333;
  white-space: nowrap;
}

/*TOGGLE FIM*/

#voltarBtn,
#LinhaAtualtxt,
#AvançarBtn {
  display: none;
}
.toggle-text {
  text-align: center; /* Center text horizontally */
}

.CabeçalhoNota div {
  /* Add any necessary styles */
  font-family: "Arial";
  font-size: 15px;
  color: Black;
}
.flag-icon {
  position: absolute;
  top: 0;
  right: 0;
  max-height: 40px;
}
#message {
  display: none;
  position: fixed;
  z-index: 9999;
  background-color: #fff;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  color: #000000;
  font-weight: bold;
}
#flag-icon {
  cursor: pointer;
}
