*, ::after, ::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    width: 100%;
}

body{
    background-color: white;
    width: 100%;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 0;
}  


/* styling for the google translator ----------------------------*/

.google-translate{
    background-color: pink;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 2.5rem;
    position: fixed;
    top: 0px;
    z-index: 1000;  
}



/* -------------styling for the header/navbar---------------*/

.nav-div{
    background-color: rgb(76, 26, 155);
    min-height: 4.375rem;
    width: 100%;
    position: fixed;
    top: 2.5rem;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

main{
   padding-top: 4.375rem;
   padding-bottom: 3.125rem;
   z-index: 900;
}

.nav-bar{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 75rem;
    gap: 3rem;
}

.anchor-logo{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    margin-right: 15rem;
}

.nav-div .nav-bar .anchor-logo span {
    white-space: nowrap;
    font-size: 0.875rem;
}

.nav-div .nav-bar .anchor-logo img{
    width: 3.125rem;
    height: 3.125rem;
}

.nav-div .nav-bar a{
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-shadow: 0.125rem 0.125rem 0.1875rem #000;
    font-size: 1.125rem;  
}

.nav-div .nav-bar a:nth-child(7){
    white-space: nowrap;
}

.nav-div .nav-bar a:nth-child(2):hover,
.nav-div .nav-bar a:nth-child(3):hover,
.nav-div .nav-bar a:nth-child(4):hover,
.nav-div .nav-bar a:nth-child(5):hover,
.nav-div .nav-bar a:nth-child(6):hover,
.nav-div .nav-bar a:nth-child(7):hover {
      border-bottom: 3px solid #fff;  
}

/* -------------hamburger menu display none---------------*/
.mobile-navbar {
    display: none;
}


/*-------- Media queries --------------------*/

@media (max-width: 430px) {

    html{
        width: 100%;
        overflow-x: hidden;
    }

    .mobile-navbar{
        width: 100%;
    }

    .nav-div{
        display: none;
       
    }

    /* ---------- styling for the hamburger menu ------------------*/

    .anchor-logo-mobile img{
        width: 3.125rem;
        height: 3.125rem;
        position: absolute;
        top: 0.9375rem;
        left: 0.625rem;
    }
    
    .anchor-logo-mobile span{
        text-decoration: none;
        color: white;
        font-weight: bold;
        text-shadow: 0.125rem 0.125rem 0.1875rem #000;
        font-size: 0.875rem;
        position: absolute;
        top: 1.5625rem;
        left: 4.375rem;
    }
    
    .mobile-navbar-links ul {
        margin: 0;
        padding: 0;
        display: flex;
    }

    .mobile-navbar-links li {
        list-style: none;
    }

    .mobile-navbar-links li a {
        text-decoration: none;
        color: white;
        padding: 1rem;
        display: block;
        text-shadow: 0.125rem 0.125rem 0.1875rem #000;
    }

    .mobile-navbar-links li:hover {
        background-color: #555;
    }

    .toggle-button{
        position: absolute;
        top: 1.5625rem;
        right: 1.25rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 1.875rem;
        height: 1.3125rem;
    }

    .toggle-button .bar{
        height: 0.1875rem;
        width: 100%;
        background-color: white;
        border-radius: 0.625rem;
    }

    .mobile-navbar-links ul {
        margin: 0;
        padding: 0;
        display: flex;
    }
    
    .mobile-navbar-links li {
        list-style: none;
        font-weight: bolder;
        border-top: 1px solid grey;
    }
    
    .mobile-navbar-links li a {
        text-decoration: none;
        color: white;
        padding: 1rem;
        display: block;
    }
    
    .mobile-navbar-links li a:hover {
        background-color:rgba(255, 255, 255, 0.815);
        color: rgba(0, 0, 0, 0.801);
        font-weight: bolder;
        text-shadow: 0px 0px 0px #000;
    }
    
    .toggle-button{
        position: absolute;
        top: 1.5625rem;
        right: 1.25rem;
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 3.125rem;
        height: 1.9375rem;
    }
    
    .toggle-button .bar{
        height: 0.3125rem;
        width: 100%;
        background-color: white;
        border-radius: 0.625rem;
    }

    .toggle-button{
        display: flex;
    }

    .mobile-navbar-links{
        width: 100%;
        display: none;
        margin-top: 5rem;
    }

    .mobile-navbar{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background-color: rgb(76, 26, 155);
        min-height: 5rem;
        width: 100%;
        position: fixed;
        top: 2.5rem;
        z-index: 1000;
    }

   .mobile-navbar-links ul {
        width: 100%;
        flex-direction: column;
    }

   .mobile-navbar-links li {
       text-align: center;
    }

   .mobile-navbar-links li a{
        padding: .5rem 1rem;
    }
 
    .mobile-navbar-links.active {
        display: flex;
    }
}



/* ------------ styling of the Media query from 431px to 820px-----------------  */

@media (min-width: 431px) and (max-width: 820px) {
    html{
        width: 100%;
        overflow-x: hidden;
    }

    .mobile-navbar{
        width: 100%;
    }

    .nav-div{
        display: none;
       
    }

    /* ---------- styling for the hamburger menu ------------------*/

    .anchor-logo-mobile img{
        width: 3.125rem;
        height: 3.125rem;
        position: absolute;
        top: 0.9375rem;
        left: 0.625rem;
    }
    
    .anchor-logo-mobile span{
        text-decoration: none;
        color: white;
        font-weight: bold;
        text-shadow: 0.125rem 0.125rem 0.1875rem #000;
        font-size: 0.875rem;
        position: absolute;
        top: 1.5625rem;
        left: 4.375rem;
    }
    
    .mobile-navbar-links ul {
        margin: 0;
        padding: 0;
        display: flex;
    }

    .mobile-navbar-links li {
        list-style: none;
    }

    .mobile-navbar-links li a {
        text-decoration: none;
        color: white;
        padding: 1rem;
        display: block;
        text-shadow: 0.125rem 0.125rem 0.1875rem #000;
    }

    .mobile-navbar-links li:hover {
        background-color: #555;
    }

    .toggle-button{
        position: absolute;
        top: 1.5625rem;
        right: 1.25rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 1.875rem;
        height: 1.3125rem;
    }

    .toggle-button .bar{
        height: 0.1875rem;
        width: 100%;
        background-color: white;
        border-radius: 0.625rem;
    }

    .mobile-navbar-links ul {
        margin: 0;
        padding: 0;
        display: flex;
    }
    
    .mobile-navbar-links li {
        list-style: none;
        font-weight: bolder;
        border-top: 1px solid grey;
    }
    
    .mobile-navbar-links li a {
        text-decoration: none;
        color: white;
        padding: 1rem;
        display: block;
    }
    
    .mobile-navbar-links li a:hover {
        background-color:rgba(255, 255, 255, 0.815);
        color: rgba(0, 0, 0, 0.801);
        font-weight: bolder;
        text-shadow: 0px 0px 0px #000;
    }
    
    .toggle-button{
        position: absolute;
        top: 1.5625rem;
        right: 1.25rem;
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 3.125rem;
        height: 1.9375rem;
    }
    
    .toggle-button .bar{
        height: 0.3125rem;
        width: 100%;
        background-color: white;
        border-radius: 0.625rem;
    }

    .toggle-button{
        display: flex;
    }

    .mobile-navbar-links{
        width: 100%;
        display: none;
        margin-top: 5rem;
    }

    .mobile-navbar{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background-color: rgb(76, 26, 155);
        min-height: 5rem;
        width: 100%;
        position: fixed;
        top: 2.5rem;
        z-index: 1000;
    }

   .mobile-navbar-links ul {
        width: 100%;
        flex-direction: column;
    }

   .mobile-navbar-links li {
       text-align: center;
    }

   .mobile-navbar-links li a{
        padding: .5rem 1rem;
    }
 
    .mobile-navbar-links.active {
        display: flex;
    }

}



/* ------------ styling of the Media query from 82px to 1024px-----------------  */


@media (min-width: 821px) and (max-width: 1024px) {

    html{
        width: 100%;
        overflow-x: hidden;
    }

    .mobile-navbar{
        width: 100%;
    }

    .nav-div{
        display: none;
       
    }

    /* ---------- styling for the hamburger menu ------------------*/

    .anchor-logo-mobile img{
        width: 3.125rem;
        height: 3.125rem;
        position: absolute;
        top: 0.9375rem;
        left: 0.625rem;
    }
    
    .anchor-logo-mobile span{
        text-decoration: none;
        color: white;
        font-weight: bold;
        text-shadow: 0.125rem 0.125rem 0.1875rem #000;
        font-size: 0.875rem;
        position: absolute;
        top: 1.5625rem;
        left: 4.375rem;
    }
    
    .mobile-navbar-links ul {
        margin: 0;
        padding: 0;
        display: flex;
    }

    .mobile-navbar-links li {
        list-style: none;
    }

    .mobile-navbar-links li a {
        text-decoration: none;
        color: white;
        padding: 1rem;
        display: block;
        text-shadow: 0.125rem 0.125rem 0.1875rem #000;
    }

    .mobile-navbar-links li:hover {
        background-color: #555;
    }

    .toggle-button{
        position: absolute;
        top: 1.5625rem;
        right: 1.25rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 1.875rem;
        height: 1.3125rem;
    }

    .toggle-button .bar{
        height: 0.1875rem;
        width: 100%;
        background-color: white;
        border-radius: 0.625rem;
    }

    .mobile-navbar-links ul {
        margin: 0;
        padding: 0;
        display: flex;
    }
    
    .mobile-navbar-links li {
        list-style: none;
        font-weight: bolder;
        border-top: 1px solid grey;
    }
    
    .mobile-navbar-links li a {
        text-decoration: none;
        color: white;
        padding: 1rem;
        display: block;
    }
    
    .mobile-navbar-links li a:hover {
        background-color:rgba(255, 255, 255, 0.815);
        color: rgba(0, 0, 0, 0.801);
        font-weight: bolder;
        text-shadow: 0px 0px 0px #000;
    }
    
    .toggle-button{
        position: absolute;
        top: 1.5625rem;
        right: 1.25rem;
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 3.125rem;
        height: 1.9375rem;
    }
    
    .toggle-button .bar{
        height: 0.3125rem;
        width: 100%;
        background-color: white;
        border-radius: 0.625rem;
    }

    .toggle-button{
        display: flex;
    }

    .mobile-navbar-links{
        width: 100%;
        display: none;
        margin-top: 5rem;
    }

    .mobile-navbar{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background-color: rgb(76, 26, 155);
        min-height: 5rem;
        width: 100%;
        position: fixed;
        top: 2.5rem;
        z-index: 1000;
    }

   .mobile-navbar-links ul {
        width: 100%;
        flex-direction: column;
    }

   .mobile-navbar-links li {
       text-align: center;
    }

   .mobile-navbar-links li a{
        padding: .5rem 1rem;
    }
 
    .mobile-navbar-links.active {
        display: flex;
    }
}