body {
  font-family: "Encode Sans", sans-serif;
  background-color: #fff;
}

p {
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Roboto", sans-serif;
}

h2 {
  font-size: 20px;
}

a {
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
  color: #888;
}

a:hover {
  text-decoration: none !important;
}

.content {
  padding: 7rem 0;
}

.half, .half .container > .row {
  height: 100vh;
  min-height: 700px;
}

.half .contents {
  background: #fff;
}

.half .contents, .half .bg {
  width: 50%;
}

.half .bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.half .btn {
  height: 45px;
  padding-left: 30px;
  padding-right: 30px;
}

.half .forgot-pass {
  position: relative;
  top: 2px;
  font-size: 14px;
}

/* Form controls */
.form-control {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  height: 45px;
  font-size: 0.9rem;
}

.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  outline: none;
}

.half .contents .form-control, .half .bg .form-control {
  border: none;
  -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  background: #fff;
}

.half .contents .form-control:active, .half .contents .form-control:focus,
.half .bg .form-control:active, .half .bg .form-control:focus {
  outline: none;
  -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

/* Custom checkboxes */
.control {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  cursor: pointer;
  font-size: 14px;
}

.control .caption {
  position: relative;
  top: .2rem;
  color: #888;
}

.control input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.control__indicator {
  position: absolute;
  top: 2px;
  left: 0;
  height: 20px;
  width: 20px;
  background: #e6e6e6;
  border-radius: 4px;
}

.control--radio .control__indicator {
  border-radius: 50%;
}

.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
  background: #ccc;
}

.control input:checked ~ .control__indicator {
  background: #fb771a;
}

.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
  background: #fb8633;
}

.control input:disabled ~ .control__indicator {
  background: #e6e6e6;
  opacity: 0.9;
  pointer-events: none;
}

.control__indicator:after {
  font-family: 'icomoon';
  content: '\e5ca';
  position: absolute;
  display: none;
  font-size: 16px;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
}

.control input:checked ~ .control__indicator:after {
  display: block;
  color: #fff;
}

.control--checkbox .control__indicator:after {
  top: 50%;
  left: 50%;
  margin-top: -1px;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.control--checkbox input:disabled ~ .control__indicator:after {
  border-color: #7b7b7b;
}

.control--checkbox input:disabled:checked ~ .control__indicator {
  background-color: #7e0cf5;
  opacity: .2;
}

/* Login specific styles */
.login-form-container {
  padding: 1em;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 8px;
}

.login-logo {
  margin-bottom: 1.5rem;
}

.login-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

/* Button styles */
.btn-primary {
  background-color: #007bff !important;
  border-color: #007bff !important;
  height: 45px;
  font-weight: 500;
  font-size: 0.9rem;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
  background-color: #0069d9 !important;
  border-color: #0062cc !important;
}

/* Footer links */
.footer-links {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

.footer-links a {
  color: #6c757d;
  text-decoration: none;
}

.footer-links a:hover {
  color: #007bff;
}

/* Tutorial button */
.tutorial-btn {
  position: absolute;
  bottom: 15%;
  left: 30%; /* Cambiado de 50% a 30% para moverlo a la izquierda */
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tutorial-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
}

/* Media queries */
@media (max-width: 1199.98px) {
  .half .contents, .half .bg {
    width: 100%;
  }
  
  .geonube-title h1 {
    font-size: 5.5rem; /* Aumentado de 4rem a 5.5rem */
  }
  
  .geonube-title .subtitle {
    font-size: 2.5rem; /* Aumentado de 2rem a 2.5rem */
  }
}

@media (max-width: 991.98px) {
  .half .bg {
    height: 400px;
  }
  
  .login-form-container {
    padding: 1.5rem;
  }
  
  .geonube-title {
    top: 15%;
  }
  
  .geonube-title h1 {
    font-size: 4rem; /* Aumentado de 3rem a 4rem */
  }
  
  .geonube-title .subtitle {
    font-size: 2rem; /* Aumentado de 1.5rem a 2rem */
  }
  
  .tutorial-btn {
    bottom: 10%;
  }
}

@media (max-width: 767.98px) {
  .geonube-title h1 {
    font-size: 2.5rem;
  }
  
  .geonube-title .subtitle {
    font-size: 1.2rem;
  }
}

/* Geonube title */
.geonube-title {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  width: 80%;
}

.geonube-title h1 {
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 6.5rem;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1;
}

.geonube-title .subtitle {
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 3rem;
  font-weight: 400;
  margin-top: 0;
  line-height: 1.2;
}

.geonube-title .highlight {
  color: #f0d000;
  font-weight: 700;
}

.tutorial-btn {
  position: absolute;
  bottom: 15%;
  left: 30%; /* Cambiado de 50% a 30% para moverlo a la izquierda */
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tutorial-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
}

/* Media queries */
@media (max-width: 1199.98px) {
  .half .contents, .half .bg {
    width: 100%;
  }
  
  .geonube-title h1 {
    font-size: 5.5rem;
  }
  
  .geonube-title .subtitle {
    font-size: 2.5rem;
  }
}

@media (max-width: 991.98px) {
  .half .bg {
    height: 400px;
  }
  
  .login-form-container {
    padding: 1.5rem;
  }
  
  .geonube-title {
    top: 15%;
  }
  
  .geonube-title h1 {
    font-size: 4rem;
  }
  
  .geonube-title .subtitle {
    font-size: 2rem;
  }
  
  .tutorial-btn {
    bottom: 10%;
  }
}

@media (max-width: 767.98px) {
  .geonube-title h1 {
    font-size: 2.5rem;
  }
  
  .geonube-title .subtitle {
    font-size: 1.2rem;
  }
}
