::-webkit-scrollbar {
    background: #267282;
}

::-webkit-scrollbar-thumb {
    background: #1a1512;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    visibility: hidden;
    background: linear-gradient(to bottom, #1a1512, #3a2f28);
    /* background: radial-gradient(
        #267282,
        #3a2f28); */
    min-height: 100vh;
    margin: 0;
}

.logo {
    color: #267282;
    text-align: center;
    font-size: 4rem;
    -webkit-text-stroke: 1px silver;
}

/* .logout_button_container {
    display: flex;
    justify-content: flex-end;
    width: 100vw;
    box-sizing: border-box;
    padding-right: 30px;
    padding-top: 30px;
}

#logout-button {
    width: 100px;
    height: 30px;
    background-color: #267282;
    color: black;
} */

/* Log out button css: start */

.logout_button_container {
    display: flex;
    justify-content: flex-end;
    /* Pushes the button to the right */
    width: 100vw;
    box-sizing: border-box;
    padding-right: 30px;
    padding-top: 30px;
}

#logout-button {
    /* position: fixed;
    right: 30px;
    z-index: 1000; */
    width: 100px;
    height: 30px;
    /* background-color: #267282; */
    color: black;
    font-size: 1rem;
    /* border: none; */
}

.glow-on-hover {
    width: 150px;
    height: 55px;
    font-weight: bold;
    font-size: large;
    font-style: italic;
    border: none;
    outline: none;
    color: #1a1512;
    cursor: -webkit-grab;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:active {
    color: #000;
    cursor: grabbing;
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #267282;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

/* logout button css: end */

.nav_pane {
    display: flex;
    justify-content: space-around;
    /* spreads items evenly across full width */
    align-items: center;
    width: 100%;
    padding: 15px 0;
    font-size: 2rem;
    font-weight: bold;
}

.nav_pane a {
    -webkit-text-stroke: 1px darkslategrey;
    color: #267282;
    text-decoration: none;
}

.nav_pane a:hover {
    color: silver;
    /* optional hover color — your preference */
}

.current_page {
    font-style: italic;
    color: silver;
    font-size: 1.45rem;
    font-weight: bold;
    text-decoration: underline;
}

.birthdays_sub_title {
    color: #267282;
    text-align: center;
    font-size: 3rem;
    -webkit-text-stroke: .5px silver;
}

.no-birthdays {
    color: #267282;
    font-size: 2rem;
    text-align: center;
    width: 100%;
    -webkit-text-stroke: .5px silver;
    margin-top: 40px;
}

#birthday-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.birthday-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    color: #267282;
}

.birthday-card img {
    width: 270px;
    height: 480px;
    /* 9: 16 ratio for portrait */
    object-fit: contain;
    /* border-radius: 50%; */
    margin-bottom: 10px;
}

.birthday-card div {
    font-size: 2rem;
    font-weight: bold;
    font-style: italic;
}

.no-birthdays-photo {
    display: block;
    max-width: 700px;
    width: 100%;
    margin: 20px auto 0;
    border-radius: 8px;
    padding-bottom: 15px;
}

.admin_nav_hidden {
    display: none;
}