.jumbotron,
.card-body,
.container,
.site-header {
  font-family: "Verdana", serif;
}

.jumbotron .display-4 {
  font-weight: bold;
}

nav a {
  text-decoration: none;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.jumbotron {
  height: 50vh;
  padding: 5em inherit;
  margin-bottom: 0;
  background-color: #53c0fb;
  background: url("../img/cover_back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: black;
  font-weight: bold;
}

@media (min-width: 768px) {
  .jumbotron {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.jumbotron p:last-child {
  margin-bottom: 0;
}

.jumbotron-heading {
  font-weight: 300;
}

.jumbotron .container {
  max-width: 40rem;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  text-shadow: 1px 1px 2px grey;
}

.jumbotron .lead {
  font-size: 38px;
}

footer {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

footer p {
  margin-bottom: 0.25rem;
}

.site-header a {
  color: white;
  transition: ease-in-out color 0.15s;
}

.site-header .dropdown-menu a {
  color: black;
}

.dropzone {
  border: 2px dashed #0087f7;
  border-radius: 5px;
  background: white;
}

.img-fit {
  max-height: 100%;
}

.alert {
  position: fixed;
  top: 80px;
  width: 50%;
  left: 50%;
  transform: translate(-50%, 0);
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
  top: 50%;
  left: 50%;
}

.cursor-active {
  cursor: pointer;
}

.left {
  float: left;
  padding: 4px;
  background-color: rgba(255, 255, 255, 0.5);
}

.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 51px;
  height: 51px;
  margin: 6px;
  border: 6px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}

#spinner-wrapper {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1021;
  display: none;
}

main {
  min-height: 100vh;
}

a.custom-card,
a.custom-card:hover {
  color: inherit;
  text-decoration: inherit;
}

.checked {
  color: orange;
}

/*estilos para el formulario de login*/

/*#login-page{
background-image: url("../img/color amigable (1).png");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
margin: 0;
font-family: "Montserrat", sans-serif;
}

#login-title{
  text-align: center;
  font-weight: 700;
  margin-bottom: 2rem;
  font-size: 3em;
  font-family:"Montserrat", sans-serif;
  color: #f97a32;
  text-shadow: 0px 1px 3px rgba(0,0,0,0.4);
}



main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

form {
  background: rgba(255,255,255,0.85);
  padding: 5rem;
  border-radius: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 450px;
  max-height: 800px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  font-size: 1em;
  font-family: "Montserrat", sans-serif;
}

input[type="text"],
input[type="password"],
input[type="mail"] {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  margin-bottom: 10px;
  border: 1px solid #f97a32;
  border-radius: 2rem;
  font-size: 16px;
  background-color: #f97a32;
  color: #2e2e2e;
}


form label:not([for="terminos"]) {
 display: block;
 text-align: center;
 font-weight: bold;
 font-family: "Montserrat", sans-serif;
 font-size: 1.5em;
}

.input-wrapper {
  position: relative;
}

.input-wrapper i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #2e2e2e;
}

::placeholder{
  color: #2e2e2e;
  align-items: justify;
  margin-top: auto;
  font-family: "Montserrat", sans-serif;
}

#btn-login {
  width: 100%;
  padding: 12px;
  background-color: #3d3d3d;
  color: white;
  font-weight: lighter;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.3s;
}

#btn-login:hover {
  background-color: #222222;
}

@media (min-width: 481px) and (max-width: 768px) {
  /* solo tablets */

@media (max-width: 320px) {
  /* solo pantallas muy chicas como iPhone SE */
}

.terminos {
  display: flex;
  align-items: flex-start;
}

input[type="checkbox"] {
  margin-top: 0.35rem;
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  #login-title {
    font-size: 2em;
  }
  input[type="text"],
  input[type="password"],
  input[type="mail"] {
    font-size: 14px;
  }

  form {
    padding: 2rem;
  }
}

/* dark mode | entrega 5*/

@media (prefers-color-scheme: dark) {
  body {
    background-color: #0d0d0d;
    color: #f5f5f5;
  }

  .jumbotron {
    background: linear-gradient(to bottom, #1a1a1a, #0d0d0d);
    color: #f5f5f5;
  }

  .jumbotron .container {
    background-color: rgba(0, 0, 0, 0.65);
    border: 1px solid #2b2b2b;
    text-shadow: none;
  }

  .site-header a {
    color: #d2d2ff;
  }

  .site-header a:hover {
    color: #9a9bd3;
  }

  .site-header .dropdown-menu a {
    color: #f5f5f5;
  }

  .dropzone {
    border: 2px dashed #9a9bd3;
    background: #1a1a1a;
  }

  .left {
    background-color: rgba(255, 255, 255, 0.05);
  }

  footer {
    background-color: #000;
    color: #e0e0e0;
  }

  footer a {
    color: #9a9bd3;
  }

  footer a:hover {
    color: #b1b2eb;
  }

  /* Formulario de login en modo oscuro */
  form {
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid #2b2b2b;
    box-shadow: 0 4px 12px rgba (0, 0, 0, 0.5);
  }
}

/* dark mode con el botón */
body.dark-mode {
  background-color: #0d0d0d;
  color: #f5f5f5;
}

body.dark-mode .jumbotron {
  background: linear-gradient(to bottom, #1a1a1a, #0d0d0d);
  color: #f5f5f5;
}

body.dark-mode .jumbotron .container {
  background-color: rgba(0, 0, 0, 0.65);
  border: 1px solid #2b2b2b;
  text-shadow: none;
}

body.dark-mode .site-header a {
  color: #d2d2ff;
}

body.dark-mode .site-header a:hover {
  color: #9a9bd3;
}

body.dark-mode .site-header .dropdown-menu a {
  color: #f5f5f5;
}

body.dark-mode .dropzone {
  border: 2px dashed #9a9bd3;
  background: #1a1a1a;
}

body.dark-mode .left {
  background-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode footer {
  background-color: #000;
  color: #e0e0e0;
}

body.dark-mode footer a {
  color: #9a9bd3;
}

body.dark-mode footer a:hover {
  color: #b1b2eb;
}

/* Formulario de login en modo oscuro */
body.dark-mode form {
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid #2b2b2b;
  box-shadow: 0 4px 12px rgba (0, 0, 0, 0.5);
}

body.dark-mode .bg-light {
  background-color: #1c1c1c !important;
}

body.dark-mode .custom-card {
  background-color: #333333;
}
