#fact-container {
	position: relative; /* Needed for absolute positioning inside */
    text-align: center;
    font-size: 1.3em;
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    width: auto;
    margin: 20px auto;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
	min-height: 300px; /* This keeps the container height consistent */
}

#fact {
    font-style: normal;
    margin-bottom: 20px;
}

#new-fact-btn {
	position: absolute;
    bottom: 15px; /* Distance from the bottom of the container */
    left: 50%;
    transform: translateX(-50%);
    background: #0073aa;
    font-weight: bold;
	font-size: 16px;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.3s ease, transform 0.1s ease;
}

#new-fact-btn:active {
    transform: translateX(-50%) scale(0.95); /* Click effect */
}

#new-fact-btn:hover {
    background: #005177;
}
