/* Agrega tus estilos aquí */

/* {
  outline: blue dashed 2px;
}*/

body {
    margin: auto;
    padding: 0;
    font-family: 'Roboto Condensed', sans-serif;
    background-color: #FF666E;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


footer {
  background-color: #000;
  color: #fff;
  padding: 2rem;
  text-align: center;
  margin-top: auto;
  }

.card {
  max-width: 1000px;
  width: 90%;
  display: flex;
  margin: 0 auto;
  padding: 20px;
  gap: 20px;
  flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 10px;
    margin-top: 10%;
    margin-bottom: 10%;
}


.card-content {
    flex: 1;
}

.card-content form {
    margin-bottom: 20px;
}

.formheader {
    margin-bottom: 40px;
}
.card-content label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.card-content .input-field {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.card-content select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #fff;
}

.card-firma {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
    flex: 1;
    padding: 20px;
    background-color: #EBF1FB;
    border-radius: 10px;
    height: 100%;
}

.input-field::placeholder {
    color: #ccc;
}

section {
  margin: 0 auto;
  max-width: 100%;
  width: 90%;
  padding: 0 0 20px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
}

.sectiondos {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.header-firma {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#cabecerafirma {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 20px;
}

.circles-container {
  display: flex;
  align-items: center;
  background-color: #F4F6FF;
  padding: 20px;
  border-radius: 10px 10px 0 0;
  transition: background-color 0.5s ease-in-out;
  }
  
  .close-circle,
  .minimize-circle,
  .expand-circle {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin-right: 5px;
  }
  
  .close-circle {
  background-color: #ef6c5a;
  }
  
  .minimize-circle {
  background-color: #f5c030;
  }
  
  .expand-circle {
  background-color: #58c53c;
  }

#firmaResultante {
  display: flex;
  justify-content:left;
  align-items:center;
  align-self: flex-end;
  padding: 20px;
  border-radius: 0 0 10px 10px;
  background-color: #fff;
  transition: background-color 0.5s ease-in-out;
}

.parrafo {
  padding: 20px;
  background-color: #fff;
  transition: background-color 0.5s ease-in-out;
}


.button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  color: #fff;
  background-color: #000;
  border: none;
  cursor: pointer;
  transition: background-color 0.6s ease, color 0.6s ease;
}

.button:hover {
  background-color: #fff;
  color: #000;
}

.button:active {
  background-color: #696969;
}

.button.changed {
  background-color: #FF666E;
  color: #ffffff;
}


/* Estilos para dispositivos móviles */
@media screen and (max-width: 768px) {
    .card {
        display: block;
        margin-bottom: 10px;
    }

    .button-container {
        display: block;
        text-align: center;
    }

    .button-container .button {
        display: block;
        margin-bottom: 10px;
    }

    .card-content {
      flex: 1;
      padding: 0 10px 0 0;
  }
}

datalist#usuariosList {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  datalist#usuariosList option {
    padding: 5px;
  }


  header {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    height: 80px;
    background-color: #000;
    position: sticky;
    top: 0;
    z-index: 1;
    }
    
    .logo {
    width: 100%;
    max-width: 200px;
    display: block;
    }
    
    .hamburger {
    display: none;
    }
    
    .nav-bar ul {
    display: flex;
    }
    
    .nav-bar ul li a {
    display: block;
    color: #fff;
    font-size: 20px;
    padding: 10px 25px;
    border-radius: 50px;
    transition: 0.2s;
    margin: 0 5px;
    text-decoration: none;
    }
    
    .nav-bar ul li a:hover,
    .nav-bar ul li a.active {
    background-color: #fff;
    color: #000;
    }
    
    .nav-bar ul li a.Ayuda {
    background-color: #FF666E;
    color: #000;
    font-weight: 700;
    }
    
    .nav-bar ul li a.Ayuda:hover {
    background-color: #fff;
    }
    
    @media only screen and (max-width: 1080px) {
    .hamburger {
    display: block;
    cursor: pointer;
    }
    
    .hamburger .line {
    width: 30px;
    height: 3px;
    background: #ffffff;
    margin: 6px 0;
    }
    
    .nav-bar {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    width: 100vw;
    height: 0;
    background: #000;
    transition: 0.2s;
    overflow: hidden;
    }
    
    .nav-bar.active {
    height: 250px;
    }
    
    .nav-bar ul {
    display: block;
    width: fit-content;
    margin: 80px auto 0 auto;
    text-align: center;
    transition: 0.2s;
    opacity: 0;
    }
    
    .nav-bar.active ul {
    opacity: 1;
    transition-delay: 0.2s;
    }
    
    .nav-bar ul li a {
    margin-bottom: 20px;
    }
    }
    
    li {
    list-style: none;
    }


/* Ejemplo para el cuerpo (body) */
body.web {
  background-color: #00E572;
  transition: background-color 0.5s ease;
}

body.mkt {
  background-color: #802DD6;
  transition: background-color 0.5s ease;
}

body.brand {
  background-color: #3552FF;
  transition: background-color 0.5s ease;
}

body.corporativo {
  background-color: #FF666E;
  transition: background-color 0.5s ease;
}

.card.web {
  background-color: #E9FFF3;
  transition: background-color 0.5s ease;
}

.card.mkt {
  background-color: #F1E6FF;
  transition: background-color 0.5s ease;
}

.card.brand {
  background-color: #EEF1FF;
  transition: background-color 0.5s ease;
}

.card.corporativo {
  background-color: #FFEEF0;
  transition: background-color 0.5s ease;
}

.nav-bar ul li a.Ayuda.mkt {
  background-color: #802DD6;
  color: #fff;
  font-weight: 700;
  transition: 0.5s ease;
  }
  
  .nav-bar ul li a.Ayuda.web {
  background-color: #00e572;
  color: #000;
  font-weight: 700;
  transition: 0.5s ease;
  }
  
  .nav-bar ul li a.Ayuda.brand {
  background-color: #3552ff;
  color: #fff;
  font-weight: 700;
  transition: 0.5s ease;
  }
  
  .nav-bar ul li a.Ayuda.corporativo {
  background-color: #ff666e;
  color: #000;
  font-weight: 700;
  transition: 0.5s ease;
  }

  #logo {
    width: 100%;
    max-width: 200px;
    display: block;
    animation: fill 4s ease forwards 4s infinite alternate;
  }

  #logo path:nth-child(1) {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: line-anim 4s ease forwards infinite alternate, color-anim 10s ease infinite;
  }

  #logo path:nth-child(2) {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: line-anim 4s ease forwards 0.4s infinite alternate, color-anim 10s ease infinite;
  } 

  #logo path:nth-child(3) {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: line-anim 4s ease forwards 0.8s infinite alternate, color-anim 10s ease infinite;
  }

  #logo path:nth-child(4) {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: line-anim 4s ease forwards 1.2s infinite alternate, color-anim 10s ease infinite;
  }

  #logo path:nth-child(5) {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: line-anim 4s ease forwards 1.6s infinite alternate, color-anim 10s ease infinite;
  }

  #logo path:nth-child(6) {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: line-anim 4s ease forwards 2s infinite alternate, color-anim 10s ease infinite;
  }
  
  #logo path:nth-child(7) {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: line-anim 4s ease forwards 2.4s infinite alternate, color-anim 10s ease infinite;
  }

  #logo path:nth-child(8) {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: line-anim 4s ease forwards 2.8s infinite alternate, color-anim 10s ease infinite;
  }

  #logo path:nth-child(9) {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: line-anim 4s ease forwards 3.2s infinite alternate, color-anim 10s ease infinite;
  }

  #logo path:nth-child(10) {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: line-anim 4s ease forwards 3.6s infinite alternate, color-anim 10s ease infinite;
  }


  @keyframes line-anim {
    to {
      stroke-dashoffset: 0;
    }
  }

  @keyframes fill{
    from{
      fill: transparent;
    }
    to{
      fill: #fff;
    }
  }

  @keyframes color-anim {
    0% {
      stroke: #802DD6;
    }
    25% {
      stroke: #00e572;
    }
    50% {
      stroke: #3552ff;
    }
    75% {
      stroke: #ff666e;
    }
    100% {
      stroke: #802DD6;
    }
  }

  .boton {
    margin: 0px;
    }
    
    .lbl-switch {
    display: inline-block;
    width: 35px;
    height: 20px;
    background: #aaa;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    }
    
    #btn-switch:checked ~ .lbl-switch {
    background: #FF666E;
    }
    
    .lbl-switch:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background:#fff;
    border-radius: 50px;
    transition: 0.3s;
    }
    
    #btn-switch:checked ~ .lbl-switch:after {
    left: 16px;
    }
    
    #btn-switch {
    display: none;
    }

    .titulomodo {
      font-size: 5px;
    }

    .mode {
      display: flex;
      justify-content: center;
      align-items: right;
      margin: 0 auto;
      width: 100%;
      max-width: 1000px;
      border-radius: 10px;
      margin: 0;
    }
