﻿
@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2&family=Croissant+One&family=Open+Sans&family=Playfair+Display:wght@500&family=Poppins&family=Raleway&family=Roboto&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    font-size: 1rem;
    margin: 0px;
}

.btn {
    margin-right: 0px;
    cursor: pointer;
}

/*navigation*/
.navbar {
    height: 50px;
    justify-content: space-between;
}

.navbar-brand {
    margin-bottom: 15px;
  
}

.navbar-brand a {
    line-height: 20px;
    color: #7CCDC9;
    text-decoration:none;
}

.navbar-nav-content {
    display: flex;
    flex-basis: auto;
    flex-grow: 1;
}


.user-icon {
    margin-right: 50px;
/*    margin-left: 60px;*/
}

    .user-icon i {
        color: ghostwhite;
    }

#navbarDropdown {
    margin-right: 0px;
    color: ghostwhite;
}
/*brand could be name or image*/
/*.brand img {
    width: 60px;
    height: 60px;
}*/

#username {
    text-align: center;
/*    width: 200px;*/
    height: 25px;
    margin-right: 0px;
    display: flex;
    justify-content: flex-end;
}
}

#sec-text {
    color: #7CCDC9;
}

.navbar .nav-list {
    padding: 2rem 0px;
    list-style-type: none;
    text-align: center;
    justify-content: center;
}

.nav-list li a {
    display: block;
    font-size: 14px;
}

#link a {
    color: ghostwhite;
}


    #link a:hover {
        border: .5px solid white;
        transition: all .5s ease;
        border-radius: 4px;
        border-color: aqua;
    }
/*toggler button*/
.navbar .toggler {
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 3;
    outline: none;
}

.dropdown {
}

.dropdown-toggle {
    white-space: nowrap;
}

.dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0px);
}

.dropdown-menu {
    visibility: hidden;
    opacity: 0;
    margin-left: -5rem;
    margin-right: auto;
    text-align: center;
    position: absolute;
    top: 100%;
    transform: translateY(50px);
    right: 0px;
    min-height: fit-content;
    width: fit-content;
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 10px 10px 3px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    z-index: 1100;
    transition: all 0.4s ease 0s;
    border-radius: 5px;
    margin-top:-10px;
}

#sinup:hover #sinuser {
    display: block;
}

    .dropdown-menu li a {
        color: grey;
        font-size: 15px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-weight: 500;
        text-align: left;
    }
        .dropdown-menu li a i{
            color:grey;
        }

#sinup a {
    font-weight: 400;
    color: white;
    
}

#sinuser a {
    color: grey;
}

.dropdown-menu a:hover {
    transform: scaleX(0.95) scaleY(1.1);
    color: #54BAB9;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
}
.dropdown-menu a i {
    transform: scaleX(0.95) scaleY(1.1);
    color: #54BAB9;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
}
/*hamburger*/
.toggler .line {
    display: flex;
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin-bottom: 0.4rem;
    transition: all 0.4s ease 0s;
}
.toggler.cross .line {
    background-color: black; /* Change color to black */
}
/*close icon*/
.cross .line:nth-child(1) {
    transform: rotate(-45deg) translate(-9px, 6px);
}

.cross .line:nth-child(2) {
    opacity: 0;
}

.cross .line:nth-child(3) {
    transform: rotate(45deg) translate(-7px, -5px);
}

/*only for mobile and tablets devices*/
@media (max-width: 1119px) {
    .words span {
        color: rgb(108, 117, 125) !important;
    }

    #sinup a {
        color: grey;
    }

    #link a i {
        display: none;
    }
    #navbarDropdown {
        margin-right: 0px;
        color: grey;
    }
    #username {
        text-align: center;
        width: fit-content !important;
        margin-left: auto;
        margin-right: auto;
        height: 25px;
        width: fit-content !important;
        color: rgb(108, 117, 125) !important;
    }

    .btn {
        margin-right: 0px !important;
        color: grey;
    }
    .user-icon {
        margin-right: 0px;
        margin-left: 0px;
        color: grey;
    }
    .link{
        margin-bottom:20px;
    }
    .user-icon i {
       color:grey;
        margin-right: 0px;
    }
    .user-icon a{
        color: grey;
    }
    .navbar-brand {
/*        margin-left: 20px;*/
        margin-bottom: 0px;
        list-style-type: none;
    }
    /*hide nav by transform*/
    .navbar-nav-content {
        position: fixed;
        width: 70%;
        height: 100%;
        top: 0px;
        right: 0px;
        background-color: ghostwhite;
        z-index: 2;
        transform: translateX(-200%);
        /* nav sidebar speed*/
        transition: all 0.5s linear 0s;
        opacity: 0.5;
        justify-content: space-between;
        overflow: hidden;
        box-sizing: border-box;
        flex-direction: column;
        justify-content: flex-start;
    }

    
}

/*make nav visible by transform*/
.nav-active {
    transform: translateX(0%);
    opacity: 1;
}

#link a {
    color: grey;
}

.navbar-nav {
    color: grey !important;
}

.words {
/*    width: 150px;*/
    width: 80px;
    white-space: nowrap; /* Prevents text from wrapping to the next line */
    overflow: hidden; /* Hides the overflowed text */
    text-overflow: ellipsis;
    text-align: right;
}

    .words span {
        color: white;
    }
/*navigation for tablet and desktops*/
@media (min-width: 1120px) {
    .nav-list {
/*        margin-right: 10px;*/
/*        margin-left: auto !important;*/
    }

    .navbar-brand {
/*        margin-left: 30px;*/
        margin-bottom: 20px;
    }


    .btn {
        margin-right: 0px !important;
        color: ghostwhite;
    }

    #navbarDropdownMenu {
        margin-right: 70%;
    }

    .navbar {
        padding: 0.4rem 2px;
    }
    /**/ #link a {
        color: ghostwhite;
    }

    .navbar .nav-list {
        display: flex;
        flex-direction: row;
        padding: 0;
        color: rgb(205, 194, 194);
        justify-content: center;
    }

    .nav-list .wid-link {
        color: ghostwhite !important;
    }
    /*   hide toggler button on big screens*/
    .navbar .toggler {
        display: none;
    }


    #sec-text {
        color: #7CCDC9;
    }

}

@media (min-width: 1200px) {
    .navbar-brand {
/*        margin-left: 70px;*/
        margin-bottom: 15px;
        
    }
  
  /*  .nav-list {
        margin-right: 50px;
    }*/
}

@media (min-width: 1500px) {
    .navbar {
       
        padding: 0.4rem 2px;
        justify-content: space-evenly;
    }

    .nav-link {
        padding: .5rem .8rem;
    }

/*    .nav-list-container {
        margin-left: 70px;
        margin-right:-300px;
    }*/

/*    #username {
        width: 300px;
       
    }*/

/*    .navbar-brand {
        margin-left: -280px;
    }*/
}
@media(max-width: 991px) {
    .dropdown-menu {
        margin-left: 10rem;
        
    }


}

@media (min-width: 1150px) and (max-width: 1500px) {

    #username {
        width: 200px;
       text-align:right
    }

    .btn {
        margin-right: 0px !important;
        color: ghostwhite;
    }
}
@media(max-width: 600px) {
    .dropdown-menu {
        margin-left: 1rem;
        background-color: rgb(255,255,255);
    }

        .dropdown-menu li a:hover {
            transform: scaleX(0.9) scaleY(1.1);
            color: #54BAB9;
            background-color: rgb(255, 255, 255);
            border-radius: 10px;
        }
}

@media(min-width:1120px){
    .dropdownAlign{
        left:-140px;
    }
    }
