.footer {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    position: fixed;
    width: 100%;
    display: flex;
    bottom: 0;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    overflow: visible;
    max-height: 5rem;
    transition: max-height 0.3s ease;
}

.footer.expanded {
    max-height: 20rem;
}
.footer-details{
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.footer-details.expanded {
    opacity: 1;
    max-height: 15rem;
}

.footer-content {
    margin-bottom: auto;
    text-align: center;
    width: 100%;
}

.footer-content a {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: underline;
}

.footer-icons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    margin-left: 1rem;
    width: 100%;
}

.footer-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.2s;
}

.footer-icon:hover {
    transform: scale(1.2);
}

.footer-icons a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #00d1b2;
    text-decoration: none;
}

.footer-icons a:hover {
    color: #00a6a2;
}
.toggle-button {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, background-color 0.3s ease;
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);

}

.toggle-button:hover {
    background-color: #0056b3;
    transform: scale(1.1) translateX(-50%);
}

.toggle-button:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}