/* Reset global */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat';
    color: #0E0F0D;
}

/* Font-face definitions */

@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/Montserrat-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/Montserrat-Bold.ttf');
    font-weight: bold;
    font-style: bold;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/Montserrat-Light.ttf');
    font-weight: 300;
    font-style: 300;
}

/* Body */

body {
    font-size: 1rem; /* Base 16px */
    line-height: 1.5;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.text-center {
    text-align: center;
}

hr.divider{
    border: none;
    height: 2px;
    background-color: rgba(250, 249, 246, 0.35);
    margin-bottom: 15px;
}

/* Form group */

.form-group {
    margin-bottom: 1rem; /* 16px */
}

.error {
    border: 2px solid red;
}
.error-message {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
}

/* Labels and placeholders */

label,
::placeholder {
    font-size: 1rem; /* 16px */
    line-height: 1.5; /* Consistencia con Bootstrap */
}

label {
    display: inline-block;
    margin-bottom: 0.5rem; /* 8px */
    font-weight: bold;
    color: #0E0F0D;
}

/* Text input */

input {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem; /* 6px 12px */
    font-size: 1rem; /* 16px */
    font-weight: 400;
    line-height: 1.5; /* Consistencia con Bootstrap */
    color: #495057;
    background-color: #fff;
    border: 0.0625rem solid #CFD2CB; /* 1px */
    border-radius: 0.25rem; /* 4px */
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input:focus {
    border-color: #CFD2CB;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Button (submit input) */
input[type=submit] {
    width: auto;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: #0E0F0D;
    border: 0.0625rem solid transparent;
    border-radius: 999px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input[type=submit]:hover {
    background-color: #080807;
}


/* Style for the track */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px; /* Adjust the height of the track */
    background-color: #CCC; /* Change the track background color */
    border-radius: 5px;
    outline: none;
    opacity: 0.7;
  }

  /* Style for the thumb in WebKit-based browsers (Chrome, Safari, Edge) */
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: #0E0F0D; /* Change thumb color */
    border-radius: 50%;
    cursor: pointer;
  }

  /* Style for the thumb in Firefox */
  input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background-color: #0E0F0D; /* Change thumb color */
    border-radius: 50%;
    cursor: pointer;
  }

/* Span for error messages */

span {
    font-size: 0.8rem; /* 12.8px */
    font-weight: bold;
    color: #dc3545; /* Rojo de Bootstrap */
}

/* Error states */

.error {
    border: 0.0625rem solid #FB6340; /* 1px */
}

.error-message {
    color: #FB6340;
    font-size: 0.9rem; /* 14.4px */
    margin-top: 0.3125rem; /* 5px */
}

/* Blur background for sections */

.blur-background {
    background: rgba(14, 15, 13, 0.35);
    backdrop-filter: blur(50px);
    padding: 1.25rem;
    border-radius: 0.5rem;
}


/* Clase personalizada para cambiar estilos del formulario */
.custom-theme {
    /* Cambia el color del label */
    color: #F2F2F2;
}

.custom-theme label,
.custom-theme ::placeholder {
    color: #F2F2F2;
}

.custom-theme input[type="submit"] {
    color: #F2F2F2;
    background-color: transparent;
    border: 0.0625rem solid #F2F2F2; /* Border de color #F2F2F2 */
    transition: background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.custom-theme input[type="submit"]:hover {
    background-color: #F2F2F2; /* Cambia el fondo al pasar el cursor */
    color: #0E0F0D; /* Cambia el color de la fuente cuando se pasa el cursor */
}






/******************/
.white-background {
background-color: #FAF9F6;
border-radius: 16px;

padding: 20px;
}

.white-text p,
.white-text p strong {
color: #FAF9F6 !important;
}

@media (min-width: 576px) {
.col-sm-3 {
    flex: 0 0 25%;
    max-width: 25%;
}
}

/* Pantallas más verticales (por ejemplo, móviles en portrait, 9:18, etc.) */
@media (max-aspect-ratio: 1/1) {
    /* Aquí va el CSS para pantallas más altas que anchas */
    /* body {
        display: none;
    } */
}

/* Aspecto 1:1 o más ancho */
@media (min-aspect-ratio: 1/1) {
    
}


