*, ::after, ::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    min-width: 100%;
}

body{
    background-color: white;
    width: 100%;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
    min-height: 100vh;
    padding: 0;  
}

/* ------- this is the first section or account request form section ---------*/

.account-req-form{
    width: 100%;
    min-height: 87.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.account-req-form .account-req-container{
    max-width: 80%;
    height: 71.875rem;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.account-req-form .account-req-container h1{
    font-family: "Poppins", sans-serif;
    font-size: 2.25rem;
    font-weight: bold;
}

.account-req-form .account-req-container p{
    font-family: inherit;
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.25rem;
}

.alert-danger{
    width: 100%;
    height: 3.4375rem;
    border: 1px solid rgb(102, 7, 7);
    background-color: rgba(255, 0, 0, 0.349);
    color: rgb(102, 7, 7);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 0.625rem;
}

.alert-success{
    width: 100%;
    height: 3.4375rem;
    border: 1px solid rgb(20, 77, 20);
    background-color:rgba(60, 158, 60, 0.521);
    color: rgb(20, 77, 20);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 0.625rem;
}

.main-form .main-form-container{
    display: flex;
    gap: 4.6875rem;
    margin-top: 3.125rem;
}

.main-form .main-form-container .first-form-con{
    width: 34.375rem;
    height: 46.875rem;
}

.main-form .main-form-container .second-form-con{
    width: 34.375rem;
    height: 46.875rem;
}

.main-form .main-form-container .first-form-con input{
    width: 100%;
    height: 2.5rem;
    border-radius: 0.4375rem;
    padding-left: 0.625rem;
    margin: 0.3125rem 0 1.25rem 0;
    border: 0.125rem solid #ccc;
}

label{
    color: #666;
    font-weight: 700;
}

.normal-input,
.select-input{
    width: 100%;
    height: 2.5rem;
    border-radius: 0.4375rem;
    padding-left: 0.625rem;
    margin: 0.3125rem 0 1.25rem 0;
    border: 0.125rem solid #ccc;
}

.file-input{
    margin: 0.3125rem 0 1.25rem 0;
}

.select-input, .file-input{
    cursor: pointer;
}

.main-form .btn-atag-con{
    width: 100%;
    margin-top: 1.875rem;
}

.main-form .btn-atag-con button{
    border-radius: 0.4375rem;
    padding: 0.9375rem 1.25rem;
    border: 0.125rem solid #ccc;
    margin-bottom: 0.625rem;
    cursor: pointer;
}

.main-form .btn-atag-con .continue-btn{
    background-color: rgb(76, 26, 155);
    color: #fff;
    font-weight: bold;
}

.main-form .btn-atag-con .continue-btn:hover{
    background-color: rgba(75, 26, 155, 0.363);
    border: 2px solid rgb(76, 26, 155);
}

.main-form .btn-atag-con .cancel-btn{
    background-color: #fff;
    color: rgb(76, 26, 155);
    border: 0.125rem solid rgb(76, 26, 155);
    font-weight: bold;
}

.main-form .btn-atag-con .cancel-btn:hover{
    background-color: black;
    color: white;
    border: 0.125rem solid whitesmoke;
}

.main-form .btn-atag-con a{
   text-decoration: none;
}


/*-------- Media queries (The first one max-width: 430px) --------------------*/

@media (max-width: 430px) {

    html{
        width: 100%;
        overflow-x: hidden;
    }

    /* --- this is the first section or account request form section ---*/
    .account-req-form{
        width: 100%;
        min-height: 125rem;
        display: flex;
        padding: 2rem 0 0 1.5rem;
    }
    
    .account-req-form .account-req-container{
        max-width: 100vw;
        height: inherit;
    }
    
    .account-req-form .account-req-container h1{
        font-size: 2rem;
    }
    
    .account-req-form .account-req-container p{
        width: 80vw;
        line-height: 1.6rem;
        font-size: 0.875rem;
    }
    
    .alert-danger, .alert-success{
        width: 85vw;
        font-size: 0.875rem;
    }

    .main-form .main-form-container{
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .main-form .main-form-container .first-form-con{
        width: 85vw;
        height: 46.875rem;
    }
    
    .main-form .main-form-container .second-form-con{
        width: 85vw;
        height: 43.75rem;
    }
    

    .main-form .btn-atag-con button{
        padding: 0.4375rem 0.625rem;
        margin: 0 0 0px;
        font-size: 0.875rem;
    }
    
    .main-form .btn-atag-con a{
       font-size: 0.75rem;
    }
    
}



/* ------------ styling of the Media query from 431px to 820px-----------------  */

@media (min-width: 431px) and (max-width: 820px) {
    html{
        width: 100%;
        overflow-x: hidden;
    }
        
}



/* ------------ styling of the Media query from 821px to 1024px-----------------  */

@media (min-width: 821px) and (max-width: 1024px) {

    html{
        width: 100%;
        overflow-x: hidden;
    }
    
}
