*, ::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;  
}


/* ------------- styling of the footer of the login page -----------------  */

.footer-div {
    background-color: rgb(76, 26, 155);
    height: 3.125rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    z-index: 1000;
}

.footer-span {
    color: white;
    font-weight: bold;
    text-shadow: 0.125rem 0.125rem 0.1875rem #000;
    font-size: 1.125rem;  
}

.footer-anchor{
    color: black;
    font-weight: bold;
    text-shadow: 0.0625rem 0.0625rem 0.125rem #fff;
    font-size: 1.125rem;
    text-decoration: none;
}


/* ----------styling of the back-to-the-top button-------------------  */

.back-to-top{
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.205);
    border-radius: 0.3125rem;
    border: 0.125rem solid black;
    padding: 0.625rem 0.3125rem 0rem 0.3125rem;
    position: fixed;
    bottom: 6.25rem;
    right: 0.9375rem;
    z-index: 1200;
    scroll-behavior: smooth;
    transition: all 0.2s;
    line-height: 2.8125rem;
}

.back-to-top:hover{
    background-color: pink;
    color: #000;
}

.back-to-top img{
    height: 2.1875rem;
    width: 2.5rem;
}


@media (max-width: 430px) {

    html{
        width: 100%;
        overflow-x: hidden;
    }

    /* ----- styling of the back-to-the-top of the login page------ */
    .back-to-top{
        padding: 0rem 0.2rem 0rem 0.2rem;  
    }
    
    .back-to-top img{
        height: 1rem;
        width: 1.2rem;
    }
    
    /* ---------- styling of the footer of the login page---------  */
    
    .footer-div {
        width: 100%;
    }
  
    .footer-anchor, .footer-span{
        font-size: 0.625rem;
    }

}

/* ------------ 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 footer of the login page---------  */
    
     .footer-div {
        width: 100vw;
    }
    
    .footer-span {
        font-size: 0.93333rem;  
    }
    
    .footer-anchor{
        font-size: 0.93333rem;
    }
}

/* ------------ styling of the Media query from 431px to 820px-----------------  */

@media (min-width: 821px) and (max-width: 1024px) {

    html{
        width: 100%;
        overflow-x: hidden;
    }

    /* ---------- styling of the footer of the login page---------  */
    
    .footer-div {
        width: 100vw;
    }
    
    .footer-span {
        font-size: 0.93333rem;  
    }
    
    .footer-anchor{
        font-size: 0.93333rem;
    }
}