:root{
    --Primary_Color: #ec0606;
    --Secondary_Color: #13020e;
    --Tertiary_Color: #23d40c;
    --Primary_Font: Poppins, Roboto;
    --Secondary_Font:  Protest+Strike;
    --Tertiary_Font: PT+Sans+Narrow;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--Primary_Font);
}
.name{
    display: flex;
    background-image: linear-gradient(to right, white, white);
}
.names{
    font-size: 14px;
    padding: 10px;
    margin: 10px;
    color: rgb(9, 129, 145);
}
.socials{
    display: flex;
    margin-left: 30%;
    padding: 10;
    margin-top: 20px;
    color: rgb(9, 129, 145);
}
.socials, .nav-link{
    list-style: none;
    color: rgb(9, 129, 145);
}
.header-backgrpound{
    width: 100%;
    height: auto;
    background-color: rgb(9, 129, 145);
    /* background-image: linear-gradient(to right, gold, rgb(9, 129, 145)); */
}
.top_nav_items{
    display: flex;
    color: gold;
    padding: 10px;
    margin-left: 30%;
    font-family: var(--Primary_Font);
}
.top_nav_item{
    padding: 7px;
}
.menu-btn .btn-line { 
    width: 25px; 
    height: 3px; 
    margin: 0 0 5px 0; 
    background: white; 
    display: none;
    transition: all 0.5s ease-out; 
}
.Logo{
    width: 140px;
    height: 60px;
    margin-top: -70px;
    margin-left: 50px;
}
.menu-nav{
    display: flex;
    padding: 5px;
    list-style: none;
}
.gr{
    padding: 20px 10px;  
}
.nav-item .nav-link{
    list-style: none;
    padding: 5px;
    margin-top: 10px;
    font-size: 18px;
    text-decoration: none;
    font-family: var(--Primary_Font);
    color: white;
}
.nav-item .nav-link:hover{
    color: gold;
}
.menu-wrap{
margin-left: 400px;
margin-top: -50px;
}
/* styling sub menu */
.Sub {
    display: none;
    width: 200px;
    position: absolute;
    background-color: whitesmoke;
    padding: 5px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    margin-left: 0;
}
.Sub .submenu {
    text-decoration: none;
    list-style: none;
    border-bottom: 1px solid lightblue;
    
    padding: 7px;
}
.Sub .submenu a{
    color: black;
    font-size: 14px;
    text-decoration: none;
    font-family: var(--Secondary-font);
}
.Sub .submenu a:hover{
    color: black;
    text-decoration: underline;
    font-size: 14px;
    font-family: var(--Primary-font);
}
.nav-item:hover .Sub{
    display: block;
}


@media screen AND (max-width:500px) {
    .name{
        display: flex;
        background-image: linear-gradient(to right, white, white);
    }
    .names{
        font-size: 12px;
        padding: 5px;
        margin: 5px;
        color: rgb(9, 129, 145);
    }
    .socials{
        display: none;
        margin-left: 30%;
        padding: 10;
        margin-top: 20px;
        color: rgb(9, 129, 145);
    }
    .socials, .nav-link{
        list-style: none;
        color: rgb(9, 129, 145);
    }
    .header-backgrpound{
        width: 100%;
        height: auto;
    /* background-image: linear-gradient(to right, white, rgb(9, 129, 145)); */
    background-color: rgb(9, 129, 145);
    }
    .top_nav_items{
        display: none;
        color: white;
        padding: 2px;
        font-size: 12px;
        background-color: rgb(9, 129, 145);
        margin-left: 0px;
    }
    .top_nav_item{
        padding: 10px;
    }   
    /* Styling the menu button */ 
    .menu-btn { 
        position: absolute;  
        z-index: 11; 
        top: 55px; 
        margin-left: 80%; 
        margin-top: 0;
        padding: 5px;
        cursor: pointer; 
        transition: all 0.5s ease-out; 
        background-color: transparent;
        display: block;
        visibility: visible;
    } 
    /* Styling the hamburger lines */ 
    .menu-btn .btn-line { 
        width: 30px; 
        height: 3px; 
        margin: 0 0 5px 0; 
        background: gold; 
        margin-left: 80%;
        display: block;
        transition: all 0.5s ease-out; 
    }
    /* Adding tranform to the X */ 
    .menu-btn.close {  
        transform: rotate(180deg); 
    } 
    /* Styling the three lines to make it an X */ 
    .menu-btn.close .btn-line:nth-child(1) { 
        transform: rotate(45deg) translate(5px, 5px); 
    } 
    .menu-btn.close .btn-line:nth-child(2) {  
        opacity: 0; 
    } 
    .menu-btn.close .btn-line:nth-child(3) { 
        transform: rotate(-45deg) translate(7px, -6px); 
    } 
    .Logo{
        width: 120px;
        height: 40px;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 10px;
    }
    .gr{
        width: 100%;
        padding: 10px;  
        border-bottom: 1px solid grey;
    }
    .nav-item .nav-link{
        list-style: none;
        width: 100%;
        padding: 5px;
        font-size: 14px;
        text-decoration: none;
        color: black;
        margin-left: 20px;
        text-align: left;
        /* border: 1px solid grey; */
    }
    .nav-item .nav-link:hover{
        color: gold;
    }
    .menu-wrap{
    margin-left: 0px;
    margin-top: 0px;
    background-color: yellow;
    }
    /* Styling the position of the menu icon */ 
    .menu { 
        position: absolute; 
        top: 0; 
        width: 70%;
        height: 100vh; 
        margin-left: -170%;
        margin-top: 26%;
        left: 0;
        visibility: visible;  
        display: block;
        text-align: left;
        background-color: white; 
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        transition-delay: 0.2s;
        transition-duration: 0.5s;
        /* margin-left: 0; */
    } 
    .menu.show {  
        visibility: visible; 
        display: block;
        transition-delay: 0.2s;
        transition-duration: 0.5s; 
        margin-left: 0%;
        margin-right: 0%;
    } 
    /* styling menu items */
    .menu-nav{
        display: block;
        padding: 5px;
        list-style: none;
        margin-top: 10px;
    }
     /* styling sub menu */
    .Sub {
        display: none;
        width: inherit;
        position: relative;
        background-color: transparent;
        padding: 5px;
        border-bottom-left-radius: none;
        border-bottom-right-radius: none;
    }
    .Sub .submenu {
        text-decoration: none;
        list-style: none;
        padding: 5px;
        border-bottom: none;
        margin-left: 20px;
        width: 100%;
    }
    .Sub .submenu a{
        color: grey;
        font-weight: normal;
        font-size: 14px;
        font-family: var(--Secondary-font);
        letter-spacing: 1px;
    }
    .Sub .submenu a:hover{
        
        text-decoration: underline;
        font-size: 14px;
        font-family: var(--Primary-font);
    }
}