@font-face {
    font-family: myFont;
    /* src: url('../../assets/fonts/JF-FLAT-REGULAR.TTF'); */
    src: url('../../fonts/JF-FLAT-REGULAR.TTF');
}

@font-face {
    font-family: myFont2;
    src: url('../fonts/RobotoSlab-Regular.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: rgb(201, 202, 202);
    background: url(../../img/bgCarsContracts.webp) no-repeat;
    background-size: cover;
    background-position: center;

} */
body {
    position: relative; /* Required for pseudo-element positioning */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: rgb(201, 202, 202); /* Solid background color */
    overflow: hidden;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../../img/bgCarsContracts.webp) no-repeat center center;
    background-size: cover;
    opacity: 0.3; /* Adjust this value for desired opacity */
    z-index: -1; /* Keep it behind the content */
}

.wrapper {
    position: relative;
    width: 300px;
    height: 500px;
    background: transparent;
    border: 1px solid rgb(255, 255, 255, .5);
    border-radius: 20px;
    backdrop-filter: blur(35px);
    box-shadow: 0 0 30px rgb(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrapper .form-box {
    width: 100%;
    padding: 40px;
}

.form-box h4 {
    font-size: 0.8em;
    color: rgb(25, 25, 26);
    text-align: center;
}

.input-box {
    position: relative;
    width: 100%;
    height: 35px;
    border-bottom: 1px solid rgb(23, 23, 22);
    margin: 30px 0;
}

.input-box label {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    font-size: 0.9em;
    color: rgb(40, 41, 41);
    font-weight: 500;
    pointer-events: none;
    /* transition: .5s; */
    transition: top 0.5s ease, font-size 0.5s ease;
}

.input-box input:focus~label,
.input-box input:valid~label {
    top: -15px;
    font-size: 0.8em;
    font-weight: 600;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.8rem;
    color: rgb(27, 27, 27);
    font-weight: 600;
    padding: 0 35px 0 5px;
}

.input-box .icon {
    position: absolute;
    left: 8px;
    font-size: 0.8rem;
    color: rgb(23, 22, 22);
    line-height: 45px;

}

.logoimg {
    position: relative;
    border: none;
    border-radius: 50px;
    width: 170px;
    height: 170px;



}

.logoimg-container {
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-bottom: 5px; */
}

.submitLogin {
    width: 130px;
    height: 35px;
    background: transparent;
    border: 2px solid rgb(130, 135, 141);
    outline: none;
    border-radius: 7px;
    cursor: pointer;
    font-size: 0.8em;
    font-weight: 600;
    color: rgb(32, 32, 32);
    margin-left: 20px;
    transition: .5s;

}

.submitLoginDesign {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;

}

#error_username {
    color: red;
    font-size: 0.6rem;
    font-weight: 600;
    font-family: myFont;
}

#error_password {
    color: red;
    font-size: 0.6rem;
    font-weight: 600;
    font-family: myFont;
}

#TechTitle {
    color:#49246B;
    font-family: myFont;
    font-weight: 700;
    font-size: 1.5em;
}
