/* Menu Navbar Styles */
#myNavbar {
    background-color: white !important;  /* Use !important to override default styles */
}
#myNavbar a {
    color: #aa8e5f;
}

/* Styles for desktop orientation start (can be overwritten down below for vertical orientation)*/
.nav-link:hover {
    font-size: 1.3em; /* Adjust this value as needed */
    transition: font-size 0.3s; /* Smooth transition for size change */
}
.nav-item.active .nav-link {
    font-size: 140%; /* 1.4 times larger */
    text-decoration: underline; /* Underline the active link */
    transition: font-size 0.3s, text-decoration 0.3s; /* Smooth transition for size change and text-decoration */
}
/* Styles for desktop orientation end */

#menulogo{
    height: 40px;
}
.navbar{
    padding: 20px;
    padding-left: 30px;
}
/* Nav item */
.navbar-nav .nav-item {
    padding: 10px;
}

.navbar-brand, .nav-link {
    font-weight: 500; /* Adjust the weight as needed */
    font-size: large;
}

/* Hover effect for the brand logo */
.navbar-brand img {
    transition: transform 0.3s ease; /* Smooth transition for transform property */
}

.navbar-brand img:hover {
    transform: scale(1.2); /* Adjust scaling factor as needed */
}

/* Mobile/Tablet Responsive Styles */
@media (max-width: 990px) {
    
    #productsImg {
        width: 22vh !important;
    }
    #joinBetaImg{
        width: 25vh !important;
    }

    .navbar {
        margin: 0;
        margin-left: 0px;
        padding: 20px;
        padding-right: 40px;
        overflow: hidden;
    }

    #menulogo{
        height: 45px;
        margin-left: 15px;
        margin-top: 20px;
    }

    /* Fixed navbar collapsed layout */
    .navbar-collapse {
        position: fixed;
        top: 170px; /* Adjust this if your navbar height is different */
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.95);
        z-index: 9999;
        overflow-y: auto;
        padding-top: 0; /* No padding at the top */
    }

    /* Navbar brand logo */
    .navbar-brand {
        top: 0;
        left: 0;
        z-index: 10000; /* Above the navbar-collapse */
        display: block;
        width: 75%; /* Logo width */
    }

    /* Navbar brand image */
    .navbar-brand img {
        max-width: 100%; /* Full width of the parent */
        max-height: 100%; /* Full height of the parent */
        display: block;
    }

    .navbar-toggler {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 10000; /* Above the navbar-collapse */
        width: 15%; /* Adjust if necessary for larger touch area */
        height: 90px; /* Adjust if necessary for larger touch area */
        padding: 0.5rem 1rem; /* Adjust the padding */
        border: none; /* Remove the border */
        outline: none; /* Remove outline on focus for accessibility */
        font-size: 36px; /* Increase font size for a larger icon */
    }

    .navbar-toggler-icon {
        margin-right: 30px;
        margin-top: 10px;
        background-size: contain; /* Makes sure the icon contains within the element */
        background-repeat: no-repeat; /* Prevents the icon from repeating */
        background-position: center; /* Centers the background image */
        width: 50px; /* Set the width of the icon */
        height: 50px; /* Set the height of the icon */
    }

    /* Navbar nav for menu items */
    .navbar-nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin: 0;
    }

    /* Nav item */
    .navbar-nav .nav-item {
        width: 100%;
    }

    /* Nav link */
    .navbar-nav .nav-link {
        font-size: 2rem;
        padding: 1.5rem 1rem;
        border-bottom: 1px solid #333; /* Separator between items */
        color: #fff; /* Text color */
        display: block;
    }

    /* Login button styled the same as nav links */
    #loginButton {
        font-size: 2rem; /* Same font size as nav links */
        padding: 1.5rem 1rem; /* Same padding as nav links */
        width: 100%; /* Full width */
        text-align: center;
        border: none; /* No border for the button */
        background-color: transparent; /* Transparent background */
        color: #fff; /* Same text color as nav links */
        margin: 0; /* No margin */
        display: block;
        border-bottom: 1px solid #333; /* Same separator as nav links */
        width: 200px; 
        margin: 0 auto;
        padding: 15px;
        background-color: #aa8e5f;
        color: white !important;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        margin-top: 70px;
    }

    /* Style for hover effect on navigation links */
    .nav-link:hover {
        font-size: 2.5em; /* Adjust this value as needed */
        transition: font-size 0.3s; /* Smooth transition for size change */
    }
    .nav-item.active .nav-link {
        font-size: 170%; /* 1.7 times larger */
        text-decoration: underline; /* Underline the active link */
        transition: font-size 0.3s, text-decoration 0.3s; /* Smooth transition for size change and text-decoration */
    }
}

.loginButton{
    width: 70px; 
    background-color: #aa8e5f;
    color: white !important;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: font-size 0.3s, text-decoration 0.3s; /* Smooth transition for size change and text-decoration */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#loginButton:hover {
    background-color: #82693e; 
    transform: scale(1.1); /* Slightly bigger */
}

/* Additional styling for the spacing */
.login-logout-spacing {
    margin-right: 30px !important;
}
.brand-spacing {
    margin-left: 30px !important;
}

footer p {
    width: 100%; /* Ensure it takes the full width */
    box-sizing: border-box; /* Make sure padding and borders are included in the width */
    margin: 0; /* Remove any default margin */
    padding: 10px; /* Remove any default padding */
}
footer {
    text-align: center;
    width: 100%; /* Ensure the footer itself also takes full width */
    padding: 10px;
    margin: 0 auto; /* Center the footer if needed and remove any default margin */
    border-top: 1px solid #ccc;
}

header {
    text-align: center;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f2f2f2;
}

.ok-button-small {
    display: inline-block;
    width: auto; 
    margin: 0 auto;
    padding: 10px;
    padding-left: 40px;
    padding-right: 40px;
    background-color: #aa8e5f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 70px;
}

#subsButton{
    display: inline-block;
    width: 200px; 
    margin: 0 auto;
    padding: 15px;
    background-color: #aa8e5f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 70px;
}

.ok-button-big {
    display: inline-block;
    width: 12%; 
    margin: 0 auto;
    padding: 15px;
    background-color: #aa8e5f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 70px;
}

.btn-primary {
    background-color: #aa8e5f !important;
    border-color: #aa8e5f !important;
    height: 80px;
    width: 400px;
}


#idContainer {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligns content to the top */
    align-items: center; /* Centers content horizontally */
    min-height: 50vh; /* Minimum height instead of fixed */
    padding: 20px;
    padding-top: 40px; /* Adjust this value to move content higher */
}
   

#spinner {
    width: 64px;
    height: 64px;
    border: 8px solid;
    border-color: #aa8e5f transparent #aa8e5f transparent;
    border-radius: 50%;
    animation: spin-anim 1.2s linear infinite;
    margin-top: 20px; /* Add space above the spinner */
    margin-left: auto;
    margin-right: auto;
}


@keyframes spin-anim {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
}


.hidden {
    display: none;
}

.button-container {
    text-align: center;
    margin-top: 20px;
}

.centered-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
