.header-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
}

.logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
}

.vertical-line {
    width: 5px;
    height: 40px;
    background-color: rgb(247, 204, 62);
    margin: 0 10px;
}

.header-text {
    font-size: 45px;
    font-weight: bold;
    color: white;
    text-shadow: -1px -1px 0 #727272, 1px -1px 0 #727272, -1px 1px 0 #727272, 1px 1px 0 #727272;
}

.nav-wrapper {
    position: absolute; 
    top: 50%;
    right: 5rem; 
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
}

.navbar {
    text-align: right;
}

.nav-link {
    font-size: 24px; 
    color: white;
    text-shadow: -1px -1px 0 #727272, 1px -1px 0 #727272, -1px 1px 0 #727272, 1px 1px 0 #727272; 
    margin: 0 0 5px 0; 
    padding-right: 10px;
    text-decoration: none; 
    display: block;
}

.nav-link:hover {
    color: #cab9b2; 
}

.nav-vertical-line {
    width: 5px;
    height: 100%; 
    background-color: rgb(247, 204, 62);
    position: absolute;
    right: 0;
    top: 0;
}

.navbar-toggler {
    position: absolute;
    top: 40px; 
    right: 15px; 
    z-index: 0; 
}

.auth-options {
    position: absolute;
    display: flex;
    flex-direction: column;
}

.auth-vertical-line {
    width: 5px;
    height: 90%;
    background-color: rgb(247, 204, 62);
    position: absolute; 
    left: 0;
}

.modal-content {
    background-color: rgb(250, 250, 250); 
    color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px; 
    margin: auto; 
}

.modal-header {
    border-bottom: 1px solid white;
}

.modal-body {
    padding-top: 40px;
}

.modal-footer {
    border-top: 1px solid white;
}

.btn-light {
    background-color: #f2f2f2;
    color: black;
    border: none;
    padding: 8px 16px;
    font-size: 18px;
    cursor: pointer;
}

.btn-light:hover {
    background-color: #e0e0e0;
}

.btn-danger {
    background-color: #f2f2f2;
    color: black;
    border: none;
    padding: 8px 16px;
    font-size: 16px;
    cursor: pointer;
}

.btn-danger:hover {
    background-color: #e0e0e0;
}

#auth_modal {
    height: auto;
}

.modal-backdrop {
    display: none;
}

.nav-pills .nav-link {
    padding: 6px 10px;
    border: 1px solid #ebebeb;
    font-size: 14px;  
    text-shadow: none;
    border-radius: 2px;
    margin: 0 5px;
    color: #918e8d; 
    background-color: #fbfaf8; 
}

.nav-pills .nav-link.active, .nav-pills .nav-link:hover {
    background-color: #000000;
    border: none;
    color: #ffffff;
}

.nav-pills .nav-link:focus {
    box-shadow: none;
}

.tab-content {
    background-color: #fbfaf8; 
    border-radius: 2px;
    margin-top: 20px;
    border: 1px solid #ebebeb;
}

.scrollable-pills-container {
    overflow-x: auto;
    white-space: nowrap;
}

.nav-pills .nav-link {
    display: inline-block;
    white-space: nowrap;
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

.nav-pills::-webkit-scrollbar {
    display: none;  
}

.accordion-button, .accordion-body, .accordion-button:not(.collapsed) {
    background-color: #fbfaf8; 
    text-align: justify;
}

footer a {
    text-decoration: none; 
    color: #ffffff; 
}

footer {
    background-color: #ad9d8e; 
    text-shadow: -0.5px -0.5px 0 #828181, 0.5px -0.5px 0 #828181, -0.5px 0.5px 0 #828181, 0.5px 0.5px 0 #828181;
}

.navbar-collapse {
    background-color: #00000089;
    border-radius: 20px;
}

.image-container {
    position: relative; /* Set the parent to relative to contain the backdrop */
    display: inline-block; /* Ensure the container wraps around the image */
}

#desktop-auth-backdrop {
    position: absolute;
    top: 0;
    right: 0; /* Align the backdrop to the right of the container */
    width: 700px; /* Adjust this percentage to control how much of the right side is covered */
    height: 100%; /* Cover the full height of the image */
    backdrop-filter: blur(3px); /* Optional: Add blur if needed */
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
}

@media (min-width: 816.9px) {
    #desktop-auth {
        display: block !important;
    }

    #mobile-auth {
        display: none !important;
    }

    .navbar .navbar-collapse {
        display: none; 
    }

    .navbar .navbar-toggler {
        display: none; 
    }
}

@media (max-width: 817.0px) {
    .modal-content {
        width: 100%; 
    }

    .nav-wrapper {
        display: none; 
    }
    
    .navbar-nav .nav-item .nav-link {
        color: white;
        margin: 0; 
        padding: 5px 15px;
        text-align: left;
        font-size: 20px;
    }
    
    .navbar-nav .nav-item .nav-link:hover {
        background-color: #000000; 
    }

    .auth-vertical-line {
        display: none;
    }

    .nav-vertical-line {
        display: block;
    }

    #desktop-auth {
        display: none !important;
    }

    #desktop-auth-backdrop {
        display: none !important;
    }

    #mobile-auth {
        display: block !important;
    }

    #mobile-auth .perspective-container {
        padding-top: 80px;
    }

    #mobile-auth .perspective-text {
        font-size: 60px;
    }
}

.perspective-container {
    perspective: 800px;
}

.perspective-text {
    padding-right: 3rem;
    font-size: 5rem;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    transition: transform 0.3s ease, color 0.3s ease;
    transform: rotateX(0deg) rotateY(-20deg) rotateZ(-1deg);
    transform-style: preserve-3d;
    text-shadow: 0px 15px 5px rgba(0,0,0,0.1),
                 10px 20px 5px rgba(0,0,0,0.05),
                -10px 20px 5px rgba(0,0,0,0.05);
}

.perspective-text:hover {
    color: rgb(247, 204, 62);
    text-shadow: 
        #000 0px 0px 1px,#000 0px 0px 1px,#000 0px 0px 1px,
        #000 0px 0px 1px,#000 0px 0px 1px,#000 0px 0px 1px,
        0px 15px 5px rgba(0,0,0,0.1),
        10px 20px 5px rgba(0,0,0,0.05),
        -10px 20px 5px rgba(0,0,0,0.05);
    transform: rotateX(0deg) rotateY(-10deg) rotateZ(0deg);
    transform-style: preserve-3d;
}