.btn-primary {
  background-color: #be001c !important;
  border: 2px solid #be001c !important;
}

.link {
  text-decoration: none !important;
  color: #be001c;
  font-size: 20px;
  font-weight: 500;
}

.link:hover {
  color: #be001c;
}

.head {
  text-align: center;
  font-weight: bold;
  font-size: 22px;
  text-transform: uppercase;
}

.form-control {
  border: 2px solid #7a7a7a;
  border-radius: 30px;
  width: 70%;
  margin: 0 auto;
}

.form-control::placeholder {
  color: #000;
  font-size: 20px;
}

.form-control:focus {
  outline: none !important;
}

.password-container {
  position: relative;
}

.password-icon {
  position: absolute;
  right: 90px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #7f7f7f;
  cursor: pointer;
  z-index: 1;
}

/*
.preloader {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
  animation: fadeOut 2s ease-in-out forwards;
}

.preloader img {
  width: 100px;
  height: 100px;
  animation: spin 2s linear infinite;
}
*/

/*
#preloader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: opacity 0.5s ease;
}

#preloader img {
  width: 20%;
  max-width: 100%;
  height: auto;
  animation: pulse 1s infinite;
}


*/
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

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

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

form {
  opacity: 0;
}

.loaded {
  opacity: 1;
}

@media only screen and (max-width: 768px) {
  /* Estilos generales */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f1f1f1;
  padding: 10px;
  height:80px;
  background-color: #be001c;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  width: 100%;
}

/* Estilos del logo */
.logo {
  margin-left:20px;
  display: flex;
  align-items: center;
  max-width: 150px;
}

.logo img {
  filter: grayscale(100%) brightness(1000%);

  margin-left: -2px;
  height: 39px;
  max-width: 105%;
  margin-top: -5px;
}


/* Estilos de los iconos de usuario y búsqueda */
.icons {
  display: flex;
  align-items: center;
  margin-left: auto;
  color:#fff;
}

.user i {
  font-size: 20px;
  margin-right: 20px;
}

.search i {
  font-size: 20px;
}

.fas{
 margin:2px;
}

#user {
  margin-right:20px;
  font-size:25px;
}

.fa-search{
  font-size:29px;
  margin-left:30px;
}

.container_nav {
  background-color: #fff;
  position: relative;
  height: 100%;
  z-index: 2; /* Establecer un z-index mayor que el del elemento detrás */
  /* Estilos adicionales */
}

.icons_nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: #fff;
  padding: 10px 0;
  /* Estilos adicionales */
}
.icons_nav a {
  color: black;
  font-size: 24px;
}


.container_option {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 80%;
  max-width: 400px;
  margin: 50px auto 0; /* Agregando un margen superior de 50px */
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #ccc;
  position: relative;
  text-align:center;
}

.circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #be001c;
  color: #fff;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 60px;
}



.text{
  margin-top:20px;
  font-size:16px;
}

a{
  cursor:pointer;
  font-weight:600;
  color:#000 !important;
  text-decoration:none !important;
}

}