@import url('https://fonts.googleapis.com/css?family=Cabin:400');

body {
    background-color: #000033;
    font-family: "Helvetica", "Arial", sans-serif;
    text-align: center;
    color: white;
    position: relative;
    margin: 0;
    padding-bottom: 140px; /* Height of the navigation plus some padding */
}

.button-table {
    width: 100%;
    border: 0;
    cellpadding: 0;
    cellspacing: 0;
}

.button-left-align {
    text-align: left;
}

.button-right-align {
    text-align: right;
}

.centered {
    text-align: center;
}

.die_with_memories {
    font-family: "Helvetica", "Arial", sans-serif;
    display: inline-block;
    font-size: 1em;
    padding: 1em 2em;
    margin-top: 20px;
    margin-bottom: 100px;
    background-color: #000033;
    color: #fff;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: transform ease-in 0.1s, box-shadow ease-in 0.25s;
    box-shadow: 0 2px 25px rgba(255, 255, 255, 0.5);
}

.button-left {
    width: 150px;
    float: left;
    margin-left: 50px;
    margin-top: 50px;
}

.button-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 100px;
}

.button-right {
    width: 150px;
    float: right;
    margin-right: 50px;
    margin-top: 50px;
}

.bottom-space {
    padding: 0px 0;
    background-color: #000033;
    color: white;
}

.die_with_memories:focus {
    outline: 0;
}

.die_with_memories.animate:before, .die_with_memories.animate:after {
    display: block;
}

.die_with_memories:active {
    transform: scale(0.9);
    background-color: #000033;
    box-shadow: 0 2px 25px rgba(183, 233, 247, 2.2);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 0;
    color: black;
    padding: 12px 16px;
    border-radius: 10px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.bottom-nav {
    position: fixe;
    top: 795px;  /* Adjust the top position */
    left: 200px; /* Adjust the left position */
    bottom: 20px;
    left: 0;
    width: 100%;
    background-color: #000033;
    padding: 10px 10;
}

.bottom-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.bottom-nav ul li {
    margin: 0 15px;
}

.bottom-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
}

.bottom-nav ul li a:hover {
    color: #00ffff;
}

.speech-bubble {
    position: relative;
    display: inline-block;
    width: 200px;
    padding: 10px;
    background-color: #000033;
    border-radius: 10px;
    color: white;
    text-align: center;
    animation: pulse 1s infinite, shake 0.3s infinite, changeColor 2s infinite;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.speech-bubble:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 20px;
    border-width: 20px;
    border-style: solid;
    border-color: #000033 transparent transparent transparent;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* === Glow Animation for Center Button === */
.glow-frame {
    position: relative;
    display: inline-block;
    width: 282px;
    height: 282px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    animation: glow-wave 2.5s infinite ease-in-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glow-frame:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
}

.glow-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

@keyframes glow-wave {
    0% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    }
    50% {
        box-shadow:
            0 0 20px rgba(255, 255, 255, 0.4),
            0 0 40px rgba(255, 255, 255, 0.2),
            0 0 60px rgba(255, 255, 255, 0.1);
    }
    100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    }
}
/* === Glow Animation for Button Element (safe for layout) === */
.glow-button {
    animation: glow-wave 2.5s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    transition: box-shadow 0.3s ease;
}

.glow-button:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
}
.glow-button {
    /* existing glow styles */
    animation: glow-wave 2.5s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    transition: box-shadow 0.3s ease;

    /* Rounded corners */
    border-radius: 16px;
    overflow: hidden;
}

.glow-button img {
    border-radius: inherit;
}
