

.hidden {
    display: none !important;
}

.navbar {
    top: 0;
    width: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #42445A;
    color: #fff;
    box-sizing: border-box;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 10vh;
    padding-left: 13.5vw;
    position: sticky !important; /* Changed to sticky for better scrolling behavior */
    top: 0;
    z-index: 998;
    --bs-navbar-padding-y: 0rem !important;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    padding-right: 15px;
}


.logo {
    white-space: nowrap;
    display: flex;
    align-items: center;
    font-size: 2rem; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    padding-left: 3rem;
}

.navbar .user-actions {
    margin-left: auto; 
}

.navbar .navbar-items {
    display: flex;
    justify-content: center;
    width: 100%;

}

.navbar .nav-links {
    display: flex;
    justify-content: right;
    flex-grow: 1;
    white-space: nowrap;
    font-size: 16px;
}

.nav-link {
    cursor: pointer;
}

.user-actions {
    margin-left: auto;
    display: flex;
    white-space: nowrap;
}

.navbar .nav-links, .navbar .user-actions {
    box-sizing: border-box;
}

.navbar .nav-link, .navbar .nav-link-no-hover, .navbar .user-action {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    margin-right: 15px;
    box-sizing: border-box;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.navbar .nav-link, .navbar .user-action {
padding: 10px;
border-bottom: 2px solid transparent; 

}

.navbar .user-action:first-child {
    margin-left: 15px;
}


.navbar .nav-link:hover, .navbar .user-action:hover{
    color: #aea8d6; 
    border-bottom: 2px solid #fff; 
}
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 200px;
    padding: 1px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    font-family: Arial, sans-serif;
}

.dropdown-content a {
    color: #42445A;
    padding: 10px 0;
    text-decoration: none;
    display: block;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    padding-left: 10px;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    border-radius: 5px;
}

/* Show dropdown content on hover */
.dropdown:hover > .dropdown-content {
    display: block;
}

/* Sub-dropdown Styling */
.sub-dropdown {
    position: relative;
}

/* Separate class for Nintendo link */
.sub-link {
    padding: 10px;
    cursor: pointer;
    color: #42445A; /* Nintendo Red */
    display: block;
    text-align: left;
    font-size: 16px;
}

.sub-link:hover {
    background-color: #f1f1f1;
    border-radius: 5px;
}

/* Sub-dropdown Content */
.sub-dropdown-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    padding: 3px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
}

/* Show sub-dropdown when hovering over Nintendo link */
.sub-link:hover + .sub-dropdown-content,
.sub-dropdown-content:hover {
    display: block;
}





.mobile-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}
.mobile-dropdown-content {
    display: none; /* Hidden by default */
    position: relative;
    padding: 10px;
    background-color: white;
    font-family: Arial, sans-serif;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
}

.mobile-dropdown-content a {
    color: #42445A;
    padding: 10px 0;
    text-decoration: none;
    display: block;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    padding-left: 10px;
}

.mobile-dropdown-content a:hover {
    background-color: #f1f1f1;
    border-radius: 5px;
}





.navbar .navbar-items {
    display: flex;
    justify-content: center;
    width: 100%; 
    margin-right: 50px;
}



.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    
    padding: 0;
    z-index: 10;
}

.menu-icon div {
    width: 2rem;
    height: 0.25rem;
    background: #fff;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: #42445A;
    color: #fff;
    z-index: 1000;
    padding-top: 60px;
    box-sizing: border-box;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    transition: width 0.5s ease-in-out;
}

.mobile-nav-link,.mobile-dropdown-toggle {
    color: #fff;
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 2rem;
    text-align: left;
    padding: 10px 0;
    padding-left: 20px; /* This adds padding to the left of each link */
    cursor: pointer;
    background: #42445A;
    border: none;

}


.mobile-nav-link {
    display: block;
    
}

.mobile-nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    align-items: center;
    background:#42445A;
    z-index: 10;
}

.logo-mobile {
    font-size: 2rem;
    white-space: nowrap;
    display: flex;
    align-items: center; 
    color: #fff;
}
.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    margin: 0;
}



.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #42445A;
    color: #fff;
    padding: 0;
    height: 10px;  /* Set the height of the footer */
    text-align: center;
    box-sizing: border-box;
    line-height: 1px;  /* Ensures text is vertically centered */
}

.footer-link {
    color: white; 
    border-radius: 5px; 
    transition: all 0.2s ease-in-out; 
    padding-left: 15px;
}


.bottom-menu {
    position: fixed;
    bottom: 30px;
    width: 100%;
    display: none;
    justify-content: space-around;
    align-items: center;
    background-color: #42445A;
    padding: 5px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.bottom-menu-link {
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.3s ease;
}

.bottom-menu-link:hover {
    color: #aea8d6;
}

.bottom-menu-link i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}


.account-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    outline: none;
    appearance: none;

    /* inherits all flex & text styles from .bottom-menu-link */
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    text-align: center;
    color: #fff;
    transition: color 0.3s ease;
}

.account-button i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.account-button:hover {
    color: #aea8d6;
}


.logo-container {
    display: flex;
    align-items: center;
    gap: 0px; /* Space between the C and R */
}

.logo-c-container {
    position: relative;
    width: 50px;
    height: 50px;
}

.logo-c {
    width: 100%;
    height: 100%;
    border: 3px solid ;
    border-radius: 50%;
    border-right-color: transparent;
    
}
.logo-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15px;
    font-weight: bold;
}

.logo-r {
    position: absolute;
    font-size: 9px;
    top: 70%;
    left: 80%;
    transform: translate(-50%, -50%);
    font-family: 'Arial';
    font-weight: bold;

}









.popup-content {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.4);
    z-index: 1001;
    width: 90%;
    max-width: 400px;
    text-align: center;
    font-family: Arial, sans-serif;
}


.popup-content h2 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #333;
}

.popup-content input {
    width: calc(100% - 20px);
    padding:7px;
    margin: 6px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    
}

.popup-content input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
.popup-content label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.popup-content input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #007bff; /* Modern blue checkbox color */
    cursor: pointer;
    
}


.popup-content select {
    width: calc(100% - 20px);
    padding: 10px;
    margin-top: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.popup-content select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.popup-content button {
    width: calc(100% - 20px);
    padding: 7px;
    margin-top: 6px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.nav-link-no-hover{
    font-size: 1rem;
    font-weight: bold;

}
.logo-c-container {
    width: 30px;
    height: 30px;

}


.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.close-btn {
    background: #dc3545;
    color: white;
}

.close-btn:hover {
    background: #b02a37;
}


.save-btn {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    background: #42445A;
    color: white;
}



.save-btn:hover {
    background: #333;
}




.filter-actions {
    display: flex;
    width: 100%;
    gap: 10px;
    margin-left: 7px;
    margin-right: 7px;
    height: 40px;
}

.filter-input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    outline: none;
}


.filter-input {
    flex: 1;
}

.go-button {
    padding: 0px 15px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.go-button:hover {
    background-color: rgb(45, 44, 44);
}

.scrollBtnTop {
    position:fixed;
    bottom:50px;
    right:32px;
    z-index:9999;
    display:none;
    width:40px;
    height:40px;
    padding:0;
    border-radius:50%;
    background:#42445A;
    color:#fff;
    border:none;
    box-shadow:0 2px 8px rgba(0,0,0,0.15);
    font-size:1.5em;cursor:pointer;
    align-items:center;
    justify-content:center;
    display:flex;
}

@media (max-width: 630px) {
    
   
    .footer {
        font-size: 12px;
    }

    .footer-link {
        padding-left: 10px;
    }
    
    .title-nav {
        display: none !important;
    }
}

@media (max-width: 470px) {
    
    .footer {
        font-size: 8px;
    }

    .footer-link {
        padding-left: 8px;
    }
    .mobile-nav-link,.mobile-dropdown-toggle{
        font-size: 1rem;

    }
    .scrollBtnTop {
        bottom:100px;
        right: 20px;
    }

}





/* Responsive Design */
@media (max-width: 900px) {

    
     .navbar .navbar-content /*.menu-icon */ {
        display: flex;
    }
    
    .navbar .navbar-content .navbar-items,.bottom-menu {
        display: none;
    }

    .bottom-menu {
        display: flex;
    }

    .mobile-nav {
        width: 100%;
    }
    /* .logo {
        font-size: 2rem;
    } */
   
    .pricing-table {
        flex-direction: column;
        align-items: center;
    }
   
    
    
}



@media (min-width: 901px) {
    .mobile-nav,
    .mobile-nav-header {
        display: none !important;
    }
    
}

@media (max-height: 500px) {
    .popup-content {
        top: 60%;
    }

}



@media (max-height: 400px) {
    .popup-content {
        top: 70%;
    }
}
