@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Lexend&display=swap");
/* Logo y botones superiores*/
h1 {
  font-size: 3rem;
  color: #2C3E50;
  margin: 10px;
}

header {
  font-family: "Lexend", sans-serif;
  background-color: #9be6e7;
  padding: 10px 50px 10px 30px;
  border-radius: 10px;
  margin: 10px;
}
header.no-bootstrap {
  align-content: center;
  font-family: "Lexend", sans-serif;
}
header nav ul {
  display: flex;
  column-gap: 25px;
  list-style: none;
}
header nav ul li a {
  text-decoration: none;
  color: #2C3E50;
  border: 2px solid #9be6e7;
  padding: 8px 8px;
  background-color: #9be6e7;
  border-radius: 10px;
  transition: background-color 0.25s, color 0.25s; /* animación suave */
}
header nav ul li a:hover {
  background-color: #b9feff; /* fondo al pasar el mouse */
}

.navbar-toggler {
  border: none !important;
}
.navbar-toggler:focus {
  background-color: #b9feff;
}

body { /*CORRECCION DE BOOTSTRAP (Lo destesto) */
  margin: 0;
  background-color: #e9f2f8 !important;
  font-family: "Lexend", sans-serif !important;
  color: #2C3E50 !important;
}

.titulos h2 {
  font-size: 100px;
}

/*Footer de todas las paginas*/
footer nav {
  display: flex;
  justify-content: center;
}
footer nav ul {
  display: flex;
  column-gap: 20px;
  list-style: none;
}
footer nav ul li a {
  text-decoration: none;
  color: #2C3E50;
  border: 2px solid #e9f2f8;
  padding: 4px 8px;
  background-color: #e9f2f8;
  border-radius: 3px;
  transition: background-color 0.3s, color 0.3s; /* animación suave */
  transition: border-color 0.3s, color 0.3s; /* animación suave */
}
footer nav ul li a:hover {
  color: white;
  border: 2px solid #2C3E50;
  padding: 4px 8px;
  background-color: #2C3E50;
  border-radius: 4px;
}

/*index*/
.txt {
  margin: 2rem 0;
  justify-self: center;
  font-size: 1.15em;
}

.txt2 {
  width: 425px;
  margin: 1rem 0;
  border-radius: 12px;
  box-shadow: 5px 5px 10px grey;
}

.Privado {
  display: grid;
  grid-template-rows: repeat(2, 3fr);
  grid-template-columns: repeat(3, 2fr);
}
.Privado div {
  border: 3px solid #9be6e7;
  border-radius: 12px;
  margin: 0.5em;
  padding: 10px 5px 10px 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 5px 5px 10px grey;
  background-color: white;
}
.Privado h2 {
  font-size: 20px;
  text-decoration: underline;
  padding: 10px 5% 0 5%;
  text-align: center;
}
.Privado p {
  padding: 10px 5% 10px 5%;
  font-size: small;
}
.Privado nav ul { /*Forma y color de botones*/
  font-size: 15px;
  display: flex;
  list-style: none;
  column-gap: 10px;
  justify-content: center;
  padding-inline-start: 0;
}
.Privado nav ul li a { /*Forma y color de botones*/
  text-decoration: none;
  padding: 8px 8px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 130px;
  text-align: center;
  color: white;
  border-radius: 6px;
  border: 2px solid #2C3E50;
  background-color: #2C3E50;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.Privado nav ul li a:hover {
  background-color: white;
  color: #2C3E50;
  border: 2px solid #2C3E50;
}
.Privado nav ul li a:active {
  transform: scale(0.98);
}

.mi1 h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}
.mi1 p {
  margin: 16px 0;
  text-align: justify;
}
.mi1 h3 {
  padding: 0px 5%;
  text-align: right;
}
.mi1 img {
  border-radius: 12px;
  box-shadow: 5px 5px 10px grey;
}

.info, .foto {
  border: 2px solid #9be6e7;
  background-color: white;
  border-radius: 12px;
  box-shadow: 5px 5px 10px grey;
}

.lic1, .lic2, .lic3 {
  margin: 5%;
  padding: 10px;
  border: 2px solid #9be6e7;
  background-color: white;
  border-radius: 10px;
  text-align: center;
  box-shadow: 5px 5px 10px grey;
  display: grid;
  grid-template-rows: minmax(48px, auto) auto 1fr; /* texto inferior */
  gap: 12px;
}

.perfil {
  display: grid;
  justify-content: center;
  grid-template-rows: 2.1fr 0.5fr 2fr;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas: "inf inf foto" "tit tit tit" "lic1 lic2 lic3";
}
.perfil h3 {
  justify-self: center;
  font-size: 20px;
  margin: 5px;
}

.info {
  grid-area: inf;
  padding-left: 40px;
  margin: 10px;
  padding: 20px;
}
.info h2 {
  font-size: 25px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  max-width: 900px;
}

.campo {
  display: flex;
  flex-direction: column;
}
.campo label {
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: 500;
}
.campo input:not([type=button]):not([type=submit]) {
  padding: 8px 10px;
  border: 1px solid #cfd8dc;
  border-radius: 4px;
  font-size: 14px;
}
.campo input:not([type=button]):not([type=submit]):disabled {
  background-color: #eceff1;
}
.campo input[type=button], .campo input[type=submit], .campo button {
  width: fit-content;
  text-align: center;
  color: white;
  border-radius: 4px;
  border: 2px solid #2C3E50;
  background-color: #2C3E50;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.campo input[type=button]:hover, .campo input[type=submit]:hover, .campo button:hover {
  background-color: white;
  color: #2C3E50;
  border: 2px solid #2C3E50;
}
.campo input[type=button]:active, .campo input[type=submit]:active, .campo button:active {
  transform: scale(0.98);
}
.campo input[type=button], .campo input[type=submit], .campo button {
  padding: 3px 50px;
}
.campo.edit {
  grid-column: 1/-1;
  justify-self: end;
}

.foto {
  grid-area: foto;
  margin: 10px 30px;
  padding: 25px;
  display: grid;
  place-items: center;
}
.foto-perfil {
  display: block;
  margin: 0 auto;
  border-radius: 10px;
}

.titulo {
  grid-area: tit;
  justify-self: center;
  align-self: center;
  padding-top: 19px;
}

.lic1 {
  grid-area: lic1;
}

.lic2 {
  grid-area: lic2;
}

.lic3 {
  grid-area: lic3;
}

.progress:hover .progress-bar {
  filter: brightness(1.25);
}
.progress-stacked {
  margin: 25px 0 25px 0;
}

/*Colores para barras de progreso*/
.colorv {
  background-color: #4CAF50 !important;
}

.colorf {
  background-color: #af4c4c !important;
}

.colorp {
  background-color: #FFB800 !important;
}

/* Tarjeta principal */
.carta-pregunta {
  background: white;
  border-radius: 18px;
  border: 2px solid #9be6e7;
}

/* Texto pregunta */
.pregunta-texto {
  font-size: 1.2rem;
}

/* Opciones estilo quiz */
.preguntas-opciones {
  display: flex;
  align-items: center;
  border: 2px solid #9be6e7;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 12px;
  cursor: pointer; /*Mouse como manito*/
  transition: 0.25s ease;
  background: white; /*Fondo interno*/
}
.preguntas-opciones input[type=radio] { /* Ocultar radio */
  display: none;
}
.preguntas-opciones:hover { /* Estilo al pasar el mouse */
  background: #e4f7ff;
  border-color: #9be6e7;
  transform: translateY(-2px);
}
.preguntas-opciones input[type=radio]:checked + span { /* Opción seleccionada correcta */
  font-weight: bold;
  color: #4CAF50;
}
.preguntas-opciones input[type=radio]:checked + span::before {
  content: "✔ ";
  color: #4CAF50;
}
.preguntas-opciones-f input[type=radio]:checked + span { /* Opción seleccionada Incorrecta */
  font-weight: bold;
  color: #af4c4c;
}
.preguntas-opciones-f input[type=radio]:checked + span:before {
  content: "x ";
  color: #af4c4c;
  font-size: 1.15em;
}

* {
  box-sizing: border-box;
}

.init {
  min-height: 80vh;
  margin: 0;
  display: grid;
  place-items: center;
}
.init h2, .init h3 {
  margin: 0;
  text-align: center;
}

.card {
  display: flex;
  flex-direction: row;
  background: white;
  border-radius: 16px;
  padding: 6px;
  width: 90vw;
  max-width: 800px;
  box-shadow: 0px 20px 54px rgba(126, 48, 255, 0.12);
}
.card img.der {
  align-self: stretch;
  object-fit: cover;
  width: 50%;
  margin: 10px;
  border-radius: 7px;
}
.card .content {
  padding: 32px;
  width: 50%;
  transition: width 0.3s;
}
.card .content img {
  align-self: stretch;
  object-fit: cover;
  height: 50px;
  width: 175px;
  margin-bottom: 20px;
}
.card .content h2 {
  font-size: 32px;
  margin: 10px 0;
}
.card .content h3 {
  font-weight: 400;
  font-size: 16px;
  color: #b4b4b4;
  margin: 15px 0;
}
.card .content form {
  padding: 0;
}
.card .content form input[type=email],
.card .content form input[type=password] {
  width: 100%;
  margin: 15px 0;
  color: inherit;
  border: 1px solid #a9a9a9;
  background: transparent;
}
.card .content form input[type=email]::placeholder,
.card .content form input[type=password]::placeholder {
  color: #b4b4b4;
}
.card .content form .row {
  display: flex;
  text-align: center;
  justify-content: space-between;
  margin: 20px 0 40px;
}
.card .content form .row a {
  color: #b4b4b4;
  font-size: 14px;
  white-space: nowrap;
  margin-top: 7px;
  cursor: pointer;
}
.card .content form .row a:hover {
  text-decoration: underline;
}
.card .content form .butt {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 48px;
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  text-align: center;
  color: white;
  border-radius: 6px;
  border: 2px solid #2C3E50;
  background-color: #2C3E50;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.card .content form .butt:hover {
  background-color: white;
  color: #2C3E50;
  border: 2px solid #2C3E50;
}
.card .content form .butt:active {
  transform: scale(0.98);
}
.card .content p {
  font-size: 14px;
  margin-top: 30px;
  color: #b4b4b4;
  text-align: center;
}
.card .content p a {
  color: #9be6e7;
  text-decoration: none;
  cursor: pointer;
}
.card .content p a:hover {
  text-decoration: underline;
}
.card input, .card button {
  font-size: 16px;
  font-family: inherit;
  display: block;
  padding: 0 16px;
  border-radius: 6px;
  height: 48px;
  outline-color: #9be6e7;
}

.checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  white-space: nowrap;
  color: #b4b4b4;
  cursor: pointer;
}
.checkbox input {
  position: absolute;
  scale: 0;
}
.checkbox input:checked ~ .check {
  border-color: #2C3E50;
  background: #2C3E50;
}
.checkbox .check {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  background: transparent;
  border: 1px solid #a9a9a9;
  transition: 0.3s;
}
.checkbox .check::after {
  content: "";
  position: absolute;
  rotate: 45deg;
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  width: 5px;
  height: 10px;
  left: 6px;
  top: 2px;
}
.checkbox:has(input:checked) {
  color: #7e7e7e;
}

body.log {
  font-family: Arial, sans-serif;
  background: #f4f6f8;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-box {
  background: white;
  padding: 24px;
  border-radius: 8px;
  width: 300px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.login-box input {
  width: 100%;
  margin-bottom: 12px;
  padding: 8px;
}
.login-box button {
  width: 100%;
  padding: 10px;
  background: #007bff;
  color: white;
  border: none;
  cursor: pointer;
}

#error {
  color: red;
  font-size: 14px;
}

/*Cambios de tamaño de Pantallas DF*/
@media (max-width: 1100px) { /*Tablet*/
  .txt2 {
    width: 400px;
  }
  .Privado {
    grid-template-rows: repeat(3, 3fr);
    grid-template-columns: repeat(2, 2fr);
  }
  .barras {
    display: block;
  }
  .menu {
    display: none;
  }
  h1 {
    font-size: 3rem;
    margin: 0px auto;
    justify-content: center;
  }
  .perfil {
    grid-template-columns: repeat(2, 2fr);
    grid-template-areas: "inf inf" "tit tit" "lic1 lic2";
  }
  div.foto {
    display: none;
  }
  div.lic3 {
    display: none;
  }
}
@media (max-width: 760px) { /*Telefono*/
  h1 {
    font-size: 2.5rem;
    margin: 0px auto;
    justify-items: center;
  }
  .txt2 {
    width: 375px;
  }
  .Privado {
    grid-template-rows: repeat(6, 3fr);
    grid-template-columns: repeat(1, 2fr);
  }
  .barras {
    display: block;
  }
  .menu {
    display: none;
  }
  .perfil {
    grid-template-columns: repeat(1, 2fr);
    grid-template-areas: "inf" "tit" "lic1" "lic2";
  }
  .info {
    margin: 0px;
  }
  .foto {
    display: none;
  }
  .lic1 {
    margin: 0 5px 2.5% 5px;
  }
  .lic2 {
    margin: 2.5% 5px 0 5px;
  }
  .lic3 {
    display: none;
  }
  .card {
    flex-direction: column-reverse;
  }
  .card img {
    width: 40%;
  }
  .card img.der {
    display: none;
  }
  .card img form {
    width: 100%;
  }
  .card .content {
    width: 100%;
  }
}
@media (max-width: 540px) { /*Titulo en telefono menores a 430px*/
  h1 {
    font-size: 2rem;
  }
  .txt2 {
    width: 300px;
  }
  .Privado nav ul {
    flex-direction: column;
    row-gap: 10px; /* separación vertical */
    align-items: center;
  }
  .Privado nav ul li a {
    width: 175px;
  }
  .card {
    flex-direction: column-reverse;
  }
  .card img {
    width: 100%;
    height: 200px;
    transition: none;
  }
  .card form {
    width: 100%;
  }
  .card .content {
    padding: 16px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: none;
  }
  .card .content h3, .card .content h2 {
    display: none;
  }
  .card .content img {
    height: 50px;
    width: 175px;
  }
  .init form button {
    width: 100%;
  }
}

/*# sourceMappingURL=style.css.map */
