*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.reg-container{  
    padding: 20px 10%;
    margin-top: 80px;
}
@media (max-width: 1024px) {
    .reg-container{  
        padding: 0;
    }
    
}

.reg-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border-radius: 5px;
    background-image: url(../img/Home_img/reg_back.jpg);
    background-color: #8f8d8d;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.reg-form-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 400px;
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 60px; 
    padding-bottom: 30px;
}

.reg-form{
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.reg-title{
    margin: 40px;
    font-weight: 600;
    color: #ffffff;
}

.reg-img{
    width: 120px;
    margin: 50px;
}

.reg-form{
    width: 90%;
}
.reg-form input{
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    border: none;
    background-color: rgb(245, 245, 245);
    outline: 0;
}
.reg-blood-select{
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    border: none;
    background-color: rgb(245, 245, 245);
    outline: 0;
}

.reg-blood-select option :hover{
    width: 100%;
    height: 20px;
    background-color: #812a2a;
    border: 3px solid #fff;
}

.reg-form .btn{
    margin-top: 20px;
    width: 100%;
    background-color: tomato;
    color: white;
    font-weight: 500;
}

div{
    display: flex;
    justify-content: center;
}

form .btn:hover{
    background-color: rgb(242, 84, 56);
    cursor: pointer;
}

.reg-password{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92%;
    height: 20px;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    border: none;
    background-color: rgb(245, 245, 245);
}
.reg-password input{
    width: 100%;
    padding: 10px 0;
    border: 0;
    outline: 0;
    margin-top: 0;
}

.reg-password img{
    width: 20px;
    height: 15px;
    cursor: pointer;
}
.reg-signin{
    margin: 20px;
}

.user_error{
    margin-left: 8px;
    color: #812a2a;
    font-size: 14px;
}

@media (max-width: 576px) {
    .reg-form-container{
        width: 90%;
    }
    .reg-title{
        margin: 30px;
        font-weight: 400;
        color: #ffffff;
        font-size: 20px;
    }
    .reg-password {
        width: 90%;
        padding: 12px;
    }
}
