@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: auto;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:url('/static/image/backgrounds/torre_upr2.jpg') no-repeat center center fixed;
    background-size: cover;
    filter: blur(5px); /* Blurring the background image */
    z-index: 1;
}

.container {
    margin: 2% 0;
    max-width: 750px;
    position: relative;
    /* top: 20%; */
    z-index: 2;
}

.form-container {
    padding: 30px;
    background: rgba( 255, 255, 255 ); /* Semi-transparent background */
    border-radius: 5px;
    /* backdrop-filter: blur(10px); 
    border-radius: 10px; */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-container h1 {
    text-align: center;
    /* margin-top: -3%; */
    color: #333;
}


.form-container form .form-control {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

.form-row{
    display: flex;
    margin-top: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    flex: 1 1 80%; /* Cada campo ocupa el 50% del ancho */
    padding: 0 0.5rem; /* Espaciado interno */
    box-sizing: border-box; /* Asegura que el padding no afecte el ancho */
}

@media (max-width: 768px) {
    .form-group {
        flex: 1 1 100%; /* En pantallas pequeñas, cada campo ocupa el 100% */
    }
}

.form-container form .btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background-color: #E71C36;
    color: #fff;
    border-radius: 5px;
    padding: 10px;
    border-color: #b4182d00;
    margin-top: 20px;
    cursor: pointer;
    width: 100%;
}

.form-container form .btn:hover {
    background-color: #b4182d;
}

.form-container input{
    margin: 5px 0;
    display: flex;
    width: 100%;
    font-size: 1rem;
    padding: 7px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-control{
    margin-top: -3%;
}

.img-fluid{
    display: flex;
    max-height: 170px;
    justify-self: center;
    margin-bottom: 25px;
}

.error-display{
    display:flex;
--bs-alert-bg: transparent;
    --bs-alert-padding-x: 1rem;
    --bs-alert-padding-y: 1rem;
    --bs-alert-margin-bottom: 1rem;
    --bs-alert-color: inherit;
    --bs-alert-border-color: transparent;
    --bs-alert-border: 1px solid #ffe69c;
    --bs-alert-border-radius: 0.375rem;
    --bs-alert-link-color: inherit;
    position: absolute;
    padding: var(--bs-alert-padding-y) var(--bs-alert-padding-x);
    margin-bottom: var(--bs-alert-margin-bottom);
    color: #997404;
    background-color: #fff3cd;
    border: var(--bs-alert-border);
    border-radius: var(--bs-alert-border-radius);
    cursor: pointer;
    justify-content: center;
    z-index: 99999;
    top: 0;
    width: 100%;
}

.error-display a{
    transition: transform 0.3s ease-in-out;
    display: inline-block;
}

.error-display a:hover{
    transform: scale(1.03);
}

